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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019d3f0a-84a2-713d-a960-3c441b7aa0cc,g:d62186b2-d64b-47fe-87b3-b76e306796c5-->
<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.unfi.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITYunaudited" xlink:type="simple" xlink:href="unfi-20260502.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITYunaudited"/>
  <link:definitionLink xlink:role="http://www.unfi.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITYunaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_019d3f0a-8625-75bd-a79b-893857acb6d4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_019d3f0a-8625-78ff-81b1-bc4f57a7ec44" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_019d3f0a-8625-75bd-a79b-893857acb6d4" xlink:to="loc_us-gaap_StatementTable_019d3f0a-8625-78ff-81b1-bc4f57a7ec44" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_019d3f0a-8625-7742-9d50-e9edcf3e5d3d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_019d3f0a-8625-78ff-81b1-bc4f57a7ec44" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_019d3f0a-8625-7742-9d50-e9edcf3e5d3d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019d3f0a-8625-7742-9d50-e9edcf3e5d3d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019d3f0a-8625-7742-9d50-e9edcf3e5d3d" xlink:to="loc_us-gaap_EquityComponentDomain_019d3f0a-8625-7742-9d50-e9edcf3e5d3d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019d3f0a-8625-71f1-a45f-6c831bee26c4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019d3f0a-8625-7742-9d50-e9edcf3e5d3d" xlink:to="loc_us-gaap_EquityComponentDomain_019d3f0a-8625-71f1-a45f-6c831bee26c4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ParentMember_019d3f0a-8625-759d-8c03-a3e363f0c4e6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ParentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019d3f0a-8625-71f1-a45f-6c831bee26c4" xlink:to="loc_us-gaap_ParentMember_019d3f0a-8625-759d-8c03-a3e363f0c4e6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_019d3f0a-8625-7395-8564-0b8a5ea7cd9c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ParentMember_019d3f0a-8625-759d-8c03-a3e363f0c4e6" xlink:to="loc_us-gaap_CommonStockMember_019d3f0a-8625-7395-8564-0b8a5ea7cd9c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonMember_019d3f0a-8625-735a-be37-027b528366b7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockCommonMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ParentMember_019d3f0a-8625-759d-8c03-a3e363f0c4e6" xlink:to="loc_us-gaap_TreasuryStockCommonMember_019d3f0a-8625-735a-be37-027b528366b7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_019d3f0a-8625-7e9f-b125-733b4271ea82" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ParentMember_019d3f0a-8625-759d-8c03-a3e363f0c4e6" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_019d3f0a-8625-7e9f-b125-733b4271ea82" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_019d3f0a-8625-783e-9a96-6dff152bb117" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ParentMember_019d3f0a-8625-759d-8c03-a3e363f0c4e6" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_019d3f0a-8625-783e-9a96-6dff152bb117" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_019d3f0a-8625-789f-b9c5-70ecd170ff1c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ParentMember_019d3f0a-8625-759d-8c03-a3e363f0c4e6" xlink:to="loc_us-gaap_RetainedEarningsMember_019d3f0a-8625-789f-b9c5-70ecd170ff1c" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncontrollingInterestMember_019d3f0a-8625-7397-a465-3253ab0e06a2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoncontrollingInterestMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ParentMember_019d3f0a-8625-759d-8c03-a3e363f0c4e6" xlink:to="loc_us-gaap_NoncontrollingInterestMember_019d3f0a-8625-7397-a465-3253ab0e06a2" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019d3f0a-8625-7c48-89ab-bbd40ca2a634" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019d3f0a-8625-75bd-a79b-893857acb6d4" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019d3f0a-8625-7c48-89ab-bbd40ca2a634" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_019d3f0a-8625-7f47-a249-0c851ca3f84c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019d3f0a-8625-7c48-89ab-bbd40ca2a634" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_019d3f0a-8625-7f47-a249-0c851ca3f84c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019d3f0a-8625-73cf-b02c-2c0e73bd1be2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019d3f0a-8625-7c48-89ab-bbd40ca2a634" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019d3f0a-8625-73cf-b02c-2c0e73bd1be2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonShares_019d3f0a-8625-724b-848c-56a50bd2be3d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockCommonShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019d3f0a-8625-7c48-89ab-bbd40ca2a634" xlink:to="loc_us-gaap_TreasuryStockCommonShares_019d3f0a-8625-724b-848c-56a50bd2be3d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures_019d3f0a-8625-7fef-a3fc-738a763f7142" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019d3f0a-8625-7c48-89ab-bbd40ca2a634" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures_019d3f0a-8625-7fef-a3fc-738a763f7142" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures_019d3f0a-8625-7bfc-8aef-b6de0e15b9f9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019d3f0a-8625-7c48-89ab-bbd40ca2a634" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardNetOfForfeitures_019d3f0a-8625-7bfc-8aef-b6de0e15b9f9" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_019d3f0a-8625-73a0-8449-21ca96610bf0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019d3f0a-8625-7c48-89ab-bbd40ca2a634" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_019d3f0a-8625-73a0-8449-21ca96610bf0" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockSharesAcquired_019d3f0a-8625-79c9-b62c-2659e722237d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockSharesAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019d3f0a-8625-7c48-89ab-bbd40ca2a634" xlink:to="loc_us-gaap_TreasuryStockSharesAcquired_019d3f0a-8625-79c9-b62c-2659e722237d" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_019d3f0a-8625-7028-9e88-623c2727c12d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019d3f0a-8625-7c48-89ab-bbd40ca2a634" xlink:to="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_019d3f0a-8625-7028-9e88-623c2727c12d" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019d3f0a-8625-787e-ba37-997746cae926" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019d3f0a-8625-7c48-89ab-bbd40ca2a634" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019d3f0a-8625-787e-ba37-997746cae926" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders_019d3f0a-8625-7218-9c0c-a9e47430b0be" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019d3f0a-8625-7c48-89ab-bbd40ca2a634" xlink:to="loc_us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders_019d3f0a-8625-7218-9c0c-a9e47430b0be" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019d3f0a-8625-79f5-b06a-e94d7fc174f4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProfitLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019d3f0a-8625-7c48-89ab-bbd40ca2a634" xlink:to="loc_us-gaap_ProfitLoss_019d3f0a-8625-79f5-b06a-e94d7fc174f4" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_019d3f0a-8625-791b-ac73-5cc4ecbd768a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019d3f0a-8625-7105-8d0b-0e2479ef1770" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonShares_019d3f0a-8625-7fd5-9ed4-3bc59f02f4be" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockCommonShares"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.unfi.com/role/SIGNIFICANTACCOUNTINGPOLICIESDetails" xlink:type="simple" xlink:href="unfi-20260502.xsd#SIGNIFICANTACCOUNTINGPOLICIESDetails"/>
  <link:definitionLink xlink:role="http://www.unfi.com/role/SIGNIFICANTACCOUNTINGPOLICIESDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_unfi_AccountingPoliciesLineItems_019e72f9-9587-7c60-ae3b-0316b22c40b1" xlink:href="unfi-20260502.xsd#unfi_AccountingPoliciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_AccountingPoliciesTable_019e72f9-6ef6-78f9-8117-019f96a8b1b9" xlink:href="unfi-20260502.xsd#unfi_AccountingPoliciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_unfi_AccountingPoliciesLineItems_019e72f9-9587-7c60-ae3b-0316b22c40b1" xlink:to="loc_unfi_AccountingPoliciesTable_019e72f9-6ef6-78f9-8117-019f96a8b1b9" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfIncomeStatementExpenseCaptionIdentifierAxis_019e72f9-c996-7beb-89fc-793f7b4e0672" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisaggregationOfIncomeStatementExpenseCaptionIdentifierAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_unfi_AccountingPoliciesTable_019e72f9-6ef6-78f9-8117-019f96a8b1b9" xlink:to="loc_us-gaap_DisaggregationOfIncomeStatementExpenseCaptionIdentifierAxis_019e72f9-c996-7beb-89fc-793f7b4e0672" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_CybersecurityIncidentExpense_019d3f0a-8625-7e4f-ad6d-c14cc793c3d7" xlink:href="unfi-20260502.xsd#unfi_CybersecurityIncidentExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_unfi_AccountingPoliciesLineItems_019e72f9-9587-7c60-ae3b-0316b22c40b1" xlink:to="loc_unfi_CybersecurityIncidentExpense_019d3f0a-8625-7e4f-ad6d-c14cc793c3d7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_CybersecurityIncidentExpenseIncludedInNetSales_019d857f-d5b8-7675-b3ed-7cfaf29ebe88" xlink:href="unfi-20260502.xsd#unfi_CybersecurityIncidentExpenseIncludedInNetSales"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_unfi_AccountingPoliciesLineItems_019e72f9-9587-7c60-ae3b-0316b22c40b1" xlink:to="loc_unfi_CybersecurityIncidentExpenseIncludedInNetSales_019d857f-d5b8-7675-b3ed-7cfaf29ebe88" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromInsuranceSettlementOperatingActivities_019d3f0a-8625-78ea-b6ce-dbdd5b7f051b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromInsuranceSettlementOperatingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_unfi_AccountingPoliciesLineItems_019e72f9-9587-7c60-ae3b-0316b22c40b1" xlink:to="loc_us-gaap_ProceedsFromInsuranceSettlementOperatingActivities_019d3f0a-8625-78ea-b6ce-dbdd5b7f051b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOverdrafts_019d3f0a-8625-710d-b00c-aedc39ff6dd6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BankOverdrafts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_unfi_AccountingPoliciesLineItems_019e72f9-9587-7c60-ae3b-0316b22c40b1" xlink:to="loc_us-gaap_BankOverdrafts_019d3f0a-8625-710d-b00c-aedc39ff6dd6" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryLIFOReserve_019d3f0a-8625-70fa-a334-d924cb441f7b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InventoryLIFOReserve"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_unfi_AccountingPoliciesLineItems_019e72f9-9587-7c60-ae3b-0316b22c40b1" xlink:to="loc_us-gaap_InventoryLIFOReserve_019d3f0a-8625-70fa-a334-d924cb441f7b" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.unfi.com/role/SIGNIFICANTACCOUNTINGPOLICIESDetails_1" xlink:type="simple" xlink:href="unfi-20260502.xsd#SIGNIFICANTACCOUNTINGPOLICIESDetails_1"/>
  <link:definitionLink xlink:role="http://www.unfi.com/role/SIGNIFICANTACCOUNTINGPOLICIESDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_unfi_AccountingPoliciesLineItems_019e72f9-9587-7c60-ae3b-0316b22c40b1" xlink:href="unfi-20260502.xsd#unfi_AccountingPoliciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_AccountingPoliciesTable_019e72f9-6ef6-78f9-8117-019f96a8b1b9" xlink:href="unfi-20260502.xsd#unfi_AccountingPoliciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_unfi_AccountingPoliciesLineItems_019e72f9-9587-7c60-ae3b-0316b22c40b1" xlink:to="loc_unfi_AccountingPoliciesTable_019e72f9-6ef6-78f9-8117-019f96a8b1b9" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_CybersecurityIncidentExpense_019d3f0a-8625-7e4f-ad6d-c14cc793c3d7" xlink:href="unfi-20260502.xsd#unfi_CybersecurityIncidentExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_unfi_AccountingPoliciesLineItems_019e72f9-9587-7c60-ae3b-0316b22c40b1" xlink:to="loc_unfi_CybersecurityIncidentExpense_019d3f0a-8625-7e4f-ad6d-c14cc793c3d7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_CybersecurityIncidentExpenseIncludedInNetSales_019d857f-d5b8-7675-b3ed-7cfaf29ebe88" xlink:href="unfi-20260502.xsd#unfi_CybersecurityIncidentExpenseIncludedInNetSales"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_unfi_AccountingPoliciesLineItems_019e72f9-9587-7c60-ae3b-0316b22c40b1" xlink:to="loc_unfi_CybersecurityIncidentExpenseIncludedInNetSales_019d857f-d5b8-7675-b3ed-7cfaf29ebe88" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromInsuranceSettlementOperatingActivities_019d3f0a-8625-78ea-b6ce-dbdd5b7f051b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromInsuranceSettlementOperatingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_unfi_AccountingPoliciesLineItems_019e72f9-9587-7c60-ae3b-0316b22c40b1" xlink:to="loc_us-gaap_ProceedsFromInsuranceSettlementOperatingActivities_019d3f0a-8625-78ea-b6ce-dbdd5b7f051b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankOverdrafts_019d3f0a-8625-710d-b00c-aedc39ff6dd6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BankOverdrafts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_unfi_AccountingPoliciesLineItems_019e72f9-9587-7c60-ae3b-0316b22c40b1" xlink:to="loc_us-gaap_BankOverdrafts_019d3f0a-8625-710d-b00c-aedc39ff6dd6" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryLIFOReserve_019d3f0a-8625-70fa-a334-d924cb441f7b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InventoryLIFOReserve"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_unfi_AccountingPoliciesLineItems_019e72f9-9587-7c60-ae3b-0316b22c40b1" xlink:to="loc_us-gaap_InventoryLIFOReserve_019d3f0a-8625-70fa-a334-d924cb441f7b" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.unfi.com/role/RESTRUCTURINGACQUISITIONANDINTEGRATIONRELATEDEXPENSESScheduleofExpenseDetails" xlink:type="simple" xlink:href="unfi-20260502.xsd#RESTRUCTURINGACQUISITIONANDINTEGRATIONRELATEDEXPENSESScheduleofExpenseDetails"/>
  <link:definitionLink xlink:role="http://www.unfi.com/role/RESTRUCTURINGACQUISITIONANDINTEGRATIONRELATEDEXPENSESScheduleofExpenseDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_019d3f0a-8625-7320-b5d7-d227bff91bd7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestructuringCostAndReserveLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_019d3f0a-8625-75b7-bf20-75edb89190c9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_019d3f0a-8625-7320-b5d7-d227bff91bd7" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_019d3f0a-8625-75b7-bf20-75edb89190c9" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_019d3f0a-8625-7e1e-8b56-07d91570edaa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestructuringCostAndReserveAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_019d3f0a-8625-75b7-bf20-75edb89190c9" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_019d3f0a-8625-7e1e-8b56-07d91570edaa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_019d3f0a-8625-7e1e-8b56-07d91570edaa_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TypeOfRestructuringDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_019d3f0a-8625-7e1e-8b56-07d91570edaa" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_019d3f0a-8625-7e1e-8b56-07d91570edaa_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_019d3f0a-8625-790f-831b-61eaaf9669fb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TypeOfRestructuringDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_019d3f0a-8625-7e1e-8b56-07d91570edaa" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_019d3f0a-8625-790f-831b-61eaaf9669fb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeSeveranceMember_019d3f0a-8625-7236-802d-002fe294a41a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmployeeSeveranceMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_019d3f0a-8625-790f-831b-61eaaf9669fb" xlink:to="loc_us-gaap_EmployeeSeveranceMember_019d3f0a-8625-7236-802d-002fe294a41a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FacilityClosingMember_019d3f0a-8625-7d5f-9d98-476a3bd6a6ed" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FacilityClosingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_019d3f0a-8625-790f-831b-61eaaf9669fb" xlink:to="loc_us-gaap_FacilityClosingMember_019d3f0a-8625-7d5f-9d98-476a3bd6a6ed" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringSettlementAndImpairmentProvisions_019d3f0a-8625-77ba-b955-3f04a27d9f53" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestructuringSettlementAndImpairmentProvisions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_019d3f0a-8625-7320-b5d7-d227bff91bd7" xlink:to="loc_us-gaap_RestructuringSettlementAndImpairmentProvisions_019d3f0a-8625-77ba-b955-3f04a27d9f53" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.unfi.com/role/RESTRUCTURINGACQUISITIONANDINTEGRATIONRELATEDEXPENSESScheduleofRestructuringLiabilitiesDetails" xlink:type="simple" xlink:href="unfi-20260502.xsd#RESTRUCTURINGACQUISITIONANDINTEGRATIONRELATEDEXPENSESScheduleofRestructuringLiabilitiesDetails"/>
  <link:definitionLink xlink:role="http://www.unfi.com/role/RESTRUCTURINGACQUISITIONANDINTEGRATIONRELATEDEXPENSESScheduleofRestructuringLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_019d3f0a-8625-7362-a490-e9e58bd57222" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestructuringCostAndReserveLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_019d3f0a-8625-7883-9de0-dab4e9f1d3cd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_019d3f0a-8625-7362-a490-e9e58bd57222" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_019d3f0a-8625-7883-9de0-dab4e9f1d3cd" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_019d3f0a-8625-7b87-81af-75c99fdaaf6c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestructuringCostAndReserveAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_019d3f0a-8625-7883-9de0-dab4e9f1d3cd" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_019d3f0a-8625-7b87-81af-75c99fdaaf6c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_019d3f0a-8625-7b87-81af-75c99fdaaf6c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TypeOfRestructuringDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_019d3f0a-8625-7b87-81af-75c99fdaaf6c" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_019d3f0a-8625-7b87-81af-75c99fdaaf6c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_019d3f0a-8625-7979-9bf6-acb6dced2682" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TypeOfRestructuringDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_019d3f0a-8625-7b87-81af-75c99fdaaf6c" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_019d3f0a-8625-7979-9bf6-acb6dced2682" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeSeveranceMember_019d3f0a-8625-7021-a96b-3969f15b7513" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmployeeSeveranceMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_019d3f0a-8625-7979-9bf6-acb6dced2682" xlink:to="loc_us-gaap_EmployeeSeveranceMember_019d3f0a-8625-7021-a96b-3969f15b7513" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractTerminationMember_019d3f0a-8625-7da8-b728-4865a319c5eb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractTerminationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_019d3f0a-8625-7979-9bf6-acb6dced2682" xlink:to="loc_us-gaap_ContractTerminationMember_019d3f0a-8625-7da8-b728-4865a319c5eb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringReserveRollForward_019d3f0a-8625-7ec1-b473-91b87d51f929" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestructuringReserveRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_019d3f0a-8625-7362-a490-e9e58bd57222" xlink:to="loc_us-gaap_RestructuringReserveRollForward_019d3f0a-8625-7ec1-b473-91b87d51f929" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringReserve_019d3f0a-8625-76a2-af99-3edff54e707a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestructuringReserve"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_019d3f0a-8625-7ec1-b473-91b87d51f929" xlink:to="loc_us-gaap_RestructuringReserve_019d3f0a-8625-76a2-af99-3edff54e707a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_RestructuringSettlementAndImpairmentProvisionsNet_019d3f0a-8625-7e54-8fa0-a9f1fa7fee54" xlink:href="unfi-20260502.xsd#unfi_RestructuringSettlementAndImpairmentProvisionsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_019d3f0a-8625-7ec1-b473-91b87d51f929" xlink:to="loc_unfi_RestructuringSettlementAndImpairmentProvisionsNet_019d3f0a-8625-7e54-8fa0-a9f1fa7fee54" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRestructuring_019d3f0a-8625-734e-a42d-34866ef86b7b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsForRestructuring"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_019d3f0a-8625-7ec1-b473-91b87d51f929" xlink:to="loc_us-gaap_PaymentsForRestructuring_019d3f0a-8625-734e-a42d-34866ef86b7b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringReserve_019d3f0a-8625-7e11-a9d0-f8164f4c8d66" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestructuringReserve"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.unfi.com/role/RESTRUCTURINGACQUISITIONANDINTEGRATIONRELATEDEXPENSESNarrativeDetails" xlink:type="simple" xlink:href="unfi-20260502.xsd#RESTRUCTURINGACQUISITIONANDINTEGRATIONRELATEDEXPENSESNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.unfi.com/role/RESTRUCTURINGACQUISITIONANDINTEGRATIONRELATEDEXPENSESNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_019d3f0a-8625-7419-84ce-395f9641a195" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestructuringCostAndReserveLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_019d3f0a-8625-7a55-b0a3-1ee5b217841c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_019d3f0a-8625-7419-84ce-395f9641a195" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_019d3f0a-8625-7a55-b0a3-1ee5b217841c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_019d3f0a-8625-7481-b970-1f888600461a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestructuringCostAndReserveAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_019d3f0a-8625-7a55-b0a3-1ee5b217841c" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_019d3f0a-8625-7481-b970-1f888600461a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_019d3f0a-8625-7481-b970-1f888600461a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TypeOfRestructuringDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_019d3f0a-8625-7481-b970-1f888600461a" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_019d3f0a-8625-7481-b970-1f888600461a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_019d3f0a-8625-7b0e-9ddf-a27941579d8a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TypeOfRestructuringDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_019d3f0a-8625-7481-b970-1f888600461a" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_019d3f0a-8625-7b0e-9ddf-a27941579d8a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractTerminationMember_019d3f0a-8625-70bb-b498-86fcf322e083" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractTerminationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_019d3f0a-8625-7b0e-9ddf-a27941579d8a" xlink:to="loc_us-gaap_ContractTerminationMember_019d3f0a-8625-70bb-b498-86fcf322e083" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringSettlementAndImpairmentProvisions_019d3f0a-8625-7a5d-9055-47c3aa17ffc2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestructuringSettlementAndImpairmentProvisions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_019d3f0a-8625-7419-84ce-395f9641a195" xlink:to="loc_us-gaap_RestructuringSettlementAndImpairmentProvisions_019d3f0a-8625-7a5d-9055-47c3aa17ffc2" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.unfi.com/role/GOODWILLANDINTANGIBLEASSETSNETNarrativeDetails" xlink:type="simple" xlink:href="unfi-20260502.xsd#GOODWILLANDINTANGIBLEASSETSNETNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.unfi.com/role/GOODWILLANDINTANGIBLEASSETSNETNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillLineItems_019d3f0a-8625-7f62-a842-90aa0a81c1b2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GoodwillLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfGoodwillTable_019d3f0a-8625-7d89-88e1-31ed8de323eb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfGoodwillTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GoodwillLineItems_019d3f0a-8625-7f62-a842-90aa0a81c1b2" xlink:to="loc_us-gaap_ScheduleOfGoodwillTable_019d3f0a-8625-7d89-88e1-31ed8de323eb" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_019d3f0a-8625-7e4c-832a-20a457aac15b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_019d3f0a-8625-7d89-88e1-31ed8de323eb" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_019d3f0a-8625-7e4c-832a-20a457aac15b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019d3f0a-8625-7e4c-832a-20a457aac15b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019d3f0a-8625-7e4c-832a-20a457aac15b" xlink:to="loc_us-gaap_SegmentDomain_019d3f0a-8625-7e4c-832a-20a457aac15b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019d3f0a-8625-7331-819c-91cd07849d85" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019d3f0a-8625-7e4c-832a-20a457aac15b" xlink:to="loc_us-gaap_SegmentDomain_019d3f0a-8625-7331-819c-91cd07849d85" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_NaturalSegmentMember_019d3f0a-8625-7239-95af-afd28c4a59d8" xlink:href="unfi-20260502.xsd#unfi_NaturalSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019d3f0a-8625-7331-819c-91cd07849d85" xlink:to="loc_unfi_NaturalSegmentMember_019d3f0a-8625-7239-95af-afd28c4a59d8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_019d3f0a-8625-7920-abf9-88303aeca460" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Goodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_019d3f0a-8625-7f62-a842-90aa0a81c1b2" xlink:to="loc_us-gaap_Goodwill_019d3f0a-8625-7920-abf9-88303aeca460" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillImpairedAccumulatedImpairmentLoss_019d3f0a-8625-7981-a9ea-f4d20dd8b862" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GoodwillImpairedAccumulatedImpairmentLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_019d3f0a-8625-7f62-a842-90aa0a81c1b2" xlink:to="loc_us-gaap_GoodwillImpairedAccumulatedImpairmentLoss_019d3f0a-8625-7981-a9ea-f4d20dd8b862" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillImpairmentLoss_019d3f0a-8625-7338-92f8-b2ed9192430e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GoodwillImpairmentLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_019d3f0a-8625-7f62-a842-90aa0a81c1b2" xlink:to="loc_us-gaap_GoodwillImpairmentLoss_019d3f0a-8625-7338-92f8-b2ed9192430e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_019d3f0a-8625-7992-8cdf-aba1ea5511cb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_019d3f0a-8625-7f62-a842-90aa0a81c1b2" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_019d3f0a-8625-7992-8cdf-aba1ea5511cb" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.unfi.com/role/GOODWILLANDINTANGIBLEASSETSNETIdentifiableIntangibleAssetsDetails" xlink:type="simple" xlink:href="unfi-20260502.xsd#GOODWILLANDINTANGIBLEASSETSNETIdentifiableIntangibleAssetsDetails"/>
  <link:definitionLink xlink:role="http://www.unfi.com/role/GOODWILLANDINTANGIBLEASSETSNETIdentifiableIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_unfi_ScheduleofIntangibleAssetsLineItems_019d3f0a-8625-7733-a1f3-b754bb6d741a" xlink:href="unfi-20260502.xsd#unfi_ScheduleofIntangibleAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_ScheduleofIntangibleAssetsTable_019d3f0a-8625-75f5-b959-054f817e5a64" xlink:href="unfi-20260502.xsd#unfi_ScheduleofIntangibleAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_unfi_ScheduleofIntangibleAssetsLineItems_019d3f0a-8625-7733-a1f3-b754bb6d741a" xlink:to="loc_unfi_ScheduleofIntangibleAssetsTable_019d3f0a-8625-75f5-b959-054f817e5a64" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019d3f0a-8625-7c16-a75c-d7e245c15593" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_unfi_ScheduleofIntangibleAssetsTable_019d3f0a-8625-75f5-b959-054f817e5a64" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019d3f0a-8625-7c16-a75c-d7e245c15593" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019d3f0a-8625-7c16-a75c-d7e245c15593_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019d3f0a-8625-7c16-a75c-d7e245c15593" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019d3f0a-8625-7c16-a75c-d7e245c15593_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019d3f0a-8625-764c-a382-79b47d8e47aa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019d3f0a-8625-7c16-a75c-d7e245c15593" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019d3f0a-8625-764c-a382-79b47d8e47aa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerRelationshipsMember_019d3f0a-8625-79bf-b1a5-3370d6e64fb7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CustomerRelationshipsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019d3f0a-8625-764c-a382-79b47d8e47aa" xlink:to="loc_us-gaap_CustomerRelationshipsMember_019d3f0a-8625-79bf-b1a5-3370d6e64fb7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_PharmacyPrescriptionFilesMember_019d3f0a-8625-7b17-a719-b72e748e70ab" xlink:href="unfi-20260502.xsd#unfi_PharmacyPrescriptionFilesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019d3f0a-8625-764c-a382-79b47d8e47aa" xlink:to="loc_unfi_PharmacyPrescriptionFilesMember_019d3f0a-8625-7b17-a719-b72e748e70ab" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_OperatingLeaseIntangibleMember_019d3f0a-8625-7e6b-a506-a21f62d5a7ad" xlink:href="unfi-20260502.xsd#unfi_OperatingLeaseIntangibleMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019d3f0a-8625-764c-a382-79b47d8e47aa" xlink:to="loc_unfi_OperatingLeaseIntangibleMember_019d3f0a-8625-7e6b-a506-a21f62d5a7ad" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TrademarksAndTradeNamesMember_019d3f0a-8625-7810-aa86-83bde62fa340" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TrademarksAndTradeNamesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019d3f0a-8625-764c-a382-79b47d8e47aa" xlink:to="loc_us-gaap_TrademarksAndTradeNamesMember_019d3f0a-8625-7810-aa86-83bde62fa340" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_019d3f0a-8625-7f27-8f2f-e2f9045e637f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_unfi_ScheduleofIntangibleAssetsTable_019d3f0a-8625-75f5-b959-054f817e5a64" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_019d3f0a-8625-7f27-8f2f-e2f9045e637f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_019d3f0a-8625-7f27-8f2f-e2f9045e637f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_019d3f0a-8625-7f27-8f2f-e2f9045e637f" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_019d3f0a-8625-7f27-8f2f-e2f9045e637f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_019d3f0a-8625-735f-828e-43b91a6dc622" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_019d3f0a-8625-7f27-8f2f-e2f9045e637f" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_019d3f0a-8625-735f-828e-43b91a6dc622" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TrademarksAndTradeNamesMember_019d3f0a-8625-79ab-8b77-55ce333937a9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TrademarksAndTradeNamesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_019d3f0a-8625-735f-828e-43b91a6dc622" xlink:to="loc_us-gaap_TrademarksAndTradeNamesMember_019d3f0a-8625-79ab-8b77-55ce333937a9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsRollForward_019d3f0a-8625-7d6e-b297-ead2886a6f73" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_unfi_ScheduleofIntangibleAssetsLineItems_019d3f0a-8625-7733-a1f3-b754bb6d741a" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsRollForward_019d3f0a-8625-7d6e-b297-ead2886a6f73" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_019d3f0a-8625-712d-ac89-73aed145caa4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsRollForward_019d3f0a-8625-7d6e-b297-ead2886a6f73" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_019d3f0a-8625-712d-ac89-73aed145caa4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_019d3f0a-8625-74f8-a90f-105bb0cae0ab" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsRollForward_019d3f0a-8625-7d6e-b297-ead2886a6f73" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_019d3f0a-8625-74f8-a90f-105bb0cae0ab" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019d3f0a-8625-7c2e-a54e-9765bbe917db" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsRollForward_019d3f0a-8625-7d6e-b297-ead2886a6f73" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019d3f0a-8625-7c2e-a54e-9765bbe917db" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract_019d3f0a-8625-797b-bc0a-51491815dbd7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_unfi_ScheduleofIntangibleAssetsLineItems_019d3f0a-8625-7733-a1f3-b754bb6d741a" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract_019d3f0a-8625-797b-bc0a-51491815dbd7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_019d3f0a-8625-7c65-a802-2e1e0ff95fe6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract_019d3f0a-8625-797b-bc0a-51491815dbd7" xlink:to="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_019d3f0a-8625-7c65-a802-2e1e0ff95fe6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_019d3f0a-8625-7f01-b5db-0fd49c31a7ea" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_IndefiniteLivedIntangibleAssetsGross_019d3f0a-8625-7e88-bc9f-962d5422b5d5" xlink:href="unfi-20260502.xsd#unfi_IndefiniteLivedIntangibleAssetsGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract_019d3f0a-8625-797b-bc0a-51491815dbd7" xlink:to="loc_unfi_IndefiniteLivedIntangibleAssetsGross_019d3f0a-8625-7e88-bc9f-962d5422b5d5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_IndefiniteLivedIntangibleAssetsNet_019d3f0a-8625-7093-8f85-86bc254a6a0c" xlink:href="unfi-20260502.xsd#unfi_IndefiniteLivedIntangibleAssetsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract_019d3f0a-8625-797b-bc0a-51491815dbd7" xlink:to="loc_unfi_IndefiniteLivedIntangibleAssetsNet_019d3f0a-8625-7093-8f85-86bc254a6a0c" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019d3f0a-8625-76b6-860b-f0c6c24d25a3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_unfi_ScheduleofIntangibleAssetsLineItems_019d3f0a-8625-7733-a1f3-b754bb6d741a" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019d3f0a-8625-76b6-860b-f0c6c24d25a3" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.unfi.com/role/FAIRVALUEMEASUREMENTSOFFINANCIALINSTRUMENTSRecurringFairValueMeasurementsDetails" xlink:type="simple" xlink:href="unfi-20260502.xsd#FAIRVALUEMEASUREMENTSOFFINANCIALINSTRUMENTSRecurringFairValueMeasurementsDetails"/>
  <link:definitionLink xlink:role="http://www.unfi.com/role/FAIRVALUEMEASUREMENTSOFFINANCIALINSTRUMENTSRecurringFairValueMeasurementsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresLineItems_019d3f0a-8625-78ef-8989-242df499820c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresTable_019d3f0a-8625-75b9-a5c2-13e11aba4882" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresLineItems_019d3f0a-8625-78ef-8989-242df499820c" xlink:to="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresTable_019d3f0a-8625-75b9-a5c2-13e11aba4882" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019d3f0a-8625-7e40-bd1b-067755abf330" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresTable_019d3f0a-8625-75b9-a5c2-13e11aba4882" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019d3f0a-8625-7e40-bd1b-067755abf330" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019d3f0a-8625-7e40-bd1b-067755abf330_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019d3f0a-8625-7e40-bd1b-067755abf330" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019d3f0a-8625-7e40-bd1b-067755abf330_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019d3f0a-8625-7ae7-9c8c-24626c573504" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019d3f0a-8625-7e40-bd1b-067755abf330" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019d3f0a-8625-7ae7-9c8c-24626c573504" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_019d3f0a-8625-7904-b44e-0bcf01d1d448" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019d3f0a-8625-7ae7-9c8c-24626c573504" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_019d3f0a-8625-7904-b44e-0bcf01d1d448" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_019d3f0a-8625-7953-ac30-ac1de8a7f025" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019d3f0a-8625-7ae7-9c8c-24626c573504" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_019d3f0a-8625-7953-ac30-ac1de8a7f025" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_019d3f0a-8625-758b-82db-817b5b8666d8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019d3f0a-8625-7ae7-9c8c-24626c573504" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_019d3f0a-8625-758b-82db-817b5b8666d8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_019d3f0a-8625-7c88-a9ad-c059baa3e79c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresTable_019d3f0a-8625-75b9-a5c2-13e11aba4882" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_019d3f0a-8625-7c88-a9ad-c059baa3e79c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019d3f0a-8625-7c88-a9ad-c059baa3e79c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_019d3f0a-8625-7c88-a9ad-c059baa3e79c" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019d3f0a-8625-7c88-a9ad-c059baa3e79c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019d3f0a-8625-75fe-9290-99fed7532917" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_019d3f0a-8625-7c88-a9ad-c059baa3e79c" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019d3f0a-8625-75fe-9290-99fed7532917" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_FuelderivativeMember_019d3f0a-8625-7d01-b7d6-dd1e7c96033d" xlink:href="unfi-20260502.xsd#unfi_FuelderivativeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_019d3f0a-8625-75fe-9290-99fed7532917" xlink:to="loc_unfi_FuelderivativeMember_019d3f0a-8625-7d01-b7d6-dd1e7c96033d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateSwapMember_019d3f0a-8625-7751-b215-7e9b2b224d88" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestRateSwapMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_019d3f0a-8625-75fe-9290-99fed7532917" xlink:to="loc_us-gaap_InterestRateSwapMember_019d3f0a-8625-7751-b215-7e9b2b224d88" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationAxis_019d3f0a-8625-763b-a39e-6814452fbafe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgingDesignationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresTable_019d3f0a-8625-75b9-a5c2-13e11aba4882" xlink:to="loc_us-gaap_HedgingDesignationAxis_019d3f0a-8625-763b-a39e-6814452fbafe" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationDomain_019d3f0a-8625-763b-a39e-6814452fbafe_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgingDesignationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_HedgingDesignationAxis_019d3f0a-8625-763b-a39e-6814452fbafe" xlink:to="loc_us-gaap_HedgingDesignationDomain_019d3f0a-8625-763b-a39e-6814452fbafe_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationDomain_019d3f0a-8625-7792-bcf4-3ba37154a8f0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgingDesignationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_HedgingDesignationAxis_019d3f0a-8625-763b-a39e-6814452fbafe" xlink:to="loc_us-gaap_HedgingDesignationDomain_019d3f0a-8625-7792-bcf4-3ba37154a8f0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DesignatedAsHedgingInstrumentMember_019d3f0a-8625-70d2-9912-db27720fc652" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DesignatedAsHedgingInstrumentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_019d3f0a-8625-7792-bcf4-3ba37154a8f0" xlink:to="loc_us-gaap_DesignatedAsHedgingInstrumentMember_019d3f0a-8625-70d2-9912-db27720fc652" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_019e3f9c-64d7-7d31-a917-7a868916baec" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByMeasurementFrequencyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresTable_019d3f0a-8625-75b9-a5c2-13e11aba4882" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_019e3f9c-64d7-7d31-a917-7a868916baec" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_019e3f9c-64d7-7d31-a917-7a868916baec_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_019e3f9c-64d7-7d31-a917-7a868916baec" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_019e3f9c-64d7-7d31-a917-7a868916baec_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_019e3f9c-64d7-78a7-8333-41f5b09d9610" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_019e3f9c-64d7-7d31-a917-7a868916baec" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_019e3f9c-64d7-78a7-8333-41f5b09d9610" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_019e3f9c-7a11-7402-8a2f-707e2f01d213" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsRecurringMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_019e3f9c-64d7-78a7-8333-41f5b09d9610" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_019e3f9c-7a11-7402-8a2f-707e2f01d213" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetCurrentStatementOfFinancialPositionExtensibleEnumeration_019d3f0a-8625-7c1d-bf21-718d5ade8485" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssetCurrentStatementOfFinancialPositionExtensibleEnumeration"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresLineItems_019d3f0a-8625-78ef-8989-242df499820c" xlink:to="loc_us-gaap_DerivativeAssetCurrentStatementOfFinancialPositionExtensibleEnumeration_019d3f0a-8625-7c1d-bf21-718d5ade8485" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetsCurrent_019d3f0a-8625-7b6f-bf34-1b36987f9421" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssetsCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresLineItems_019d3f0a-8625-78ef-8989-242df499820c" xlink:to="loc_us-gaap_DerivativeAssetsCurrent_019d3f0a-8625-7b6f-bf34-1b36987f9421" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetsNoncurrent_019e3f76-b947-72a4-b5af-8067ecde4467" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeAssetsNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresLineItems_019d3f0a-8625-78ef-8989-242df499820c" xlink:to="loc_us-gaap_DerivativeAssetsNoncurrent_019e3f76-b947-72a4-b5af-8067ecde4467" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityCurrentStatementOfFinancialPositionExtensibleEnumeration_019d3f0a-8625-7a6d-814f-faadf56afd7c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilityCurrentStatementOfFinancialPositionExtensibleEnumeration"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresLineItems_019d3f0a-8625-78ef-8989-242df499820c" xlink:to="loc_us-gaap_DerivativeLiabilityCurrentStatementOfFinancialPositionExtensibleEnumeration_019d3f0a-8625-7a6d-814f-faadf56afd7c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitiesCurrent_019d3f0a-8625-7101-b499-1487b60f3f55" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresLineItems_019d3f0a-8625-78ef-8989-242df499820c" xlink:to="loc_us-gaap_DerivativeLiabilitiesCurrent_019d3f0a-8625-7101-b499-1487b60f3f55" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityNoncurrentStatementOfFinancialPositionExtensibleEnumeration_019d3f0a-8625-7e15-8747-bd212bac11a7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilityNoncurrentStatementOfFinancialPositionExtensibleEnumeration"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresLineItems_019d3f0a-8625-78ef-8989-242df499820c" xlink:to="loc_us-gaap_DerivativeLiabilityNoncurrentStatementOfFinancialPositionExtensibleEnumeration_019d3f0a-8625-7e15-8747-bd212bac11a7" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitiesNoncurrent_019d3f0a-8625-795b-a14e-b274dc7bc8da" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLiabilitiesNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosuresLineItems_019d3f0a-8625-78ef-8989-242df499820c" xlink:to="loc_us-gaap_DerivativeLiabilitiesNoncurrent_019d3f0a-8625-795b-a14e-b274dc7bc8da" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.unfi.com/role/FAIRVALUEMEASUREMENTSOFFINANCIALINSTRUMENTSFairValueEstimatesDetails" xlink:type="simple" xlink:href="unfi-20260502.xsd#FAIRVALUEMEASUREMENTSOFFINANCIALINSTRUMENTSFairValueEstimatesDetails"/>
  <link:definitionLink xlink:role="http://www.unfi.com/role/FAIRVALUEMEASUREMENTSOFFINANCIALINSTRUMENTSFairValueEstimatesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_019d3f0a-8626-7c5a-8f23-9ec0079a0210" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByBalanceSheetGroupingTable_019d3f0a-8626-7d00-9f42-8bfb0c8db0b6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByBalanceSheetGroupingTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_019d3f0a-8626-7c5a-8f23-9ec0079a0210" xlink:to="loc_us-gaap_FairValueByBalanceSheetGroupingTable_019d3f0a-8626-7d00-9f42-8bfb0c8db0b6" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_019d3f0a-8626-79c9-b234-c4a7af59be17" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByMeasurementBasisAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_019d3f0a-8626-7d00-9f42-8bfb0c8db0b6" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_019d3f0a-8626-79c9-b234-c4a7af59be17" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_019d3f0a-8626-79c9-b234-c4a7af59be17_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_019d3f0a-8626-79c9-b234-c4a7af59be17" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_019d3f0a-8626-79c9-b234-c4a7af59be17_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueDisclosureItemAmountsDomain_019d3f0a-8626-7d05-b6d8-da5e8b59e28d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueDisclosureItemAmountsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_019d3f0a-8626-79c9-b234-c4a7af59be17" xlink:to="loc_us-gaap_FairValueDisclosureItemAmountsDomain_019d3f0a-8626-7d05-b6d8-da5e8b59e28d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_019d3f0a-8626-7b43-8fea-563dc7cc5dcf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_019d3f0a-8626-7d05-b6d8-da5e8b59e28d" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_019d3f0a-8626-7b43-8fea-563dc7cc5dcf" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_019d3f0a-8626-785c-b80b-779fecac4daa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CarryingReportedAmountFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_019d3f0a-8626-7b43-8fea-563dc7cc5dcf" xlink:to="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_019d3f0a-8626-785c-b80b-779fecac4daa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_019d3f0a-8626-7255-93a7-6e722d98f018" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_019d3f0a-8626-7b43-8fea-563dc7cc5dcf" xlink:to="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_019d3f0a-8626-7255-93a7-6e722d98f018" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableFairValueDisclosure_019d3f0a-8626-7a0e-9319-3caa794ff162" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NotesReceivableFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_019d3f0a-8626-7c5a-8f23-9ec0079a0210" xlink:to="loc_us-gaap_NotesReceivableFairValueDisclosure_019d3f0a-8626-7a0e-9319-3caa794ff162" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtFairValue_019d3f0a-8626-7417-bd23-7eaa50d0704a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_019d3f0a-8626-7c5a-8f23-9ec0079a0210" xlink:to="loc_us-gaap_LongTermDebtFairValue_019d3f0a-8626-7417-bd23-7eaa50d0704a" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.unfi.com/role/DERIVATIVESOutstandingSwapContractsDetails" xlink:type="simple" xlink:href="unfi-20260502.xsd#DERIVATIVESOutstandingSwapContractsDetails"/>
  <link:definitionLink xlink:role="http://www.unfi.com/role/DERIVATIVESOutstandingSwapContractsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLineItems_019d3f0a-8626-7aba-a3a1-5a1cb0035aca" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeTable_019d3f0a-8626-7725-b729-2ec0f4fda96f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_019d3f0a-8626-7aba-a3a1-5a1cb0035aca" xlink:to="loc_us-gaap_DerivativeTable_019d3f0a-8626-7725-b729-2ec0f4fda96f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_019d3f0a-8626-7b97-a217-2100adb1e887" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_019d3f0a-8626-7725-b729-2ec0f4fda96f" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_019d3f0a-8626-7b97-a217-2100adb1e887" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019d3f0a-8626-7b97-a217-2100adb1e887_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_019d3f0a-8626-7b97-a217-2100adb1e887" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019d3f0a-8626-7b97-a217-2100adb1e887_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019d3f0a-8626-7106-b4f6-0ac3b415ced1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_019d3f0a-8626-7b97-a217-2100adb1e887" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019d3f0a-8626-7106-b4f6-0ac3b415ced1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_InterestRateSwapDueJune320271Member_019d3f0a-8626-736f-84c7-382be97d6be5" xlink:href="unfi-20260502.xsd#unfi_InterestRateSwapDueJune320271Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_019d3f0a-8626-7106-b4f6-0ac3b415ced1" xlink:to="loc_unfi_InterestRateSwapDueJune320271Member_019d3f0a-8626-736f-84c7-382be97d6be5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_InterestRateSwapDueJune320272Member_019d3f0a-8626-736d-816c-3f02b9481e56" xlink:href="unfi-20260502.xsd#unfi_InterestRateSwapDueJune320272Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_019d3f0a-8626-7106-b4f6-0ac3b415ced1" xlink:to="loc_unfi_InterestRateSwapDueJune320272Member_019d3f0a-8626-736d-816c-3f02b9481e56" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_InterestRateSwapDueJune3020281Member_019d3f0a-8626-71fc-ba4c-9f25fe7e5345" xlink:href="unfi-20260502.xsd#unfi_InterestRateSwapDueJune3020281Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_019d3f0a-8626-7106-b4f6-0ac3b415ced1" xlink:to="loc_unfi_InterestRateSwapDueJune3020281Member_019d3f0a-8626-71fc-ba4c-9f25fe7e5345" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_InterestRateSwapDueJune3020282Member_019d3f0a-8626-7309-9ebe-c783b82bed67" xlink:href="unfi-20260502.xsd#unfi_InterestRateSwapDueJune3020282Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_019d3f0a-8626-7106-b4f6-0ac3b415ced1" xlink:to="loc_unfi_InterestRateSwapDueJune3020282Member_019d3f0a-8626-7309-9ebe-c783b82bed67" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_InterestRateSwapDueOctober302026Member_019d3f0a-8626-793d-9255-5ba9f1de41de" xlink:href="unfi-20260502.xsd#unfi_InterestRateSwapDueOctober302026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_019d3f0a-8626-7106-b4f6-0ac3b415ced1" xlink:to="loc_unfi_InterestRateSwapDueOctober302026Member_019d3f0a-8626-793d-9255-5ba9f1de41de" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_InterestRateSwapDueOctober3020261Member_019d3f0a-8626-71d5-b251-6a5002fb18c4" xlink:href="unfi-20260502.xsd#unfi_InterestRateSwapDueOctober3020261Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_019d3f0a-8626-7106-b4f6-0ac3b415ced1" xlink:to="loc_unfi_InterestRateSwapDueOctober3020261Member_019d3f0a-8626-71d5-b251-6a5002fb18c4" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_InterestRateSwapDueOctober3020262Member_019d3f0a-8626-760e-b154-32eb7b807bc1" xlink:href="unfi-20260502.xsd#unfi_InterestRateSwapDueOctober3020262Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_019d3f0a-8626-7106-b4f6-0ac3b415ced1" xlink:to="loc_unfi_InterestRateSwapDueOctober3020262Member_019d3f0a-8626-760e-b154-32eb7b807bc1" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_InterestRateSwapDueDecember292028Member_019d3f0a-8626-7764-9d27-d09b618f5f80" xlink:href="unfi-20260502.xsd#unfi_InterestRateSwapDueDecember292028Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_019d3f0a-8626-7106-b4f6-0ac3b415ced1" xlink:to="loc_unfi_InterestRateSwapDueDecember292028Member_019d3f0a-8626-7764-9d27-d09b618f5f80" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeNotionalAmount_019d3f0a-8626-79ac-b2f7-80c538682aa4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeNotionalAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_019d3f0a-8626-7aba-a3a1-5a1cb0035aca" xlink:to="loc_us-gaap_DerivativeNotionalAmount_019d3f0a-8626-79ac-b2f7-80c538682aa4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeForwardInterestRate_019d3f0a-8626-7462-9d18-ca080300e04d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeForwardInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_019d3f0a-8626-7aba-a3a1-5a1cb0035aca" xlink:to="loc_us-gaap_DerivativeForwardInterestRate_019d3f0a-8626-7462-9d18-ca080300e04d" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.unfi.com/role/LONGTERMDEBTScheduleofDebtDetails" xlink:type="simple" xlink:href="unfi-20260502.xsd#LONGTERMDEBTScheduleofDebtDetails"/>
  <link:definitionLink xlink:role="http://www.unfi.com/role/LONGTERMDEBTScheduleofDebtDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_019d3f0a-8626-72ef-8d9f-75beade26500" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_019d3f0a-8626-7749-9649-c846858bbed1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019d3f0a-8626-72ef-8d9f-75beade26500" xlink:to="loc_us-gaap_DebtInstrumentTable_019d3f0a-8626-7749-9649-c846858bbed1" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_019d3f0a-8626-7154-b184-5667833b2602" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019d3f0a-8626-7749-9649-c846858bbed1" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_019d3f0a-8626-7154-b184-5667833b2602" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019d3f0a-8626-7154-b184-5667833b2602_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019d3f0a-8626-7154-b184-5667833b2602" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019d3f0a-8626-7154-b184-5667833b2602_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019d3f0a-8626-787b-9bce-1119430c9b21" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019d3f0a-8626-7154-b184-5667833b2602" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019d3f0a-8626-787b-9bce-1119430c9b21" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredDebtMember_019d3f0a-8626-77db-abdf-21fc3e4119b1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SecuredDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_019d3f0a-8626-787b-9bce-1119430c9b21" xlink:to="loc_us-gaap_SecuredDebtMember_019d3f0a-8626-77db-abdf-21fc3e4119b1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotesMember_019d3f0a-8626-7631-828b-5d4b0e73a634" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_019d3f0a-8626-787b-9bce-1119430c9b21" xlink:to="loc_us-gaap_SeniorNotesMember_019d3f0a-8626-7631-828b-5d4b0e73a634" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_019d3f0a-8626-7b6a-82e6-b451976ab318" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019d3f0a-8626-7749-9649-c846858bbed1" xlink:to="loc_us-gaap_DebtInstrumentAxis_019d3f0a-8626-7b6a-82e6-b451976ab318" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019d3f0a-8626-7b6a-82e6-b451976ab318_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_019d3f0a-8626-7b6a-82e6-b451976ab318" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019d3f0a-8626-7b6a-82e6-b451976ab318_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019d3f0a-8626-782a-a2cb-fed84ef14126" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_019d3f0a-8626-7b6a-82e6-b451976ab318" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019d3f0a-8626-782a-a2cb-fed84ef14126" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_TermLoanFacilityMember_019d3f0a-8626-7103-8eb8-39efdc7bbedd" xlink:href="unfi-20260502.xsd#unfi_TermLoanFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019d3f0a-8626-782a-a2cb-fed84ef14126" xlink:to="loc_unfi_TermLoanFacilityMember_019d3f0a-8626-7103-8eb8-39efdc7bbedd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_ABLCreditFacilityMember_019d3f0a-8626-7d0a-8d04-5e8d6c967a71" xlink:href="unfi-20260502.xsd#unfi_ABLCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019d3f0a-8626-782a-a2cb-fed84ef14126" xlink:to="loc_unfi_ABLCreditFacilityMember_019d3f0a-8626-7d0a-8d04-5e8d6c967a71" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_SeniorNotesDue20286750Member_019d3f0a-8626-7b9f-ac9e-c2735ff065f8" xlink:href="unfi-20260502.xsd#unfi_SeniorNotesDue20286750Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019d3f0a-8626-782a-a2cb-fed84ef14126" xlink:to="loc_unfi_SeniorNotesDue20286750Member_019d3f0a-8626-7b9f-ac9e-c2735ff065f8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateDuringPeriod_019d3f0a-8626-7aad-94d2-8c0e241b5af4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentInterestRateDuringPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019d3f0a-8626-72ef-8d9f-75beade26500" xlink:to="loc_us-gaap_DebtInstrumentInterestRateDuringPeriod_019d3f0a-8626-7aad-94d2-8c0e241b5af4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_019d3f0a-8626-7fef-8f08-258fde12849c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019d3f0a-8626-72ef-8d9f-75beade26500" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_019d3f0a-8626-7fef-8f08-258fde12849c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_019d3f0a-8626-7306-b927-9fe46bf2eaa1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredFinanceCostsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019d3f0a-8626-72ef-8d9f-75beade26500" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_019d3f0a-8626-7306-b927-9fe46bf2eaa1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscount_019d3f0a-8626-703a-ae15-d5edbb23bf8c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentUnamortizedDiscount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019d3f0a-8626-72ef-8d9f-75beade26500" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscount_019d3f0a-8626-703a-ae15-d5edbb23bf8c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities_019d3f0a-8626-7fff-a26a-876dd97a6549" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019d3f0a-8626-72ef-8d9f-75beade26500" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities_019d3f0a-8626-7fff-a26a-876dd97a6549" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtCurrent_019d3f0a-8626-73b9-bfc7-6fb2b3f70df3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019d3f0a-8626-72ef-8d9f-75beade26500" xlink:to="loc_us-gaap_LongTermDebtCurrent_019d3f0a-8626-73b9-bfc7-6fb2b3f70df3" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_019d3f0a-8626-7299-806b-463297955c8c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019d3f0a-8626-72ef-8d9f-75beade26500" xlink:to="loc_us-gaap_LongTermDebt_019d3f0a-8626-7299-806b-463297955c8c" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.unfi.com/role/LONGTERMDEBTTermLoanFacilityDetails" xlink:type="simple" xlink:href="unfi-20260502.xsd#LONGTERMDEBTTermLoanFacilityDetails"/>
  <link:definitionLink xlink:role="http://www.unfi.com/role/LONGTERMDEBTTermLoanFacilityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_019d3f0a-8626-7d15-89c6-67bb6445bced" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_019d3f0a-8626-7144-9165-2b3e351f81c8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019d3f0a-8626-7d15-89c6-67bb6445bced" xlink:to="loc_us-gaap_DebtInstrumentTable_019d3f0a-8626-7144-9165-2b3e351f81c8" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_019d3f0a-8626-77f8-991e-cecbe8d14d0a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019d3f0a-8626-7144-9165-2b3e351f81c8" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_019d3f0a-8626-77f8-991e-cecbe8d14d0a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019d3f0a-8626-77f8-991e-cecbe8d14d0a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019d3f0a-8626-77f8-991e-cecbe8d14d0a" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019d3f0a-8626-77f8-991e-cecbe8d14d0a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019d3f0a-8626-7d9e-ae45-8de48ec84dcd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019d3f0a-8626-77f8-991e-cecbe8d14d0a" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019d3f0a-8626-7d9e-ae45-8de48ec84dcd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredDebtMember_019d3f0a-8626-74ee-ba6d-ca6a173c1568" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SecuredDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_019d3f0a-8626-7d9e-ae45-8de48ec84dcd" xlink:to="loc_us-gaap_SecuredDebtMember_019d3f0a-8626-74ee-ba6d-ca6a173c1568" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_019d3f0a-8626-771a-a1c0-9d6eb9121714" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019d3f0a-8626-7144-9165-2b3e351f81c8" xlink:to="loc_us-gaap_DebtInstrumentAxis_019d3f0a-8626-771a-a1c0-9d6eb9121714" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019d3f0a-8626-771a-a1c0-9d6eb9121714_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_019d3f0a-8626-771a-a1c0-9d6eb9121714" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019d3f0a-8626-771a-a1c0-9d6eb9121714_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019d3f0a-8626-7a2a-bf2f-51e4492e7568" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_019d3f0a-8626-771a-a1c0-9d6eb9121714" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019d3f0a-8626-7a2a-bf2f-51e4492e7568" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_TermLoanFacilityMember_019d3f0a-8626-7437-82f7-58ac9b48da1f" xlink:href="unfi-20260502.xsd#unfi_TermLoanFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019d3f0a-8626-7a2a-bf2f-51e4492e7568" xlink:to="loc_unfi_TermLoanFacilityMember_019d3f0a-8626-7437-82f7-58ac9b48da1f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_MaturityComponentAxis_019d3f0a-8626-7c0e-bb24-c52b2b6bcaa0" xlink:href="unfi-20260502.xsd#unfi_MaturityComponentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019d3f0a-8626-7144-9165-2b3e351f81c8" xlink:to="loc_unfi_MaturityComponentAxis_019d3f0a-8626-7c0e-bb24-c52b2b6bcaa0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_MaturityComponentDomain_019d3f0a-8626-7c0e-bb24-c52b2b6bcaa0_default" xlink:href="unfi-20260502.xsd#unfi_MaturityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_unfi_MaturityComponentAxis_019d3f0a-8626-7c0e-bb24-c52b2b6bcaa0" xlink:to="loc_unfi_MaturityComponentDomain_019d3f0a-8626-7c0e-bb24-c52b2b6bcaa0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_MaturityComponentDomain_019d3f0a-8626-79a2-a6ce-048085104ce1" xlink:href="unfi-20260502.xsd#unfi_MaturityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_unfi_MaturityComponentAxis_019d3f0a-8626-7c0e-bb24-c52b2b6bcaa0" xlink:to="loc_unfi_MaturityComponentDomain_019d3f0a-8626-79a2-a6ce-048085104ce1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_SpringingMaturityComponentTwoMember_019d3f0a-8626-79ef-adb3-c6b7db098633" xlink:href="unfi-20260502.xsd#unfi_SpringingMaturityComponentTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_unfi_MaturityComponentDomain_019d3f0a-8626-79a2-a6ce-048085104ce1" xlink:to="loc_unfi_SpringingMaturityComponentTwoMember_019d3f0a-8626-79ef-adb3-c6b7db098633" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateAxis_019d3f0a-8626-72a5-8c39-2211057c49d0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_VariableRateAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019d3f0a-8626-7144-9165-2b3e351f81c8" xlink:to="loc_us-gaap_VariableRateAxis_019d3f0a-8626-72a5-8c39-2211057c49d0" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_019d3f0a-8626-72a5-8c39-2211057c49d0_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_019d3f0a-8626-72a5-8c39-2211057c49d0" xlink:to="loc_us-gaap_VariableRateDomain_019d3f0a-8626-72a5-8c39-2211057c49d0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_019d3f0a-8626-7249-8419-14716e55e3b8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_019d3f0a-8626-72a5-8c39-2211057c49d0" xlink:to="loc_us-gaap_VariableRateDomain_019d3f0a-8626-7249-8419-14716e55e3b8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BaseRateMember_019d3f0a-8626-7ae9-98d2-15dee892d7f3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BaseRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_019d3f0a-8626-7249-8419-14716e55e3b8" xlink:to="loc_us-gaap_BaseRateMember_019d3f0a-8626-7ae9-98d2-15dee892d7f3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredOvernightFinancingRateSofrMember_019d3f0a-8626-72c6-b744-b8f01752850f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SecuredOvernightFinancingRateSofrMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_019d3f0a-8626-7249-8419-14716e55e3b8" xlink:to="loc_us-gaap_SecuredOvernightFinancingRateSofrMember_019d3f0a-8626-72c6-b744-b8f01752850f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_019d3f0a-8626-752f-a15b-690351e73147" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019d3f0a-8626-7144-9165-2b3e351f81c8" xlink:to="loc_srt_RangeAxis_019d3f0a-8626-752f-a15b-690351e73147" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019d3f0a-8626-752f-a15b-690351e73147_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_019d3f0a-8626-752f-a15b-690351e73147" xlink:to="loc_srt_RangeMember_019d3f0a-8626-752f-a15b-690351e73147_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019d3f0a-8626-78fe-9cba-6d43488419fa" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_019d3f0a-8626-752f-a15b-690351e73147" xlink:to="loc_srt_RangeMember_019d3f0a-8626-78fe-9cba-6d43488419fa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_019d3f0a-8626-7377-8142-be77fad89f5d" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019d3f0a-8626-78fe-9cba-6d43488419fa" xlink:to="loc_srt_MinimumMember_019d3f0a-8626-7377-8142-be77fad89f5d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_019d3f0a-8626-7ffe-8ac1-c2a35e38516c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentFaceAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019d3f0a-8626-7d15-89c6-67bb6445bced" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_019d3f0a-8626-7ffe-8ac1-c2a35e38516c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_DebtInstrumentCovenantSpringingMaturityCriteriaNumberOfDaysPriorToMaturityOfSeniorNotesIfCircumstancesMet_019d3f0a-8626-7a67-90e9-0ed8026bfc3b" xlink:href="unfi-20260502.xsd#unfi_DebtInstrumentCovenantSpringingMaturityCriteriaNumberOfDaysPriorToMaturityOfSeniorNotesIfCircumstancesMet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019d3f0a-8626-7d15-89c6-67bb6445bced" xlink:to="loc_unfi_DebtInstrumentCovenantSpringingMaturityCriteriaNumberOfDaysPriorToMaturityOfSeniorNotesIfCircumstancesMet_019d3f0a-8626-7a67-90e9-0ed8026bfc3b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_DebtInstrumentCovenantSpringingMaturityCriteriaMinimumPrincipalAmountOutstanding_019d3f0a-8626-7f97-9183-fe3f82a821f1" xlink:href="unfi-20260502.xsd#unfi_DebtInstrumentCovenantSpringingMaturityCriteriaMinimumPrincipalAmountOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019d3f0a-8626-7d15-89c6-67bb6445bced" xlink:to="loc_unfi_DebtInstrumentCovenantSpringingMaturityCriteriaMinimumPrincipalAmountOutstanding_019d3f0a-8626-7f97-9183-fe3f82a821f1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_DebtInstrumentGuaranteesExceptionCarryingValueofOwnedRealProperty_019d3f0a-8626-799b-bf72-ebf666de3f24" xlink:href="unfi-20260502.xsd#unfi_DebtInstrumentGuaranteesExceptionCarryingValueofOwnedRealProperty"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019d3f0a-8626-7d15-89c6-67bb6445bced" xlink:to="loc_unfi_DebtInstrumentGuaranteesExceptionCarryingValueofOwnedRealProperty_019d3f0a-8626-799b-bf72-ebf666de3f24" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCollateralAmount_019d3f0a-8626-74ae-a740-7075ee10a25d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentCollateralAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019d3f0a-8626-7d15-89c6-67bb6445bced" xlink:to="loc_us-gaap_DebtInstrumentCollateralAmount_019d3f0a-8626-74ae-a740-7075ee10a25d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_019d3f0a-8626-70e6-84c8-1122e9402edd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019d3f0a-8626-7d15-89c6-67bb6445bced" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_019d3f0a-8626-70e6-84c8-1122e9402edd" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfSecuredDebt_019d3f0a-8626-7a91-88e8-91b42fb077f3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfSecuredDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019d3f0a-8626-7d15-89c6-67bb6445bced" xlink:to="loc_us-gaap_RepaymentsOfSecuredDebt_019d3f0a-8626-7a91-88e8-91b42fb077f3" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.unfi.com/role/LONGTERMDEBTABLCreditFacilityDetails" xlink:type="simple" xlink:href="unfi-20260502.xsd#LONGTERMDEBTABLCreditFacilityDetails"/>
  <link:definitionLink xlink:role="http://www.unfi.com/role/LONGTERMDEBTABLCreditFacilityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_019d3f0a-8626-743b-a3f4-f07869b4fd50" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_019d3f0a-8626-73c3-b96c-512487e6507f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019d3f0a-8626-743b-a3f4-f07869b4fd50" xlink:to="loc_us-gaap_DebtInstrumentTable_019d3f0a-8626-73c3-b96c-512487e6507f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_019d3f0a-8626-7329-b682-039938cd9c13" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019d3f0a-8626-73c3-b96c-512487e6507f" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_019d3f0a-8626-7329-b682-039938cd9c13" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019d3f0a-8626-7329-b682-039938cd9c13_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019d3f0a-8626-7329-b682-039938cd9c13" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019d3f0a-8626-7329-b682-039938cd9c13_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019d3f0a-8626-7591-9ce3-982c49592d67" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019d3f0a-8626-7329-b682-039938cd9c13" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019d3f0a-8626-7591-9ce3-982c49592d67" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_019d3f0a-8626-7edd-a2cb-76cd488b099f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_019d3f0a-8626-7591-9ce3-982c49592d67" xlink:to="loc_us-gaap_LineOfCreditMember_019d3f0a-8626-7edd-a2cb-76cd488b099f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_ABLFILOLoansMember_019e6aa7-6a57-7b28-aad2-27af5fc66217" xlink:href="unfi-20260502.xsd#unfi_ABLFILOLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_019d3f0a-8626-7591-9ce3-982c49592d67" xlink:to="loc_unfi_ABLFILOLoansMember_019e6aa7-6a57-7b28-aad2-27af5fc66217" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_ABLLoansMember_019e6aa8-aa6f-71d5-bc18-3d1e36b93b2a" xlink:href="unfi-20260502.xsd#unfi_ABLLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_019d3f0a-8626-7591-9ce3-982c49592d67" xlink:to="loc_unfi_ABLLoansMember_019e6aa8-aa6f-71d5-bc18-3d1e36b93b2a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_019d3f0a-8626-79de-abdf-9555f560c2ac" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019d3f0a-8626-73c3-b96c-512487e6507f" xlink:to="loc_us-gaap_CreditFacilityAxis_019d3f0a-8626-79de-abdf-9555f560c2ac" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_019d3f0a-8626-79de-abdf-9555f560c2ac_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_019d3f0a-8626-79de-abdf-9555f560c2ac" xlink:to="loc_us-gaap_CreditFacilityDomain_019d3f0a-8626-79de-abdf-9555f560c2ac_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_019d3f0a-8626-7e5e-9683-f46dd7729a98" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_019d3f0a-8626-79de-abdf-9555f560c2ac" xlink:to="loc_us-gaap_CreditFacilityDomain_019d3f0a-8626-7e5e-9683-f46dd7729a98" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_019d3f0a-8626-788b-ba33-a52d1e57fb37" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_019d3f0a-8626-7e5e-9683-f46dd7729a98" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_019d3f0a-8626-788b-ba33-a52d1e57fb37" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_019d3f0a-8626-767f-818d-971d15e5c373" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019d3f0a-8626-73c3-b96c-512487e6507f" xlink:to="loc_us-gaap_DebtInstrumentAxis_019d3f0a-8626-767f-818d-971d15e5c373" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019d3f0a-8626-767f-818d-971d15e5c373_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_019d3f0a-8626-767f-818d-971d15e5c373" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019d3f0a-8626-767f-818d-971d15e5c373_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019d3f0a-8626-71a0-b2ac-9199d60682c4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_019d3f0a-8626-767f-818d-971d15e5c373" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019d3f0a-8626-71a0-b2ac-9199d60682c4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_ABLCreditFacilityMember_019d3f0a-8626-7284-9a75-9b8e964fae9e" xlink:href="unfi-20260502.xsd#unfi_ABLCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019d3f0a-8626-71a0-b2ac-9199d60682c4" xlink:to="loc_unfi_ABLCreditFacilityMember_019d3f0a-8626-7284-9a75-9b8e964fae9e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_ABLCreditFacilityRevolverLoansMember_019d3f0a-8626-7a1b-8ac2-04e454836607" xlink:href="unfi-20260502.xsd#unfi_ABLCreditFacilityRevolverLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_unfi_ABLCreditFacilityMember_019d3f0a-8626-7284-9a75-9b8e964fae9e" xlink:to="loc_unfi_ABLCreditFacilityRevolverLoansMember_019d3f0a-8626-7a1b-8ac2-04e454836607" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_ABLCreditFacilityFILOTrancheMember_019d3f0a-8626-740a-a36b-31bff4847c14" xlink:href="unfi-20260502.xsd#unfi_ABLCreditFacilityFILOTrancheMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_unfi_ABLCreditFacilityMember_019d3f0a-8626-7284-9a75-9b8e964fae9e" xlink:to="loc_unfi_ABLCreditFacilityFILOTrancheMember_019d3f0a-8626-740a-a36b-31bff4847c14" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_NewABLCreditFacilityMember_019d85a2-932d-751e-b120-11fd78cbbd63" xlink:href="unfi-20260502.xsd#unfi_NewABLCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_unfi_ABLCreditFacilityMember_019d3f0a-8626-7284-9a75-9b8e964fae9e" xlink:to="loc_unfi_NewABLCreditFacilityMember_019d85a2-932d-751e-b120-11fd78cbbd63" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_019d3f0a-8626-7478-b20f-28c94933b32f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019d3f0a-8626-743b-a3f4-f07869b4fd50" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_019d3f0a-8626-7478-b20f-28c94933b32f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity_019d3f0a-8626-719d-af94-2e9112bf5dd9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019d3f0a-8626-743b-a3f4-f07869b4fd50" xlink:to="loc_us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity_019d3f0a-8626-719d-af94-2e9112bf5dd9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_LineOfCreditFacilityBorrowingCapacityReserves_019d3f0a-8626-7b8d-9864-0b1e3e8167cf" xlink:href="unfi-20260502.xsd#unfi_LineOfCreditFacilityBorrowingCapacityReserves"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019d3f0a-8626-743b-a3f4-f07869b4fd50" xlink:to="loc_unfi_LineOfCreditFacilityBorrowingCapacityReserves_019d3f0a-8626-7b8d-9864-0b1e3e8167cf" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.unfi.com/role/LONGTERMDEBTApplicableMarginsandFeesDetails" xlink:type="simple" xlink:href="unfi-20260502.xsd#LONGTERMDEBTApplicableMarginsandFeesDetails"/>
  <link:definitionLink xlink:role="http://www.unfi.com/role/LONGTERMDEBTApplicableMarginsandFeesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityLineItems_019d3f0a-8626-7e4a-99e0-dc5cbd23f6e0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditFacilityLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityTable_019d3f0a-8626-7ac9-8f92-1c7064cd0407" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditFacilityTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_019d3f0a-8626-7e4a-99e0-dc5cbd23f6e0" xlink:to="loc_us-gaap_LineOfCreditFacilityTable_019d3f0a-8626-7ac9-8f92-1c7064cd0407" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_019d3f0a-8626-7e50-a4fe-f821c5e820b6" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_019d3f0a-8626-7ac9-8f92-1c7064cd0407" xlink:to="loc_srt_RangeAxis_019d3f0a-8626-7e50-a4fe-f821c5e820b6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019d3f0a-8626-7e50-a4fe-f821c5e820b6_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_019d3f0a-8626-7e50-a4fe-f821c5e820b6" xlink:to="loc_srt_RangeMember_019d3f0a-8626-7e50-a4fe-f821c5e820b6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019d3f0a-8626-7d9f-8d13-e90abf10a642" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_019d3f0a-8626-7e50-a4fe-f821c5e820b6" xlink:to="loc_srt_RangeMember_019d3f0a-8626-7d9f-8d13-e90abf10a642" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_019d3f0a-8626-7209-8f8e-74e95a89c5b0" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019d3f0a-8626-7d9f-8d13-e90abf10a642" xlink:to="loc_srt_MinimumMember_019d3f0a-8626-7209-8f8e-74e95a89c5b0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_019d3f0a-8626-75b5-97de-5b6a6dd432f4" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019d3f0a-8626-7d9f-8d13-e90abf10a642" xlink:to="loc_srt_MaximumMember_019d3f0a-8626-75b5-97de-5b6a6dd432f4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_019d3f0a-8626-7a1b-aad4-05fa9a947267" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_019d3f0a-8626-7ac9-8f92-1c7064cd0407" xlink:to="loc_us-gaap_CreditFacilityAxis_019d3f0a-8626-7a1b-aad4-05fa9a947267" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_019d3f0a-8626-7a1b-aad4-05fa9a947267_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_019d3f0a-8626-7a1b-aad4-05fa9a947267" xlink:to="loc_us-gaap_CreditFacilityDomain_019d3f0a-8626-7a1b-aad4-05fa9a947267_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_019d3f0a-8626-7f0e-841b-860de51a0248" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_019d3f0a-8626-7a1b-aad4-05fa9a947267" xlink:to="loc_us-gaap_CreditFacilityDomain_019d3f0a-8626-7f0e-841b-860de51a0248" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_019d3f0a-8626-78dc-af08-ecc3c01024bb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_019d3f0a-8626-7f0e-841b-860de51a0248" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_019d3f0a-8626-78dc-af08-ecc3c01024bb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LetterOfCreditMember_019d3f0a-8626-7bf8-806a-d18d6e1d4417" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LetterOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_019d3f0a-8626-7f0e-841b-860de51a0248" xlink:to="loc_us-gaap_LetterOfCreditMember_019d3f0a-8626-7bf8-806a-d18d6e1d4417" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_019d3f0a-8626-78fe-b1d3-bf05c716cdbc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_019d3f0a-8626-7ac9-8f92-1c7064cd0407" xlink:to="loc_us-gaap_DebtInstrumentAxis_019d3f0a-8626-78fe-b1d3-bf05c716cdbc" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019d3f0a-8626-78fe-b1d3-bf05c716cdbc_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_019d3f0a-8626-78fe-b1d3-bf05c716cdbc" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019d3f0a-8626-78fe-b1d3-bf05c716cdbc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019d3f0a-8626-73ce-b181-c3446d4f00c7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_019d3f0a-8626-78fe-b1d3-bf05c716cdbc" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019d3f0a-8626-73ce-b181-c3446d4f00c7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_ABLCreditFacilityMember_019d3f0a-8626-7604-aa05-3648e5f1e84b" xlink:href="unfi-20260502.xsd#unfi_ABLCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019d3f0a-8626-73ce-b181-c3446d4f00c7" xlink:to="loc_unfi_ABLCreditFacilityMember_019d3f0a-8626-7604-aa05-3648e5f1e84b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_ABLCreditFacilityFILOTrancheMember_019d3f0a-8626-7056-981e-f4d5f2fe4c8a" xlink:href="unfi-20260502.xsd#unfi_ABLCreditFacilityFILOTrancheMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_unfi_ABLCreditFacilityMember_019d3f0a-8626-7604-aa05-3648e5f1e84b" xlink:to="loc_unfi_ABLCreditFacilityFILOTrancheMember_019d3f0a-8626-7056-981e-f4d5f2fe4c8a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_019d3f0a-8626-7995-a780-3f1da33db802" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_019d3f0a-8626-7ac9-8f92-1c7064cd0407" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_019d3f0a-8626-7995-a780-3f1da33db802" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019d3f0a-8626-7995-a780-3f1da33db802_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019d3f0a-8626-7995-a780-3f1da33db802" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019d3f0a-8626-7995-a780-3f1da33db802_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019d3f0a-8626-71d6-b011-ecb33c6f5720" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019d3f0a-8626-7995-a780-3f1da33db802" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019d3f0a-8626-71d6-b011-ecb33c6f5720" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_019d3f0a-8626-7b2f-88fa-9c578e319f7c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_019d3f0a-8626-71d6-b011-ecb33c6f5720" xlink:to="loc_us-gaap_LineOfCreditMember_019d3f0a-8626-7b2f-88fa-9c578e319f7c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateAxis_019d3f0a-8626-7d4f-ab99-4911ff4a8efe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_VariableRateAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_019d3f0a-8626-7ac9-8f92-1c7064cd0407" xlink:to="loc_us-gaap_VariableRateAxis_019d3f0a-8626-7d4f-ab99-4911ff4a8efe" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_019d3f0a-8626-7d4f-ab99-4911ff4a8efe_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_019d3f0a-8626-7d4f-ab99-4911ff4a8efe" xlink:to="loc_us-gaap_VariableRateDomain_019d3f0a-8626-7d4f-ab99-4911ff4a8efe_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_019d3f0a-8626-7171-bfec-1b6e7e0b533e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_019d3f0a-8626-7d4f-ab99-4911ff4a8efe" xlink:to="loc_us-gaap_VariableRateDomain_019d3f0a-8626-7171-bfec-1b6e7e0b533e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BaseRateMember_019d3f0a-8626-75cc-86ed-56a359901558" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BaseRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_019d3f0a-8626-7171-bfec-1b6e7e0b533e" xlink:to="loc_us-gaap_BaseRateMember_019d3f0a-8626-75cc-86ed-56a359901558" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_SecuredOvernightFinancingRateSOFRAndBankersAcceptanceRateMember_019d3f0a-8626-7d5a-9ac2-08a347690453" xlink:href="unfi-20260502.xsd#unfi_SecuredOvernightFinancingRateSOFRAndBankersAcceptanceRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_019d3f0a-8626-7171-bfec-1b6e7e0b533e" xlink:to="loc_unfi_SecuredOvernightFinancingRateSOFRAndBankersAcceptanceRateMember_019d3f0a-8626-7d5a-9ac2-08a347690453" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredOvernightFinancingRateSofrMember_019d3f0a-8626-750b-aa6e-b775e7a8aac1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SecuredOvernightFinancingRateSofrMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_019d3f0a-8626-7171-bfec-1b6e7e0b533e" xlink:to="loc_us-gaap_SecuredOvernightFinancingRateSofrMember_019d3f0a-8626-750b-aa6e-b775e7a8aac1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_019d3f0a-8626-747e-be08-c28ead389dfa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_019d3f0a-8626-7e4a-99e0-dc5cbd23f6e0" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_019d3f0a-8626-747e-be08-c28ead389dfa" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_019d3f0a-8626-72ae-95d7-6d8f2b1774f9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_019d3f0a-8626-7e4a-99e0-dc5cbd23f6e0" xlink:to="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_019d3f0a-8626-72ae-95d7-6d8f2b1774f9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityCommitmentFeePercentage_019d3f0a-8626-7089-9fcf-cd9bdb5b47ba" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditFacilityCommitmentFeePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_019d3f0a-8626-7e4a-99e0-dc5cbd23f6e0" xlink:to="loc_us-gaap_LineOfCreditFacilityCommitmentFeePercentage_019d3f0a-8626-7089-9fcf-cd9bdb5b47ba" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.unfi.com/role/LONGTERMDEBTUnusedCreditundertheABLFacilitiesDetails" xlink:type="simple" xlink:href="unfi-20260502.xsd#LONGTERMDEBTUnusedCreditundertheABLFacilitiesDetails"/>
  <link:definitionLink xlink:role="http://www.unfi.com/role/LONGTERMDEBTUnusedCreditundertheABLFacilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityLineItems_019d3f0a-8626-756c-8285-4fabe716dd52" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditFacilityLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityTable_019d3f0a-8626-7a9d-ad5d-caf349c759b8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditFacilityTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_019d3f0a-8626-756c-8285-4fabe716dd52" xlink:to="loc_us-gaap_LineOfCreditFacilityTable_019d3f0a-8626-7a9d-ad5d-caf349c759b8" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_019d3f0a-8626-74a8-a314-ab10e362c3ac" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_019d3f0a-8626-7a9d-ad5d-caf349c759b8" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_019d3f0a-8626-74a8-a314-ab10e362c3ac" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019d3f0a-8626-74a8-a314-ab10e362c3ac_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019d3f0a-8626-74a8-a314-ab10e362c3ac" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019d3f0a-8626-74a8-a314-ab10e362c3ac_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019d3f0a-8626-764e-b394-0683879512df" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019d3f0a-8626-74a8-a314-ab10e362c3ac" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019d3f0a-8626-764e-b394-0683879512df" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_019d3f0a-8626-783f-96f3-a9ed9cdf3950" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_019d3f0a-8626-764e-b394-0683879512df" xlink:to="loc_us-gaap_LineOfCreditMember_019d3f0a-8626-783f-96f3-a9ed9cdf3950" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_019d3f0a-8626-7b1a-996c-dac4548b9476" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_019d3f0a-8626-7a9d-ad5d-caf349c759b8" xlink:to="loc_us-gaap_CreditFacilityAxis_019d3f0a-8626-7b1a-996c-dac4548b9476" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_019d3f0a-8626-7b1a-996c-dac4548b9476_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_019d3f0a-8626-7b1a-996c-dac4548b9476" xlink:to="loc_us-gaap_CreditFacilityDomain_019d3f0a-8626-7b1a-996c-dac4548b9476_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_019d3f0a-8626-7356-9ef8-94018cdfeb42" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_019d3f0a-8626-7b1a-996c-dac4548b9476" xlink:to="loc_us-gaap_CreditFacilityDomain_019d3f0a-8626-7356-9ef8-94018cdfeb42" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_019d3f0a-8626-7742-842c-ce4a21dff147" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_019d3f0a-8626-7356-9ef8-94018cdfeb42" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_019d3f0a-8626-7742-842c-ce4a21dff147" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LetterOfCreditMember_019d3f0a-8626-7780-9ab4-6ee4ad4c3c31" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LetterOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_019d3f0a-8626-7356-9ef8-94018cdfeb42" xlink:to="loc_us-gaap_LetterOfCreditMember_019d3f0a-8626-7780-9ab4-6ee4ad4c3c31" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_019d3f0a-8626-7aad-978d-e5aacc7ff0a8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_019d3f0a-8626-7a9d-ad5d-caf349c759b8" xlink:to="loc_us-gaap_DebtInstrumentAxis_019d3f0a-8626-7aad-978d-e5aacc7ff0a8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019d3f0a-8626-7aad-978d-e5aacc7ff0a8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_019d3f0a-8626-7aad-978d-e5aacc7ff0a8" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019d3f0a-8626-7aad-978d-e5aacc7ff0a8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019d3f0a-8626-7c1d-b55e-bebd762b1e28" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_019d3f0a-8626-7aad-978d-e5aacc7ff0a8" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019d3f0a-8626-7c1d-b55e-bebd762b1e28" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_ABLCreditFacilityMember_019d3f0a-8626-7e75-aa78-e540c2addd3b" xlink:href="unfi-20260502.xsd#unfi_ABLCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019d3f0a-8626-7c1d-b55e-bebd762b1e28" xlink:to="loc_unfi_ABLCreditFacilityMember_019d3f0a-8626-7e75-aa78-e540c2addd3b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_ABLLoansMember_019d3f0a-8626-74fe-9743-ccc30da412bf" xlink:href="unfi-20260502.xsd#unfi_ABLLoansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019d3f0a-8626-7c1d-b55e-bebd762b1e28" xlink:to="loc_unfi_ABLLoansMember_019d3f0a-8626-74fe-9743-ccc30da412bf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity_019d3f0a-8626-7246-973d-e7bb5625f19e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_019d3f0a-8626-756c-8285-4fabe716dd52" xlink:to="loc_us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity_019d3f0a-8626-7246-973d-e7bb5625f19e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnusedBorrowingCapacityAmount_019d3f0a-8626-767a-8706-ae7ef5278670" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentUnusedBorrowingCapacityAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_019d3f0a-8626-756c-8285-4fabe716dd52" xlink:to="loc_us-gaap_DebtInstrumentUnusedBorrowingCapacityAmount_019d3f0a-8626-767a-8706-ae7ef5278670" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.unfi.com/role/LONGTERMDEBTSeniorNotesDetails" xlink:type="simple" xlink:href="unfi-20260502.xsd#LONGTERMDEBTSeniorNotesDetails"/>
  <link:definitionLink xlink:role="http://www.unfi.com/role/LONGTERMDEBTSeniorNotesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_019d3f0a-86e8-712f-be8e-c647405225d4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_019d3f0a-86e8-7272-8278-e4ef10cf6f19" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019d3f0a-86e8-712f-be8e-c647405225d4" xlink:to="loc_us-gaap_DebtInstrumentTable_019d3f0a-86e8-7272-8278-e4ef10cf6f19" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_019d3f0a-86e8-7638-86c0-c64704d7ac1b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019d3f0a-86e8-7272-8278-e4ef10cf6f19" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_019d3f0a-86e8-7638-86c0-c64704d7ac1b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019d3f0a-86e8-7638-86c0-c64704d7ac1b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019d3f0a-86e8-7638-86c0-c64704d7ac1b" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019d3f0a-86e8-7638-86c0-c64704d7ac1b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019d3f0a-86e8-7b76-9626-877fb857a80e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019d3f0a-86e8-7638-86c0-c64704d7ac1b" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019d3f0a-86e8-7b76-9626-877fb857a80e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotesMember_019d3f0a-86e8-7685-86a9-25aafa1620d4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_019d3f0a-86e8-7b76-9626-877fb857a80e" xlink:to="loc_us-gaap_SeniorNotesMember_019d3f0a-86e8-7685-86a9-25aafa1620d4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_019d3f0a-86e8-73f5-accd-031c79ac8686" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019d3f0a-86e8-7272-8278-e4ef10cf6f19" xlink:to="loc_us-gaap_DebtInstrumentAxis_019d3f0a-86e8-73f5-accd-031c79ac8686" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019d3f0a-86e8-73f5-accd-031c79ac8686_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_019d3f0a-86e8-73f5-accd-031c79ac8686" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019d3f0a-86e8-73f5-accd-031c79ac8686_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019d3f0a-86e8-77af-91f3-a8529d37b750" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_019d3f0a-86e8-73f5-accd-031c79ac8686" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019d3f0a-86e8-77af-91f3-a8529d37b750" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_SeniorNotesDueOctober20286750Member_019d3f0a-86e8-73a0-81e1-d2c514858753" xlink:href="unfi-20260502.xsd#unfi_SeniorNotesDueOctober20286750Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019d3f0a-86e8-77af-91f3-a8529d37b750" xlink:to="loc_unfi_SeniorNotesDueOctober20286750Member_019d3f0a-86e8-73a0-81e1-d2c514858753" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_019d3f0a-86e8-7e22-9de1-df487c48be22" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentFaceAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019d3f0a-86e8-712f-be8e-c647405225d4" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_019d3f0a-86e8-7e22-9de1-df487c48be22" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_019d3f0a-86e8-7bbc-8c3d-ecea50b1d08f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019d3f0a-86e8-712f-be8e-c647405225d4" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_019d3f0a-86e8-7bbc-8c3d-ecea50b1d08f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRepurchaseAmount_019d3f0a-86e8-7855-aa2a-0d0d11dfe710" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentRepurchaseAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019d3f0a-86e8-712f-be8e-c647405225d4" xlink:to="loc_us-gaap_DebtInstrumentRepurchaseAmount_019d3f0a-86e8-7855-aa2a-0d0d11dfe710" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_019d3f0a-86e8-71f1-abf0-8adc273d9d69" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019d3f0a-86e8-712f-be8e-c647405225d4" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_019d3f0a-86e8-71f1-abf0-8adc273d9d69" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.unfi.com/role/COMPREHENSIVEINCOMELOSSANDACCUMULATEDOTHERCOMPREHENSIVELOSSChangesbyComponentDetails" xlink:type="simple" xlink:href="unfi-20260502.xsd#COMPREHENSIVEINCOMELOSSANDACCUMULATEDOTHERCOMPREHENSIVELOSSChangesbyComponentDetails"/>
  <link:definitionLink xlink:role="http://www.unfi.com/role/COMPREHENSIVEINCOMELOSSANDACCUMULATEDOTHERCOMPREHENSIVELOSSChangesbyComponentDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_019d3f0a-86e8-7062-a5b2-b7252ddb570b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_019d3f0a-86e8-7445-be5f-886837afef99" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_019d3f0a-86e8-7062-a5b2-b7252ddb570b" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_019d3f0a-86e8-7445-be5f-886837afef99" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_019d3f0a-86e8-75fa-8a9d-7cfca267fedf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_019d3f0a-86e8-7445-be5f-886837afef99" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_019d3f0a-86e8-75fa-8a9d-7cfca267fedf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019d3f0a-86e8-75fa-8a9d-7cfca267fedf_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019d3f0a-86e8-75fa-8a9d-7cfca267fedf" xlink:to="loc_us-gaap_EquityComponentDomain_019d3f0a-86e8-75fa-8a9d-7cfca267fedf_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019d3f0a-86e8-7a25-a4fb-6f813d5d2e77" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019d3f0a-86e8-75fa-8a9d-7cfca267fedf" xlink:to="loc_us-gaap_EquityComponentDomain_019d3f0a-86e8-7a25-a4fb-6f813d5d2e77" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember_019d3f0a-86e8-7b3b-acad-1b6981661094" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019d3f0a-86e8-7a25-a4fb-6f813d5d2e77" xlink:to="loc_us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember_019d3f0a-86e8-7b3b-acad-1b6981661094" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember_019d3f0a-86e8-7a2d-a55a-ac32cdbd99b2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019d3f0a-86e8-7a25-a4fb-6f813d5d2e77" xlink:to="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember_019d3f0a-86e8-7a2d-a55a-ac32cdbd99b2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentIncludingPortionAttributableToNoncontrollingInterestMember_019e0209-f778-7a63-8151-fb0e80c226b7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedDefinedBenefitPlansAdjustmentIncludingPortionAttributableToNoncontrollingInterestMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019d3f0a-86e8-7a25-a4fb-6f813d5d2e77" xlink:to="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentIncludingPortionAttributableToNoncontrollingInterestMember_019e0209-f778-7a63-8151-fb0e80c226b7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedTranslationAdjustmentMember_019d3f0a-86e8-7248-b130-9d2fe0afaa29" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedTranslationAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019d3f0a-86e8-7a25-a4fb-6f813d5d2e77" xlink:to="loc_us-gaap_AccumulatedTranslationAdjustmentMember_019d3f0a-86e8-7248-b130-9d2fe0afaa29" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_019d3f0a-86e8-7880-bca9-0f3c6effda6c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019d3f0a-86e8-7a25-a4fb-6f813d5d2e77" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_019d3f0a-86e8-7880-bca9-0f3c6effda6c" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_019d3f0a-86e8-7688-89ac-1f97d69c84ba" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_019d3f0a-86e8-7445-be5f-886837afef99" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_019d3f0a-86e8-7688-89ac-1f97d69c84ba" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019d3f0a-86e8-7688-89ac-1f97d69c84ba_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_019d3f0a-86e8-7688-89ac-1f97d69c84ba" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019d3f0a-86e8-7688-89ac-1f97d69c84ba_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019d3f0a-86e8-7120-809c-075051316a3c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_019d3f0a-86e8-7688-89ac-1f97d69c84ba" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019d3f0a-86e8-7120-809c-075051316a3c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherContractMember_019d3f0a-86e8-703a-8841-a43cfab3a4ac" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_019d3f0a-86e8-7120-809c-075051316a3c" xlink:to="loc_us-gaap_OtherContractMember_019d3f0a-86e8-703a-8841-a43cfab3a4ac" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_SwapAgreementsMember_019d3f0a-86e8-7322-9f9e-ecb940dc4966" xlink:href="unfi-20260502.xsd#unfi_SwapAgreementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_019d3f0a-86e8-7120-809c-075051316a3c" xlink:to="loc_unfi_SwapAgreementsMember_019d3f0a-86e8-7322-9f9e-ecb940dc4966" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTaxAbstract_019d3f0a-86e8-7b2b-8378-59f98c3bde60" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTaxAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_019d3f0a-86e8-7062-a5b2-b7252ddb570b" xlink:to="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTaxAbstract_019d3f0a-86e8-7b2b-8378-59f98c3bde60" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019d3f0a-86e8-7cc2-a8b5-55ca7d3b46b3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTaxAbstract_019d3f0a-86e8-7b2b-8378-59f98c3bde60" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019d3f0a-86e8-7cc2-a8b5-55ca7d3b46b3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_019d3f0a-86e8-70e2-b3fc-661a8c7be032" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTaxAbstract_019d3f0a-86e8-7b2b-8378-59f98c3bde60" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_019d3f0a-86e8-70e2-b3fc-661a8c7be032" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_019d3f0a-86e8-7369-b21d-bdbcbfdcda30" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTaxAbstract_019d3f0a-86e8-7b2b-8378-59f98c3bde60" xlink:to="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_019d3f0a-86e8-7369-b21d-bdbcbfdcda30" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019d3f0a-86e8-7fc6-bb4a-8319e07431c3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTaxAbstract_019d3f0a-86e8-7b2b-8378-59f98c3bde60" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019d3f0a-86e8-7fc6-bb4a-8319e07431c3" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019d3f0a-86e8-7d51-ba3f-bf23561d808c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.unfi.com/role/COMPREHENSIVEINCOMELOSSANDACCUMULATEDOTHERCOMPREHENSIVELOSSReclassificationoutofOtherComprehensiveLossDetails" xlink:type="simple" xlink:href="unfi-20260502.xsd#COMPREHENSIVEINCOMELOSSANDACCUMULATEDOTHERCOMPREHENSIVELOSSReclassificationoutofOtherComprehensiveLossDetails"/>
  <link:definitionLink xlink:role="http://www.unfi.com/role/COMPREHENSIVEINCOMELOSSANDACCUMULATEDOTHERCOMPREHENSIVELOSSReclassificationoutofOtherComprehensiveLossDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeLineItems_019d3f0a-86e8-798f-8ad0-9085448891ec" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable_019d3f0a-86e8-7196-af25-03f76c96c54e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeLineItems_019d3f0a-86e8-798f-8ad0-9085448891ec" xlink:to="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable_019d3f0a-86e8-7196-af25-03f76c96c54e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis_019d3f0a-86e8-75c0-97e3-66603a02bbce" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable_019d3f0a-86e8-7196-af25-03f76c96c54e" xlink:to="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis_019d3f0a-86e8-75c0-97e3-66603a02bbce" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain_019d3f0a-86e8-75c0-97e3-66603a02bbce_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis_019d3f0a-86e8-75c0-97e3-66603a02bbce" xlink:to="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain_019d3f0a-86e8-75c0-97e3-66603a02bbce_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain_019d3f0a-86e8-7386-8590-55335d509a0b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis_019d3f0a-86e8-75c0-97e3-66603a02bbce" xlink:to="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain_019d3f0a-86e8-7386-8590-55335d509a0b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeMember_019d3f0a-86e8-7e68-af51-a7f2cc29a704" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain_019d3f0a-86e8-7386-8590-55335d509a0b" xlink:to="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeMember_019d3f0a-86e8-7e68-af51-a7f2cc29a704" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_019d3f0a-86e8-7ee4-a1af-f5d38821e2d6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable_019d3f0a-86e8-7196-af25-03f76c96c54e" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_019d3f0a-86e8-7ee4-a1af-f5d38821e2d6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019d3f0a-86e8-7ee4-a1af-f5d38821e2d6_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019d3f0a-86e8-7ee4-a1af-f5d38821e2d6" xlink:to="loc_us-gaap_EquityComponentDomain_019d3f0a-86e8-7ee4-a1af-f5d38821e2d6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019d3f0a-86e8-7f45-8655-ffdf72e80257" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019d3f0a-86e8-7ee4-a1af-f5d38821e2d6" xlink:to="loc_us-gaap_EquityComponentDomain_019d3f0a-86e8-7f45-8655-ffdf72e80257" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentIncludingPortionAttributableToNoncontrollingInterestMember_019d452f-e940-7fcd-92ce-412cbbcec920" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedDefinedBenefitPlansAdjustmentIncludingPortionAttributableToNoncontrollingInterestMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019d3f0a-86e8-7f45-8655-ffdf72e80257" xlink:to="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentIncludingPortionAttributableToNoncontrollingInterestMember_019d452f-e940-7fcd-92ce-412cbbcec920" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_019d3f0a-86e8-7ad0-8b5e-68028b45310f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019d3f0a-86e8-7f45-8655-ffdf72e80257" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_019d3f0a-86e8-7ad0-8b5e-68028b45310f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_019d3f0a-86e8-775a-8221-0f1e9a87caa6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable_019d3f0a-86e8-7196-af25-03f76c96c54e" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_019d3f0a-86e8-775a-8221-0f1e9a87caa6" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019d3f0a-86e8-775a-8221-0f1e9a87caa6_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_019d3f0a-86e8-775a-8221-0f1e9a87caa6" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019d3f0a-86e8-775a-8221-0f1e9a87caa6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019d3f0a-86e8-7c0d-9a15-3d324e2addf3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_019d3f0a-86e8-775a-8221-0f1e9a87caa6" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019d3f0a-86e8-7c0d-9a15-3d324e2addf3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_SwapAgreementsMember_019d3f0a-86e8-734f-8a15-0839620751c8" xlink:href="unfi-20260502.xsd#unfi_SwapAgreementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_019d3f0a-86e8-7c0d-9a15-3d324e2addf3" xlink:to="loc_unfi_SwapAgreementsMember_019d3f0a-86e8-734f-8a15-0839620751c8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_OtherCashFlowHedgesMember_019d3f0a-86e8-75b3-8910-f686f62acaf4" xlink:href="unfi-20260502.xsd#unfi_OtherCashFlowHedgesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_019d3f0a-86e8-7c0d-9a15-3d324e2addf3" xlink:to="loc_unfi_OtherCashFlowHedgesMember_019d3f0a-86e8-75b3-8910-f686f62acaf4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_019d4527-19e9-79c2-a189-badd8967298b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeLineItems_019d3f0a-86e8-798f-8ad0-9085448891ec" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_019d4527-19e9-79c2-a189-badd8967298b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNonoperatingNet_019d3f0a-86e8-73c2-81e7-4e8af54cde6b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeExpenseNonoperatingNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeLineItems_019d3f0a-86e8-798f-8ad0-9085448891ec" xlink:to="loc_us-gaap_InterestIncomeExpenseNonoperatingNet_019d3f0a-86e8-73c2-81e7-4e8af54cde6b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019d3f0a-86e8-71f1-bcf2-c5df327f4ca8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeLineItems_019d3f0a-86e8-798f-8ad0-9085448891ec" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_019d3f0a-86e8-71f1-bcf2-c5df327f4ca8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_019d3f0a-86e8-79b2-8861-c873c62f2060" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeLineItems_019d3f0a-86e8-798f-8ad0-9085448891ec" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_019d3f0a-86e8-79b2-8861-c873c62f2060" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019d3f0a-86e8-7662-ae09-7df832896e14" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProfitLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeLineItems_019d3f0a-86e8-798f-8ad0-9085448891ec" xlink:to="loc_us-gaap_ProfitLoss_019d3f0a-86e8-7662-ae09-7df832896e14" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.unfi.com/role/BENEFITPLANSNetPeriodicBenefitIncomeCostsforDefinedBenefitPensionPlansDetails" xlink:type="simple" xlink:href="unfi-20260502.xsd#BENEFITPLANSNetPeriodicBenefitIncomeCostsforDefinedBenefitPensionPlansDetails"/>
  <link:definitionLink xlink:role="http://www.unfi.com/role/BENEFITPLANSNetPeriodicBenefitIncomeCostsforDefinedBenefitPensionPlansDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019d3f0a-86e8-755e-be7a-04e544b38b3a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019d3f0a-86e8-7fc3-821e-e49c1f3f7be0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019d3f0a-86e8-755e-be7a-04e544b38b3a" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019d3f0a-86e8-7fc3-821e-e49c1f3f7be0" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_019d3f0a-86e8-703d-a84d-42c913b4f239" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019d3f0a-86e8-7fc3-821e-e49c1f3f7be0" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_019d3f0a-86e8-703d-a84d-42c913b4f239" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_019d3f0a-86e8-703d-a84d-42c913b4f239_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_019d3f0a-86e8-703d-a84d-42c913b4f239" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_019d3f0a-86e8-703d-a84d-42c913b4f239_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_019d3f0a-86e8-7a56-8a14-f27a4592e1e1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_019d3f0a-86e8-703d-a84d-42c913b4f239" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_019d3f0a-86e8-7a56-8a14-f27a4592e1e1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_019d3f0a-86e8-7c41-ba41-c3e6146f7c34" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PensionPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_019d3f0a-86e8-7a56-8a14-f27a4592e1e1" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_019d3f0a-86e8-7c41-ba41-c3e6146f7c34" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_019d3f0a-86e8-796c-8efe-4e3c7b6e3822" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanInterestCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019d3f0a-86e8-755e-be7a-04e544b38b3a" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_019d3f0a-86e8-796c-8efe-4e3c7b6e3822" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_019d3f0a-86e8-7023-aa0f-9756905e2780" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019d3f0a-86e8-755e-be7a-04e544b38b3a" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_019d3f0a-86e8-7023-aa0f-9756905e2780" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_019d3f0a-86e8-77d3-9595-0306257205e8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019d3f0a-86e8-755e-be7a-04e544b38b3a" xlink:to="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_019d3f0a-86e8-77d3-9595-0306257205e8" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.unfi.com/role/BENEFITPLANSNarrativeDetails" xlink:type="simple" xlink:href="unfi-20260502.xsd#BENEFITPLANSNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.unfi.com/role/BENEFITPLANSNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019d3f0a-86e8-7cd6-972b-fdac85ed516d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019d3f0a-86e8-727c-8219-38581292600b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019d3f0a-86e8-7cd6-972b-fdac85ed516d" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019d3f0a-86e8-727c-8219-38581292600b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_019d3f0a-86e8-7f3f-8720-94b8a5e0bae5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019d3f0a-86e8-727c-8219-38581292600b" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_019d3f0a-86e8-7f3f-8720-94b8a5e0bae5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_019d3f0a-86e8-7f3f-8720-94b8a5e0bae5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_019d3f0a-86e8-7f3f-8720-94b8a5e0bae5" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_019d3f0a-86e8-7f3f-8720-94b8a5e0bae5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_019d3f0a-86e8-735c-b50d-dc7f82102852" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_019d3f0a-86e8-7f3f-8720-94b8a5e0bae5" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_019d3f0a-86e8-735c-b50d-dc7f82102852" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_019d3f0a-86e8-7b9d-9d3a-63d000e50dea" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_019d3f0a-86e8-735c-b50d-dc7f82102852" xlink:to="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_019d3f0a-86e8-7b9d-9d3a-63d000e50dea" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_019d3f0a-86e8-7709-aa98-4c90a956912b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PensionPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_019d3f0a-86e8-735c-b50d-dc7f82102852" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_019d3f0a-86e8-7709-aa98-4c90a956912b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedFutureEmployerContributionsCurrentFiscalYear_019d3f0a-86e8-76c2-8581-a5b947fa414e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanExpectedFutureEmployerContributionsCurrentFiscalYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019d3f0a-86e8-7cd6-972b-fdac85ed516d" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedFutureEmployerContributionsCurrentFiscalYear_019d3f0a-86e8-76c2-8581-a5b947fa414e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MultiemployerPlanEmployerContributionCost_019d3f0a-86e8-730a-aac9-80c3fcab1c70" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MultiemployerPlanEmployerContributionCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019d3f0a-86e8-7cd6-972b-fdac85ed516d" xlink:to="loc_us-gaap_MultiemployerPlanEmployerContributionCost_019d3f0a-86e8-730a-aac9-80c3fcab1c70" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.unfi.com/role/BUSINESSSEGMENTSSegmentInformationDetails" xlink:type="simple" xlink:href="unfi-20260502.xsd#BUSINESSSEGMENTSSegmentInformationDetails"/>
  <link:definitionLink xlink:role="http://www.unfi.com/role/BUSINESSSEGMENTSSegmentInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_019d3f0a-86e8-706b-aa41-0dde21325d1c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019d3f0a-86e8-718c-8720-5631e203d43a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019d3f0a-86e8-706b-aa41-0dde21325d1c" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019d3f0a-86e8-718c-8720-5631e203d43a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_019d3f0a-86e8-7d58-a513-aaea8b6fd014" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019d3f0a-86e8-718c-8720-5631e203d43a" xlink:to="loc_srt_ConsolidationItemsAxis_019d3f0a-86e8-7d58-a513-aaea8b6fd014" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019d3f0a-86e8-7d58-a513-aaea8b6fd014_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_019d3f0a-86e8-7d58-a513-aaea8b6fd014" xlink:to="loc_srt_ConsolidationItemsDomain_019d3f0a-86e8-7d58-a513-aaea8b6fd014_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019d3f0a-86e8-7dfc-a1f5-054e856cae82" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_019d3f0a-86e8-7d58-a513-aaea8b6fd014" xlink:to="loc_srt_ConsolidationItemsDomain_019d3f0a-86e8-7dfc-a1f5-054e856cae82" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntersegmentEliminationMember_019d3f0a-86e8-7343-acfb-929ccf213cf1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IntersegmentEliminationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_019d3f0a-86e8-7dfc-a1f5-054e856cae82" xlink:to="loc_us-gaap_IntersegmentEliminationMember_019d3f0a-86e8-7343-acfb-929ccf213cf1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_019d3f0a-86e8-7758-854d-94291f656d11" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_019d3f0a-86e8-7dfc-a1f5-054e856cae82" xlink:to="loc_us-gaap_OperatingSegmentsMember_019d3f0a-86e8-7758-854d-94291f656d11" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_019d3f0a-86e8-7902-bba1-12e5fcf1317b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019d3f0a-86e8-718c-8720-5631e203d43a" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_019d3f0a-86e8-7902-bba1-12e5fcf1317b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019d3f0a-86e8-7902-bba1-12e5fcf1317b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019d3f0a-86e8-7902-bba1-12e5fcf1317b" xlink:to="loc_us-gaap_SegmentDomain_019d3f0a-86e8-7902-bba1-12e5fcf1317b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019d3f0a-86e8-7e4d-bd5e-51e405abb210" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019d3f0a-86e8-7902-bba1-12e5fcf1317b" xlink:to="loc_us-gaap_SegmentDomain_019d3f0a-86e8-7e4d-bd5e-51e405abb210" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_NaturalSegmentMember_019d3f0a-86e8-76ab-b8de-a340cea95f69" xlink:href="unfi-20260502.xsd#unfi_NaturalSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019d3f0a-86e8-7e4d-bd5e-51e405abb210" xlink:to="loc_unfi_NaturalSegmentMember_019d3f0a-86e8-76ab-b8de-a340cea95f69" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_ConventionalSegmentMember_019d3f0a-86e8-76e1-a793-003e8924652a" xlink:href="unfi-20260502.xsd#unfi_ConventionalSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019d3f0a-86e8-7e4d-bd5e-51e405abb210" xlink:to="loc_unfi_ConventionalSegmentMember_019d3f0a-86e8-76e1-a793-003e8924652a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_RetailSegmentMember_019d3f0a-86e8-7b98-9a13-49ef665b8b2e" xlink:href="unfi-20260502.xsd#unfi_RetailSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019d3f0a-86e8-7e4d-bd5e-51e405abb210" xlink:to="loc_unfi_RetailSegmentMember_019d3f0a-86e8-7b98-9a13-49ef665b8b2e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019d3f0a-86e8-7f02-b78c-d5afa89b8bbc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019d3f0a-86e8-706b-aa41-0dde21325d1c" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019d3f0a-86e8-7f02-b78c-d5afa89b8bbc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_019d3f0a-86e8-7ed8-bb97-dadcf0b23c3d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019d3f0a-86e8-706b-aa41-0dde21325d1c" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_019d3f0a-86e8-7ed8-bb97-dadcf0b23c3d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductionAndDistributionCosts_019d3f0a-86e8-7063-965a-eb5948964005" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProductionAndDistributionCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019d3f0a-86e8-706b-aa41-0dde21325d1c" xlink:to="loc_us-gaap_ProductionAndDistributionCosts_019d3f0a-86e8-7063-965a-eb5948964005" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingOtherItemAmount_019d3f0a-86e8-7e42-a31a-f1f120456efb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentReportingOtherItemAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019d3f0a-86e8-706b-aa41-0dde21325d1c" xlink:to="loc_us-gaap_SegmentReportingOtherItemAmount_019d3f0a-86e8-7e42-a31a-f1f120456efb" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_SegmentAdjustedEBITDA_019d3f0a-86e8-7012-9f44-594eaee60bda" xlink:href="unfi-20260502.xsd#unfi_SegmentAdjustedEBITDA"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019d3f0a-86e8-706b-aa41-0dde21325d1c" xlink:to="loc_unfi_SegmentAdjustedEBITDA_019d3f0a-86e8-7012-9f44-594eaee60bda" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_EliminationOfIntersegmentProfit_019d3f0a-86e8-703a-8912-3dc7649212f0" xlink:href="unfi-20260502.xsd#unfi_EliminationOfIntersegmentProfit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019d3f0a-86e8-706b-aa41-0dde21325d1c" xlink:to="loc_unfi_EliminationOfIntersegmentProfit_019d3f0a-86e8-703a-8912-3dc7649212f0" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_UnallocatedCorporateOverhead_019d3f0a-86e8-7869-a310-56a8506fd111" xlink:href="unfi-20260502.xsd#unfi_UnallocatedCorporateOverhead"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019d3f0a-86e8-706b-aa41-0dde21325d1c" xlink:to="loc_unfi_UnallocatedCorporateOverhead_019d3f0a-86e8-7869-a310-56a8506fd111" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_NetIncomeAttributableToNoncontrollingInterests_019d8563-3d45-79d4-b6bb-d7df5c866d13" xlink:href="unfi-20260502.xsd#unfi_NetIncomeAttributableToNoncontrollingInterests"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019d3f0a-86e8-706b-aa41-0dde21325d1c" xlink:to="loc_unfi_NetIncomeAttributableToNoncontrollingInterests_019d8563-3d45-79d4-b6bb-d7df5c866d13" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetPeriodicDefinedBenefitsExpenseReversalOfExpenseExcludingServiceCostComponent_019d3f0a-86e8-7a87-80fd-cb2c4b1acdc3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetPeriodicDefinedBenefitsExpenseReversalOfExpenseExcludingServiceCostComponent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019d3f0a-86e8-706b-aa41-0dde21325d1c" xlink:to="loc_us-gaap_NetPeriodicDefinedBenefitsExpenseReversalOfExpenseExcludingServiceCostComponent_019d3f0a-86e8-7a87-80fd-cb2c4b1acdc3" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseNonoperating_019d3f0a-86e8-755e-a04d-7775dcfdbe9b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestExpenseNonoperating"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019d3f0a-86e8-706b-aa41-0dde21325d1c" xlink:to="loc_us-gaap_InterestExpenseNonoperating_019d3f0a-86e8-755e-a04d-7775dcfdbe9b" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_019d3f0a-86e8-77a7-98b0-5ea7c46941e2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019d3f0a-86e8-706b-aa41-0dde21325d1c" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_019d3f0a-86e8-77a7-98b0-5ea7c46941e2" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Depreciation_019d3f0a-86e8-7b40-86e5-40e00e21f9ac" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Depreciation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019d3f0a-86e8-706b-aa41-0dde21325d1c" xlink:to="loc_us-gaap_Depreciation_019d3f0a-86e8-7b40-86e5-40e00e21f9ac" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_ShareBasedCompensationEBITDAAdjustment_019d3f0a-86e8-7d96-8332-3743ae22dffd" xlink:href="unfi-20260502.xsd#unfi_ShareBasedCompensationEBITDAAdjustment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019d3f0a-86e8-706b-aa41-0dde21325d1c" xlink:to="loc_unfi_ShareBasedCompensationEBITDAAdjustment_019d3f0a-86e8-7d96-8332-3743ae22dffd" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryLIFOReservePeriodCharge_019d3f0a-86e8-7232-8dc6-ad53c309f148" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InventoryLIFOReservePeriodCharge"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019d3f0a-86e8-706b-aa41-0dde21325d1c" xlink:to="loc_us-gaap_InventoryLIFOReservePeriodCharge_019d3f0a-86e8-7232-8dc6-ad53c309f148" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringSettlementAndImpairmentProvisions_019d3f0a-86e8-7775-8242-50e2fd5d4b5c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestructuringSettlementAndImpairmentProvisions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019d3f0a-86e8-706b-aa41-0dde21325d1c" xlink:to="loc_us-gaap_RestructuringSettlementAndImpairmentProvisions_019d3f0a-86e8-7775-8242-50e2fd5d4b5c" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnDispositionOfAssets1_019d3f0a-86e8-74a4-9a5f-e5c0a0b95a08" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainLossOnDispositionOfAssets1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019d3f0a-86e8-706b-aa41-0dde21325d1c" xlink:to="loc_us-gaap_GainLossOnDispositionOfAssets1_019d3f0a-86e8-74a4-9a5f-e5c0a0b95a08" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_GainLossOnBusinessTransformation_019d3f0a-86e8-7db4-8fd0-d6f141253e81" xlink:href="unfi-20260502.xsd#unfi_GainLossOnBusinessTransformation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019d3f0a-86e8-706b-aa41-0dde21325d1c" xlink:to="loc_unfi_GainLossOnBusinessTransformation_019d3f0a-86e8-7db4-8fd0-d6f141253e81" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonrecurringExpense_019d3f0a-86e8-7bcd-aed9-0c14028fe2fc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherNonrecurringExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019d3f0a-86e8-706b-aa41-0dde21325d1c" xlink:to="loc_us-gaap_OtherNonrecurringExpense_019d3f0a-86e8-7bcd-aed9-0c14028fe2fc" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherIncome_019e6308-b44d-74c1-baff-92b2bb33a46a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherIncome"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019d3f0a-86e8-706b-aa41-0dde21325d1c" xlink:to="loc_us-gaap_OtherIncome_019e6308-b44d-74c1-baff-92b2bb33a46a" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019d3f0a-86e8-72b2-a88b-1bf129c115c6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019d3f0a-86e8-706b-aa41-0dde21325d1c" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019d3f0a-86e8-72b2-a88b-1bf129c115c6" xlink:type="arc" order="19"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.unfi.com/role/BUSINESSSEGMENTSReportableSegmentsIncludingDepreciationandAmortizationandPaymentsForCapitalExpendituresDetails" xlink:type="simple" xlink:href="unfi-20260502.xsd#BUSINESSSEGMENTSReportableSegmentsIncludingDepreciationandAmortizationandPaymentsForCapitalExpendituresDetails"/>
  <link:definitionLink xlink:role="http://www.unfi.com/role/BUSINESSSEGMENTSReportableSegmentsIncludingDepreciationandAmortizationandPaymentsForCapitalExpendituresDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_019d3f0a-86e8-75b5-9240-db6743eeb9e3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019d3f0a-86e8-7413-a072-a04a80298121" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019d3f0a-86e8-75b5-9240-db6743eeb9e3" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019d3f0a-86e8-7413-a072-a04a80298121" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_019d3f0a-86e8-7e3e-8b27-547f25d63c2b" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019d3f0a-86e8-7413-a072-a04a80298121" xlink:to="loc_srt_ConsolidationItemsAxis_019d3f0a-86e8-7e3e-8b27-547f25d63c2b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019d3f0a-86e8-7e3e-8b27-547f25d63c2b_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_019d3f0a-86e8-7e3e-8b27-547f25d63c2b" xlink:to="loc_srt_ConsolidationItemsDomain_019d3f0a-86e8-7e3e-8b27-547f25d63c2b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019d3f0a-86e8-77b8-897e-d6d9250999ea" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_019d3f0a-86e8-7e3e-8b27-547f25d63c2b" xlink:to="loc_srt_ConsolidationItemsDomain_019d3f0a-86e8-77b8-897e-d6d9250999ea" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_019d3f0a-86e8-7cc3-99b6-46c0ff169342" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_019d3f0a-86e8-77b8-897e-d6d9250999ea" xlink:to="loc_us-gaap_OperatingSegmentsMember_019d3f0a-86e8-7cc3-99b6-46c0ff169342" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateNonSegmentMember_019d3f0a-86e8-73b0-a9e8-9763f5ce9d72" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CorporateNonSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_019d3f0a-86e8-77b8-897e-d6d9250999ea" xlink:to="loc_us-gaap_CorporateNonSegmentMember_019d3f0a-86e8-73b0-a9e8-9763f5ce9d72" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_019d3f0a-86e8-74c3-8be4-12bd1c28d820" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019d3f0a-86e8-7413-a072-a04a80298121" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_019d3f0a-86e8-74c3-8be4-12bd1c28d820" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019d3f0a-86e8-74c3-8be4-12bd1c28d820_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019d3f0a-86e8-74c3-8be4-12bd1c28d820" xlink:to="loc_us-gaap_SegmentDomain_019d3f0a-86e8-74c3-8be4-12bd1c28d820_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019d3f0a-86e8-7ff7-bb0e-ffd80854274d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019d3f0a-86e8-74c3-8be4-12bd1c28d820" xlink:to="loc_us-gaap_SegmentDomain_019d3f0a-86e8-7ff7-bb0e-ffd80854274d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_NaturalSegmentMember_019d3f0a-86e8-7a47-9dd3-d9aeb7a4c78c" xlink:href="unfi-20260502.xsd#unfi_NaturalSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019d3f0a-86e8-7ff7-bb0e-ffd80854274d" xlink:to="loc_unfi_NaturalSegmentMember_019d3f0a-86e8-7a47-9dd3-d9aeb7a4c78c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_ConventionalSegmentMember_019d3f0a-86e8-7815-ab65-1641ee456f55" xlink:href="unfi-20260502.xsd#unfi_ConventionalSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019d3f0a-86e8-7ff7-bb0e-ffd80854274d" xlink:to="loc_unfi_ConventionalSegmentMember_019d3f0a-86e8-7815-ab65-1641ee456f55" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_RetailSegmentMember_019d3f0a-86e8-7314-a835-5d6470c8ee2c" xlink:href="unfi-20260502.xsd#unfi_RetailSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019d3f0a-86e8-7ff7-bb0e-ffd80854274d" xlink:to="loc_unfi_RetailSegmentMember_019d3f0a-86e8-7314-a835-5d6470c8ee2c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_019d3f0a-86e8-7e2b-97ea-ff83d981fa7b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019d3f0a-86e8-75b5-9240-db6743eeb9e3" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_019d3f0a-86e8-7e2b-97ea-ff83d981fa7b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentExpenditureAdditionToLongLivedAssets_019d3f0a-86e8-7ff1-a364-c5e1259d36f5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentExpenditureAdditionToLongLivedAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019d3f0a-86e8-75b5-9240-db6743eeb9e3" xlink:to="loc_us-gaap_SegmentExpenditureAdditionToLongLivedAssets_019d3f0a-86e8-7ff1-a364-c5e1259d36f5" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.unfi.com/role/COMMITMENTSCONTINGENCIESANDOFFBALANCESHEETARRANGEMENTSDetails" xlink:type="simple" xlink:href="unfi-20260502.xsd#COMMITMENTSCONTINGENCIESANDOFFBALANCESHEETARRANGEMENTSDetails"/>
  <link:definitionLink xlink:role="http://www.unfi.com/role/COMMITMENTSCONTINGENCIESANDOFFBALANCESHEETARRANGEMENTSDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesLineItems_019d3f0a-86e8-796d-bfca-34e81a03e714" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LossContingenciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesTable_019d3f0a-86e8-772d-aee2-7fb0db2d903c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LossContingenciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LossContingenciesLineItems_019d3f0a-86e8-796d-bfca-34e81a03e714" xlink:to="loc_us-gaap_LossContingenciesTable_019d3f0a-86e8-772d-aee2-7fb0db2d903c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsByNatureAxis_019d3f0a-86e8-7c9a-9e0b-1fee715b9cd7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GuaranteeObligationsByNatureAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_019d3f0a-86e8-772d-aee2-7fb0db2d903c" xlink:to="loc_us-gaap_GuaranteeObligationsByNatureAxis_019d3f0a-86e8-7c9a-9e0b-1fee715b9cd7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_019d3f0a-86e8-7c9a-9e0b-1fee715b9cd7_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GuaranteeObligationsNatureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_019d3f0a-86e8-7c9a-9e0b-1fee715b9cd7" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_019d3f0a-86e8-7c9a-9e0b-1fee715b9cd7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_019d3f0a-86e8-7fe7-b6df-a0a696056e6d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GuaranteeObligationsNatureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_019d3f0a-86e8-7c9a-9e0b-1fee715b9cd7" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_019d3f0a-86e8-7fe7-b6df-a0a696056e6d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentGuaranteeMember_019d3f0a-86e8-75b8-acdc-9faf1890eb56" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentGuaranteeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_019d3f0a-86e8-7fe7-b6df-a0a696056e6d" xlink:to="loc_us-gaap_PaymentGuaranteeMember_019d3f0a-86e8-75b8-acdc-9faf1890eb56" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_019d3f0a-86e8-7397-a63a-429579fa42ee" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_019d3f0a-86e8-772d-aee2-7fb0db2d903c" xlink:to="loc_srt_RangeAxis_019d3f0a-86e8-7397-a63a-429579fa42ee" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019d3f0a-86e8-7397-a63a-429579fa42ee_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_019d3f0a-86e8-7397-a63a-429579fa42ee" xlink:to="loc_srt_RangeMember_019d3f0a-86e8-7397-a63a-429579fa42ee_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019d3f0a-86e8-731c-9a49-ac78740c86ea" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_019d3f0a-86e8-7397-a63a-429579fa42ee" xlink:to="loc_srt_RangeMember_019d3f0a-86e8-731c-9a49-ac78740c86ea" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_019d3f0a-86e8-7d6e-b0dc-7cc61ad14d0a" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019d3f0a-86e8-731c-9a49-ac78740c86ea" xlink:to="loc_srt_MinimumMember_019d3f0a-86e8-7d6e-b0dc-7cc61ad14d0a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_019d3f0a-86e8-7a05-a98f-bd7ca5417401" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019d3f0a-86e8-731c-9a49-ac78740c86ea" xlink:to="loc_srt_MaximumMember_019d3f0a-86e8-7a05-a98f-bd7ca5417401" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_WeightedAverageMember_019d3f0a-86e8-78af-a35a-5299af4ab9b9" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_WeightedAverageMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019d3f0a-86e8-731c-9a49-ac78740c86ea" xlink:to="loc_srt_WeightedAverageMember_019d3f0a-86e8-78af-a35a-5299af4ab9b9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_LitigationCaseAxis_019d3f0a-86e8-7354-a660-d87a05a6ed27" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_LitigationCaseAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_019d3f0a-86e8-772d-aee2-7fb0db2d903c" xlink:to="loc_srt_LitigationCaseAxis_019d3f0a-86e8-7354-a660-d87a05a6ed27" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_LitigationCaseTypeDomain_019d3f0a-86e8-7354-a660-d87a05a6ed27_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_LitigationCaseTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_LitigationCaseAxis_019d3f0a-86e8-7354-a660-d87a05a6ed27" xlink:to="loc_srt_LitigationCaseTypeDomain_019d3f0a-86e8-7354-a660-d87a05a6ed27_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_LitigationCaseTypeDomain_019d3f0a-86e8-71ba-8782-06ad4685e791" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_LitigationCaseTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_LitigationCaseAxis_019d3f0a-86e8-7354-a660-d87a05a6ed27" xlink:to="loc_srt_LitigationCaseTypeDomain_019d3f0a-86e8-71ba-8782-06ad4685e791" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_MultiDistrictLitigationMember_019d3f0a-86e8-7c1b-887f-4b246e429f7d" xlink:href="unfi-20260502.xsd#unfi_MultiDistrictLitigationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_LitigationCaseTypeDomain_019d3f0a-86e8-71ba-8782-06ad4685e791" xlink:to="loc_unfi_MultiDistrictLitigationMember_019d3f0a-86e8-7c1b-887f-4b246e429f7d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_ComplaintFromVariousHealthPlansMember_019d3f0a-86e8-7192-bcdf-aed18d99a955" xlink:href="unfi-20260502.xsd#unfi_ComplaintFromVariousHealthPlansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_LitigationCaseTypeDomain_019d3f0a-86e8-71ba-8782-06ad4685e791" xlink:to="loc_unfi_ComplaintFromVariousHealthPlansMember_019d3f0a-86e8-7192-bcdf-aed18d99a955" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_SchutteandYarberryv.SuperValuNewAlbertsonsInc.etalMember_019d3f0a-86e8-74b6-9455-5bfa2a18c27d" xlink:href="unfi-20260502.xsd#unfi_SchutteandYarberryv.SuperValuNewAlbertsonsInc.etalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_LitigationCaseTypeDomain_019d3f0a-86e8-71ba-8782-06ad4685e791" xlink:to="loc_unfi_SchutteandYarberryv.SuperValuNewAlbertsonsInc.etalMember_019d3f0a-86e8-74b6-9455-5bfa2a18c27d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_DanSillsEtAl.V.UnitedNaturalFoodsInc.EtAlMember_019e72cb-d8b3-74a4-99ff-d989ecc98a5d" xlink:href="unfi-20260502.xsd#unfi_DanSillsEtAl.V.UnitedNaturalFoodsInc.EtAlMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_LitigationCaseTypeDomain_019d3f0a-86e8-71ba-8782-06ad4685e791" xlink:to="loc_unfi_DanSillsEtAl.V.UnitedNaturalFoodsInc.EtAlMember_019e72cb-d8b3-74a4-99ff-d989ecc98a5d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_GuarantorObligationsGuaranteesTerm_019d3f0a-86e8-72d2-bece-a0d568a54895" xlink:href="unfi-20260502.xsd#unfi_GuarantorObligationsGuaranteesTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_019d3f0a-86e8-796d-bfca-34e81a03e714" xlink:to="loc_unfi_GuarantorObligationsGuaranteesTerm_019d3f0a-86e8-72d2-bece-a0d568a54895" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsMaximumExposure_019d3f0a-86e8-7db4-8dc8-0e82e69a6af9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GuaranteeObligationsMaximumExposure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_019d3f0a-86e8-796d-bfca-34e81a03e714" xlink:to="loc_us-gaap_GuaranteeObligationsMaximumExposure_019d3f0a-86e8-7db4-8dc8-0e82e69a6af9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_GuarantorObligationsMaximumExposureDiscounted_019d3f0a-86e8-7d3e-b215-e744154ca363" xlink:href="unfi-20260502.xsd#unfi_GuarantorObligationsMaximumExposureDiscounted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_019d3f0a-86e8-796d-bfca-34e81a03e714" xlink:to="loc_unfi_GuarantorObligationsMaximumExposureDiscounted_019d3f0a-86e8-7d3e-b215-e744154ca363" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PurchaseObligation_019d3f0a-86e8-75b3-ac84-ac5542df9d1b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PurchaseObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_019d3f0a-86e8-796d-bfca-34e81a03e714" xlink:to="loc_us-gaap_PurchaseObligation_019d3f0a-86e8-75b3-ac84-ac5542df9d1b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingencyPendingClaimsNumber_019d3f0a-86e8-7062-a0b3-118f93f46fad" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LossContingencyPendingClaimsNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_019d3f0a-86e8-796d-bfca-34e81a03e714" xlink:to="loc_us-gaap_LossContingencyPendingClaimsNumber_019d3f0a-86e8-7062-a0b3-118f93f46fad" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LitigationSettlementAmountAwardedToOtherParty_019d3f0a-86e8-7dc4-94de-9996e05c52d4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LitigationSettlementAmountAwardedToOtherParty"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_019d3f0a-86e8-796d-bfca-34e81a03e714" xlink:to="loc_us-gaap_LitigationSettlementAmountAwardedToOtherParty_019d3f0a-86e8-7dc4-94de-9996e05c52d4" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingencyNewClaimsFiledNumber_019d3f0a-86e8-7997-9365-dd22506c7e84" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LossContingencyNewClaimsFiledNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_019d3f0a-86e8-796d-bfca-34e81a03e714" xlink:to="loc_us-gaap_LossContingencyNewClaimsFiledNumber_019d3f0a-86e8-7997-9365-dd22506c7e84" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingencyDamagesSoughtValue_019d3f0a-86e8-746c-91b1-3fcce5169270" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LossContingencyDamagesSoughtValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_019d3f0a-86e8-796d-bfca-34e81a03e714" xlink:to="loc_us-gaap_LossContingencyDamagesSoughtValue_019d3f0a-86e8-746c-91b1-3fcce5169270" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_LossContingencyShareofPotentialAwardValue_019d3f0a-86e8-73a9-b119-60994684479f" xlink:href="unfi-20260502.xsd#unfi_LossContingencyShareofPotentialAwardValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_019d3f0a-86e8-796d-bfca-34e81a03e714" xlink:to="loc_unfi_LossContingencyShareofPotentialAwardValue_019d3f0a-86e8-73a9-b119-60994684479f" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_LossContingencyNumberOfRelators_019e8d62-8773-773c-95e0-2c3f435fa2d8" xlink:href="unfi-20260502.xsd#unfi_LossContingencyNumberOfRelators"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_019d3f0a-86e8-796d-bfca-34e81a03e714" xlink:to="loc_unfi_LossContingencyNumberOfRelators_019e8d62-8773-773c-95e0-2c3f435fa2d8" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LitigationSettlementAmountAwardedToOtherParty_019e3f85-2c47-7a8d-8710-ecf2b703897e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LitigationSettlementAmountAwardedToOtherParty"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InsuranceSettlementsReceivable_019e9485-95db-7606-833c-ff4d27af3d5e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InsuranceSettlementsReceivable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_019d3f0a-86e8-796d-bfca-34e81a03e714" xlink:to="loc_us-gaap_InsuranceSettlementsReceivable_019e9485-95db-7606-833c-ff4d27af3d5e" xlink:type="arc" order="11"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.unfi.com/role/SUBSEQUENTEVENTSNarrativeDetails" xlink:type="simple" xlink:href="unfi-20260502.xsd#SUBSEQUENTEVENTSNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.unfi.com/role/SUBSEQUENTEVENTSNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventLineItems_019d3f0a-86e8-76f0-a118-2f7e8fece540" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SubsequentEventLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTable_019d3f0a-86e8-7158-b546-7c2aaee0047f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SubsequentEventTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SubsequentEventLineItems_019d3f0a-86e8-76f0-a118-2f7e8fece540" xlink:to="loc_us-gaap_SubsequentEventTable_019d3f0a-86e8-7158-b546-7c2aaee0047f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_019d3f0a-86e8-74d7-beb2-d2a226859763" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SubsequentEventTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_019d3f0a-86e8-7158-b546-7c2aaee0047f" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_019d3f0a-86e8-74d7-beb2-d2a226859763" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_019d3f0a-86e8-74d7-beb2-d2a226859763_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_019d3f0a-86e8-74d7-beb2-d2a226859763" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_019d3f0a-86e8-74d7-beb2-d2a226859763_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_019d3f0a-86e8-7880-8364-a39ca85e241b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_019d3f0a-86e8-74d7-beb2-d2a226859763" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_019d3f0a-86e8-7880-8364-a39ca85e241b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventMember_019d3f0a-86e8-7c56-9317-53f94d0ffada" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SubsequentEventMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_019d3f0a-86e8-7880-8364-a39ca85e241b" xlink:to="loc_us-gaap_SubsequentEventMember_019d3f0a-86e8-7c56-9317-53f94d0ffada" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementScenarioAxis_019e72ed-add0-79e7-a568-4f4d83d305ec" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_StatementScenarioAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_019d3f0a-86e8-7158-b546-7c2aaee0047f" xlink:to="loc_srt_StatementScenarioAxis_019e72ed-add0-79e7-a568-4f4d83d305ec" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_019e72ed-add0-79e7-a568-4f4d83d305ec_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementScenarioAxis_019e72ed-add0-79e7-a568-4f4d83d305ec" xlink:to="loc_srt_ScenarioUnspecifiedDomain_019e72ed-add0-79e7-a568-4f4d83d305ec_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_019e72ed-add0-7ad9-94c6-e4d29b944c21" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementScenarioAxis_019e72ed-add0-79e7-a568-4f4d83d305ec" xlink:to="loc_srt_ScenarioUnspecifiedDomain_019e72ed-add0-7ad9-94c6-e4d29b944c21" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioForecastMember_019e72ee-03e9-73a4-9ee8-df07cf59c019" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ScenarioForecastMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ScenarioUnspecifiedDomain_019e72ed-add0-7ad9-94c6-e4d29b944c21" xlink:to="loc_srt_ScenarioForecastMember_019e72ee-03e9-73a4-9ee8-df07cf59c019" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_unfi_GainLossOnDispositionOfPropertyPlantEquipmentNet_019e3f96-86d3-7089-82f2-ec20d66aae0e" xlink:href="unfi-20260502.xsd#unfi_GainLossOnDispositionOfPropertyPlantEquipmentNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_019d3f0a-86e8-76f0-a118-2f7e8fece540" xlink:to="loc_unfi_GainLossOnDispositionOfPropertyPlantEquipmentNet_019e3f96-86d3-7089-82f2-ec20d66aae0e" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fasb.org/srt/role/srt-eedm/ExtensibleEnumerationLists" xlink:type="simple" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-roles-2026.xsd#eedm1"/>
  <link:definitionLink xlink:role="http://fasb.org/srt/role/srt-eedm/ExtensibleEnumerationLists" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrentAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesCurrentAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent" xlink:type="arc" order="41"/>
  </link:definitionLink>
</link:linkbase>
