<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019cb4cf-8d85-7e45-8f20-8cc17b0ef931,g:74c8f592-3fb7-4606-ab1b-0b9e1265825a-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member"/>
  <link:roleRef roleURI="http://www.unitedfiregroup.com/role/ConsolidatedStatementofStockholdersEquityUnaudited" xlink:type="simple" xlink:href="ufcs-20260331.xsd#ConsolidatedStatementofStockholdersEquityUnaudited"/>
  <link:definitionLink xlink:role="http://www.unitedfiregroup.com/role/ConsolidatedStatementofStockholdersEquityUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_019cb4cf-8ecd-76e9-93d4-37d543d945ec" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_019cb4cf-8ecd-7eec-b9ee-b8bb74a37eba" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_019cb4cf-8ecd-76e9-93d4-37d543d945ec" xlink:to="loc_us-gaap_StatementTable_019cb4cf-8ecd-7eec-b9ee-b8bb74a37eba" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_019cb4cf-8ecd-7c17-bcdc-e2156b152bc5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_019cb4cf-8ecd-7eec-b9ee-b8bb74a37eba" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_019cb4cf-8ecd-7c17-bcdc-e2156b152bc5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019cb4cf-8ecd-7c17-bcdc-e2156b152bc5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019cb4cf-8ecd-7c17-bcdc-e2156b152bc5" xlink:to="loc_us-gaap_EquityComponentDomain_019cb4cf-8ecd-7c17-bcdc-e2156b152bc5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019cb4cf-8ecd-7340-a1d6-495a0143e42e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019cb4cf-8ecd-7c17-bcdc-e2156b152bc5" xlink:to="loc_us-gaap_EquityComponentDomain_019cb4cf-8ecd-7340-a1d6-495a0143e42e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_019cb4cf-8ecd-7dba-ab44-ac8b093d3cf9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019cb4cf-8ecd-7340-a1d6-495a0143e42e" xlink:to="loc_us-gaap_CommonStockMember_019cb4cf-8ecd-7dba-ab44-ac8b093d3cf9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_019cb4cf-8ecd-7a48-a33a-2ad0b6dc5fe6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019cb4cf-8ecd-7340-a1d6-495a0143e42e" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_019cb4cf-8ecd-7a48-a33a-2ad0b6dc5fe6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_019cb4cf-8ecd-7a9f-8990-13a72933d523" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019cb4cf-8ecd-7340-a1d6-495a0143e42e" xlink:to="loc_us-gaap_RetainedEarningsMember_019cb4cf-8ecd-7a9f-8990-13a72933d523" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_019cb4cf-8ecd-7451-b437-57925a714eff" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019cb4cf-8ecd-7340-a1d6-495a0143e42e" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_019cb4cf-8ecd-7451-b437-57925a714eff" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019cb4cf-8ecd-74b8-9c34-d500a96c97ea" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019cb4cf-8ecd-76e9-93d4-37d543d945ec" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019cb4cf-8ecd-74b8-9c34-d500a96c97ea" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019cb4cf-8ecd-7604-a2ce-ee4fe9280dab" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019cb4cf-8ecd-74b8-9c34-d500a96c97ea" xlink:to="loc_us-gaap_StockholdersEquity_019cb4cf-8ecd-7604-a2ce-ee4fe9280dab" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation_019cb4cf-8ecd-78cf-91de-9312ab025b58" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019cb4cf-8ecd-74b8-9c34-d500a96c97ea" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation_019cb4cf-8ecd-78cf-91de-9312ab025b58" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019cb4cf-8ecd-77ba-bc42-616c3bb91545" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019cb4cf-8ecd-74b8-9c34-d500a96c97ea" xlink:to="loc_us-gaap_NetIncomeLoss_019cb4cf-8ecd-77ba-bc42-616c3bb91545" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsCommonStock_019cb4cf-8ecd-7428-9b7c-779077d72a48" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DividendsCommonStock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019cb4cf-8ecd-74b8-9c34-d500a96c97ea" xlink:to="loc_us-gaap_DividendsCommonStock_019cb4cf-8ecd-7428-9b7c-779077d72a48" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019cb4cf-8ecd-753e-8387-f058b323273d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019cb4cf-8ecd-74b8-9c34-d500a96c97ea" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019cb4cf-8ecd-753e-8387-f058b323273d" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_019cb4cf-8ecd-70a9-ac84-ab51d7392699" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019cb4cf-8ecd-74b8-9c34-d500a96c97ea" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_019cb4cf-8ecd-70a9-ac84-ab51d7392699" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossBeforeReclassificationAndTax_019cb4cf-8ecd-7d40-8280-c90ff01aaad0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossBeforeReclassificationAndTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019cb4cf-8ecd-74b8-9c34-d500a96c97ea" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossBeforeReclassificationAndTax_019cb4cf-8ecd-7d40-8280-c90ff01aaad0" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019cb4cf-8ecd-7876-aa40-4a1cadaf4684" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_019cb4cf-8ecd-7bad-b8fb-314cc6993346" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019cb4cf-8ecd-74b8-9c34-d500a96c97ea" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_019cb4cf-8ecd-7bad-b8fb-314cc6993346" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_019cb4cf-8ecd-7076-bf32-4951ee7e57db" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019cb4cf-8ecd-74b8-9c34-d500a96c97ea" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_019cb4cf-8ecd-7076-bf32-4951ee7e57db" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_019cb4cf-8ecd-7f04-9da0-12b38b2e8760" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockDividendsPerShareDeclared_019ddd8d-a5f9-7d3b-b151-813bbc7b6b4f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockDividendsPerShareDeclared"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019cb4cf-8ecd-76e9-93d4-37d543d945ec" xlink:to="loc_us-gaap_CommonStockDividendsPerShareDeclared_019ddd8d-a5f9-7d3b-b151-813bbc7b6b4f" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.unitedfiregroup.com/role/SUMMARYOFINVESTMENTSFairValueofInvestmentsDetails" xlink:type="simple" xlink:href="ufcs-20260331.xsd#SUMMARYOFINVESTMENTSFairValueofInvestmentsDetails"/>
  <link:definitionLink xlink:role="http://www.unitedfiregroup.com/role/SUMMARYOFINVESTMENTSFairValueofInvestmentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019cb4cf-8ece-70bf-8142-862b0d349086" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_019cb4cf-8ece-78b4-9d6d-f6ccf8088582" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019cb4cf-8ece-70bf-8142-862b0d349086" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_019cb4cf-8ece-78b4-9d6d-f6ccf8088582" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_019cb4cf-8ece-7dad-a0f2-89df3740d550" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_019cb4cf-8ece-78b4-9d6d-f6ccf8088582" xlink:to="loc_us-gaap_FinancialInstrumentAxis_019cb4cf-8ece-7dad-a0f2-89df3740d550" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8ece-7dad-a0f2-89df3740d550_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_019cb4cf-8ece-7dad-a0f2-89df3740d550" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8ece-7dad-a0f2-89df3740d550_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8ece-7af1-a704-8d49e6532fae" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_019cb4cf-8ece-7dad-a0f2-89df3740d550" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8ece-7af1-a704-8d49e6532fae" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USTreasuryAndGovernmentMember_019cb4cf-8ece-794b-8386-76d8452bd56f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_USTreasuryAndGovernmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8ece-7af1-a704-8d49e6532fae" xlink:to="loc_us-gaap_USTreasuryAndGovernmentMember_019cb4cf-8ece-794b-8386-76d8452bd56f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_019cb4cf-8ece-7807-bd10-5db587fdb71a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_USStatesAndPoliticalSubdivisionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8ece-7af1-a704-8d49e6532fae" xlink:to="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_019cb4cf-8ece-7807-bd10-5db587fdb71a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_019cb4cf-8ece-73c3-b80d-9adae581280b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CorporateDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8ece-7af1-a704-8d49e6532fae" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_019cb4cf-8ece-73c3-b80d-9adae581280b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_019cb4cf-8ece-7706-a29c-412190f7209e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResidentialMortgageBackedSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8ece-7af1-a704-8d49e6532fae" xlink:to="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_019cb4cf-8ece-7706-a29c-412190f7209e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommercialMortgageBackedSecuritiesMember_019cb4cf-8ece-7d4d-9a3c-86e7bac9ab54" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommercialMortgageBackedSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8ece-7af1-a704-8d49e6532fae" xlink:to="loc_us-gaap_CommercialMortgageBackedSecuritiesMember_019cb4cf-8ece-7d4d-9a3c-86e7bac9ab54" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ufcs_OtherAssetBackedSecuritiesMember_019cb4cf-8ece-7379-bc6d-e8cba4d20650" xlink:href="ufcs-20260331.xsd#ufcs_OtherAssetBackedSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8ece-7af1-a704-8d49e6532fae" xlink:to="loc_ufcs_OtherAssetBackedSecuritiesMember_019cb4cf-8ece-7379-bc6d-e8cba4d20650" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAbstract_019cb4cf-8ece-77d5-b3d4-2663898eb1d6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019cb4cf-8ece-70bf-8142-862b0d349086" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAbstract_019cb4cf-8ece-77d5-b3d4-2663898eb1d6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss_019cb4cf-8ece-7c96-95c1-1eadb8012444" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesAbstract_019cb4cf-8ece-77d5-b3d4-2663898eb1d6" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss_019cb4cf-8ece-7c96-95c1-1eadb8012444" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_019cb4cf-8ece-700e-ba74-475f801cf34e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesAbstract_019cb4cf-8ece-77d5-b3d4-2663898eb1d6" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_019cb4cf-8ece-700e-ba74-475f801cf34e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_019cb4cf-8ece-7d5b-9a5b-be0d87f2f921" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesAbstract_019cb4cf-8ece-77d5-b3d4-2663898eb1d6" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_019cb4cf-8ece-7d5b-9a5b-be0d87f2f921" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAllowanceForCreditLossExcludingAccruedInterest_019cb4cf-8ece-7a28-9259-76f7687785fc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAllowanceForCreditLossExcludingAccruedInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesAbstract_019cb4cf-8ece-77d5-b3d4-2663898eb1d6" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAllowanceForCreditLossExcludingAccruedInterest_019cb4cf-8ece-7a28-9259-76f7687785fc" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_019cb4cf-8ece-7bd6-b460-fd1c84e0ca06" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesAbstract_019cb4cf-8ece-77d5-b3d4-2663898eb1d6" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_019cb4cf-8ece-7bd6-b460-fd1c84e0ca06" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.unitedfiregroup.com/role/SUMMARYOFINVESTMENTSMaturitiesDetails" xlink:type="simple" xlink:href="ufcs-20260331.xsd#SUMMARYOFINVESTMENTSMaturitiesDetails"/>
  <link:definitionLink xlink:role="http://www.unitedfiregroup.com/role/SUMMARYOFINVESTMENTSMaturitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfInvestmentsLineItems_019cb4cf-8ece-7fb1-8b6d-b56758e6dbe6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfInvestmentsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfInvestmentsTable_019cb4cf-8ece-7363-9cc8-b780f55ddb9c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfInvestmentsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_019cb4cf-8ece-7fb1-8b6d-b56758e6dbe6" xlink:to="loc_us-gaap_ScheduleOfInvestmentsTable_019cb4cf-8ece-7363-9cc8-b780f55ddb9c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_019cb4cf-8ece-7df8-bafb-12d935bfd9f3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_019cb4cf-8ece-7363-9cc8-b780f55ddb9c" xlink:to="loc_us-gaap_FinancialInstrumentAxis_019cb4cf-8ece-7df8-bafb-12d935bfd9f3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8ece-7df8-bafb-12d935bfd9f3_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_019cb4cf-8ece-7df8-bafb-12d935bfd9f3" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8ece-7df8-bafb-12d935bfd9f3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8ece-7db7-837d-388ce7b40a2b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_019cb4cf-8ece-7df8-bafb-12d935bfd9f3" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8ece-7db7-837d-388ce7b40a2b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_019cb4cf-8ece-7cb9-8578-3b29d9c09daa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetBackedSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8ece-7db7-837d-388ce7b40a2b" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_019cb4cf-8ece-7cb9-8578-3b29d9c09daa" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FixedMaturitiesMember_019cb4cf-8ece-71a5-8828-960a67be8b1a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FixedMaturitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8ece-7db7-837d-388ce7b40a2b" xlink:to="loc_us-gaap_FixedMaturitiesMember_019cb4cf-8ece-71a5-8828-960a67be8b1a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract_019cb4cf-8ece-767c-a84d-cc6a039bfdbb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_019cb4cf-8ece-7fb1-8b6d-b56758e6dbe6" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract_019cb4cf-8ece-767c-a84d-cc6a039bfdbb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_019cb4cf-8ece-7c98-9767-fae211b3ccbe" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract_019cb4cf-8ece-767c-a84d-cc6a039bfdbb" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_019cb4cf-8ece-7c98-9767-fae211b3ccbe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_019cb4cf-8ece-77fb-9804-ce331c1a26f5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract_019cb4cf-8ece-767c-a84d-cc6a039bfdbb" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_019cb4cf-8ece-77fb-9804-ce331c1a26f5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_019cb4cf-8ece-71b2-afe6-bff68707a7bb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract_019cb4cf-8ece-767c-a84d-cc6a039bfdbb" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_019cb4cf-8ece-71b2-afe6-bff68707a7bb" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_019cb4cf-8ece-7590-89ed-5cb0d8f79629" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract_019cb4cf-8ece-767c-a84d-cc6a039bfdbb" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_019cb4cf-8ece-7590-89ed-5cb0d8f79629" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost_019cb4cf-8ece-7ec5-8ecc-c5f5b26d00e9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract_019cb4cf-8ece-767c-a84d-cc6a039bfdbb" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost_019cb4cf-8ece-7ec5-8ecc-c5f5b26d00e9" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss_019cb4cf-8ece-7ef7-b30f-8a56c9d0f76e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract_019cb4cf-8ece-767c-a84d-cc6a039bfdbb" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss_019cb4cf-8ece-7ef7-b30f-8a56c9d0f76e" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_019cb4cf-8ece-7048-be6f-85d14f174677" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_019cb4cf-8ece-7fb1-8b6d-b56758e6dbe6" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_019cb4cf-8ece-7048-be6f-85d14f174677" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_019cb4cf-8ece-71d3-9951-3f320ee7a5ca" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_019cb4cf-8ece-7048-be6f-85d14f174677" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_019cb4cf-8ece-71d3-9951-3f320ee7a5ca" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_019cb4cf-8ece-7089-8a31-ad620e1e0418" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_019cb4cf-8ece-7048-be6f-85d14f174677" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_019cb4cf-8ece-7089-8a31-ad620e1e0418" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_019cb4cf-8ece-7b94-9e64-23880b5d675c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_019cb4cf-8ece-7048-be6f-85d14f174677" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_019cb4cf-8ece-7b94-9e64-23880b5d675c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_019cb4cf-8ece-77f3-97f5-bd9b1374a82d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_019cb4cf-8ece-7048-be6f-85d14f174677" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_019cb4cf-8ece-77f3-97f5-bd9b1374a82d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue_019cb4cf-8ece-79ed-b72a-939abc06645c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_019cb4cf-8ece-7048-be6f-85d14f174677" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue_019cb4cf-8ece-79ed-b72a-939abc06645c" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_019cb4cf-8ece-7d36-892d-386cd9654af1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_019cb4cf-8ece-7048-be6f-85d14f174677" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_019cb4cf-8ece-7d36-892d-386cd9654af1" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.unitedfiregroup.com/role/SUMMARYOFINVESTMENTSNarrativeDetails" xlink:type="simple" xlink:href="ufcs-20260331.xsd#SUMMARYOFINVESTMENTSNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.unitedfiregroup.com/role/SUMMARYOFINVESTMENTSNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_019de43b-fb3f-7fb6-b264-e1f78ca24887" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_019de43b-d167-77fe-be37-1ee974d05300" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfFinancingReceivablesPastDueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_019de43b-fb3f-7fb6-b264-e1f78ca24887" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_019de43b-d167-77fe-be37-1ee974d05300" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_019de43c-6f74-759c-aab3-b3eede61fbcb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablesPeriodPastDueAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_019de43b-d167-77fe-be37-1ee974d05300" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_019de43c-6f74-759c-aab3-b3eede61fbcb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_019de43c-6f74-759c-aab3-b3eede61fbcb_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_019de43c-6f74-759c-aab3-b3eede61fbcb" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_019de43c-6f74-759c-aab3-b3eede61fbcb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_019de43c-9e0a-705a-9fd4-8c4ccc3feccf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis_019de43c-6f74-759c-aab3-b3eede61fbcb" xlink:to="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_019de43c-9e0a-705a-9fd4-8c4ccc3feccf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialAssetPastDueMember_019de43c-ed83-7268-84d9-e3f8f0b4041c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialAssetPastDueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain_019de43c-9e0a-705a-9fd4-8c4ccc3feccf" xlink:to="loc_us-gaap_FinancialAssetPastDueMember_019de43c-ed83-7268-84d9-e3f8f0b4041c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAllowanceForCreditLossExcludingAccruedInterest_019cb4cf-8ece-7593-a125-82dd3637c678" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAllowanceForCreditLossExcludingAccruedInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_019de43b-fb3f-7fb6-b264-e1f78ca24887" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAllowanceForCreditLossExcludingAccruedInterest_019cb4cf-8ece-7593-a125-82dd3637c678" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest_019cb4cf-8ece-785a-90a4-49de96d0ab63" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_019de43b-fb3f-7fb6-b264-e1f78ca24887" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest_019cb4cf-8ece-785a-90a4-49de96d0ab63" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ufcs_NumberOfCommercialMortgageLoansPastDue_019de436-8046-7252-845f-70ef3bf7409d" xlink:href="ufcs-20260331.xsd#ufcs_NumberOfCommercialMortgageLoansPastDue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_019de43b-fb3f-7fb6-b264-e1f78ca24887" xlink:to="loc_ufcs_NumberOfCommercialMortgageLoansPastDue_019de436-8046-7252-845f-70ef3bf7409d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_019de439-e09a-7e5f-b286-1ae23cc2ceda" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_019de43b-fb3f-7fb6-b264-e1f78ca24887" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_019de439-e09a-7e5f-b286-1ae23cc2ceda" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss_019cb4cf-8ece-769b-9dce-bb7794c3e45b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_019de43b-fb3f-7fb6-b264-e1f78ca24887" xlink:to="loc_us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss_019cb4cf-8ece-769b-9dce-bb7794c3e45b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligation_019cb4cf-8ece-7e38-9581-dc7dda35d192" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractualObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_019de43b-fb3f-7fb6-b264-e1f78ca24887" xlink:to="loc_us-gaap_ContractualObligation_019cb4cf-8ece-7e38-9581-dc7dda35d192" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.unitedfiregroup.com/role/SUMMARYOFINVESTMENTSUnrealizedGainandLossDetails" xlink:type="simple" xlink:href="ufcs-20260331.xsd#SUMMARYOFINVESTMENTSUnrealizedGainandLossDetails"/>
  <link:definitionLink xlink:role="http://www.unitedfiregroup.com/role/SUMMARYOFINVESTMENTSUnrealizedGainandLossDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019cb4cf-8ece-7d05-9ce9-2a947b5f7848" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_019cb4cf-8ece-7396-b798-b3cf8386b58b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019cb4cf-8ece-7d05-9ce9-2a947b5f7848" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_019cb4cf-8ece-7396-b798-b3cf8386b58b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_019cb4cf-8ece-76d2-90db-11f3415acaa6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_019cb4cf-8ece-7396-b798-b3cf8386b58b" xlink:to="loc_us-gaap_FinancialInstrumentAxis_019cb4cf-8ece-76d2-90db-11f3415acaa6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8ece-76d2-90db-11f3415acaa6_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_019cb4cf-8ece-76d2-90db-11f3415acaa6" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8ece-76d2-90db-11f3415acaa6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8ece-70da-9aed-1b219b51a2a2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_019cb4cf-8ece-76d2-90db-11f3415acaa6" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8ece-70da-9aed-1b219b51a2a2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ufcs_LloydsSyndicateInvestmentsMember_019cb4cf-8ece-7e3a-9736-7d81f8e6f0e9" xlink:href="ufcs-20260331.xsd#ufcs_LloydsSyndicateInvestmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8ece-70da-9aed-1b219b51a2a2" xlink:to="loc_ufcs_LloydsSyndicateInvestmentsMember_019cb4cf-8ece-7e3a-9736-7d81f8e6f0e9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsNetOfTaxAbstract_019cb4cf-8ece-76f2-8f59-d8fbcfea444d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsNetOfTaxAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019cb4cf-8ece-7d05-9ce9-2a947b5f7848" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsNetOfTaxAbstract_019cb4cf-8ece-76f2-8f59-d8fbcfea444d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeTax_019cb4cf-8ece-758b-b1f8-dc501e547c10" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsNetOfTaxAbstract_019cb4cf-8ece-76f2-8f59-d8fbcfea444d" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeTax_019cb4cf-8ece-758b-b1f8-dc501e547c10" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax_019cb4cf-8ece-78f1-9d07-6a415b6dfdf1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsNetOfTaxAbstract_019cb4cf-8ece-76f2-8f59-d8fbcfea444d" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax_019cb4cf-8ece-78f1-9d07-6a415b6dfdf1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_019cb4cf-8ece-774f-b9a7-caeae1546245" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsNetOfTaxAbstract_019cb4cf-8ece-76f2-8f59-d8fbcfea444d" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_019cb4cf-8ece-774f-b9a7-caeae1546245" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_019cb4cf-8ece-7cf0-8e72-7de1d5147000" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.unitedfiregroup.com/role/SUMMARYOFINVESTMENTSFixedMaturitiesUnrealizedLossDetails" xlink:type="simple" xlink:href="ufcs-20260331.xsd#SUMMARYOFINVESTMENTSFixedMaturitiesUnrealizedLossDetails"/>
  <link:definitionLink xlink:role="http://www.unitedfiregroup.com/role/SUMMARYOFINVESTMENTSFixedMaturitiesUnrealizedLossDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019cb4cf-8ece-7730-a66f-b1afaf4bf03c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_019cb4cf-8ece-7303-a6ad-6faab4ee2fd9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019cb4cf-8ece-7730-a66f-b1afaf4bf03c" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_019cb4cf-8ece-7303-a6ad-6faab4ee2fd9" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_019cb4cf-8ece-7303-aacb-23ded8ae2678" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_019cb4cf-8ece-7303-a6ad-6faab4ee2fd9" xlink:to="loc_us-gaap_FinancialInstrumentAxis_019cb4cf-8ece-7303-aacb-23ded8ae2678" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8ece-7303-aacb-23ded8ae2678_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_019cb4cf-8ece-7303-aacb-23ded8ae2678" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8ece-7303-aacb-23ded8ae2678_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8ece-7ac7-b671-346607eff6b0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_019cb4cf-8ece-7303-aacb-23ded8ae2678" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8ece-7ac7-b671-346607eff6b0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USTreasuryAndGovernmentMember_019cb4cf-8ece-746d-999b-eff4f730194b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_USTreasuryAndGovernmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8ece-7ac7-b671-346607eff6b0" xlink:to="loc_us-gaap_USTreasuryAndGovernmentMember_019cb4cf-8ece-746d-999b-eff4f730194b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_019cb4cf-8ece-7e95-ba99-f85d03237633" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_USStatesAndPoliticalSubdivisionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8ece-7ac7-b671-346607eff6b0" xlink:to="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_019cb4cf-8ece-7e95-ba99-f85d03237633" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_019cb4cf-8ece-7dc7-b74b-8ee7aada29c5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CorporateDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8ece-7ac7-b671-346607eff6b0" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_019cb4cf-8ece-7dc7-b74b-8ee7aada29c5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_019cb4cf-8ece-7311-909d-21bc574524af" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResidentialMortgageBackedSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8ece-7ac7-b671-346607eff6b0" xlink:to="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_019cb4cf-8ece-7311-909d-21bc574524af" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommercialMortgageBackedSecuritiesMember_019cb4cf-8ece-7fc1-af40-511624994044" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommercialMortgageBackedSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8ece-7ac7-b671-346607eff6b0" xlink:to="loc_us-gaap_CommercialMortgageBackedSecuritiesMember_019cb4cf-8ece-7fc1-af40-511624994044" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ufcs_OtherAssetBackedSecuritiesMember_019cb4cf-8ece-7648-93fa-15ed247ac347" xlink:href="ufcs-20260331.xsd#ufcs_OtherAssetBackedSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8ece-7ac7-b671-346607eff6b0" xlink:to="loc_ufcs_OtherAssetBackedSecuritiesMember_019cb4cf-8ece-7648-93fa-15ed247ac347" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionQualitativeDisclosureAbstract_019cb4cf-8ece-7157-ae26-d2b6724de2d9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionQualitativeDisclosureAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_019cb4cf-8ece-7730-a66f-b1afaf4bf03c" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionQualitativeDisclosureAbstract_019cb4cf-8ece-7157-ae26-d2b6724de2d9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsAbstract_019cb4cf-8ece-7b9b-b87b-f5c388fd59c7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionQualitativeDisclosureAbstract_019cb4cf-8ece-7157-ae26-d2b6724de2d9" xlink:to="loc_us-gaap_AvailableForsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsAbstract_019cb4cf-8ece-7b9b-b87b-f5c388fd59c7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsNumberOfPositions_019cb4cf-8ece-792c-8771-d2a50f2760e0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsNumberOfPositions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsAbstract_019cb4cf-8ece-7b9b-b87b-f5c388fd59c7" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsNumberOfPositions_019cb4cf-8ece-792c-8771-d2a50f2760e0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerNumberOfPositions_019cb4cf-8ece-7867-be8d-e17eed57a12b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerNumberOfPositions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsAbstract_019cb4cf-8ece-7b9b-b87b-f5c388fd59c7" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerNumberOfPositions_019cb4cf-8ece-7867-be8d-e17eed57a12b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_019cb4cf-8ece-7594-a6c9-c7cd207316cc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionQualitativeDisclosureAbstract_019cb4cf-8ece-7157-ae26-d2b6724de2d9" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_019cb4cf-8ece-7594-a6c9-c7cd207316cc" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_019cb4cf-8ece-760f-914f-7e79565068cf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_019cb4cf-8ece-7594-a6c9-c7cd207316cc" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_019cb4cf-8ece-760f-914f-7e79565068cf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_019cb4cf-8ece-7570-bc77-a185759230cf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_019cb4cf-8ece-7594-a6c9-c7cd207316cc" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_019cb4cf-8ece-7570-bc77-a185759230cf" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_019cb4cf-8ece-7aec-8c11-207ede8e1ee2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_019cb4cf-8ece-7594-a6c9-c7cd207316cc" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_019cb4cf-8ece-7aec-8c11-207ede8e1ee2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_019cb4cf-8ece-7741-b6df-c0c63d7aeecc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionQualitativeDisclosureAbstract_019cb4cf-8ece-7157-ae26-d2b6724de2d9" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_019cb4cf-8ece-7741-b6df-c0c63d7aeecc" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_019cb4cf-8ece-7244-944e-886e6f3ef38a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_019cb4cf-8ece-7741-b6df-c0c63d7aeecc" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_019cb4cf-8ece-7244-944e-886e6f3ef38a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_019cb4cf-8ece-78d2-878d-90d4bd1b4b46" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_019cb4cf-8ece-7741-b6df-c0c63d7aeecc" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_019cb4cf-8ece-78d2-878d-90d4bd1b4b46" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_019cb4cf-8ece-79ee-be8c-9ea05bd07f45" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_019cb4cf-8ece-7741-b6df-c0c63d7aeecc" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_019cb4cf-8ece-79ee-be8c-9ea05bd07f45" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.unitedfiregroup.com/role/SUMMARYOFINVESTMENTSCarryingValueofCommercialMortgageLoansandAdditionalInformationDetails" xlink:type="simple" xlink:href="ufcs-20260331.xsd#SUMMARYOFINVESTMENTSCarryingValueofCommercialMortgageLoansandAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.unitedfiregroup.com/role/SUMMARYOFINVESTMENTSCarryingValueofCommercialMortgageLoansandAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_019cb4cf-8ece-791b-9b28-1906dda0b660" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_019cb4cf-8ece-74ad-8933-a4d9aaa8b3e5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_019cb4cf-8ece-791b-9b28-1906dda0b660" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_019cb4cf-8ece-74ad-8933-a4d9aaa8b3e5" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoanToValueAxis_019cb4cf-8ece-761b-abd8-2a8dc8fd2049" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoanToValueAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_019cb4cf-8ece-74ad-8933-a4d9aaa8b3e5" xlink:to="loc_us-gaap_LoanToValueAxis_019cb4cf-8ece-761b-abd8-2a8dc8fd2049" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoanToValueDomain_019cb4cf-8ece-761b-abd8-2a8dc8fd2049_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoanToValueDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LoanToValueAxis_019cb4cf-8ece-761b-abd8-2a8dc8fd2049" xlink:to="loc_us-gaap_LoanToValueDomain_019cb4cf-8ece-761b-abd8-2a8dc8fd2049_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoanToValueDomain_019cb4cf-8ece-708f-b550-3b9a6a6d899b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoanToValueDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LoanToValueAxis_019cb4cf-8ece-761b-abd8-2a8dc8fd2049" xlink:to="loc_us-gaap_LoanToValueDomain_019cb4cf-8ece-708f-b550-3b9a6a6d899b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ufcs_LtvLessThan65PercentMember_019cb4cf-8ece-7cc7-897c-be2f0335117d" xlink:href="ufcs-20260331.xsd#ufcs_LtvLessThan65PercentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoanToValueDomain_019cb4cf-8ece-708f-b550-3b9a6a6d899b" xlink:to="loc_ufcs_LtvLessThan65PercentMember_019cb4cf-8ece-7cc7-897c-be2f0335117d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ufcs_Ltv65To75PercentMember_019cb4cf-8ece-72c1-81a9-8ff43bf0ae3d" xlink:href="ufcs-20260331.xsd#ufcs_Ltv65To75PercentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoanToValueDomain_019cb4cf-8ece-708f-b550-3b9a6a6d899b" xlink:to="loc_ufcs_Ltv65To75PercentMember_019cb4cf-8ece-72c1-81a9-8ff43bf0ae3d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_019cb4cf-8ece-7ad3-886b-df96faaab9e1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_019cb4cf-8ece-74ad-8933-a4d9aaa8b3e5" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_019cb4cf-8ece-7ad3-886b-df96faaab9e1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019cb4cf-8ece-7ad3-886b-df96faaab9e1_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_019cb4cf-8ece-7ad3-886b-df96faaab9e1" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019cb4cf-8ece-7ad3-886b-df96faaab9e1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019cb4cf-8ece-7668-bf2a-6fb58c0568d4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_019cb4cf-8ece-7ad3-886b-df96faaab9e1" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019cb4cf-8ece-7668-bf2a-6fb58c0568d4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ufcs_CommercialMortgageLoansMember_019cb4cf-8ece-700a-9132-ade02b346e77" xlink:href="ufcs-20260331.xsd#ufcs_CommercialMortgageLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019cb4cf-8ece-7668-bf2a-6fb58c0568d4" xlink:to="loc_ufcs_CommercialMortgageLoansMember_019cb4cf-8ece-700a-9132-ade02b346e77" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_019cb4cf-8ece-78fd-8741-bb49530257e7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_019cb4cf-8ece-74ad-8933-a4d9aaa8b3e5" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_019cb4cf-8ece-78fd-8741-bb49530257e7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_019cb4cf-8ece-78fd-8741-bb49530257e7_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_019cb4cf-8ece-78fd-8741-bb49530257e7" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_019cb4cf-8ece-78fd-8741-bb49530257e7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_019cb4cf-8ece-792b-8bc0-065c0a2a15b1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_019cb4cf-8ece-78fd-8741-bb49530257e7" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_019cb4cf-8ece-792b-8bc0-065c0a2a15b1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicConcentrationRiskMember_019cb4cf-8ece-79d0-9bd2-d3128578588a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_019cb4cf-8ece-792b-8bc0-065c0a2a15b1" xlink:to="loc_us-gaap_GeographicConcentrationRiskMember_019cb4cf-8ece-79d0-9bd2-d3128578588a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ufcs_PropertyTypeConcentrationRiskMember_019cb4cf-8ece-7e58-9a9a-61bffe3d3efd" xlink:href="ufcs-20260331.xsd#ufcs_PropertyTypeConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_019cb4cf-8ece-792b-8bc0-065c0a2a15b1" xlink:to="loc_ufcs_PropertyTypeConcentrationRiskMember_019cb4cf-8ece-7e58-9a9a-61bffe3d3efd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementGeographicalAxis_019cb4cf-8ece-7e39-a7a6-df2386714b93" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_StatementGeographicalAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_019cb4cf-8ece-74ad-8933-a4d9aaa8b3e5" xlink:to="loc_srt_StatementGeographicalAxis_019cb4cf-8ece-7e39-a7a6-df2386714b93" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_019cb4cf-8ece-7e39-a7a6-df2386714b93_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_019cb4cf-8ece-7e39-a7a6-df2386714b93" xlink:to="loc_srt_SegmentGeographicalDomain_019cb4cf-8ece-7e39-a7a6-df2386714b93_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_019cb4cf-8ece-713d-bcc8-9b252b2f1a23" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_019cb4cf-8ece-7e39-a7a6-df2386714b93" xlink:to="loc_srt_SegmentGeographicalDomain_019cb4cf-8ece-713d-bcc8-9b252b2f1a23" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ufcs_EastNorthCentralMember_019cb4cf-8ece-7ebf-94e0-1900075cb577" xlink:href="ufcs-20260331.xsd#ufcs_EastNorthCentralMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_019cb4cf-8ece-713d-bcc8-9b252b2f1a23" xlink:to="loc_ufcs_EastNorthCentralMember_019cb4cf-8ece-7ebf-94e0-1900075cb577" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ufcs_SouthernAtlanticMember_019cb4cf-8ece-76e7-9710-2f73641b41dc" xlink:href="ufcs-20260331.xsd#ufcs_SouthernAtlanticMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_019cb4cf-8ece-713d-bcc8-9b252b2f1a23" xlink:to="loc_ufcs_SouthernAtlanticMember_019cb4cf-8ece-76e7-9710-2f73641b41dc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ufcs_EastSouthCentralMember_019cb4cf-8ece-7f36-8d11-32e464e7e060" xlink:href="ufcs-20260331.xsd#ufcs_EastSouthCentralMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_019cb4cf-8ece-713d-bcc8-9b252b2f1a23" xlink:to="loc_ufcs_EastSouthCentralMember_019cb4cf-8ece-7f36-8d11-32e464e7e060" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ufcs_MiddleAtlanticMember_019cb4cf-8ece-7523-8662-24fbd7b20c73" xlink:href="ufcs-20260331.xsd#ufcs_MiddleAtlanticMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_019cb4cf-8ece-713d-bcc8-9b252b2f1a23" xlink:to="loc_ufcs_MiddleAtlanticMember_019cb4cf-8ece-7523-8662-24fbd7b20c73" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ufcs_MountainMember_019cb4cf-8ece-72e2-910b-2f2a95b630ac" xlink:href="ufcs-20260331.xsd#ufcs_MountainMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_019cb4cf-8ece-713d-bcc8-9b252b2f1a23" xlink:to="loc_ufcs_MountainMember_019cb4cf-8ece-72e2-910b-2f2a95b630ac" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ufcs_WestNorthCentralMember_019cb4cf-8ece-7b00-826f-9c062b86256b" xlink:href="ufcs-20260331.xsd#ufcs_WestNorthCentralMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_019cb4cf-8ece-713d-bcc8-9b252b2f1a23" xlink:to="loc_ufcs_WestNorthCentralMember_019cb4cf-8ece-7b00-826f-9c062b86256b" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MortgageLoansOnRealEstateDescriptionTypeOfPropertyAxis_019cb4cf-8ece-7b91-93e3-5f95caf7e2c9" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MortgageLoansOnRealEstateDescriptionTypeOfPropertyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_019cb4cf-8ece-74ad-8933-a4d9aaa8b3e5" xlink:to="loc_srt_MortgageLoansOnRealEstateDescriptionTypeOfPropertyAxis_019cb4cf-8ece-7b91-93e3-5f95caf7e2c9" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MortgageLoansOnRealEstateNamePropertyTypeDomain_019cb4cf-8ece-7b91-93e3-5f95caf7e2c9_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MortgageLoansOnRealEstateNamePropertyTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_MortgageLoansOnRealEstateDescriptionTypeOfPropertyAxis_019cb4cf-8ece-7b91-93e3-5f95caf7e2c9" xlink:to="loc_srt_MortgageLoansOnRealEstateNamePropertyTypeDomain_019cb4cf-8ece-7b91-93e3-5f95caf7e2c9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MortgageLoansOnRealEstateNamePropertyTypeDomain_019cb4cf-8ece-7b47-bcb1-dda33149660a" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MortgageLoansOnRealEstateNamePropertyTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_MortgageLoansOnRealEstateDescriptionTypeOfPropertyAxis_019cb4cf-8ece-7b91-93e3-5f95caf7e2c9" xlink:to="loc_srt_MortgageLoansOnRealEstateNamePropertyTypeDomain_019cb4cf-8ece-7b47-bcb1-dda33149660a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MultifamilyMember_019cb4cf-8ece-7e24-b000-e9b06a0651fc" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MultifamilyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateNamePropertyTypeDomain_019cb4cf-8ece-7b47-bcb1-dda33149660a" xlink:to="loc_srt_MultifamilyMember_019cb4cf-8ece-7e24-b000-e9b06a0651fc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OfficeBuildingMember_019cb4cf-8ece-7f58-be33-e9debcca4ef6" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_OfficeBuildingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateNamePropertyTypeDomain_019cb4cf-8ece-7b47-bcb1-dda33149660a" xlink:to="loc_srt_OfficeBuildingMember_019cb4cf-8ece-7f58-be33-e9debcca4ef6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ufcs_IndustrialMember_019cb4cf-8ece-7136-bb5d-3255647b4325" xlink:href="ufcs-20260331.xsd#ufcs_IndustrialMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateNamePropertyTypeDomain_019cb4cf-8ece-7b47-bcb1-dda33149660a" xlink:to="loc_ufcs_IndustrialMember_019cb4cf-8ece-7136-bb5d-3255647b4325" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RetailSiteMember_019cb4cf-8ece-7e9b-9a8f-1c51a0735f6b" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RetailSiteMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateNamePropertyTypeDomain_019cb4cf-8ece-7b47-bcb1-dda33149660a" xlink:to="loc_srt_RetailSiteMember_019cb4cf-8ece-7e9b-9a8f-1c51a0735f6b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OtherPropertyMember_019cb4cf-8ece-733d-8e1d-f4573806de7f" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_OtherPropertyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateNamePropertyTypeDomain_019cb4cf-8ece-7b47-bcb1-dda33149660a" xlink:to="loc_srt_OtherPropertyMember_019cb4cf-8ece-733d-8e1d-f4573806de7f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_019cb4cf-8ece-7103-9003-dc82f27f1a34" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_019cb4cf-8ece-791b-9b28-1906dda0b660" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_019cb4cf-8ece-7103-9003-dc82f27f1a34" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest_019cb4cf-8ece-7875-a944-da69bf84db5a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_019cb4cf-8ece-791b-9b28-1906dda0b660" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest_019cb4cf-8ece-7875-a944-da69bf84db5a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_019cb4cf-8ece-78ad-960c-7557a03553cf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_019cb4cf-8ece-791b-9b28-1906dda0b660" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_019cb4cf-8ece-78ad-960c-7557a03553cf" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_019cb4cf-8ece-7d1b-937d-3538c1c7dc08" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskPercentage1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_019cb4cf-8ece-791b-9b28-1906dda0b660" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_019cb4cf-8ece-7d1b-937d-3538c1c7dc08" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.unitedfiregroup.com/role/SUMMARYOFINVESTMENTSAmortizedCostBasisbyYearofOriginationandCreditQualityIndicatorDetails" xlink:type="simple" xlink:href="ufcs-20260331.xsd#SUMMARYOFINVESTMENTSAmortizedCostBasisbyYearofOriginationandCreditQualityIndicatorDetails"/>
  <link:definitionLink xlink:role="http://www.unitedfiregroup.com/role/SUMMARYOFINVESTMENTSAmortizedCostBasisbyYearofOriginationandCreditQualityIndicatorDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_019cb4cf-8ece-7e39-afe4-c73318fa78f9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_019cb4cf-8ece-73b4-813d-fd4e55191226" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_019cb4cf-8ece-7e39-afe4-c73318fa78f9" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_019cb4cf-8ece-73b4-813d-fd4e55191226" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InternalCreditAssessmentAxis_019cb4cf-8ece-7c36-bbb9-9207311f4552" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InternalCreditAssessmentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_019cb4cf-8ece-73b4-813d-fd4e55191226" xlink:to="loc_us-gaap_InternalCreditAssessmentAxis_019cb4cf-8ece-7c36-bbb9-9207311f4552" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InternalCreditAssessmentDomain_019cb4cf-8ece-7c36-bbb9-9207311f4552_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InternalCreditAssessmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InternalCreditAssessmentAxis_019cb4cf-8ece-7c36-bbb9-9207311f4552" xlink:to="loc_us-gaap_InternalCreditAssessmentDomain_019cb4cf-8ece-7c36-bbb9-9207311f4552_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InternalCreditAssessmentDomain_019cb4cf-8ece-7331-99f8-142e86be68d4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InternalCreditAssessmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InternalCreditAssessmentAxis_019cb4cf-8ece-7c36-bbb9-9207311f4552" xlink:to="loc_us-gaap_InternalCreditAssessmentDomain_019cb4cf-8ece-7331-99f8-142e86be68d4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ufcs_OneTwoInternalGradeMember_019cb4cf-8ece-727f-b028-b724167e060f" xlink:href="ufcs-20260331.xsd#ufcs_OneTwoInternalGradeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_019cb4cf-8ece-7331-99f8-142e86be68d4" xlink:to="loc_ufcs_OneTwoInternalGradeMember_019cb4cf-8ece-727f-b028-b724167e060f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear_019cb4cf-8ece-7956-90ae-a41c935d489a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_019cb4cf-8ece-7e39-afe4-c73318fa78f9" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear_019cb4cf-8ece-7956-90ae-a41c935d489a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear_019cb4cf-8ece-71cf-bbc2-a6dccac83763" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_019cb4cf-8ece-7e39-afe4-c73318fa78f9" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear_019cb4cf-8ece-71cf-bbc2-a6dccac83763" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ufcs_FinancingReceivableExcludingAccruedInterestYearSixOriginatedFiveYearsBeforeCurrentFiscalYear_019cb4cf-8ece-7188-b870-323bb5a19e3a" xlink:href="ufcs-20260331.xsd#ufcs_FinancingReceivableExcludingAccruedInterestYearSixOriginatedFiveYearsBeforeCurrentFiscalYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_019cb4cf-8ece-7e39-afe4-c73318fa78f9" xlink:to="loc_ufcs_FinancingReceivableExcludingAccruedInterestYearSixOriginatedFiveYearsBeforeCurrentFiscalYear_019cb4cf-8ece-7188-b870-323bb5a19e3a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ufcs_FinancingReceivableExcludingAccruedInterestYearSevenOriginatedSixYearsBeforeCurrentFiscalYear_019da904-01f8-77f1-9cb0-dee68a416487" xlink:href="ufcs-20260331.xsd#ufcs_FinancingReceivableExcludingAccruedInterestYearSevenOriginatedSixYearsBeforeCurrentFiscalYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_019cb4cf-8ece-7e39-afe4-c73318fa78f9" xlink:to="loc_ufcs_FinancingReceivableExcludingAccruedInterestYearSevenOriginatedSixYearsBeforeCurrentFiscalYear_019da904-01f8-77f1-9cb0-dee68a416487" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ufcs_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanSixYearsBeforeCurrentFiscalYear_019da904-d7d6-7c71-a643-042132fab9aa" xlink:href="ufcs-20260331.xsd#ufcs_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanSixYearsBeforeCurrentFiscalYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_019cb4cf-8ece-7e39-afe4-c73318fa78f9" xlink:to="loc_ufcs_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanSixYearsBeforeCurrentFiscalYear_019da904-d7d6-7c71-a643-042132fab9aa" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_019cb4cf-8ece-78c7-9c0b-ae8eca17d650" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_019cb4cf-8ece-7e39-afe4-c73318fa78f9" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_019cb4cf-8ece-78c7-9c0b-ae8eca17d650" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.unitedfiregroup.com/role/SUMMARYOFINVESTMENTSNetInvestmentIncomeDetails" xlink:type="simple" xlink:href="ufcs-20260331.xsd#SUMMARYOFINVESTMENTSNetInvestmentIncomeDetails"/>
  <link:definitionLink xlink:role="http://www.unitedfiregroup.com/role/SUMMARYOFINVESTMENTSNetInvestmentIncomeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfInvestmentsLineItems_019cb4cf-8f72-73d0-b293-f24d5a634e3b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfInvestmentsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfInvestmentsTable_019cb4cf-8f72-74b3-b01c-66b0eee198b6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfInvestmentsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_019cb4cf-8f72-73d0-b293-f24d5a634e3b" xlink:to="loc_us-gaap_ScheduleOfInvestmentsTable_019cb4cf-8f72-74b3-b01c-66b0eee198b6" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeAxis_019cb4cf-8f72-772a-97f3-6c419aa26f12" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_019cb4cf-8f72-74b3-b01c-66b0eee198b6" xlink:to="loc_us-gaap_InvestmentTypeAxis_019cb4cf-8f72-772a-97f3-6c419aa26f12" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_019cb4cf-8f72-772a-97f3-6c419aa26f12_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_019cb4cf-8f72-772a-97f3-6c419aa26f12" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_019cb4cf-8f72-772a-97f3-6c419aa26f12_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_019cb4cf-8f72-768a-a1c8-868c861038bc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_019cb4cf-8f72-772a-97f3-6c419aa26f12" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_019cb4cf-8f72-768a-a1c8-868c861038bc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FixedMaturitiesMember_019cb4cf-8f72-7872-b7ae-c844266af06a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FixedMaturitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_019cb4cf-8f72-768a-a1c8-868c861038bc" xlink:to="loc_us-gaap_FixedMaturitiesMember_019cb4cf-8f72-7872-b7ae-c844266af06a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLongTermInvestmentsMember_019cb4cf-8f72-74e9-956c-968f8400959b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLongTermInvestmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_019cb4cf-8f72-768a-a1c8-868c861038bc" xlink:to="loc_us-gaap_OtherLongTermInvestmentsMember_019cb4cf-8f72-74e9-956c-968f8400959b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInterest_019cb4cf-8f72-76d8-bd41-9ede85690a00" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIncomeInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_019cb4cf-8f72-73d0-b293-f24d5a634e3b" xlink:to="loc_us-gaap_InvestmentIncomeInterest_019cb4cf-8f72-76d8-bd41-9ede85690a00" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ufcs_InvestmentIncomeGainLossOnOtherLongTermInvestments_019cb4cf-8f72-7799-85a0-a2642bffc265" xlink:href="ufcs-20260331.xsd#ufcs_InvestmentIncomeGainLossOnOtherLongTermInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_019cb4cf-8f72-73d0-b293-f24d5a634e3b" xlink:to="loc_ufcs_InvestmentIncomeGainLossOnOtherLongTermInvestments_019cb4cf-8f72-7799-85a0-a2642bffc265" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ufcs_InvestmentIncomeOther_019cb4cf-8f72-77c2-9ddf-7f18e81c612c" xlink:href="ufcs-20260331.xsd#ufcs_InvestmentIncomeOther"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_019cb4cf-8f72-73d0-b293-f24d5a634e3b" xlink:to="loc_ufcs_InvestmentIncomeOther_019cb4cf-8f72-77c2-9ddf-7f18e81c612c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ufcs_InvestmentIncomeGross_019cb4cf-8f72-7eb5-99b5-47d6461c332f" xlink:href="ufcs-20260331.xsd#ufcs_InvestmentIncomeGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_019cb4cf-8f72-73d0-b293-f24d5a634e3b" xlink:to="loc_ufcs_InvestmentIncomeGross_019cb4cf-8f72-7eb5-99b5-47d6461c332f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInvestmentExpense_019cb4cf-8f72-7041-91e9-d15bbfc5b7f2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIncomeInvestmentExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_019cb4cf-8f72-73d0-b293-f24d5a634e3b" xlink:to="loc_us-gaap_InvestmentIncomeInvestmentExpense_019cb4cf-8f72-7041-91e9-d15bbfc5b7f2" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeNet_019cb4cf-8f72-7f43-8732-b1557481324d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIncomeNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_019cb4cf-8f72-73d0-b293-f24d5a634e3b" xlink:to="loc_us-gaap_InvestmentIncomeNet_019cb4cf-8f72-7f43-8732-b1557481324d" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.unitedfiregroup.com/role/FAIRVALUEOFFINANCIALINSTRUMENTSFinancialInstrumentsMeasuredatFairValueDetails" xlink:type="simple" xlink:href="ufcs-20260331.xsd#FAIRVALUEOFFINANCIALINSTRUMENTSFinancialInstrumentsMeasuredatFairValueDetails"/>
  <link:definitionLink xlink:role="http://www.unitedfiregroup.com/role/FAIRVALUEOFFINANCIALINSTRUMENTSFinancialInstrumentsMeasuredatFairValueDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019cb4cf-8f73-75d2-9b82-3d0fc99bdab0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019cb4cf-8f73-763e-9a54-617f518a0e98" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019cb4cf-8f73-75d2-9b82-3d0fc99bdab0" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019cb4cf-8f73-763e-9a54-617f518a0e98" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_019cb4cf-8f73-7a44-bfc6-1c241876dc05" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByMeasurementFrequencyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019cb4cf-8f73-763e-9a54-617f518a0e98" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_019cb4cf-8f73-7a44-bfc6-1c241876dc05" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_019cb4cf-8f73-7a44-bfc6-1c241876dc05_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_019cb4cf-8f73-7a44-bfc6-1c241876dc05" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_019cb4cf-8f73-7a44-bfc6-1c241876dc05_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_019cb4cf-8f73-7d74-8f58-230719e81f72" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_019cb4cf-8f73-7a44-bfc6-1c241876dc05" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_019cb4cf-8f73-7d74-8f58-230719e81f72" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_019cb4cf-8f73-7352-bbeb-0829738f64da" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsRecurringMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_019cb4cf-8f73-7d74-8f58-230719e81f72" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_019cb4cf-8f73-7352-bbeb-0829738f64da" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019cb4cf-8f73-72b9-946f-f740a0c8c887" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019cb4cf-8f73-763e-9a54-617f518a0e98" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019cb4cf-8f73-72b9-946f-f740a0c8c887" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019cb4cf-8f73-72b9-946f-f740a0c8c887_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019cb4cf-8f73-72b9-946f-f740a0c8c887" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019cb4cf-8f73-72b9-946f-f740a0c8c887_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019cb4cf-8f73-70a7-bdc0-84c5013be786" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019cb4cf-8f73-72b9-946f-f740a0c8c887" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019cb4cf-8f73-70a7-bdc0-84c5013be786" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_019cb4cf-8f73-75d4-9476-d850724651b6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019cb4cf-8f73-70a7-bdc0-84c5013be786" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_019cb4cf-8f73-75d4-9476-d850724651b6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_019cb4cf-8f73-7ab2-b212-8514f65e9291" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019cb4cf-8f73-70a7-bdc0-84c5013be786" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_019cb4cf-8f73-7ab2-b212-8514f65e9291" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_019cb4cf-8f73-760d-a321-5314646524e3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019cb4cf-8f73-70a7-bdc0-84c5013be786" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_019cb4cf-8f73-760d-a321-5314646524e3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_019cb4cf-8f73-7d91-8d8b-4388c07cc4be" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019cb4cf-8f73-763e-9a54-617f518a0e98" xlink:to="loc_us-gaap_FinancialInstrumentAxis_019cb4cf-8f73-7d91-8d8b-4388c07cc4be" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8f73-7d91-8d8b-4388c07cc4be_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_019cb4cf-8f73-7d91-8d8b-4388c07cc4be" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8f73-7d91-8d8b-4388c07cc4be_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8f73-7817-b07a-b6ebe3b6fd7b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_019cb4cf-8f73-7d91-8d8b-4388c07cc4be" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8f73-7817-b07a-b6ebe3b6fd7b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USTreasuryAndGovernmentMember_019cb4cf-8f73-76aa-b15c-3f6325aaafff" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_USTreasuryAndGovernmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8f73-7817-b07a-b6ebe3b6fd7b" xlink:to="loc_us-gaap_USTreasuryAndGovernmentMember_019cb4cf-8f73-76aa-b15c-3f6325aaafff" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_019cb4cf-8f73-7576-a035-749392886064" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_USStatesAndPoliticalSubdivisionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8f73-7817-b07a-b6ebe3b6fd7b" xlink:to="loc_us-gaap_USStatesAndPoliticalSubdivisionsMember_019cb4cf-8f73-7576-a035-749392886064" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_019cb4cf-8f73-7a0e-a47f-c80570e1c6d0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CorporateDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8f73-7817-b07a-b6ebe3b6fd7b" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_019cb4cf-8f73-7a0e-a47f-c80570e1c6d0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_019cb4cf-8f73-70da-a81b-0f71ccc92fab" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResidentialMortgageBackedSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8f73-7817-b07a-b6ebe3b6fd7b" xlink:to="loc_us-gaap_ResidentialMortgageBackedSecuritiesMember_019cb4cf-8f73-70da-a81b-0f71ccc92fab" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommercialMortgageBackedSecuritiesMember_019cb4cf-8f73-75f3-a201-b34c61e7f6a8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommercialMortgageBackedSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8f73-7817-b07a-b6ebe3b6fd7b" xlink:to="loc_us-gaap_CommercialMortgageBackedSecuritiesMember_019cb4cf-8f73-75f3-a201-b34c61e7f6a8" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ufcs_OtherAssetBackedSecuritiesMember_019cb4cf-8f73-7764-96b3-ccc7d9a50a2d" xlink:href="ufcs-20260331.xsd#ufcs_OtherAssetBackedSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8f73-7817-b07a-b6ebe3b6fd7b" xlink:to="loc_ufcs_OtherAssetBackedSecuritiesMember_019cb4cf-8f73-7764-96b3-ccc7d9a50a2d" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_019cb4cf-8f73-7662-b63d-423ee04c51cd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019cb4cf-8f73-75d2-9b82-3d0fc99bdab0" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_019cb4cf-8f73-7662-b63d-423ee04c51cd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_019cb4cf-8f73-7c3e-8ce1-a00fe25b8fe4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019cb4cf-8f73-75d2-9b82-3d0fc99bdab0" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_019cb4cf-8f73-7c3e-8ce1-a00fe25b8fe4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashSurrenderValueFairValueDisclosure_019cb4cf-8f73-782a-9908-875e81fc78bf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashSurrenderValueFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019cb4cf-8f73-75d2-9b82-3d0fc99bdab0" xlink:to="loc_us-gaap_CashSurrenderValueFairValueDisclosure_019cb4cf-8f73-782a-9908-875e81fc78bf" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_019cb4cf-8f73-7f0a-b5b2-35b292dee385" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019cb4cf-8f73-75d2-9b82-3d0fc99bdab0" xlink:to="loc_us-gaap_AssetsFairValueDisclosure_019cb4cf-8f73-7f0a-b5b2-35b292dee385" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.unitedfiregroup.com/role/FAIRVALUEOFFINANCIALINSTRUMENTSNarrativeDetails" xlink:type="simple" xlink:href="ufcs-20260331.xsd#FAIRVALUEOFFINANCIALINSTRUMENTSNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.unitedfiregroup.com/role/FAIRVALUEOFFINANCIALINSTRUMENTSNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019cb4cf-8f73-70e2-9cfe-517690c7af46" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019cb4cf-8f73-7370-bbf5-50dac3bbd6c9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019cb4cf-8f73-70e2-9cfe-517690c7af46" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019cb4cf-8f73-7370-bbf5-50dac3bbd6c9" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019cb4cf-8f73-768b-a86a-93b2c822014a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019cb4cf-8f73-7370-bbf5-50dac3bbd6c9" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019cb4cf-8f73-768b-a86a-93b2c822014a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019cb4cf-8f73-768b-a86a-93b2c822014a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019cb4cf-8f73-768b-a86a-93b2c822014a" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019cb4cf-8f73-768b-a86a-93b2c822014a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019cb4cf-8f73-762e-9568-6017dac189e4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019cb4cf-8f73-768b-a86a-93b2c822014a" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019cb4cf-8f73-762e-9568-6017dac189e4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_019cb4cf-8f73-7080-9932-79a2e39d65c2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019cb4cf-8f73-762e-9568-6017dac189e4" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_019cb4cf-8f73-7080-9932-79a2e39d65c2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_019cb4cf-8f73-779b-ad7c-37d1b53e8840" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByMeasurementFrequencyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019cb4cf-8f73-7370-bbf5-50dac3bbd6c9" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_019cb4cf-8f73-779b-ad7c-37d1b53e8840" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_019cb4cf-8f73-779b-ad7c-37d1b53e8840_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_019cb4cf-8f73-779b-ad7c-37d1b53e8840" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_019cb4cf-8f73-779b-ad7c-37d1b53e8840_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_019cb4cf-8f73-781f-b8a1-5ddafc51a614" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_019cb4cf-8f73-779b-ad7c-37d1b53e8840" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_019cb4cf-8f73-781f-b8a1-5ddafc51a614" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_019cb4cf-8f73-7be0-8741-1add46da9fb7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsRecurringMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_019cb4cf-8f73-781f-b8a1-5ddafc51a614" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_019cb4cf-8f73-7be0-8741-1add46da9fb7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_019cb4cf-8f73-7091-9fa3-f7fc3e34ff21" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019cb4cf-8f73-70e2-9cfe-517690c7af46" xlink:to="loc_us-gaap_AssetsFairValueDisclosure_019cb4cf-8f73-7091-9fa3-f7fc3e34ff21" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.unitedfiregroup.com/role/FAIRVALUEOFFINANCIALINSTRUMENTSFairValueofFinancialInstrumentsThatAreNotCarriedatFairValueonaRecurringBasisDetails" xlink:type="simple" xlink:href="ufcs-20260331.xsd#FAIRVALUEOFFINANCIALINSTRUMENTSFairValueofFinancialInstrumentsThatAreNotCarriedatFairValueonaRecurringBasisDetails"/>
  <link:definitionLink xlink:role="http://www.unitedfiregroup.com/role/FAIRVALUEOFFINANCIALINSTRUMENTSFairValueofFinancialInstrumentsThatAreNotCarriedatFairValueonaRecurringBasisDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019cb4cf-8f73-72f8-afe7-bbb6016e588a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019cb4cf-8f73-7dea-af87-64e4d375f637" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019cb4cf-8f73-72f8-afe7-bbb6016e588a" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019cb4cf-8f73-7dea-af87-64e4d375f637" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_019cb4cf-8f73-74e3-b3fd-37c177a98f69" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByMeasurementFrequencyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019cb4cf-8f73-7dea-af87-64e4d375f637" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_019cb4cf-8f73-74e3-b3fd-37c177a98f69" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_019cb4cf-8f73-74e3-b3fd-37c177a98f69_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_019cb4cf-8f73-74e3-b3fd-37c177a98f69" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_019cb4cf-8f73-74e3-b3fd-37c177a98f69_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_019cb4cf-8f73-7ce6-829a-c39e07df74c1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_019cb4cf-8f73-74e3-b3fd-37c177a98f69" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_019cb4cf-8f73-7ce6-829a-c39e07df74c1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsNonrecurringMember_019cb4cf-8f73-7856-8e3e-628b5d3a3438" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsNonrecurringMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_019cb4cf-8f73-7ce6-829a-c39e07df74c1" xlink:to="loc_us-gaap_FairValueMeasurementsNonrecurringMember_019cb4cf-8f73-7856-8e3e-628b5d3a3438" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019cb4cf-8f73-740c-9da4-ce57620a8263" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019cb4cf-8f73-7dea-af87-64e4d375f637" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019cb4cf-8f73-740c-9da4-ce57620a8263" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019cb4cf-8f73-740c-9da4-ce57620a8263_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019cb4cf-8f73-740c-9da4-ce57620a8263" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019cb4cf-8f73-740c-9da4-ce57620a8263_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019cb4cf-8f73-7ec3-b919-883bfa364acb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019cb4cf-8f73-740c-9da4-ce57620a8263" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019cb4cf-8f73-7ec3-b919-883bfa364acb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_019cb4cf-8f73-71bd-b25e-40cfe08cf6db" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019cb4cf-8f73-7ec3-b919-883bfa364acb" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_019cb4cf-8f73-71bd-b25e-40cfe08cf6db" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_019cb4cf-8f73-7ea7-b2b7-879ef4ab25ac" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019cb4cf-8f73-7ec3-b919-883bfa364acb" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_019cb4cf-8f73-7ea7-b2b7-879ef4ab25ac" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_019cb4cf-8f73-7f10-9147-9c41cd6e1e87" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019cb4cf-8f73-7ec3-b919-883bfa364acb" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_019cb4cf-8f73-7f10-9147-9c41cd6e1e87" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasuredAtNetAssetValuePerShareMember_019cb4cf-8f73-7787-a611-939e87e55993" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasuredAtNetAssetValuePerShareMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019cb4cf-8f73-7ec3-b919-883bfa364acb" xlink:to="loc_us-gaap_FairValueMeasuredAtNetAssetValuePerShareMember_019cb4cf-8f73-7787-a611-939e87e55993" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_019cb4cf-8f73-7a95-b9a4-a4a0a20d6bd2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019cb4cf-8f73-7dea-af87-64e4d375f637" xlink:to="loc_us-gaap_FinancialInstrumentAxis_019cb4cf-8f73-7a95-b9a4-a4a0a20d6bd2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8f73-7a95-b9a4-a4a0a20d6bd2_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_019cb4cf-8f73-7a95-b9a4-a4a0a20d6bd2" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8f73-7a95-b9a4-a4a0a20d6bd2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8f73-7ab9-bd7f-beeaa2620918" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_019cb4cf-8f73-7a95-b9a4-a4a0a20d6bd2" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8f73-7ab9-bd7f-beeaa2620918" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ufcs_LloydsSyndicateInvestmentsMember_019cb4cf-8f73-7d91-9f4a-8cca9140c50b" xlink:href="ufcs-20260331.xsd#ufcs_LloydsSyndicateInvestmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019cb4cf-8f73-7ab9-bd7f-beeaa2620918" xlink:to="loc_ufcs_LloydsSyndicateInvestmentsMember_019cb4cf-8f73-7d91-9f4a-8cca9140c50b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_019cb4cf-8f73-7d5b-97c1-947027131058" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019cb4cf-8f73-7dea-af87-64e4d375f637" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_019cb4cf-8f73-7d5b-97c1-947027131058" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_019cb4cf-8f73-7d5b-97c1-947027131058_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_019cb4cf-8f73-7d5b-97c1-947027131058" xlink:to="loc_us-gaap_RelatedPartyDomain_019cb4cf-8f73-7d5b-97c1-947027131058_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_019cb4cf-8f73-7ef3-a6ab-442aca43d9dd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_019cb4cf-8f73-7d5b-97c1-947027131058" xlink:to="loc_us-gaap_RelatedPartyDomain_019cb4cf-8f73-7ef3-a6ab-442aca43d9dd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LimitedLiabilityCompanyMember_019cb4cf-8f73-7848-9a2a-23f450450392" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LimitedLiabilityCompanyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_019cb4cf-8f73-7ef3-a6ab-442aca43d9dd" xlink:to="loc_us-gaap_LimitedLiabilityCompanyMember_019cb4cf-8f73-7848-9a2a-23f450450392" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_019cb4cf-8f73-734e-b0ab-b81f0f806f50" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019cb4cf-8f73-72f8-afe7-bbb6016e588a" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_019cb4cf-8f73-734e-b0ab-b81f0f806f50" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AlternativeInvestment_019cb4cf-8f73-734b-b81f-e7847ab8588f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AlternativeInvestment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019cb4cf-8f73-72f8-afe7-bbb6016e588a" xlink:to="loc_us-gaap_AlternativeInvestment_019cb4cf-8f73-734b-b81f-e7847ab8588f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansReceivableFairValueDisclosure_019cb4cf-8f73-774e-ab9b-0ff163651ac8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansReceivableFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019cb4cf-8f73-72f8-afe7-bbb6016e588a" xlink:to="loc_us-gaap_LoansReceivableFairValueDisclosure_019cb4cf-8f73-774e-ab9b-0ff163651ac8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_019cb4cf-8f73-786d-a3f9-a7478acdd668" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019cb4cf-8f73-72f8-afe7-bbb6016e588a" xlink:to="loc_us-gaap_AssetsFairValueDisclosure_019cb4cf-8f73-786d-a3f9-a7478acdd668" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtFairValue_019cb4cf-8f73-7b5e-8926-18a2234d0b24" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019cb4cf-8f73-72f8-afe7-bbb6016e588a" xlink:to="loc_us-gaap_LongTermDebtFairValue_019cb4cf-8f73-7b5e-8926-18a2234d0b24" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_019cb4cf-8f73-771a-8e5f-5bf3e01287d3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019cb4cf-8f73-72f8-afe7-bbb6016e588a" xlink:to="loc_us-gaap_LiabilitiesFairValueDisclosure_019cb4cf-8f73-771a-8e5f-5bf3e01287d3" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.unitedfiregroup.com/role/STOCKBASEDCOMPENSATIONDetails" xlink:type="simple" xlink:href="ufcs-20260331.xsd#STOCKBASEDCOMPENSATIONDetails"/>
  <link:definitionLink xlink:role="http://www.unitedfiregroup.com/role/STOCKBASEDCOMPENSATIONDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019cb4cf-8f73-747e-b6e5-38daf2532ead" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019cb4cf-8f73-71b5-8c15-8e608bebab6f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019cb4cf-8f73-747e-b6e5-38daf2532ead" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019cb4cf-8f73-71b5-8c15-8e608bebab6f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameAxis_019cb4cf-8f73-766e-8b84-4df8c1754eff" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019cb4cf-8f73-71b5-8c15-8e608bebab6f" xlink:to="loc_us-gaap_PlanNameAxis_019cb4cf-8f73-766e-8b84-4df8c1754eff" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_019cb4cf-8f73-766e-8b84-4df8c1754eff_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_019cb4cf-8f73-766e-8b84-4df8c1754eff" xlink:to="loc_us-gaap_PlanNameDomain_019cb4cf-8f73-766e-8b84-4df8c1754eff_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_019cb4cf-8f73-7bad-9a26-e545459e6551" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_019cb4cf-8f73-766e-8b84-4df8c1754eff" xlink:to="loc_us-gaap_PlanNameDomain_019cb4cf-8f73-7bad-9a26-e545459e6551" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ufcs_EmployeeStockAwardPlan2021Member_019dddd7-6a2d-7fdd-b862-411e71fffc5a" xlink:href="ufcs-20260331.xsd#ufcs_EmployeeStockAwardPlan2021Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_019cb4cf-8f73-7bad-9a26-e545459e6551" xlink:to="loc_ufcs_EmployeeStockAwardPlan2021Member_019dddd7-6a2d-7fdd-b862-411e71fffc5a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_019dddf0-6014-780c-8bad-10c8ec2bd887" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019cb4cf-8f73-71b5-8c15-8e608bebab6f" xlink:to="loc_us-gaap_AwardTypeAxis_019dddf0-6014-780c-8bad-10c8ec2bd887" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019dddf0-6014-780c-8bad-10c8ec2bd887_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_019dddf0-6014-780c-8bad-10c8ec2bd887" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019dddf0-6014-780c-8bad-10c8ec2bd887_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019dddf0-8c17-72a5-b9a6-7481bc29a676" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_019dddf0-6014-780c-8bad-10c8ec2bd887" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019dddf0-8c17-72a5-b9a6-7481bc29a676" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_019dddf0-cae9-702b-92bd-50bdba56356c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019dddf0-8c17-72a5-b9a6-7481bc29a676" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_019dddf0-cae9-702b-92bd-50bdba56356c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ufcs_PerformanceRestrictedStockUnitMember_019dddf1-ed61-7e1b-a75a-bb10f8fce6c9" xlink:href="ufcs-20260331.xsd#ufcs_PerformanceRestrictedStockUnitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019dddf0-8c17-72a5-b9a6-7481bc29a676" xlink:to="loc_ufcs_PerformanceRestrictedStockUnitMember_019dddf1-ed61-7e1b-a75a-bb10f8fce6c9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_019de42f-2ead-76f0-85ea-731e533ae5fe" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019cb4cf-8f73-747e-b6e5-38daf2532ead" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_019de42f-2ead-76f0-85ea-731e533ae5fe" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_019cb4cf-8f73-78fa-b50e-64fe52695bff" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019cb4cf-8f73-747e-b6e5-38daf2532ead" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_019cb4cf-8f73-78fa-b50e-64fe52695bff" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_019de430-bcc1-7073-9203-59abf5877ff2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019cb4cf-8f73-747e-b6e5-38daf2532ead" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_019de430-bcc1-7073-9203-59abf5877ff2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockGrantedDuringPeriodValueSharebasedCompensation_019dddde-2485-7981-bb13-966faf024fc8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockGrantedDuringPeriodValueSharebasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019cb4cf-8f73-747e-b6e5-38daf2532ead" xlink:to="loc_us-gaap_StockGrantedDuringPeriodValueSharebasedCompensation_019dddde-2485-7981-bb13-966faf024fc8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_019ddded-a89e-79f4-814b-ab8ef8726c79" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019cb4cf-8f73-747e-b6e5-38daf2532ead" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_019ddded-a89e-79f4-814b-ab8ef8726c79" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_019cb4cf-8f73-7765-bcbf-4a90b081ef58" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019cb4cf-8f73-747e-b6e5-38daf2532ead" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_019cb4cf-8f73-7765-bcbf-4a90b081ef58" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_019de434-8558-7eb6-a948-53cef780d40d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019cb4cf-8f73-747e-b6e5-38daf2532ead" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_019de434-8558-7eb6-a948-53cef780d40d" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.unitedfiregroup.com/role/EARNINGSPERCOMMONSHAREDetails" xlink:type="simple" xlink:href="ufcs-20260331.xsd#EARNINGSPERCOMMONSHAREDetails"/>
  <link:definitionLink xlink:role="http://www.unitedfiregroup.com/role/EARNINGSPERCOMMONSHAREDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDilutedLineItems_019cb4cf-8f73-7954-b294-5e7ee04a0d8f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EarningsPerShareDilutedLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEarningsPerShareDilutedByCommonClassTable_019cb4cf-8f73-776c-81eb-f6969222c5c5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfEarningsPerShareDilutedByCommonClassTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_019cb4cf-8f73-7954-b294-5e7ee04a0d8f" xlink:to="loc_us-gaap_ScheduleOfEarningsPerShareDilutedByCommonClassTable_019cb4cf-8f73-776c-81eb-f6969222c5c5" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_019cb4cf-8f73-75db-a910-d84769fc8dc7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEarningsPerShareDilutedByCommonClassTable_019cb4cf-8f73-776c-81eb-f6969222c5c5" xlink:to="loc_us-gaap_AwardTypeAxis_019cb4cf-8f73-75db-a910-d84769fc8dc7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019cb4cf-8f73-75db-a910-d84769fc8dc7_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_019cb4cf-8f73-75db-a910-d84769fc8dc7" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019cb4cf-8f73-75db-a910-d84769fc8dc7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019cb4cf-8f73-7ee4-9dbe-dfdff89ff2c5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_019cb4cf-8f73-75db-a910-d84769fc8dc7" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019cb4cf-8f73-7ee4-9dbe-dfdff89ff2c5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockMember_019cb4cf-8f73-762a-b219-918140342ec1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019cb4cf-8f73-7ee4-9dbe-dfdff89ff2c5" xlink:to="loc_us-gaap_RestrictedStockMember_019cb4cf-8f73-762a-b219-918140342ec1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_019cb4cf-8f73-79c7-88f5-3dd068293ac8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019cb4cf-8f73-7ee4-9dbe-dfdff89ff2c5" xlink:to="loc_us-gaap_EmployeeStockOptionMember_019cb4cf-8f73-79c7-88f5-3dd068293ac8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperations_019cb4cf-8f73-73e9-b791-a87ebe9b48dc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperations"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_019cb4cf-8f73-7954-b294-5e7ee04a0d8f" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperations_019cb4cf-8f73-73e9-b791-a87ebe9b48dc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019cb4cf-8f73-798e-8459-9eb1046b00fb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_019cb4cf-8f73-7954-b294-5e7ee04a0d8f" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019cb4cf-8f73-798e-8459-9eb1046b00fb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_019cb4cf-8f73-7f81-9725-33a4444ae0e8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_019cb4cf-8f73-7954-b294-5e7ee04a0d8f" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_019cb4cf-8f73-7f81-9725-33a4444ae0e8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019cb4cf-8f73-72d0-97f9-ae18fbb7762c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_019cb4cf-8f73-7954-b294-5e7ee04a0d8f" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019cb4cf-8f73-72d0-97f9-ae18fbb7762c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasic_019cb4cf-8f73-724f-a1ac-76ef75c5f851" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EarningsPerShareBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_019cb4cf-8f73-7954-b294-5e7ee04a0d8f" xlink:to="loc_us-gaap_EarningsPerShareBasic_019cb4cf-8f73-724f-a1ac-76ef75c5f851" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDiluted_019cb4cf-8f73-7599-a368-421e042a01d1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EarningsPerShareDiluted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_019cb4cf-8f73-7954-b294-5e7ee04a0d8f" xlink:to="loc_us-gaap_EarningsPerShareDiluted_019cb4cf-8f73-7599-a368-421e042a01d1" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_019cb4cf-8f73-7156-95ef-968c46df547a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_019cb4cf-8f73-7954-b294-5e7ee04a0d8f" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_019cb4cf-8f73-7156-95ef-968c46df547a" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.unitedfiregroup.com/role/DEBTCarryingAmountofLongTermDebtDetails" xlink:type="simple" xlink:href="ufcs-20260331.xsd#DEBTCarryingAmountofLongTermDebtDetails"/>
  <link:definitionLink xlink:role="http://www.unitedfiregroup.com/role/DEBTCarryingAmountofLongTermDebtDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_019dde15-8b02-72e9-9753-90ac66a37b54" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_019dde15-8b02-7db8-ad21-9f201e90baef" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019dde15-8b02-72e9-9753-90ac66a37b54" xlink:to="loc_us-gaap_DebtInstrumentTable_019dde15-8b02-7db8-ad21-9f201e90baef" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_019dde15-8b02-7568-848a-640ecd4c3d71" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019dde15-8b02-7db8-ad21-9f201e90baef" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_019dde15-8b02-7568-848a-640ecd4c3d71" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019dde15-8b02-7568-848a-640ecd4c3d71_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019dde15-8b02-7568-848a-640ecd4c3d71" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019dde15-8b02-7568-848a-640ecd4c3d71_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019dde15-8b02-7b8f-8cea-2895e0e1bc74" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019dde15-8b02-7568-848a-640ecd4c3d71" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019dde15-8b02-7b8f-8cea-2895e0e1bc74" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ufcs_SurplusNotesMember_019dde16-6e00-7237-8fcb-efab1ebb1e79" xlink:href="ufcs-20260331.xsd#ufcs_SurplusNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_019dde15-8b02-7b8f-8cea-2895e0e1bc74" xlink:to="loc_ufcs_SurplusNotesMember_019dde16-6e00-7237-8fcb-efab1ebb1e79" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotesMember_019de422-6d01-796e-8577-682b19c3e1a8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_019dde15-8b02-7b8f-8cea-2895e0e1bc74" xlink:to="loc_us-gaap_SeniorNotesMember_019de422-6d01-796e-8577-682b19c3e1a8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_019dde17-8cc6-7b92-9bef-85307288656a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019dde15-8b02-72e9-9753-90ac66a37b54" xlink:to="loc_us-gaap_LongTermDebt_019dde17-8cc6-7b92-9bef-85307288656a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_019df920-d95d-754a-ac05-a2be71d80b09" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019dde15-8b02-72e9-9753-90ac66a37b54" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_019df920-d95d-754a-ac05-a2be71d80b09" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.unitedfiregroup.com/role/DEBTInterestExpenseCompanysLongTermDebtDetails" xlink:type="simple" xlink:href="ufcs-20260331.xsd#DEBTInterestExpenseCompanysLongTermDebtDetails"/>
  <link:definitionLink xlink:role="http://www.unitedfiregroup.com/role/DEBTInterestExpenseCompanysLongTermDebtDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_019dde1a-835f-7893-ae30-fccf85831047" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_019dde1a-835f-7991-ac35-9b4052e5c42d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019dde1a-835f-7893-ae30-fccf85831047" xlink:to="loc_us-gaap_DebtInstrumentTable_019dde1a-835f-7991-ac35-9b4052e5c42d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_019dde1a-835f-7991-aca6-6cd53e092aaf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019dde1a-835f-7991-ac35-9b4052e5c42d" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_019dde1a-835f-7991-aca6-6cd53e092aaf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019dde1a-835f-7991-aca6-6cd53e092aaf_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019dde1a-835f-7991-aca6-6cd53e092aaf" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019dde1a-835f-7991-aca6-6cd53e092aaf_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019dde1a-835f-7a7f-8d55-812b8a83e013" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019dde1a-835f-7991-aca6-6cd53e092aaf" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019dde1a-835f-7a7f-8d55-812b8a83e013" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ufcs_SurplusNotesMember_019dde1a-835f-768e-a7c2-04bc93122c49" xlink:href="ufcs-20260331.xsd#ufcs_SurplusNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_019dde1a-835f-7a7f-8d55-812b8a83e013" xlink:to="loc_ufcs_SurplusNotesMember_019dde1a-835f-768e-a7c2-04bc93122c49" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotesMember_019de423-7638-7911-9c7c-6ece3bce052c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_019dde1a-835f-7a7f-8d55-812b8a83e013" xlink:to="loc_us-gaap_SeniorNotesMember_019de423-7638-7911-9c7c-6ece3bce052c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDebt_019dde1c-7ebe-7870-9d8b-138081f05a8a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019dde1a-835f-7893-ae30-fccf85831047" xlink:to="loc_us-gaap_InterestExpenseDebt_019dde1c-7ebe-7870-9d8b-138081f05a8a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_019df920-aa79-782e-8cf3-7861b9794257" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019dde1a-835f-7893-ae30-fccf85831047" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_019df920-aa79-782e-8cf3-7861b9794257" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.unitedfiregroup.com/role/DEBTNarrativeDetails" xlink:type="simple" xlink:href="ufcs-20260331.xsd#DEBTNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.unitedfiregroup.com/role/DEBTNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_019de41f-640e-77a1-a612-9b00b987f1f2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_019de41f-1926-7134-b1bf-f41e5a34120c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019de41f-640e-77a1-a612-9b00b987f1f2" xlink:to="loc_us-gaap_DebtInstrumentTable_019de41f-1926-7134-b1bf-f41e5a34120c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_019de420-394e-781b-a054-e971688aefb4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019de41f-1926-7134-b1bf-f41e5a34120c" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_019de420-394e-781b-a054-e971688aefb4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019de420-394e-781b-a054-e971688aefb4_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019de420-394e-781b-a054-e971688aefb4" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019de420-394e-781b-a054-e971688aefb4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019de420-394e-70e1-89c5-e591a386b9c1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019de420-394e-781b-a054-e971688aefb4" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019de420-394e-70e1-89c5-e591a386b9c1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotesMember_019df759-ef5b-7896-b175-5fcb9b238ba0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_019de420-394e-70e1-89c5-e591a386b9c1" xlink:to="loc_us-gaap_SeniorNotesMember_019df759-ef5b-7896-b175-5fcb9b238ba0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesMember_019de420-394e-70ed-b855-b6b99f4fa466" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalHomeLoanBankAdvancesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_019de420-394e-70e1-89c5-e591a386b9c1" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesMember_019de420-394e-70ed-b855-b6b99f4fa466" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_019df753-dbe8-75b3-a420-8c00ec50b1cc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019de41f-640e-77a1-a612-9b00b987f1f2" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_019df753-dbe8-75b3-a420-8c00ec50b1cc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_019dde1e-3937-7cd8-a1b8-d1a2a6ed2e8b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019de41f-640e-77a1-a612-9b00b987f1f2" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_019dde1e-3937-7cd8-a1b8-d1a2a6ed2e8b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCredit_019dde1e-3937-7759-8c0e-301a0d1e3a53" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LineOfCredit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019de41f-640e-77a1-a612-9b00b987f1f2" xlink:to="loc_us-gaap_LineOfCredit_019dde1e-3937-7759-8c0e-301a0d1e3a53" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.unitedfiregroup.com/role/ACCUMULATEDOTHERCOMPREHENSIVEINCOMELOSSDetails" xlink:type="simple" xlink:href="ufcs-20260331.xsd#ACCUMULATEDOTHERCOMPREHENSIVEINCOMELOSSDetails"/>
  <link:definitionLink xlink:role="http://www.unitedfiregroup.com/role/ACCUMULATEDOTHERCOMPREHENSIVEINCOMELOSSDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_019cb4cf-8f73-7e56-9200-31f3f8444efe" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_019cb4cf-8f73-7b4f-bb28-f4b7014ed2ca" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_019cb4cf-8f73-7e56-9200-31f3f8444efe" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_019cb4cf-8f73-7b4f-bb28-f4b7014ed2ca" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_019cb4cf-8f73-7dcf-a1a4-5d9225a681f5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_019cb4cf-8f73-7b4f-bb28-f4b7014ed2ca" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_019cb4cf-8f73-7dcf-a1a4-5d9225a681f5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019cb4cf-8f73-7dcf-a1a4-5d9225a681f5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019cb4cf-8f73-7dcf-a1a4-5d9225a681f5" xlink:to="loc_us-gaap_EquityComponentDomain_019cb4cf-8f73-7dcf-a1a4-5d9225a681f5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019cb4cf-8f73-7733-8144-0b73e835c6bf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019cb4cf-8f73-7dcf-a1a4-5d9225a681f5" xlink:to="loc_us-gaap_EquityComponentDomain_019cb4cf-8f73-7733-8144-0b73e835c6bf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_019cb4cf-8f73-7cd6-a16b-ad84ec16f816" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019cb4cf-8f73-7733-8144-0b73e835c6bf" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_019cb4cf-8f73-7cd6-a16b-ad84ec16f816" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_019cb4cf-8f73-7171-b647-9e4399d862dd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_019cb4cf-8f73-7cd6-a16b-ad84ec16f816" xlink:to="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_019cb4cf-8f73-7171-b647-9e4399d862dd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember_019cb4cf-8f73-71e0-ac30-9b673e9a724a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_019cb4cf-8f73-7cd6-a16b-ad84ec16f816" xlink:to="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember_019cb4cf-8f73-71e0-ac30-9b673e9a724a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedTranslationAdjustmentMember_019cb4cf-8f73-7f1a-a605-22059516aeb3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedTranslationAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_019cb4cf-8f73-7cd6-a16b-ad84ec16f816" xlink:to="loc_us-gaap_AccumulatedTranslationAdjustmentMember_019cb4cf-8f73-7f1a-a605-22059516aeb3" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_019cb4cf-8f73-7d1f-aefe-248aef6ecb83" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AOCIAttributableToParentNetOfTaxRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_019cb4cf-8f73-7e56-9200-31f3f8444efe" xlink:to="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_019cb4cf-8f73-7d1f-aefe-248aef6ecb83" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019cb4cf-8f73-70c9-b2cc-8946b18f7f5c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_019cb4cf-8f73-7d1f-aefe-248aef6ecb83" xlink:to="loc_us-gaap_StockholdersEquity_019cb4cf-8f73-70c9-b2cc-8946b18f7f5c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent_019cb4cf-8f73-7344-8830-0c7334bbe3b9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_019cb4cf-8f73-7d1f-aefe-248aef6ecb83" xlink:to="loc_us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent_019cb4cf-8f73-7344-8830-0c7334bbe3b9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent_019cb4cf-8f73-7d3f-87e2-c993debdeac3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_019cb4cf-8f73-7d1f-aefe-248aef6ecb83" xlink:to="loc_us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent_019cb4cf-8f73-7d3f-87e2-c993debdeac3" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019cb4cf-8f73-704f-85d3-27a1e3f471ce" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.unitedfiregroup.com/role/LEASECOMMITMENTSNarrativeDetails" xlink:type="simple" xlink:href="ufcs-20260331.xsd#LEASECOMMITMENTSNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.unitedfiregroup.com/role/LEASECOMMITMENTSNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionLineItems_019cb4cf-8f73-72f0-bbd2-f23681068b9e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeLeaseDescriptionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionTable_019cb4cf-8f73-7421-bb89-5428e02f65b5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeLeaseDescriptionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_019cb4cf-8f73-72f0-bbd2-f23681068b9e" xlink:to="loc_us-gaap_LesseeLeaseDescriptionTable_019cb4cf-8f73-7421-bb89-5428e02f65b5" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_019cb4cf-8f73-7b2b-a255-5a9559ccb947" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_019cb4cf-8f73-7421-bb89-5428e02f65b5" xlink:to="loc_srt_RangeAxis_019cb4cf-8f73-7b2b-a255-5a9559ccb947" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019cb4cf-8f73-7b2b-a255-5a9559ccb947_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_019cb4cf-8f73-7b2b-a255-5a9559ccb947" xlink:to="loc_srt_RangeMember_019cb4cf-8f73-7b2b-a255-5a9559ccb947_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019cb4cf-8f73-7929-ae36-8e981230b762" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_019cb4cf-8f73-7b2b-a255-5a9559ccb947" xlink:to="loc_srt_RangeMember_019cb4cf-8f73-7929-ae36-8e981230b762" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_019cb4cf-8f73-78e8-9cec-5dba515bc9a4" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019cb4cf-8f73-7929-ae36-8e981230b762" xlink:to="loc_srt_MinimumMember_019cb4cf-8f73-78e8-9cec-5dba515bc9a4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_019cb4cf-8f73-7ca6-a4d0-34117c65d0f6" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019cb4cf-8f73-7929-ae36-8e981230b762" xlink:to="loc_srt_MaximumMember_019cb4cf-8f73-7ca6-a4d0-34117c65d0f6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseRemainingLeaseTerm_019cb4cf-8f73-7813-a3d9-a0f61e6660b4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseRemainingLeaseTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_019cb4cf-8f73-72f0-bbd2-f23681068b9e" xlink:to="loc_us-gaap_LesseeOperatingLeaseRemainingLeaseTerm_019cb4cf-8f73-7813-a3d9-a0f61e6660b4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseRenewalTerm_019cb4cf-8f73-731a-83c4-c131a1281d21" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseRenewalTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_019cb4cf-8f73-72f0-bbd2-f23681068b9e" xlink:to="loc_us-gaap_LesseeOperatingLeaseRenewalTerm_019cb4cf-8f73-731a-83c4-c131a1281d21" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ufcs_LeaseArrangementNumberOfLeaseAgreements_019cb4cf-8f73-7132-a686-bf2d6875ee47" xlink:href="ufcs-20260331.xsd#ufcs_LeaseArrangementNumberOfLeaseAgreements"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_019cb4cf-8f73-72f0-bbd2-f23681068b9e" xlink:to="loc_ufcs_LeaseArrangementNumberOfLeaseAgreements_019cb4cf-8f73-7132-a686-bf2d6875ee47" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorOperatingLeaseTermOfContract_019cb4cf-8f73-7c80-9718-87dae80de6ed" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LessorOperatingLeaseTermOfContract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_019cb4cf-8f73-72f0-bbd2-f23681068b9e" xlink:to="loc_us-gaap_LessorOperatingLeaseTermOfContract_019cb4cf-8f73-7c80-9718-87dae80de6ed" xlink:type="arc" order="3"/>
  </link:definitionLink>
</link:linkbase>
