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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2024 Workiva-->
<!--r:645a4e25-ff86-4d31-800e-23df206a84d2,g:be2664c9-9ece-4c1e-a065-6e69af37ab72-->
<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.farmerbrosco.com/role/CONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY" xlink:type="simple" xlink:href="farm-20240630.xsd#CONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/CONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_536b15c6-7a4b-48b0-9d42-087649e0d38b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_fb809266-e732-4f2d-8662-f6df928b1999" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_536b15c6-7a4b-48b0-9d42-087649e0d38b" xlink:to="loc_us-gaap_StatementTable_fb809266-e732-4f2d-8662-f6df928b1999" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_6fbc8a63-800b-4c2d-8aea-4025b539e930" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_fb809266-e732-4f2d-8662-f6df928b1999" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_6fbc8a63-800b-4c2d-8aea-4025b539e930" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_6fbc8a63-800b-4c2d-8aea-4025b539e930_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_6fbc8a63-800b-4c2d-8aea-4025b539e930" xlink:to="loc_us-gaap_EquityComponentDomain_6fbc8a63-800b-4c2d-8aea-4025b539e930_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_ea263498-62c3-45d3-99ef-7c57e6192080" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_6fbc8a63-800b-4c2d-8aea-4025b539e930" xlink:to="loc_us-gaap_EquityComponentDomain_ea263498-62c3-45d3-99ef-7c57e6192080" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockMember_f44480cf-960a-4f30-86f2-fa99b12762a9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_ea263498-62c3-45d3-99ef-7c57e6192080" xlink:to="loc_us-gaap_PreferredStockMember_f44480cf-960a-4f30-86f2-fa99b12762a9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_f5ccf742-ea04-40a9-8e4d-c721371d6cd6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_ea263498-62c3-45d3-99ef-7c57e6192080" xlink:to="loc_us-gaap_CommonStockMember_f5ccf742-ea04-40a9-8e4d-c721371d6cd6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_ba093ca8-885d-4580-a3a1-cb3e83767266" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_ea263498-62c3-45d3-99ef-7c57e6192080" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_ba093ca8-885d-4580-a3a1-cb3e83767266" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_a341fabb-646c-45ab-82a6-5842c1a07fb6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_ea263498-62c3-45d3-99ef-7c57e6192080" xlink:to="loc_us-gaap_RetainedEarningsMember_a341fabb-646c-45ab-82a6-5842c1a07fb6" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_d0307a8a-28e9-4ef7-b206-fad3c0cf12d5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_ea263498-62c3-45d3-99ef-7c57e6192080" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_d0307a8a-28e9-4ef7-b206-fad3c0cf12d5" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_6d416ed5-524f-4a03-88fe-f1c9e3f59d2d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_536b15c6-7a4b-48b0-9d42-087649e0d38b" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_6d416ed5-524f-4a03-88fe-f1c9e3f59d2d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesIssued_fd68a68c-c23b-4ef0-ab74-d13acfa20a92" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_6d416ed5-524f-4a03-88fe-f1c9e3f59d2d" xlink:to="loc_us-gaap_SharesIssued_fd68a68c-c23b-4ef0-ab74-d13acfa20a92" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_9be6f1e7-5753-457d-9b9f-255b1eadc95a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_6d416ed5-524f-4a03-88fe-f1c9e3f59d2d" xlink:to="loc_us-gaap_StockholdersEquity_9be6f1e7-5753-457d-9b9f-255b1eadc95a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_cb417d91-a8f9-47c1-82c4-b25e21db7d69" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_6d416ed5-524f-4a03-88fe-f1c9e3f59d2d" xlink:to="loc_us-gaap_NetIncomeLoss_cb417d91-a8f9-47c1-82c4-b25e21db7d69" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_ddfcfbbc-8dec-4510-bb30-a9d799abd215" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_6d416ed5-524f-4a03-88fe-f1c9e3f59d2d" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent_ddfcfbbc-8dec-4510-bb30-a9d799abd215" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_4593beea-dcf1-4a40-b48a-e896d3291ab5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_6d416ed5-524f-4a03-88fe-f1c9e3f59d2d" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansAdjustmentNetOfTaxPortionAttributableToParent_4593beea-dcf1-4a40-b48a-e896d3291ab5" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationEmployeeStockOwnershipProgramRequisiteServicePeriodRecognitionShares_a8b15fba-1d40-4c23-84c2-de012966620f" xlink:href="farm-20240630.xsd#farm_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationEmployeeStockOwnershipProgramRequisiteServicePeriodRecognitionShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_6d416ed5-524f-4a03-88fe-f1c9e3f59d2d" xlink:to="loc_farm_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationEmployeeStockOwnershipProgramRequisiteServicePeriodRecognitionShares_a8b15fba-1d40-4c23-84c2-de012966620f" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationEmployeeStockOwnershipProgramRequisiteServicePeriodRecognition_f7d4fcd8-137f-4af2-b360-dda7be1ac280" xlink:href="farm-20240630.xsd#farm_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationEmployeeStockOwnershipProgramRequisiteServicePeriodRecognition"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_6d416ed5-524f-4a03-88fe-f1c9e3f59d2d" xlink:to="loc_farm_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationEmployeeStockOwnershipProgramRequisiteServicePeriodRecognition_f7d4fcd8-137f-4af2-b360-dda7be1ac280" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_708b7351-e468-4355-98ea-84af3d314813" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_6d416ed5-524f-4a03-88fe-f1c9e3f59d2d" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_708b7351-e468-4355-98ea-84af3d314813" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_73c6a2b9-9dc7-400d-8620-fec2d2c6fe8d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_6d416ed5-524f-4a03-88fe-f1c9e3f59d2d" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_73c6a2b9-9dc7-400d-8620-fec2d2c6fe8d" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_07257b97-bebb-46ce-9725-9b39c9106d55" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_6d416ed5-524f-4a03-88fe-f1c9e3f59d2d" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_07257b97-bebb-46ce-9725-9b39c9106d55" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_DividendsPaidInKindNetOfAdjustments_c6639f5a-26ef-44b0-b329-afdbbbd00b41" xlink:href="farm-20240630.xsd#farm_DividendsPaidInKindNetOfAdjustments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_6d416ed5-524f-4a03-88fe-f1c9e3f59d2d" xlink:to="loc_farm_DividendsPaidInKindNetOfAdjustments_c6639f5a-26ef-44b0-b329-afdbbbd00b41" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_DividendsPaidInKindShares_57d93025-ae3f-49d1-a273-d6005feded21" xlink:href="farm-20240630.xsd#farm_DividendsPaidInKindShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_6d416ed5-524f-4a03-88fe-f1c9e3f59d2d" xlink:to="loc_farm_DividendsPaidInKindShares_57d93025-ae3f-49d1-a273-d6005feded21" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalDividendsInExcessOfRetainedEarnings_e1d3fbfc-a4d8-4c4b-9bf9-f95ab90cafb3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalDividendsInExcessOfRetainedEarnings"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_6d416ed5-524f-4a03-88fe-f1c9e3f59d2d" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalDividendsInExcessOfRetainedEarnings_e1d3fbfc-a4d8-4c4b-9bf9-f95ab90cafb3" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesIssued_0a31fae5-fe4d-4524-9839-f33a7627fd23" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SharesIssued"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_1cba4999-1b2c-47ab-9975-a9976f2300a3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquity"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/IntroductionandBasisofPresentationDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#IntroductionandBasisofPresentationDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/IntroductionandBasisofPresentationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstatePropertiesLineItems_1d97a0d0-4b8a-4a77-a0aa-64f4e39eb661" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RealEstatePropertiesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRealEstatePropertiesTable_6f1c18ca-02fd-4018-91fc-63125bd1ccc5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfRealEstatePropertiesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RealEstatePropertiesLineItems_1d97a0d0-4b8a-4a77-a0aa-64f4e39eb661" xlink:to="loc_us-gaap_ScheduleOfRealEstatePropertiesTable_6f1c18ca-02fd-4018-91fc-63125bd1ccc5" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_d7ac9755-7090-4505-a636-4b0ccb2088d2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRealEstatePropertiesTable_6f1c18ca-02fd-4018-91fc-63125bd1ccc5" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_d7ac9755-7090-4505-a636-4b0ccb2088d2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_d7ac9755-7090-4505-a636-4b0ccb2088d2_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_d7ac9755-7090-4505-a636-4b0ccb2088d2" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_d7ac9755-7090-4505-a636-4b0ccb2088d2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_37d82749-0ccc-498b-9a57-a1a41a25dda5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_d7ac9755-7090-4505-a636-4b0ccb2088d2" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_37d82749-0ccc-498b-9a57-a1a41a25dda5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_BranchWarehousesMember_b1d121aa-599a-45ca-984a-4b13a5fc52f0" xlink:href="farm-20240630.xsd#farm_BranchWarehousesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_37d82749-0ccc-498b-9a57-a1a41a25dda5" xlink:to="loc_farm_BranchWarehousesMember_b1d121aa-599a-45ca-984a-4b13a5fc52f0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NumberOfOperatingSegments_27b6c9a5-60fc-4bda-a311-658cb624155d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NumberOfOperatingSegments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RealEstatePropertiesLineItems_1d97a0d0-4b8a-4a77-a0aa-64f4e39eb661" xlink:to="loc_us-gaap_NumberOfOperatingSegments_27b6c9a5-60fc-4bda-a311-658cb624155d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_Numberofdeliveryroutes_54ecba70-8f07-42ab-b045-44b26692c232" xlink:href="farm-20240630.xsd#farm_Numberofdeliveryroutes"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RealEstatePropertiesLineItems_1d97a0d0-4b8a-4a77-a0aa-64f4e39eb661" xlink:to="loc_farm_Numberofdeliveryroutes_54ecba70-8f07-42ab-b045-44b26692c232" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NumberOfRealEstateProperties_73c84924-29b8-4e89-9ffc-16efa6cfe00a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NumberOfRealEstateProperties"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RealEstatePropertiesLineItems_1d97a0d0-4b8a-4a77-a0aa-64f4e39eb661" xlink:to="loc_us-gaap_NumberOfRealEstateProperties_73c84924-29b8-4e89-9ffc-16efa6cfe00a" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/SummaryofSignificantAccountingPoliciesNarrativeDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#SummaryofSignificantAccountingPoliciesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/SummaryofSignificantAccountingPoliciesNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_6e9f9a9c-baa2-4f13-8c18-3057172b5394" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_a5fe73d7-d0f2-496b-bfee-55e7f8c334f4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_6e9f9a9c-baa2-4f13-8c18-3057172b5394" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_a5fe73d7-d0f2-496b-bfee-55e7f8c334f4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MajorCustomersAxis_47897c12-0e3b-46cc-ae89-0b9f6f7fea4b" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MajorCustomersAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_a5fe73d7-d0f2-496b-bfee-55e7f8c334f4" xlink:to="loc_srt_MajorCustomersAxis_47897c12-0e3b-46cc-ae89-0b9f6f7fea4b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_47897c12-0e3b-46cc-ae89-0b9f6f7fea4b_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_MajorCustomersAxis_47897c12-0e3b-46cc-ae89-0b9f6f7fea4b" xlink:to="loc_srt_NameOfMajorCustomerDomain_47897c12-0e3b-46cc-ae89-0b9f6f7fea4b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_f730ccee-9cb2-4a2a-9aeb-4badd7225af9" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_MajorCustomersAxis_47897c12-0e3b-46cc-ae89-0b9f6f7fea4b" xlink:to="loc_srt_NameOfMajorCustomerDomain_f730ccee-9cb2-4a2a-9aeb-4badd7225af9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_FiveCustomersMember_fc50e1a4-99c1-49cf-916f-899d46845502" xlink:href="farm-20240630.xsd#farm_FiveCustomersMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_f730ccee-9cb2-4a2a-9aeb-4badd7225af9" xlink:to="loc_farm_FiveCustomersMember_fc50e1a4-99c1-49cf-916f-899d46845502" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1f72d24d-ff8f-43e7-8291-44c56621710b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_a5fe73d7-d0f2-496b-bfee-55e7f8c334f4" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1f72d24d-ff8f-43e7-8291-44c56621710b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1f72d24d-ff8f-43e7-8291-44c56621710b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1f72d24d-ff8f-43e7-8291-44c56621710b" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1f72d24d-ff8f-43e7-8291-44c56621710b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_2dff171f-81ff-4c87-8c9d-8fad5473f84f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_1f72d24d-ff8f-43e7-8291-44c56621710b" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_2dff171f-81ff-4c87-8c9d-8fad5473f84f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BuildingMember_c590dd83-a6e8-4784-a4ec-0ef07276845b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BuildingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_2dff171f-81ff-4c87-8c9d-8fad5473f84f" xlink:to="loc_us-gaap_BuildingMember_c590dd83-a6e8-4784-a4ec-0ef07276845b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MachineryAndEquipmentMember_a7710fbc-896b-4aff-8aa9-794d1cb0dfb0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_MachineryAndEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_2dff171f-81ff-4c87-8c9d-8fad5473f84f" xlink:to="loc_us-gaap_MachineryAndEquipmentMember_a7710fbc-896b-4aff-8aa9-794d1cb0dfb0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_3f0a201e-55f8-4144-83f7-2fca07c2b4ec" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FurnitureAndFixturesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_2dff171f-81ff-4c87-8c9d-8fad5473f84f" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_3f0a201e-55f8-4144-83f7-2fca07c2b4ec" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_02c49965-a68a-4cb6-8008-4d3a3e975c34" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SoftwareAndSoftwareDevelopmentCostsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_2dff171f-81ff-4c87-8c9d-8fad5473f84f" xlink:to="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_02c49965-a68a-4cb6-8008-4d3a3e975c34" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_5732525d-f929-4b05-9bcc-77d348ae2bda" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_a5fe73d7-d0f2-496b-bfee-55e7f8c334f4" xlink:to="loc_srt_ProductOrServiceAxis_5732525d-f929-4b05-9bcc-77d348ae2bda" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_5732525d-f929-4b05-9bcc-77d348ae2bda_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_5732525d-f929-4b05-9bcc-77d348ae2bda" xlink:to="loc_srt_ProductsAndServicesDomain_5732525d-f929-4b05-9bcc-77d348ae2bda_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_d3ef3809-b9c6-4d32-9da4-0a1b8cf7d262" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_5732525d-f929-4b05-9bcc-77d348ae2bda" xlink:to="loc_srt_ProductsAndServicesDomain_d3ef3809-b9c6-4d32-9da4-0a1b8cf7d262" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_CoffeeBrewingEquipmentMember_9ffe1ad2-1fb0-47f9-973e-ab757ce4c449" xlink:href="farm-20240630.xsd#farm_CoffeeBrewingEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_d3ef3809-b9c6-4d32-9da4-0a1b8cf7d262" xlink:to="loc_farm_CoffeeBrewingEquipmentMember_9ffe1ad2-1fb0-47f9-973e-ab757ce4c449" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_72498641-0648-4700-8254-2df3a0e5217f" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_a5fe73d7-d0f2-496b-bfee-55e7f8c334f4" xlink:to="loc_srt_RangeAxis_72498641-0648-4700-8254-2df3a0e5217f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_72498641-0648-4700-8254-2df3a0e5217f_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_72498641-0648-4700-8254-2df3a0e5217f" xlink:to="loc_srt_RangeMember_72498641-0648-4700-8254-2df3a0e5217f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_c614ff84-b9b3-49d7-b069-9c12c58b6835" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_72498641-0648-4700-8254-2df3a0e5217f" xlink:to="loc_srt_RangeMember_c614ff84-b9b3-49d7-b069-9c12c58b6835" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_01b8e9db-e20a-4535-b56a-fd35977ad311" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_c614ff84-b9b3-49d7-b069-9c12c58b6835" xlink:to="loc_srt_MinimumMember_01b8e9db-e20a-4535-b56a-fd35977ad311" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_786ab2b7-eff8-4c3b-a591-825270ec7c3e" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_c614ff84-b9b3-49d7-b069-9c12c58b6835" xlink:to="loc_srt_MaximumMember_786ab2b7-eff8-4c3b-a591-825270ec7c3e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_0ca12797-8129-42c1-b94f-2ee18dc4f90c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_a5fe73d7-d0f2-496b-bfee-55e7f8c334f4" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_0ca12797-8129-42c1-b94f-2ee18dc4f90c" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_0ca12797-8129-42c1-b94f-2ee18dc4f90c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_0ca12797-8129-42c1-b94f-2ee18dc4f90c" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_0ca12797-8129-42c1-b94f-2ee18dc4f90c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_6f784b4e-5d30-4d79-b644-17635c9b2618" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_0ca12797-8129-42c1-b94f-2ee18dc4f90c" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_6f784b4e-5d30-4d79-b644-17635c9b2618" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_AccountsReceivableBenchmarkMember_47bd9bd3-833d-421d-a462-74552e599879" xlink:href="farm-20240630.xsd#farm_AccountsReceivableBenchmarkMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_6f784b4e-5d30-4d79-b644-17635c9b2618" xlink:to="loc_farm_AccountsReceivableBenchmarkMember_47bd9bd3-833d-421d-a462-74552e599879" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_5b68be94-9366-4d0c-8f90-128058964f50" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LossContingenciesByNatureOfContingencyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_a5fe73d7-d0f2-496b-bfee-55e7f8c334f4" xlink:to="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_5b68be94-9366-4d0c-8f90-128058964f50" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingencyNatureDomain_5b68be94-9366-4d0c-8f90-128058964f50_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LossContingencyNatureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_5b68be94-9366-4d0c-8f90-128058964f50" xlink:to="loc_us-gaap_LossContingencyNatureDomain_5b68be94-9366-4d0c-8f90-128058964f50_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingencyNatureDomain_ee7efb30-88b9-466a-8b71-b870e82871d6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LossContingencyNatureDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_5b68be94-9366-4d0c-8f90-128058964f50" xlink:to="loc_us-gaap_LossContingencyNatureDomain_ee7efb30-88b9-466a-8b71-b870e82871d6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialStandbyLetterOfCreditMember_bc70d180-9fc0-40fb-911e-91dbd37758c2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FinancialStandbyLetterOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingencyNatureDomain_ee7efb30-88b9-466a-8b71-b870e82871d6" xlink:to="loc_us-gaap_FinancialStandbyLetterOfCreditMember_bc70d180-9fc0-40fb-911e-91dbd37758c2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_8b088b5b-9fa3-47ff-8ef2-f557ffbe94d8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ConcentrationRiskByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_a5fe73d7-d0f2-496b-bfee-55e7f8c334f4" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_8b088b5b-9fa3-47ff-8ef2-f557ffbe94d8" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_8b088b5b-9fa3-47ff-8ef2-f557ffbe94d8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_8b088b5b-9fa3-47ff-8ef2-f557ffbe94d8" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_8b088b5b-9fa3-47ff-8ef2-f557ffbe94d8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_870bce03-af7a-40a2-8102-2919e67f13eb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_8b088b5b-9fa3-47ff-8ef2-f557ffbe94d8" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_870bce03-af7a-40a2-8102-2919e67f13eb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerConcentrationRiskMember_d621aa63-a85a-42b7-9d22-11b532880293" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CustomerConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_870bce03-af7a-40a2-8102-2919e67f13eb" xlink:to="loc_us-gaap_CustomerConcentrationRiskMember_d621aa63-a85a-42b7-9d22-11b532880293" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_02c4a21c-951e-41dc-ac5e-02e4b0d56b6b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_6e9f9a9c-baa2-4f13-8c18-3057172b5394" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_02c4a21c-951e-41dc-ac5e-02e4b0d56b6b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_OperatingLeaseRemainingContractualTerm_d04fc863-ff8e-4560-a9c8-20ea66addd1b" xlink:href="farm-20240630.xsd#farm_OperatingLeaseRemainingContractualTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_6e9f9a9c-baa2-4f13-8c18-3057172b5394" xlink:to="loc_farm_OperatingLeaseRemainingContractualTerm_d04fc863-ff8e-4560-a9c8-20ea66addd1b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_OperatingLeaseExtensionTerm_9e055c86-d0b1-40b3-b875-09daae32ee40" xlink:href="farm-20240630.xsd#farm_OperatingLeaseExtensionTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_6e9f9a9c-baa2-4f13-8c18-3057172b5394" xlink:to="loc_farm_OperatingLeaseExtensionTerm_9e055c86-d0b1-40b3-b875-09daae32ee40" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_2a241a24-ca09-4fed-ade1-609911f4af15" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ConcentrationRiskPercentage1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_6e9f9a9c-baa2-4f13-8c18-3057172b5394" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_2a241a24-ca09-4fed-ade1-609911f4af15" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_PercentOfWorkforceCoveredByCollectiveBargainingAgreement_7304ebca-5ad8-4e8f-a4fb-d794834da442" xlink:href="farm-20240630.xsd#farm_PercentOfWorkforceCoveredByCollectiveBargainingAgreement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_6e9f9a9c-baa2-4f13-8c18-3057172b5394" xlink:to="loc_farm_PercentOfWorkforceCoveredByCollectiveBargainingAgreement_7304ebca-5ad8-4e8f-a4fb-d794834da442" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WorkersCompensationLiabilityCurrentAndNoncurrent_2415d553-299f-4caa-b4e3-3c957774ab99" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_WorkersCompensationLiabilityCurrentAndNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_6e9f9a9c-baa2-4f13-8c18-3057172b5394" xlink:to="loc_us-gaap_WorkersCompensationLiabilityCurrentAndNoncurrent_2415d553-299f-4caa-b4e3-3c957774ab99" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReinsuranceRecoverables_d03d5ccd-047b-4001-bcf9-2f2a64e28945" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ReinsuranceRecoverables"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_6e9f9a9c-baa2-4f13-8c18-3057172b5394" xlink:to="loc_us-gaap_ReinsuranceRecoverables_d03d5ccd-047b-4001-bcf9-2f2a64e28945" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingencyUndiscountedAmountOfInsuranceRelatedAssessmentLiability_ee1bda1d-bac1-4b17-91de-9e6ed2e5a8d5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LossContingencyUndiscountedAmountOfInsuranceRelatedAssessmentLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_6e9f9a9c-baa2-4f13-8c18-3057172b5394" xlink:to="loc_us-gaap_LossContingencyUndiscountedAmountOfInsuranceRelatedAssessmentLiability_ee1bda1d-bac1-4b17-91de-9e6ed2e5a8d5" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_GroupMedicalInsuranceLiability_1825da9d-3157-46a6-a1be-64b5c3d86c74" xlink:href="farm-20240630.xsd#farm_GroupMedicalInsuranceLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_6e9f9a9c-baa2-4f13-8c18-3057172b5394" xlink:to="loc_farm_GroupMedicalInsuranceLiability_1825da9d-3157-46a6-a1be-64b5c3d86c74" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpense_3b79015f-fd86-4086-b3fa-a5888c6107b5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_6e9f9a9c-baa2-4f13-8c18-3057172b5394" xlink:to="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpense_3b79015f-fd86-4086-b3fa-a5888c6107b5" xlink:type="arc" order="9"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/DiscontinuedOperationsNarrativeDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#DiscontinuedOperationsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/DiscontinuedOperationsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_f0ceb753-75c5-4c2a-8c7b-15abfb93e7f7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_cce3a671-94e7-4dd6-8e14-563783c92b8b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_f0ceb753-75c5-4c2a-8c7b-15abfb93e7f7" xlink:to="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_cce3a671-94e7-4dd6-8e14-563783c92b8b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupClassificationAxis_d6e24f6f-b609-498f-8d80-8f222b50c7e6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupClassificationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_cce3a671-94e7-4dd6-8e14-563783c92b8b" xlink:to="loc_us-gaap_DisposalGroupClassificationAxis_d6e24f6f-b609-498f-8d80-8f222b50c7e6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupClassificationDomain_d6e24f6f-b609-498f-8d80-8f222b50c7e6_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupClassificationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DisposalGroupClassificationAxis_d6e24f6f-b609-498f-8d80-8f222b50c7e6" xlink:to="loc_us-gaap_DisposalGroupClassificationDomain_d6e24f6f-b609-498f-8d80-8f222b50c7e6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupClassificationDomain_4486633e-3fd0-460b-861a-88dc9f7efee0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupClassificationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DisposalGroupClassificationAxis_d6e24f6f-b609-498f-8d80-8f222b50c7e6" xlink:to="loc_us-gaap_DisposalGroupClassificationDomain_4486633e-3fd0-460b-861a-88dc9f7efee0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationsDisposedOfBySaleMember_e568a381-8f15-4c2f-9f88-4659cea016c3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DiscontinuedOperationsDisposedOfBySaleMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisposalGroupClassificationDomain_4486633e-3fd0-460b-861a-88dc9f7efee0" xlink:to="loc_us-gaap_DiscontinuedOperationsDisposedOfBySaleMember_e568a381-8f15-4c2f-9f88-4659cea016c3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_d549c762-4ca4-427a-92b5-3b0104de29ae" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_cce3a671-94e7-4dd6-8e14-563783c92b8b" xlink:to="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_d549c762-4ca4-427a-92b5-3b0104de29ae" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_d549c762-4ca4-427a-92b5-3b0104de29ae_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_d549c762-4ca4-427a-92b5-3b0104de29ae" xlink:to="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_d549c762-4ca4-427a-92b5-3b0104de29ae_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_5f0c36a2-dd7e-47af-b37e-3e616831998e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis_d549c762-4ca4-427a-92b5-3b0104de29ae" xlink:to="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_5f0c36a2-dd7e-47af-b37e-3e616831998e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_DirectShipAndPrivateLabelBusinessMember_26aa6167-445f-4b37-97b3-66194777ec2d" xlink:href="farm-20240630.xsd#farm_DirectShipAndPrivateLabelBusinessMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisposalGroupsIncludingDiscontinuedOperationsNameDomain_5f0c36a2-dd7e-47af-b37e-3e616831998e" xlink:to="loc_farm_DirectShipAndPrivateLabelBusinessMember_26aa6167-445f-4b37-97b3-66194777ec2d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationConsideration_a5974300-7fca-4f42-b1ec-62e8073bb13a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationConsideration"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_f0ceb753-75c5-4c2a-8c7b-15abfb93e7f7" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationConsideration_a5974300-7fca-4f42-b1ec-62e8073bb13a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EscrowDeposit_7c85d7e9-3fde-41ba-afc5-4e24ffcc2a7f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EscrowDeposit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_f0ceb753-75c5-4c2a-8c7b-15abfb93e7f7" xlink:to="loc_us-gaap_EscrowDeposit_7c85d7e9-3fde-41ba-afc5-4e24ffcc2a7f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationGainLossOnDisposalOfDiscontinuedOperationNetOfTax_067b4a57-9941-4e4f-afd7-64b694ee05ed" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DiscontinuedOperationGainLossOnDisposalOfDiscontinuedOperationNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_f0ceb753-75c5-4c2a-8c7b-15abfb93e7f7" xlink:to="loc_us-gaap_DiscontinuedOperationGainLossOnDisposalOfDiscontinuedOperationNetOfTax_067b4a57-9941-4e4f-afd7-64b694ee05ed" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_DisposalGroupIncludingDiscontinuedOperationTransactionCosts_e6f940cf-137e-4251-90c2-906a0606c48c" xlink:href="farm-20240630.xsd#farm_DisposalGroupIncludingDiscontinuedOperationTransactionCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_f0ceb753-75c5-4c2a-8c7b-15abfb93e7f7" xlink:to="loc_farm_DisposalGroupIncludingDiscontinuedOperationTransactionCosts_e6f940cf-137e-4251-90c2-906a0606c48c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationGainLossOnDisposalStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration_306fae5c-7e56-4d86-9285-371d913053b1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DiscontinuedOperationGainLossOnDisposalStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_f0ceb753-75c5-4c2a-8c7b-15abfb93e7f7" xlink:to="loc_us-gaap_DiscontinuedOperationGainLossOnDisposalStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration_306fae5c-7e56-4d86-9285-371d913053b1" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/DiscontinuedOperationsScheduleofConsolidatedOperationsDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#DiscontinuedOperationsScheduleofConsolidatedOperationsDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/DiscontinuedOperationsScheduleofConsolidatedOperationsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_56fa628a-b29a-4404-9f44-9fd18ba6ecb3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_02d3ba6f-ccdd-4299-bdad-210ad480430d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_56fa628a-b29a-4404-9f44-9fd18ba6ecb3" xlink:to="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_02d3ba6f-ccdd-4299-bdad-210ad480430d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupClassificationAxis_88fb19f0-ba0a-4e5a-877d-c81fa14358d6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupClassificationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_02d3ba6f-ccdd-4299-bdad-210ad480430d" xlink:to="loc_us-gaap_DisposalGroupClassificationAxis_88fb19f0-ba0a-4e5a-877d-c81fa14358d6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupClassificationDomain_88fb19f0-ba0a-4e5a-877d-c81fa14358d6_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupClassificationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DisposalGroupClassificationAxis_88fb19f0-ba0a-4e5a-877d-c81fa14358d6" xlink:to="loc_us-gaap_DisposalGroupClassificationDomain_88fb19f0-ba0a-4e5a-877d-c81fa14358d6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupClassificationDomain_7dc1292c-1b21-4b26-adde-ae89e1e159f3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupClassificationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DisposalGroupClassificationAxis_88fb19f0-ba0a-4e5a-877d-c81fa14358d6" xlink:to="loc_us-gaap_DisposalGroupClassificationDomain_7dc1292c-1b21-4b26-adde-ae89e1e159f3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationsDisposedOfBySaleMember_fdacd2a1-2b55-4d5f-8d17-63bff519bd0a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DiscontinuedOperationsDisposedOfBySaleMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisposalGroupClassificationDomain_7dc1292c-1b21-4b26-adde-ae89e1e159f3" xlink:to="loc_us-gaap_DiscontinuedOperationsDisposedOfBySaleMember_fdacd2a1-2b55-4d5f-8d17-63bff519bd0a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue_b575e41f-4adc-4167-b8c7-ceefe6f61072" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_56fa628a-b29a-4404-9f44-9fd18ba6ecb3" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue_b575e41f-4adc-4167-b8c7-ceefe6f61072" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold_c0c3a5d9-bb3a-44cc-9886-583b6c320aa1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_56fa628a-b29a-4404-9f44-9fd18ba6ecb3" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold_c0c3a5d9-bb3a-44cc-9886-583b6c320aa1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss_98239597-f499-4c66-aadd-69688d5260da" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_56fa628a-b29a-4404-9f44-9fd18ba6ecb3" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss_98239597-f499-4c66-aadd-69688d5260da" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_DisposalGroupIncludingDiscontinuedOperationSellingExpense_c515014f-13f0-422b-9d34-6e8ae3923e48" xlink:href="farm-20240630.xsd#farm_DisposalGroupIncludingDiscontinuedOperationSellingExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_56fa628a-b29a-4404-9f44-9fd18ba6ecb3" xlink:to="loc_farm_DisposalGroupIncludingDiscontinuedOperationSellingExpense_c515014f-13f0-422b-9d34-6e8ae3923e48" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense_8a1b94f2-cd9f-459f-a8cf-785d1579bd8b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_56fa628a-b29a-4404-9f44-9fd18ba6ecb3" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationGeneralAndAdministrativeExpense_8a1b94f2-cd9f-459f-a8cf-785d1579bd8b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_DisposalGroupIncludingDiscontinuedOperationGainLossOnSaleOfAsset_9d4124ec-cfdc-4e46-a70e-cc34bd83a1f1" xlink:href="farm-20240630.xsd#farm_DisposalGroupIncludingDiscontinuedOperationGainLossOnSaleOfAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_56fa628a-b29a-4404-9f44-9fd18ba6ecb3" xlink:to="loc_farm_DisposalGroupIncludingDiscontinuedOperationGainLossOnSaleOfAsset_9d4124ec-cfdc-4e46-a70e-cc34bd83a1f1" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingExpense_f8f20d76-e4e1-4bad-bd69-2740f4664a2c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_56fa628a-b29a-4404-9f44-9fd18ba6ecb3" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingExpense_f8f20d76-e4e1-4bad-bd69-2740f4664a2c" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingIncomeLoss_06c84936-2a76-4fec-994b-d47d76809079" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_56fa628a-b29a-4404-9f44-9fd18ba6ecb3" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingIncomeLoss_06c84936-2a76-4fec-994b-d47d76809079" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupNotDiscontinuedOperationIncomeStatementDisclosuresAbstract_23737997-7ff9-45a8-8a36-cb19cb181b19" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupNotDiscontinuedOperationIncomeStatementDisclosuresAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_56fa628a-b29a-4404-9f44-9fd18ba6ecb3" xlink:to="loc_us-gaap_DisposalGroupNotDiscontinuedOperationIncomeStatementDisclosuresAbstract_23737997-7ff9-45a8-8a36-cb19cb181b19" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationInterestExpense_4f440448-b520-463a-b22a-78c71703a53c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationInterestExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisposalGroupNotDiscontinuedOperationIncomeStatementDisclosuresAbstract_23737997-7ff9-45a8-8a36-cb19cb181b19" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationInterestExpense_4f440448-b520-463a-b22a-78c71703a53c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_DisposalGroupIncludingDiscontinuedOperationOtherIncomeExpense_48ffb751-363b-43c4-b68e-faeeef51617d" xlink:href="farm-20240630.xsd#farm_DisposalGroupIncludingDiscontinuedOperationOtherIncomeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisposalGroupNotDiscontinuedOperationIncomeStatementDisclosuresAbstract_23737997-7ff9-45a8-8a36-cb19cb181b19" xlink:to="loc_farm_DisposalGroupIncludingDiscontinuedOperationOtherIncomeExpense_48ffb751-363b-43c4-b68e-faeeef51617d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_DisposalGroupIncludingDiscontinuedOperationNonoperatingIncomeExpense_b420d90b-4a56-46ab-8d7c-b24efbb91d7f" xlink:href="farm-20240630.xsd#farm_DisposalGroupIncludingDiscontinuedOperationNonoperatingIncomeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisposalGroupNotDiscontinuedOperationIncomeStatementDisclosuresAbstract_23737997-7ff9-45a8-8a36-cb19cb181b19" xlink:to="loc_farm_DisposalGroupIncludingDiscontinuedOperationNonoperatingIncomeExpense_b420d90b-4a56-46ab-8d7c-b24efbb91d7f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax_e11cda2e-a162-49b2-a083-b0a7c8c5bd6f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_56fa628a-b29a-4404-9f44-9fd18ba6ecb3" xlink:to="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax_e11cda2e-a162-49b2-a083-b0a7c8c5bd6f" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation_6fa23429-1847-45fb-942a-d93baa97a017" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_56fa628a-b29a-4404-9f44-9fd18ba6ecb3" xlink:to="loc_us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation_6fa23429-1847-45fb-942a-d93baa97a017" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_f7cf9bf8-83cf-4c91-b0bf-df16a383b60a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_56fa628a-b29a-4404-9f44-9fd18ba6ecb3" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_f7cf9bf8-83cf-4c91-b0bf-df16a383b60a" xlink:type="arc" order="11"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/DiscontinuedOperationsSummaryofCashFlowDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#DiscontinuedOperationsSummaryofCashFlowDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/DiscontinuedOperationsSummaryofCashFlowDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_4a1fea30-c0bf-411d-9e41-9765a3a24be3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_27d4ab0d-1cc7-4555-adff-baeeecb2a033" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_4a1fea30-c0bf-411d-9e41-9765a3a24be3" xlink:to="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_27d4ab0d-1cc7-4555-adff-baeeecb2a033" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupClassificationAxis_5b915bfe-dbf1-4a03-b94c-2860798d112c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupClassificationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_27d4ab0d-1cc7-4555-adff-baeeecb2a033" xlink:to="loc_us-gaap_DisposalGroupClassificationAxis_5b915bfe-dbf1-4a03-b94c-2860798d112c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupClassificationDomain_5b915bfe-dbf1-4a03-b94c-2860798d112c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupClassificationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DisposalGroupClassificationAxis_5b915bfe-dbf1-4a03-b94c-2860798d112c" xlink:to="loc_us-gaap_DisposalGroupClassificationDomain_5b915bfe-dbf1-4a03-b94c-2860798d112c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupClassificationDomain_623f53fa-3dd9-4593-a37d-9e0a51ec06a9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisposalGroupClassificationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DisposalGroupClassificationAxis_5b915bfe-dbf1-4a03-b94c-2860798d112c" xlink:to="loc_us-gaap_DisposalGroupClassificationDomain_623f53fa-3dd9-4593-a37d-9e0a51ec06a9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationsDisposedOfBySaleMember_301350d4-19cb-4cae-b11e-fbdbea93643f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DiscontinuedOperationsDisposedOfBySaleMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisposalGroupClassificationDomain_623f53fa-3dd9-4593-a37d-9e0a51ec06a9" xlink:to="loc_us-gaap_DiscontinuedOperationsDisposedOfBySaleMember_301350d4-19cb-4cae-b11e-fbdbea93643f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations_df9bc1dd-4e26-479b-8eac-b720df51362b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_4a1fea30-c0bf-411d-9e41-9765a3a24be3" xlink:to="loc_us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations_df9bc1dd-4e26-479b-8eac-b720df51362b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashProvidedByUsedInInvestingActivitiesDiscontinuedOperations_e356ee20-dca2-4975-98d4-54c1303c444f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashProvidedByUsedInInvestingActivitiesDiscontinuedOperations"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_4a1fea30-c0bf-411d-9e41-9765a3a24be3" xlink:to="loc_us-gaap_CashProvidedByUsedInInvestingActivitiesDiscontinuedOperations_e356ee20-dca2-4975-98d4-54c1303c444f" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/SalesofAssetsHeldforSaleDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#SalesofAssetsHeldforSaleDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/SalesofAssetsHeldforSaleDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_d434e04f-98d4-4d72-945d-30f50adfb36b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_b0dbbeb7-8117-4343-8f99-f15af0cb69fa" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_d434e04f-98d4-4d72-945d-30f50adfb36b" xlink:to="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_b0dbbeb7-8117-4343-8f99-f15af0cb69fa" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongLivedAssetsHeldForSaleByAssetTypeAxis_6da96551-c1ba-4af9-823e-e720d03f28d4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongLivedAssetsHeldForSaleByAssetTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_b0dbbeb7-8117-4343-8f99-f15af0cb69fa" xlink:to="loc_us-gaap_LongLivedAssetsHeldForSaleByAssetTypeAxis_6da96551-c1ba-4af9-823e-e720d03f28d4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongLivedAssetsHeldForSaleNameDomain_6da96551-c1ba-4af9-823e-e720d03f28d4_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongLivedAssetsHeldForSaleNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongLivedAssetsHeldForSaleByAssetTypeAxis_6da96551-c1ba-4af9-823e-e720d03f28d4" xlink:to="loc_us-gaap_LongLivedAssetsHeldForSaleNameDomain_6da96551-c1ba-4af9-823e-e720d03f28d4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongLivedAssetsHeldForSaleNameDomain_75fdcc6c-d31b-40c3-a36d-299af9af7d24" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongLivedAssetsHeldForSaleNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongLivedAssetsHeldForSaleByAssetTypeAxis_6da96551-c1ba-4af9-823e-e720d03f28d4" xlink:to="loc_us-gaap_LongLivedAssetsHeldForSaleNameDomain_75fdcc6c-d31b-40c3-a36d-299af9af7d24" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BuildingMember_bac01dfe-f775-4b8c-95cd-c4e2e2f4a014" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BuildingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongLivedAssetsHeldForSaleNameDomain_75fdcc6c-d31b-40c3-a36d-299af9af7d24" xlink:to="loc_us-gaap_BuildingMember_bac01dfe-f775-4b8c-95cd-c4e2e2f4a014" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LandMember_d29cbc3c-e53c-4721-b299-921ab9e20ba6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LandMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongLivedAssetsHeldForSaleNameDomain_75fdcc6c-d31b-40c3-a36d-299af9af7d24" xlink:to="loc_us-gaap_LandMember_d29cbc3c-e53c-4721-b299-921ab9e20ba6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsHeldForSaleNotPartOfDisposalGroup_6972c9dd-8698-4384-bd13-45c0fc09eedf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetsHeldForSaleNotPartOfDisposalGroup"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_d434e04f-98d4-4d72-945d-30f50adfb36b" xlink:to="loc_us-gaap_AssetsHeldForSaleNotPartOfDisposalGroup_6972c9dd-8698-4384-bd13-45c0fc09eedf" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/DerivativeInstrumentsScheduleofNotionalVolumesofDerivativeInstrumentsDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#DerivativeInstrumentsScheduleofNotionalVolumesofDerivativeInstrumentsDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/DerivativeInstrumentsScheduleofNotionalVolumesofDerivativeInstrumentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLineItems_c7c270cd-9a1e-499e-9c94-b470a7c3bfa8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeTable_02b56cab-7646-4682-8061-1a73bb97ebcb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_c7c270cd-9a1e-499e-9c94-b470a7c3bfa8" xlink:to="loc_us-gaap_DerivativeTable_02b56cab-7646-4682-8061-1a73bb97ebcb" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_9fcbd89a-92ec-459b-a94a-f4651a4c3a02" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_02b56cab-7646-4682-8061-1a73bb97ebcb" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_9fcbd89a-92ec-459b-a94a-f4651a4c3a02" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingRelationshipDomain_9fcbd89a-92ec-459b-a94a-f4651a4c3a02_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_HedgingRelationshipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_9fcbd89a-92ec-459b-a94a-f4651a4c3a02" xlink:to="loc_us-gaap_HedgingRelationshipDomain_9fcbd89a-92ec-459b-a94a-f4651a4c3a02_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingRelationshipDomain_cff6d5f9-b953-4d08-9ed2-e2ec9fe432e7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_HedgingRelationshipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_9fcbd89a-92ec-459b-a94a-f4651a4c3a02" xlink:to="loc_us-gaap_HedgingRelationshipDomain_cff6d5f9-b953-4d08-9ed2-e2ec9fe432e7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashFlowHedgingMember_e4846071-bcb3-4a0c-9fad-7d43c1804ff1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashFlowHedgingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingRelationshipDomain_cff6d5f9-b953-4d08-9ed2-e2ec9fe432e7" xlink:to="loc_us-gaap_CashFlowHedgingMember_e4846071-bcb3-4a0c-9fad-7d43c1804ff1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationAxis_9c087942-7946-44d3-96bd-c41c6af1a7a7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_HedgingDesignationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_02b56cab-7646-4682-8061-1a73bb97ebcb" xlink:to="loc_us-gaap_HedgingDesignationAxis_9c087942-7946-44d3-96bd-c41c6af1a7a7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationDomain_9c087942-7946-44d3-96bd-c41c6af1a7a7_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_HedgingDesignationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_HedgingDesignationAxis_9c087942-7946-44d3-96bd-c41c6af1a7a7" xlink:to="loc_us-gaap_HedgingDesignationDomain_9c087942-7946-44d3-96bd-c41c6af1a7a7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationDomain_a92cb845-0869-46b2-bcfc-d9d858728c92" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_HedgingDesignationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_HedgingDesignationAxis_9c087942-7946-44d3-96bd-c41c6af1a7a7" xlink:to="loc_us-gaap_HedgingDesignationDomain_a92cb845-0869-46b2-bcfc-d9d858728c92" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DesignatedAsHedgingInstrumentMember_e41606f2-a47a-49dd-9b72-7291cdc6c7bf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DesignatedAsHedgingInstrumentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_a92cb845-0869-46b2-bcfc-d9d858728c92" xlink:to="loc_us-gaap_DesignatedAsHedgingInstrumentMember_e41606f2-a47a-49dd-9b72-7291cdc6c7bf" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NondesignatedMember_1feaf764-85f4-4b7c-8f28-8a15bfed94d3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NondesignatedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_a92cb845-0869-46b2-bcfc-d9d858728c92" xlink:to="loc_us-gaap_NondesignatedMember_1feaf764-85f4-4b7c-8f28-8a15bfed94d3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PositionAxis_252ff6c2-5bfc-4a0d-8637-01506fc8a5e2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PositionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_02b56cab-7646-4682-8061-1a73bb97ebcb" xlink:to="loc_us-gaap_PositionAxis_252ff6c2-5bfc-4a0d-8637-01506fc8a5e2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PositionDomain_252ff6c2-5bfc-4a0d-8637-01506fc8a5e2_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PositionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PositionAxis_252ff6c2-5bfc-4a0d-8637-01506fc8a5e2" xlink:to="loc_us-gaap_PositionDomain_252ff6c2-5bfc-4a0d-8637-01506fc8a5e2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PositionDomain_efa40d31-733d-4e78-9f7e-005f8ba1e6cd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PositionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PositionAxis_252ff6c2-5bfc-4a0d-8637-01506fc8a5e2" xlink:to="loc_us-gaap_PositionDomain_efa40d31-733d-4e78-9f7e-005f8ba1e6cd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongMember_402ccf05-fc31-44c8-93a6-536e13604d1c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PositionDomain_efa40d31-733d-4e78-9f7e-005f8ba1e6cd" xlink:to="loc_us-gaap_LongMember_402ccf05-fc31-44c8-93a6-536e13604d1c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortMember_6cfdb7fd-22b8-4bed-bc6c-ea242ef489a5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShortMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PositionDomain_efa40d31-733d-4e78-9f7e-005f8ba1e6cd" xlink:to="loc_us-gaap_ShortMember_6cfdb7fd-22b8-4bed-bc6c-ea242ef489a5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeNonmonetaryNotionalAmount_a58924d4-8db8-4f14-a6c7-ce6e264da1a5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeNonmonetaryNotionalAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_c7c270cd-9a1e-499e-9c94-b470a7c3bfa8" xlink:to="loc_us-gaap_DerivativeNonmonetaryNotionalAmount_a58924d4-8db8-4f14-a6c7-ce6e264da1a5" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/DerivativeInstrumentsNarrativeDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#DerivativeInstrumentsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/DerivativeInstrumentsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLineItems_700c1c63-ad3c-4028-b7b3-26ebebed7e4d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeTable_a99d0144-657c-4252-9bd3-8ec993dc1aa9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_700c1c63-ad3c-4028-b7b3-26ebebed7e4d" xlink:to="loc_us-gaap_DerivativeTable_a99d0144-657c-4252-9bd3-8ec993dc1aa9" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_60b25061-6be0-4dc2-bdf7-b51edeca243e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_a99d0144-657c-4252-9bd3-8ec993dc1aa9" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_60b25061-6be0-4dc2-bdf7-b51edeca243e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_60b25061-6be0-4dc2-bdf7-b51edeca243e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_60b25061-6be0-4dc2-bdf7-b51edeca243e" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_60b25061-6be0-4dc2-bdf7-b51edeca243e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_2f016d87-6296-49d1-a141-5224465b0960" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_60b25061-6be0-4dc2-bdf7-b51edeca243e" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_2f016d87-6296-49d1-a141-5224465b0960" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateSwapMember_b3396651-ce14-40c3-b260-7d8c727c2ebb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestRateSwapMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_2f016d87-6296-49d1-a141-5224465b0960" xlink:to="loc_us-gaap_InterestRateSwapMember_b3396651-ce14-40c3-b260-7d8c727c2ebb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_CoffeerelatedDerivativeInstrumentsMember_cc75650a-d035-45e3-8aa0-4044595424ef" xlink:href="farm-20240630.xsd#farm_CoffeerelatedDerivativeInstrumentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_2f016d87-6296-49d1-a141-5224465b0960" xlink:to="loc_farm_CoffeerelatedDerivativeInstrumentsMember_cc75650a-d035-45e3-8aa0-4044595424ef" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeTermOfContract_1a390f98-a6cc-4f25-80ca-514aedbd59c4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeTermOfContract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_700c1c63-ad3c-4028-b7b3-26ebebed7e4d" xlink:to="loc_us-gaap_DerivativeTermOfContract_1a390f98-a6cc-4f25-80ca-514aedbd59c4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_DerivativeInstrumentsPercentageDesignatedAsCashFlowHedges_883f43e5-7911-4d7b-97a4-b297fa083995" xlink:href="farm-20240630.xsd#farm_DerivativeInstrumentsPercentageDesignatedAsCashFlowHedges"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_700c1c63-ad3c-4028-b7b3-26ebebed7e4d" xlink:to="loc_farm_DerivativeInstrumentsPercentageDesignatedAsCashFlowHedges_883f43e5-7911-4d7b-97a4-b297fa083995" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeNotionalAmount_a5c852d0-3d3b-405d-a74d-b9d613edd2e5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeNotionalAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_700c1c63-ad3c-4028-b7b3-26ebebed7e4d" xlink:to="loc_us-gaap_DerivativeNotionalAmount_a5c852d0-3d3b-405d-a74d-b9d613edd2e5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnDerivativeInstrumentsHeldForTradingPurposesNet_ae14cac4-cd88-43e9-911c-9c2a96b23dd2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GainLossOnDerivativeInstrumentsHeldForTradingPurposesNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_700c1c63-ad3c-4028-b7b3-26ebebed7e4d" xlink:to="loc_us-gaap_GainLossOnDerivativeInstrumentsHeldForTradingPurposesNet_ae14cac4-cd88-43e9-911c-9c2a96b23dd2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashFlowHedgeGainLossToBeReclassifiedWithinTwelveMonths_1b045143-1641-46d8-a949-af4a23636efc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashFlowHedgeGainLossToBeReclassifiedWithinTwelveMonths"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_700c1c63-ad3c-4028-b7b3-26ebebed7e4d" xlink:to="loc_us-gaap_CashFlowHedgeGainLossToBeReclassifiedWithinTwelveMonths_1b045143-1641-46d8-a949-af4a23636efc" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/DerivativeInstrumentsFairValueofDerivativeInstrumentsontheConsolidatedBalanceSheetsDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#DerivativeInstrumentsFairValueofDerivativeInstrumentsontheConsolidatedBalanceSheetsDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/DerivativeInstrumentsFairValueofDerivativeInstrumentsontheConsolidatedBalanceSheetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativesFairValueLineItems_d3f6898f-58bd-475e-9519-8d2a2b98f732" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativesFairValueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_c074a304-bd9b-4cc9-b189-912f831bfd33" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_d3f6898f-58bd-475e-9519-8d2a2b98f732" xlink:to="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_c074a304-bd9b-4cc9-b189-912f831bfd33" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationAxis_7c58e415-55a2-4aa3-80c2-9865f97cc7a8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_HedgingDesignationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_c074a304-bd9b-4cc9-b189-912f831bfd33" xlink:to="loc_us-gaap_HedgingDesignationAxis_7c58e415-55a2-4aa3-80c2-9865f97cc7a8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationDomain_7c58e415-55a2-4aa3-80c2-9865f97cc7a8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_HedgingDesignationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_HedgingDesignationAxis_7c58e415-55a2-4aa3-80c2-9865f97cc7a8" xlink:to="loc_us-gaap_HedgingDesignationDomain_7c58e415-55a2-4aa3-80c2-9865f97cc7a8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationDomain_14c9d998-524b-45fa-8738-b6dd4b36c7b1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_HedgingDesignationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_HedgingDesignationAxis_7c58e415-55a2-4aa3-80c2-9865f97cc7a8" xlink:to="loc_us-gaap_HedgingDesignationDomain_14c9d998-524b-45fa-8738-b6dd4b36c7b1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DesignatedAsHedgingInstrumentMember_90ac31ff-db68-442b-a485-495ce39236d8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DesignatedAsHedgingInstrumentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_14c9d998-524b-45fa-8738-b6dd4b36c7b1" xlink:to="loc_us-gaap_DesignatedAsHedgingInstrumentMember_90ac31ff-db68-442b-a485-495ce39236d8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NondesignatedMember_43fcdcde-b5b3-4ecd-ba1d-6cd28303d1fd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NondesignatedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_14c9d998-524b-45fa-8738-b6dd4b36c7b1" xlink:to="loc_us-gaap_NondesignatedMember_43fcdcde-b5b3-4ecd-ba1d-6cd28303d1fd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_a1d773f9-078e-46af-883a-dc3eef4140ee" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BalanceSheetLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_c074a304-bd9b-4cc9-b189-912f831bfd33" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_a1d773f9-078e-46af-883a-dc3eef4140ee" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_a1d773f9-078e-46af-883a-dc3eef4140ee_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_a1d773f9-078e-46af-883a-dc3eef4140ee" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_a1d773f9-078e-46af-883a-dc3eef4140ee_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_bf1929d8-430e-4e46-b34b-db2e75be2d8e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_a1d773f9-078e-46af-883a-dc3eef4140ee" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_bf1929d8-430e-4e46-b34b-db2e75be2d8e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_DerivativeAssetsCurrentMember_289287e1-7666-491f-9d31-4fa467f522ea" xlink:href="farm-20240630.xsd#farm_DerivativeAssetsCurrentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_bf1929d8-430e-4e46-b34b-db2e75be2d8e" xlink:to="loc_farm_DerivativeAssetsCurrentMember_289287e1-7666-491f-9d31-4fa467f522ea" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncurrentAssetsMember_5e33dd23-d907-4993-b801-13a76fc26a7e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherNoncurrentAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_bf1929d8-430e-4e46-b34b-db2e75be2d8e" xlink:to="loc_us-gaap_OtherNoncurrentAssetsMember_5e33dd23-d907-4993-b801-13a76fc26a7e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_ShortTermDerivativeLiabilitiesMember_174b0e2c-0006-4003-a6fd-679693442936" xlink:href="farm-20240630.xsd#farm_ShortTermDerivativeLiabilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_bf1929d8-430e-4e46-b34b-db2e75be2d8e" xlink:to="loc_farm_ShortTermDerivativeLiabilitiesMember_174b0e2c-0006-4003-a6fd-679693442936" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_OtherLongTermLiabilitiesMember_83a52c2f-970b-4607-8bc0-358393a70f03" xlink:href="farm-20240630.xsd#farm_OtherLongTermLiabilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_bf1929d8-430e-4e46-b34b-db2e75be2d8e" xlink:to="loc_farm_OtherLongTermLiabilitiesMember_83a52c2f-970b-4607-8bc0-358393a70f03" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_205815a9-d420-4a4c-8fb0-29bdf62184ff" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_c074a304-bd9b-4cc9-b189-912f831bfd33" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_205815a9-d420-4a4c-8fb0-29bdf62184ff" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingRelationshipDomain_205815a9-d420-4a4c-8fb0-29bdf62184ff_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_HedgingRelationshipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_205815a9-d420-4a4c-8fb0-29bdf62184ff" xlink:to="loc_us-gaap_HedgingRelationshipDomain_205815a9-d420-4a4c-8fb0-29bdf62184ff_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingRelationshipDomain_fdda0093-9df7-418e-bd89-a29a327139e5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_HedgingRelationshipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_205815a9-d420-4a4c-8fb0-29bdf62184ff" xlink:to="loc_us-gaap_HedgingRelationshipDomain_fdda0093-9df7-418e-bd89-a29a327139e5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashFlowHedgingMember_73b5f183-e6de-48c0-a367-5315dec26092" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashFlowHedgingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingRelationshipDomain_fdda0093-9df7-418e-bd89-a29a327139e5" xlink:to="loc_us-gaap_CashFlowHedgingMember_73b5f183-e6de-48c0-a367-5315dec26092" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_c1e9da6c-bc9d-40c3-b331-edb3068f9cf6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeFairValueOfDerivativeAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_d3f6898f-58bd-475e-9519-8d2a2b98f732" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_c1e9da6c-bc9d-40c3-b331-edb3068f9cf6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_f1a986f0-536d-4888-9bcf-d16c2204a2d0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeFairValueOfDerivativeLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_d3f6898f-58bd-475e-9519-8d2a2b98f732" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_f1a986f0-536d-4888-9bcf-d16c2204a2d0" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/DerivativeInstrumentsPretaxEffectofDerivativeInstrumentsonEarningsandOCIDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#DerivativeInstrumentsPretaxEffectofDerivativeInstrumentsonEarningsandOCIDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/DerivativeInstrumentsPretaxEffectofDerivativeInstrumentsonEarningsandOCIDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_162f2abf-2930-430c-9822-548a3fcb7a13" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeInstrumentsGainLossLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_5c3aebb8-73b4-4941-93ac-a3f6a8487469" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_162f2abf-2930-430c-9822-548a3fcb7a13" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_5c3aebb8-73b4-4941-93ac-a3f6a8487469" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_68b56ab8-2709-46f6-8bc4-e6a5cc627748" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_5c3aebb8-73b4-4941-93ac-a3f6a8487469" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_68b56ab8-2709-46f6-8bc4-e6a5cc627748" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_68b56ab8-2709-46f6-8bc4-e6a5cc627748_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_68b56ab8-2709-46f6-8bc4-e6a5cc627748" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_68b56ab8-2709-46f6-8bc4-e6a5cc627748_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_486ba6da-f49d-405d-ae2b-6f1e939b03c3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_68b56ab8-2709-46f6-8bc4-e6a5cc627748" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_486ba6da-f49d-405d-ae2b-6f1e939b03c3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseMember_795b6136-3e94-46f4-b4af-e86c2d303bab" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestExpenseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_486ba6da-f49d-405d-ae2b-6f1e939b03c3" xlink:to="loc_us-gaap_InterestExpenseMember_795b6136-3e94-46f4-b4af-e86c2d303bab" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfSalesMember_437a4e7a-d970-4c08-8c72-c66e2fb4b3b3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CostOfSalesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_486ba6da-f49d-405d-ae2b-6f1e939b03c3" xlink:to="loc_us-gaap_CostOfSalesMember_437a4e7a-d970-4c08-8c72-c66e2fb4b3b3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_e62b0d17-63e4-4fec-8f4c-c0bf2ce21d9a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_5c3aebb8-73b4-4941-93ac-a3f6a8487469" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_e62b0d17-63e4-4fec-8f4c-c0bf2ce21d9a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_e62b0d17-63e4-4fec-8f4c-c0bf2ce21d9a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_e62b0d17-63e4-4fec-8f4c-c0bf2ce21d9a" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_e62b0d17-63e4-4fec-8f4c-c0bf2ce21d9a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_774a43f0-8abe-4886-a654-83cce5ef210d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_e62b0d17-63e4-4fec-8f4c-c0bf2ce21d9a" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_774a43f0-8abe-4886-a654-83cce5ef210d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateSwapMember_49e807f8-f6e1-49d3-b54e-891b3c282ac6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestRateSwapMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_774a43f0-8abe-4886-a654-83cce5ef210d" xlink:to="loc_us-gaap_InterestRateSwapMember_49e807f8-f6e1-49d3-b54e-891b3c282ac6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_InterestRateSwapPartialUnwindMember_6bdfc9f6-55e7-4649-8896-48a9ad9c3d11" xlink:href="farm-20240630.xsd#farm_InterestRateSwapPartialUnwindMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_774a43f0-8abe-4886-a654-83cce5ef210d" xlink:to="loc_farm_InterestRateSwapPartialUnwindMember_6bdfc9f6-55e7-4649-8896-48a9ad9c3d11" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommodityMember_361043e1-a8e0-4537-a1ad-dba8f2cd44ae" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommodityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_774a43f0-8abe-4886-a654-83cce5ef210d" xlink:to="loc_us-gaap_CommodityMember_361043e1-a8e0-4537-a1ad-dba8f2cd44ae" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax_083fe0f8-d3a2-433f-84a4-68096ccf6b24" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_162f2abf-2930-430c-9822-548a3fcb7a13" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax_083fe0f8-d3a2-433f-84a4-68096ccf6b24" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax_adc07231-fa53-4ed1-bffc-2e2cd52d047b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_162f2abf-2930-430c-9822-548a3fcb7a13" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax_adc07231-fa53-4ed1-bffc-2e2cd52d047b" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/DerivativeInstrumentsNetRealizedandUnrealizedGainsandLossesRecordedinOthernetDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#DerivativeInstrumentsNetRealizedandUnrealizedGainsandLossesRecordedinOthernetDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/DerivativeInstrumentsNetRealizedandUnrealizedGainsandLossesRecordedinOthernetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_7ebb9781-fd29-41c6-969a-1dcfa2ed78e6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeInstrumentsGainLossLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_79c3e968-f7e8-4187-8c33-bded2aed11f0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_7ebb9781-fd29-41c6-969a-1dcfa2ed78e6" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_79c3e968-f7e8-4187-8c33-bded2aed11f0" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_dd526983-313e-4dcf-9023-6376e9700883" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_79c3e968-f7e8-4187-8c33-bded2aed11f0" xlink:to="loc_srt_ProductOrServiceAxis_dd526983-313e-4dcf-9023-6376e9700883" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_dd526983-313e-4dcf-9023-6376e9700883_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_dd526983-313e-4dcf-9023-6376e9700883" xlink:to="loc_srt_ProductsAndServicesDomain_dd526983-313e-4dcf-9023-6376e9700883_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_edc36dac-501a-4fd7-8a76-ae9255ea5843" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_dd526983-313e-4dcf-9023-6376e9700883" xlink:to="loc_srt_ProductsAndServicesDomain_edc36dac-501a-4fd7-8a76-ae9255ea5843" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_CoffeeMember_154f93df-3f87-43bd-927f-d7a02d95eaaa" xlink:href="farm-20240630.xsd#farm_CoffeeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_edc36dac-501a-4fd7-8a76-ae9255ea5843" xlink:to="loc_farm_CoffeeMember_154f93df-3f87-43bd-927f-d7a02d95eaaa" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet_2320d7a8-737f-42e3-be97-d0c1398cd3d2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_7ebb9781-fd29-41c6-969a-1dcfa2ed78e6" xlink:to="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet_2320d7a8-737f-42e3-be97-d0c1398cd3d2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_PensionAndOtherPostretirementBenefitsCostReversalOfCostNonoperating_ef048941-d73d-41d8-9812-b47d103eab93" xlink:href="farm-20240630.xsd#farm_PensionAndOtherPostretirementBenefitsCostReversalOfCostNonoperating"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_7ebb9781-fd29-41c6-969a-1dcfa2ed78e6" xlink:to="loc_farm_PensionAndOtherPostretirementBenefitsCostReversalOfCostNonoperating_ef048941-d73d-41d8-9812-b47d103eab93" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_OtherInvestmentGainLoss_13714ea7-cb87-42f7-ae86-8f90d2bca463" xlink:href="farm-20240630.xsd#farm_OtherInvestmentGainLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_7ebb9781-fd29-41c6-969a-1dcfa2ed78e6" xlink:to="loc_farm_OtherInvestmentGainLoss_13714ea7-cb87-42f7-ae86-8f90d2bca463" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_7b8e8977-ca73-4d9b-a1da-61486876680c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_7ebb9781-fd29-41c6-969a-1dcfa2ed78e6" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_7b8e8977-ca73-4d9b-a1da-61486876680c" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/DerivativeInstrumentsStatementofComprehensiveIncomeLossDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#DerivativeInstrumentsStatementofComprehensiveIncomeLossDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/DerivativeInstrumentsStatementofComprehensiveIncomeLossDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_9c452e55-ad8e-4348-90ea-c4c39f0ca2a7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_5f00a82b-92c7-41a2-bdc0-1cf2b5ed2f18" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_9c452e55-ad8e-4348-90ea-c4c39f0ca2a7" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_5f00a82b-92c7-41a2-bdc0-1cf2b5ed2f18" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_f15f57bd-ad0d-4120-97e8-5ddde39805a1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_5f00a82b-92c7-41a2-bdc0-1cf2b5ed2f18" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_f15f57bd-ad0d-4120-97e8-5ddde39805a1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_f15f57bd-ad0d-4120-97e8-5ddde39805a1_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_f15f57bd-ad0d-4120-97e8-5ddde39805a1" xlink:to="loc_us-gaap_EquityComponentDomain_f15f57bd-ad0d-4120-97e8-5ddde39805a1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_e4c68f7f-089f-4004-acfd-9031f684ac88" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_f15f57bd-ad0d-4120-97e8-5ddde39805a1" xlink:to="loc_us-gaap_EquityComponentDomain_e4c68f7f-089f-4004-acfd-9031f684ac88" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember_edb4eee2-1408-409e-9d2b-f07e4d28b4e9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_e4c68f7f-089f-4004-acfd-9031f684ac88" xlink:to="loc_us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember_edb4eee2-1408-409e-9d2b-f07e4d28b4e9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_75ed539a-5fb6-4ae4-91c8-59212f95cc3f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_5f00a82b-92c7-41a2-bdc0-1cf2b5ed2f18" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_75ed539a-5fb6-4ae4-91c8-59212f95cc3f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_75ed539a-5fb6-4ae4-91c8-59212f95cc3f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_75ed539a-5fb6-4ae4-91c8-59212f95cc3f" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_75ed539a-5fb6-4ae4-91c8-59212f95cc3f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_99b712d0-367c-474e-a6b2-fce52d5c529c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_75ed539a-5fb6-4ae4-91c8-59212f95cc3f" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_99b712d0-367c-474e-a6b2-fce52d5c529c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateSwapMember_b3cc5031-a652-4cee-8551-cea298b30319" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestRateSwapMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_99b712d0-367c-474e-a6b2-fce52d5c529c" xlink:to="loc_us-gaap_InterestRateSwapMember_b3cc5031-a652-4cee-8551-cea298b30319" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_InterestRateSwapPartialUnwindMember_7596ee37-e253-45d1-b1ce-90213b872b52" xlink:href="farm-20240630.xsd#farm_InterestRateSwapPartialUnwindMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_99b712d0-367c-474e-a6b2-fce52d5c529c" xlink:to="loc_farm_InterestRateSwapPartialUnwindMember_7596ee37-e253-45d1-b1ce-90213b872b52" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommodityMember_d2cf03b2-a4c7-4342-8913-f67b8c53599e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommodityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_99b712d0-367c-474e-a6b2-fce52d5c529c" xlink:to="loc_us-gaap_CommodityMember_d2cf03b2-a4c7-4342-8913-f67b8c53599e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_3c601e63-cc51-4e49-9587-858cf0e89ba9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AOCIAttributableToParentNetOfTaxRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_9c452e55-ad8e-4348-90ea-c4c39f0ca2a7" xlink:to="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_3c601e63-cc51-4e49-9587-858cf0e89ba9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_e5a4ca9c-62e1-4110-bdbf-ba629c61d3cf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_3c601e63-cc51-4e49-9587-858cf0e89ba9" xlink:to="loc_us-gaap_StockholdersEquity_e5a4ca9c-62e1-4110-bdbf-ba629c61d3cf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent_f908b57a-9bcf-4e79-a569-9941f68fb038" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_3c601e63-cc51-4e49-9587-858cf0e89ba9" xlink:to="loc_us-gaap_ReclassificationFromAociCurrentPeriodNetOfTaxAttributableToParent_f908b57a-9bcf-4e79-a569-9941f68fb038" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent_fe1098de-5b58-4dd7-9e7c-145f9ac38bb0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_3c601e63-cc51-4e49-9587-858cf0e89ba9" xlink:to="loc_us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent_fe1098de-5b58-4dd7-9e7c-145f9ac38bb0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_3d46bc6c-34f7-43f4-acb6-e59196e3cbcf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquity"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/FairValueMeasurementsAssetsandLiabilitiesMeasuredandRecordedatFairValueonaRecurringBasisDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#FairValueMeasurementsAssetsandLiabilitiesMeasuredandRecordedatFairValueonaRecurringBasisDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/FairValueMeasurementsAssetsandLiabilitiesMeasuredandRecordedatFairValueonaRecurringBasisDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_e3c0085a-a02a-42ac-a89c-a88cce271ba0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_551a0683-0b40-431b-8b68-9f254eb195c2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_e3c0085a-a02a-42ac-a89c-a88cce271ba0" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_551a0683-0b40-431b-8b68-9f254eb195c2" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_c1b18f88-ee6b-4898-b034-05005e3e87c9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueByMeasurementBasisAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_551a0683-0b40-431b-8b68-9f254eb195c2" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_c1b18f88-ee6b-4898-b034-05005e3e87c9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_c1b18f88-ee6b-4898-b034-05005e3e87c9_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_c1b18f88-ee6b-4898-b034-05005e3e87c9" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_c1b18f88-ee6b-4898-b034-05005e3e87c9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueDisclosureItemAmountsDomain_6e3a9330-e4fa-467c-8638-a1ea47e1de56" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueDisclosureItemAmountsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_c1b18f88-ee6b-4898-b034-05005e3e87c9" xlink:to="loc_us-gaap_FairValueDisclosureItemAmountsDomain_6e3a9330-e4fa-467c-8638-a1ea47e1de56" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_ad016f76-10fe-4775-8b96-4f1aa4bf1c77" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_6e3a9330-e4fa-467c-8638-a1ea47e1de56" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_ad016f76-10fe-4775-8b96-4f1aa4bf1c77" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_88b3fd42-faad-4eff-bcbb-1e398c72d989" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_ad016f76-10fe-4775-8b96-4f1aa4bf1c77" xlink:to="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_88b3fd42-faad-4eff-bcbb-1e398c72d989" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_e2e2f14a-ff47-49a4-a3fc-d3573196aa01" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_551a0683-0b40-431b-8b68-9f254eb195c2" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_e2e2f14a-ff47-49a4-a3fc-d3573196aa01" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_e2e2f14a-ff47-49a4-a3fc-d3573196aa01_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_e2e2f14a-ff47-49a4-a3fc-d3573196aa01" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_e2e2f14a-ff47-49a4-a3fc-d3573196aa01_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_804a3101-f8bb-439e-b6a9-ffdaf5ebad03" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_e2e2f14a-ff47-49a4-a3fc-d3573196aa01" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_804a3101-f8bb-439e-b6a9-ffdaf5ebad03" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_CoffeerelatedDerivativeInstrumentsMember_3b1e30ce-b404-41c8-bca3-2cbbb8f53285" xlink:href="farm-20240630.xsd#farm_CoffeerelatedDerivativeInstrumentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_804a3101-f8bb-439e-b6a9-ffdaf5ebad03" xlink:to="loc_farm_CoffeerelatedDerivativeInstrumentsMember_3b1e30ce-b404-41c8-bca3-2cbbb8f53285" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_7e1b22aa-74d6-4ae4-9371-e7cceaac4f4b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_551a0683-0b40-431b-8b68-9f254eb195c2" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_7e1b22aa-74d6-4ae4-9371-e7cceaac4f4b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_7e1b22aa-74d6-4ae4-9371-e7cceaac4f4b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_7e1b22aa-74d6-4ae4-9371-e7cceaac4f4b" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_7e1b22aa-74d6-4ae4-9371-e7cceaac4f4b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_5dd7b267-1edd-4248-9935-cf9e59d792ee" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_7e1b22aa-74d6-4ae4-9371-e7cceaac4f4b" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_5dd7b267-1edd-4248-9935-cf9e59d792ee" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_734661ad-fd29-408d-b956-1c72d114b1b4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_5dd7b267-1edd-4248-9935-cf9e59d792ee" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_734661ad-fd29-408d-b956-1c72d114b1b4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_7441f065-8e4d-4ee0-861b-16f4d6b93b29" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_5dd7b267-1edd-4248-9935-cf9e59d792ee" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_7441f065-8e4d-4ee0-861b-16f4d6b93b29" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_7480bb47-9f48-479c-b30b-dda8adc16eb7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_5dd7b267-1edd-4248-9935-cf9e59d792ee" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_7480bb47-9f48-479c-b30b-dda8adc16eb7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PriceRiskCashFlowHedgeAssetAtFairValue_e6016682-71ae-48fc-ad2e-b2f36c20b143" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PriceRiskCashFlowHedgeAssetAtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_e3c0085a-a02a-42ac-a89c-a88cce271ba0" xlink:to="loc_us-gaap_PriceRiskCashFlowHedgeAssetAtFairValue_e6016682-71ae-48fc-ad2e-b2f36c20b143" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PriceRiskCashFlowHedgeLiabilityAtFairValue_7a790238-1e55-4ccb-a94c-09afdefddfb4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PriceRiskCashFlowHedgeLiabilityAtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_e3c0085a-a02a-42ac-a89c-a88cce271ba0" xlink:to="loc_us-gaap_PriceRiskCashFlowHedgeLiabilityAtFairValue_7a790238-1e55-4ccb-a94c-09afdefddfb4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PriceRiskDerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAssetAtFairValue_ca68d739-9227-44e2-97a4-3c81acce6726" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PriceRiskDerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAssetAtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_e3c0085a-a02a-42ac-a89c-a88cce271ba0" xlink:to="loc_us-gaap_PriceRiskDerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAssetAtFairValue_ca68d739-9227-44e2-97a4-3c81acce6726" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PriceRiskDerivativeInstrumentsNotDesignatedAsHedgingInstrumentsLiabilityAtFairValue_d7d043ee-4a9d-46f2-9d59-12074e029c63" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PriceRiskDerivativeInstrumentsNotDesignatedAsHedgingInstrumentsLiabilityAtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_e3c0085a-a02a-42ac-a89c-a88cce271ba0" xlink:to="loc_us-gaap_PriceRiskDerivativeInstrumentsNotDesignatedAsHedgingInstrumentsLiabilityAtFairValue_d7d043ee-4a9d-46f2-9d59-12074e029c63" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/InventoriesScheduleofInventoryDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#InventoriesScheduleofInventoryDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/InventoriesScheduleofInventoryDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductInformationLineItems_708813cb-c8f1-4e39-a431-e68259a4b1e6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProductInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfProductInformationTable_3ff964dc-0e63-4af2-8d63-3aa748afcdb8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfProductInformationTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ProductInformationLineItems_708813cb-c8f1-4e39-a431-e68259a4b1e6" xlink:to="loc_us-gaap_ScheduleOfProductInformationTable_3ff964dc-0e63-4af2-8d63-3aa748afcdb8" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_ced2c103-322f-4239-8735-b3076d7ef24d" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfProductInformationTable_3ff964dc-0e63-4af2-8d63-3aa748afcdb8" xlink:to="loc_srt_ProductOrServiceAxis_ced2c103-322f-4239-8735-b3076d7ef24d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_ced2c103-322f-4239-8735-b3076d7ef24d_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_ced2c103-322f-4239-8735-b3076d7ef24d" xlink:to="loc_srt_ProductsAndServicesDomain_ced2c103-322f-4239-8735-b3076d7ef24d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_8356ec9c-e916-4955-973c-e95fa96bcf47" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_ced2c103-322f-4239-8735-b3076d7ef24d" xlink:to="loc_srt_ProductsAndServicesDomain_8356ec9c-e916-4955-973c-e95fa96bcf47" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_CoffeeMember_69dc6cd6-2be5-4717-99e1-cfd585e3966c" xlink:href="farm-20240630.xsd#farm_CoffeeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_8356ec9c-e916-4955-973c-e95fa96bcf47" xlink:to="loc_farm_CoffeeMember_69dc6cd6-2be5-4717-99e1-cfd585e3966c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_TeaAndCulinaryProductsMember_d7e6398e-aea5-427e-b118-7bb92fbc2f05" xlink:href="farm-20240630.xsd#farm_TeaAndCulinaryProductsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_8356ec9c-e916-4955-973c-e95fa96bcf47" xlink:to="loc_farm_TeaAndCulinaryProductsMember_d7e6398e-aea5-427e-b118-7bb92fbc2f05" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_CoffeeBrewingEquipmentMember_ae8baaa9-c6d8-4a1e-a549-b96297afe365" xlink:href="farm-20240630.xsd#farm_CoffeeBrewingEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_8356ec9c-e916-4955-973c-e95fa96bcf47" xlink:to="loc_farm_CoffeeBrewingEquipmentMember_ae8baaa9-c6d8-4a1e-a549-b96297afe365" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryFinishedGoodsAndWorkInProcessNetOfReserves_c0cd67f4-0b75-48bd-9fa2-7fd994df9bc6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InventoryFinishedGoodsAndWorkInProcessNetOfReserves"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductInformationLineItems_708813cb-c8f1-4e39-a431-e68259a4b1e6" xlink:to="loc_us-gaap_InventoryFinishedGoodsAndWorkInProcessNetOfReserves_c0cd67f4-0b75-48bd-9fa2-7fd994df9bc6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryRawMaterialsAndSuppliesNetOfReserves_6d781de4-5b74-4ff7-9361-c0993ae3f5b3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InventoryRawMaterialsAndSuppliesNetOfReserves"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductInformationLineItems_708813cb-c8f1-4e39-a431-e68259a4b1e6" xlink:to="loc_us-gaap_InventoryRawMaterialsAndSuppliesNetOfReserves_6d781de4-5b74-4ff7-9361-c0993ae3f5b3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_55b79085-a504-4ecd-8258-93c0dba8a251" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InventoryNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductInformationLineItems_708813cb-c8f1-4e39-a431-e68259a4b1e6" xlink:to="loc_us-gaap_InventoryNet_55b79085-a504-4ecd-8258-93c0dba8a251" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/PropertyPlantandEquipmentScheduleofPropertyPlantandEquipmentDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#PropertyPlantandEquipmentScheduleofPropertyPlantandEquipmentDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/PropertyPlantandEquipmentScheduleofPropertyPlantandEquipmentDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_b6e01787-83b9-4429-9e44-9be8bbf42974" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_e167c876-18f7-4992-8397-59556be35742" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_b6e01787-83b9-4429-9e44-9be8bbf42974" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_e167c876-18f7-4992-8397-59556be35742" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_93d9c35a-1f64-408f-ad4c-8f9dfe13a2a6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_e167c876-18f7-4992-8397-59556be35742" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_93d9c35a-1f64-408f-ad4c-8f9dfe13a2a6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_93d9c35a-1f64-408f-ad4c-8f9dfe13a2a6_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_93d9c35a-1f64-408f-ad4c-8f9dfe13a2a6" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_93d9c35a-1f64-408f-ad4c-8f9dfe13a2a6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_e28acdae-8242-44c3-9aa7-12b99cdce958" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_93d9c35a-1f64-408f-ad4c-8f9dfe13a2a6" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_e28acdae-8242-44c3-9aa7-12b99cdce958" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BuildingMember_e83e09d0-ee13-4191-9b11-0edf8d389e27" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BuildingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_e28acdae-8242-44c3-9aa7-12b99cdce958" xlink:to="loc_us-gaap_BuildingMember_e83e09d0-ee13-4191-9b11-0edf8d389e27" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MachineryAndEquipmentMember_0975c563-5d9a-421a-b574-575705d6ef86" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_MachineryAndEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_e28acdae-8242-44c3-9aa7-12b99cdce958" xlink:to="loc_us-gaap_MachineryAndEquipmentMember_0975c563-5d9a-421a-b574-575705d6ef86" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_03b59ca2-db1b-415f-b049-d12d8323f3c6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SoftwareAndSoftwareDevelopmentCostsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_e28acdae-8242-44c3-9aa7-12b99cdce958" xlink:to="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_03b59ca2-db1b-415f-b049-d12d8323f3c6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OfficeEquipmentMember_5651936c-e872-4e13-b5f4-a7795baeafe7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OfficeEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_e28acdae-8242-44c3-9aa7-12b99cdce958" xlink:to="loc_us-gaap_OfficeEquipmentMember_5651936c-e872-4e13-b5f4-a7795baeafe7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_58d03cb5-acda-4e32-ac38-c788e9457a1d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_b6e01787-83b9-4429-9e44-9be8bbf42974" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_58d03cb5-acda-4e32-ac38-c788e9457a1d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_4645f3ed-70bf-4dde-bdbf-4896067000ef" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_b6e01787-83b9-4429-9e44-9be8bbf42974" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_4645f3ed-70bf-4dde-bdbf-4896067000ef" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Land_1c402963-9fd2-441a-86ae-ff0748871293" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Land"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_b6e01787-83b9-4429-9e44-9be8bbf42974" xlink:to="loc_us-gaap_Land_1c402963-9fd2-441a-86ae-ff0748871293" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_edd632a8-86c0-4dce-bc55-02fb86e1d852" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_b6e01787-83b9-4429-9e44-9be8bbf42974" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_edd632a8-86c0-4dce-bc55-02fb86e1d852" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/PropertyPlantandEquipmentCapitalizedCBEDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#PropertyPlantandEquipmentCapitalizedCBEDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/PropertyPlantandEquipmentCapitalizedCBEDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_fc762c85-72b8-4638-aaa3-ecce3456d525" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_9226697a-d9d9-4183-8af1-356880c8582e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_fc762c85-72b8-4638-aaa3-ecce3456d525" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_9226697a-d9d9-4183-8af1-356880c8582e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_9f82655f-0413-42f7-a9dd-3261edbffd6c" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_9226697a-d9d9-4183-8af1-356880c8582e" xlink:to="loc_srt_ProductOrServiceAxis_9f82655f-0413-42f7-a9dd-3261edbffd6c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_9f82655f-0413-42f7-a9dd-3261edbffd6c_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_9f82655f-0413-42f7-a9dd-3261edbffd6c" xlink:to="loc_srt_ProductsAndServicesDomain_9f82655f-0413-42f7-a9dd-3261edbffd6c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_6d85ea9f-46ec-4966-94d1-d4d8b34f2484" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_9f82655f-0413-42f7-a9dd-3261edbffd6c" xlink:to="loc_srt_ProductsAndServicesDomain_6d85ea9f-46ec-4966-94d1-d4d8b34f2484" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_CoffeeBrewingEquipmentMember_52c93512-3e3a-475c-9e71-caac7da9e837" xlink:href="farm-20240630.xsd#farm_CoffeeBrewingEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_6d85ea9f-46ec-4966-94d1-d4d8b34f2484" xlink:to="loc_farm_CoffeeBrewingEquipmentMember_52c93512-3e3a-475c-9e71-caac7da9e837" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_40050cd1-3050-49b0-b3bf-7e7bb106726b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_9226697a-d9d9-4183-8af1-356880c8582e" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_40050cd1-3050-49b0-b3bf-7e7bb106726b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_40050cd1-3050-49b0-b3bf-7e7bb106726b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_40050cd1-3050-49b0-b3bf-7e7bb106726b" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_40050cd1-3050-49b0-b3bf-7e7bb106726b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_50955d58-56d2-4204-a8f3-790b1b20cf27" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_40050cd1-3050-49b0-b3bf-7e7bb106726b" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_50955d58-56d2-4204-a8f3-790b1b20cf27" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MachineryAndEquipmentMember_f9fbc404-30d0-42da-a85e-c6e3503d6508" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_MachineryAndEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_50955d58-56d2-4204-a8f3-790b1b20cf27" xlink:to="loc_us-gaap_MachineryAndEquipmentMember_f9fbc404-30d0-42da-a85e-c6e3503d6508" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_1b6dc9f6-2a69-4eed-b7bc-f05d476cc0e2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_fc762c85-72b8-4638-aaa3-ecce3456d525" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_1b6dc9f6-2a69-4eed-b7bc-f05d476cc0e2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_197eb0cf-9032-4581-80ef-1c689d7a5465" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_fc762c85-72b8-4638-aaa3-ecce3456d525" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_197eb0cf-9032-4581-80ef-1c689d7a5465" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_5d6394c9-3fe3-4f35-9556-06209f715874" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_fc762c85-72b8-4638-aaa3-ecce3456d525" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_5d6394c9-3fe3-4f35-9556-06209f715874" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/PropertyPlantandEquipmentDepreciationDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#PropertyPlantandEquipmentDepreciationDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/PropertyPlantandEquipmentDepreciationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_e98777d8-67e7-449d-b5d0-d28b6d2bb3f5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_6a4cd2d6-72c1-495e-867d-1b314e653c4b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_e98777d8-67e7-449d-b5d0-d28b6d2bb3f5" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_6a4cd2d6-72c1-495e-867d-1b314e653c4b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_905b2e47-183d-4efe-8966-ac42d70c6ddf" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_6a4cd2d6-72c1-495e-867d-1b314e653c4b" xlink:to="loc_srt_ProductOrServiceAxis_905b2e47-183d-4efe-8966-ac42d70c6ddf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_905b2e47-183d-4efe-8966-ac42d70c6ddf_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_905b2e47-183d-4efe-8966-ac42d70c6ddf" xlink:to="loc_srt_ProductsAndServicesDomain_905b2e47-183d-4efe-8966-ac42d70c6ddf_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_2cfccce8-0488-452a-ae2c-070b6d921eea" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_905b2e47-183d-4efe-8966-ac42d70c6ddf" xlink:to="loc_srt_ProductsAndServicesDomain_2cfccce8-0488-452a-ae2c-070b6d921eea" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_CoffeeBrewingEquipmentMember_c787ecdd-db13-4485-9ca6-7b37831fa4ae" xlink:href="farm-20240630.xsd#farm_CoffeeBrewingEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_2cfccce8-0488-452a-ae2c-070b6d921eea" xlink:to="loc_farm_CoffeeBrewingEquipmentMember_c787ecdd-db13-4485-9ca6-7b37831fa4ae" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_3c982497-c3da-4b20-b2f3-457d1fb0f742" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_6a4cd2d6-72c1-495e-867d-1b314e653c4b" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_3c982497-c3da-4b20-b2f3-457d1fb0f742" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_3c982497-c3da-4b20-b2f3-457d1fb0f742_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_3c982497-c3da-4b20-b2f3-457d1fb0f742" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_3c982497-c3da-4b20-b2f3-457d1fb0f742_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_95792f2f-dca2-45ea-95cf-d321e3de71e5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_3c982497-c3da-4b20-b2f3-457d1fb0f742" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_95792f2f-dca2-45ea-95cf-d321e3de71e5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MachineryAndEquipmentMember_eb4bc32d-d689-4b74-9e33-bd075beb676f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_MachineryAndEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_95792f2f-dca2-45ea-95cf-d321e3de71e5" xlink:to="loc_us-gaap_MachineryAndEquipmentMember_eb4bc32d-d689-4b74-9e33-bd075beb676f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSoldDepreciation_045498e8-a510-46a1-8613-a955c95b6403" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CostOfGoodsAndServicesSoldDepreciation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_e98777d8-67e7-449d-b5d0-d28b6d2bb3f5" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSoldDepreciation_045498e8-a510-46a1-8613-a955c95b6403" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfPropertyRepairsAndMaintenance_484b56f4-78c0-4472-bb16-898e10245bab" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CostOfPropertyRepairsAndMaintenance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_e98777d8-67e7-449d-b5d0-d28b6d2bb3f5" xlink:to="loc_us-gaap_CostOfPropertyRepairsAndMaintenance_484b56f4-78c0-4472-bb16-898e10245bab" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/IntangibleAssetsGoodwillDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#IntangibleAssetsGoodwillDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/IntangibleAssetsGoodwillDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillLineItems_bdc16938-8c6a-427d-ac1b-a8cb13a6a962" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GoodwillLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfGoodwillTable_f054a5ae-17de-4a04-9355-4ee877bb717a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfGoodwillTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GoodwillLineItems_bdc16938-8c6a-427d-ac1b-a8cb13a6a962" xlink:to="loc_us-gaap_ScheduleOfGoodwillTable_f054a5ae-17de-4a04-9355-4ee877bb717a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_e08e4aa4-346c-43cb-9c58-fd9b5580018b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_f054a5ae-17de-4a04-9355-4ee877bb717a" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_e08e4aa4-346c-43cb-9c58-fd9b5580018b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_e08e4aa4-346c-43cb-9c58-fd9b5580018b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_e08e4aa4-346c-43cb-9c58-fd9b5580018b" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_e08e4aa4-346c-43cb-9c58-fd9b5580018b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9c6bde9e-eef3-4904-acf9-7d978b247ca0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_e08e4aa4-346c-43cb-9c58-fd9b5580018b" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9c6bde9e-eef3-4904-acf9-7d978b247ca0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerRelationshipsMember_f41a2ffe-1143-42bd-ab34-be7aa143d19f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CustomerRelationshipsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9c6bde9e-eef3-4904-acf9-7d978b247ca0" xlink:to="loc_us-gaap_CustomerRelationshipsMember_f41a2ffe-1143-42bd-ab34-be7aa143d19f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncompeteAgreementsMember_6e6dcd81-ddbe-4406-b8e6-a8209bd9761a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NoncompeteAgreementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9c6bde9e-eef3-4904-acf9-7d978b247ca0" xlink:to="loc_us-gaap_NoncompeteAgreementsMember_6e6dcd81-ddbe-4406-b8e6-a8209bd9761a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradeSecretsMember_55849efc-011c-41c9-9f8e-e7a06d9874d7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TradeSecretsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9c6bde9e-eef3-4904-acf9-7d978b247ca0" xlink:to="loc_us-gaap_TradeSecretsMember_55849efc-011c-41c9-9f8e-e7a06d9874d7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_AmortizedIntangibleAssetsMember_dbb54a46-cd28-4990-8726-de8bfd04d569" xlink:href="farm-20240630.xsd#farm_AmortizedIntangibleAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9c6bde9e-eef3-4904-acf9-7d978b247ca0" xlink:to="loc_farm_AmortizedIntangibleAssetsMember_dbb54a46-cd28-4990-8726-de8bfd04d569" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_d23aa89d-d9c2-4ca5-8167-74c3dbb1697d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_f054a5ae-17de-4a04-9355-4ee877bb717a" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_d23aa89d-d9c2-4ca5-8167-74c3dbb1697d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_d23aa89d-d9c2-4ca5-8167-74c3dbb1697d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_d23aa89d-d9c2-4ca5-8167-74c3dbb1697d" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_d23aa89d-d9c2-4ca5-8167-74c3dbb1697d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_e79390a8-1b66-4f47-9335-1ba01e944944" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_d23aa89d-d9c2-4ca5-8167-74c3dbb1697d" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_e79390a8-1b66-4f47-9335-1ba01e944944" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradeNamesMember_5c7a44d5-020f-4dbe-a946-dd6a41df93f2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TradeNamesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_e79390a8-1b66-4f47-9335-1ba01e944944" xlink:to="loc_us-gaap_TradeNamesMember_5c7a44d5-020f-4dbe-a946-dd6a41df93f2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_UnamortizedIntangibleAssetsMember_e98f3edf-aa8a-4c1e-b67d-60e537f0f4dc" xlink:href="farm-20240630.xsd#farm_UnamortizedIntangibleAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_e79390a8-1b66-4f47-9335-1ba01e944944" xlink:to="loc_farm_UnamortizedIntangibleAssetsMember_e98f3edf-aa8a-4c1e-b67d-60e537f0f4dc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillRollForward_2618dad1-721d-4f13-a92b-a1f962c535ba" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GoodwillRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_bdc16938-8c6a-427d-ac1b-a8cb13a6a962" xlink:to="loc_us-gaap_GoodwillRollForward_2618dad1-721d-4f13-a92b-a1f962c535ba" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_32c4d6c1-479f-4a59-8817-2a4270393add" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_2618dad1-721d-4f13-a92b-a1f962c535ba" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_32c4d6c1-479f-4a59-8817-2a4270393add" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_38dfb3e8-aed7-4d66-baae-17d9bc95c0f3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_2618dad1-721d-4f13-a92b-a1f962c535ba" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_38dfb3e8-aed7-4d66-baae-17d9bc95c0f3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_0a9b2810-b4a6-4c5d-9aa0-c7bc20197f42" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_2618dad1-721d-4f13-a92b-a1f962c535ba" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_0a9b2810-b4a6-4c5d-9aa0-c7bc20197f42" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_45483312-1397-429e-a5f0-488e135a29db" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_2618dad1-721d-4f13-a92b-a1f962c535ba" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_45483312-1397-429e-a5f0-488e135a29db" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_6108da16-3204-40cf-8f28-c7145b3d4187" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_2618dad1-721d-4f13-a92b-a1f962c535ba" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_6108da16-3204-40cf-8f28-c7145b3d4187" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_5421ea1a-8fb9-45f0-8986-090bd4449a52" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_2618dad1-721d-4f13-a92b-a1f962c535ba" xlink:to="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_5421ea1a-8fb9-45f0-8986-090bd4449a52" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_9020ec3d-f0d9-4626-98af-b05a02eeaab5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_2618dad1-721d-4f13-a92b-a1f962c535ba" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_9020ec3d-f0d9-4626-98af-b05a02eeaab5" xlink:type="arc" order="7"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/IntangibleAssetsAmortizationofIntangibleAssetsDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#IntangibleAssetsAmortizationofIntangibleAssetsDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/IntangibleAssetsAmortizationofIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_6fa7155c-eb0b-48fe-ac5e-423d95de8240" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_d7cc4163-d43b-457f-84e0-b17a023dbc97" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_6fa7155c-eb0b-48fe-ac5e-423d95de8240" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_d7cc4163-d43b-457f-84e0-b17a023dbc97" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_320d5c4c-c5c0-49c6-a46e-5012055b7a76" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_d7cc4163-d43b-457f-84e0-b17a023dbc97" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_320d5c4c-c5c0-49c6-a46e-5012055b7a76" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_320d5c4c-c5c0-49c6-a46e-5012055b7a76_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_320d5c4c-c5c0-49c6-a46e-5012055b7a76" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_320d5c4c-c5c0-49c6-a46e-5012055b7a76_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_e009677b-39c4-4d82-bc71-2f6aee800a4b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_320d5c4c-c5c0-49c6-a46e-5012055b7a76" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_e009677b-39c4-4d82-bc71-2f6aee800a4b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_AmortizedIntangibleAssetsMember_01f5110f-672e-4e3c-9b28-c87ed4e5ca73" xlink:href="farm-20240630.xsd#farm_AmortizedIntangibleAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_e009677b-39c4-4d82-bc71-2f6aee800a4b" xlink:to="loc_farm_AmortizedIntangibleAssetsMember_01f5110f-672e-4e3c-9b28-c87ed4e5ca73" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_47410110-64a4-4acd-98fd-6441572d51e3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_6fa7155c-eb0b-48fe-ac5e-423d95de8240" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_47410110-64a4-4acd-98fd-6441572d51e3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_a5fefc96-4323-40c2-99f6-23485771c3fe" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_6fa7155c-eb0b-48fe-ac5e-423d95de8240" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_a5fefc96-4323-40c2-99f6-23485771c3fe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_bb597e81-9d64-430e-a46c-295256906547" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_6fa7155c-eb0b-48fe-ac5e-423d95de8240" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_bb597e81-9d64-430e-a46c-295256906547" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_5df2b7f9-98e6-4795-883f-ab4237663ab1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_6fa7155c-eb0b-48fe-ac5e-423d95de8240" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_5df2b7f9-98e6-4795-883f-ab4237663ab1" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_223cac1b-42d3-4ce0-8a00-920ca10d64eb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_6fa7155c-eb0b-48fe-ac5e-423d95de8240" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_223cac1b-42d3-4ce0-8a00-920ca10d64eb" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/EmployeeBenefitPlansNarrativeDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#EmployeeBenefitPlansNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/EmployeeBenefitPlansNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_171cf697-c142-403b-8ccb-d6298befc63f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_8a8201de-93c9-4a0b-b4db-4988436c76d4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_171cf697-c142-403b-8ccb-d6298befc63f" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_8a8201de-93c9-4a0b-b4db-4988436c76d4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanNameAxis_d4bcc886-ef91-4a44-8127-c0c5d1527e53" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetirementPlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_8a8201de-93c9-4a0b-b4db-4988436c76d4" xlink:to="loc_us-gaap_RetirementPlanNameAxis_d4bcc886-ef91-4a44-8127-c0c5d1527e53" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanNameDomain_d4bcc886-ef91-4a44-8127-c0c5d1527e53_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetirementPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanNameAxis_d4bcc886-ef91-4a44-8127-c0c5d1527e53" xlink:to="loc_us-gaap_RetirementPlanNameDomain_d4bcc886-ef91-4a44-8127-c0c5d1527e53_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanNameDomain_9cbb7fe8-973b-4cd4-b432-009304c770a0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetirementPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanNameAxis_d4bcc886-ef91-4a44-8127-c0c5d1527e53" xlink:to="loc_us-gaap_RetirementPlanNameDomain_9cbb7fe8-973b-4cd4-b432-009304c770a0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_FarmerBrothersPlanMember_b7cae074-66e2-408c-bd05-a7c8c549a3e7" xlink:href="farm-20240630.xsd#farm_FarmerBrothersPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_9cbb7fe8-973b-4cd4-b432-009304c770a0" xlink:to="loc_farm_FarmerBrothersPlanMember_b7cae074-66e2-408c-bd05-a7c8c549a3e7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_HourlyEmployeesPlanMember_8eae64d3-f84f-4411-9d66-5bcbf9523cf9" xlink:href="farm-20240630.xsd#farm_HourlyEmployeesPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_9cbb7fe8-973b-4cd4-b432-009304c770a0" xlink:to="loc_farm_HourlyEmployeesPlanMember_8eae64d3-f84f-4411-9d66-5bcbf9523cf9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_abbb5729-66be-4c57-acba-30b2e908e32b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetirementPlanTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_8a8201de-93c9-4a0b-b4db-4988436c76d4" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_abbb5729-66be-4c57-acba-30b2e908e32b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_abbb5729-66be-4c57-acba-30b2e908e32b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_abbb5729-66be-4c57-acba-30b2e908e32b" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_abbb5729-66be-4c57-acba-30b2e908e32b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_4e548ae7-dfbe-4fdd-841d-aedfedf01820" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_abbb5729-66be-4c57-acba-30b2e908e32b" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_4e548ae7-dfbe-4fdd-841d-aedfedf01820" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_efa31a92-eafb-4f2e-b58b-54bc44cf5da9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_4e548ae7-dfbe-4fdd-841d-aedfedf01820" xlink:to="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_efa31a92-eafb-4f2e-b58b-54bc44cf5da9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_RetirementPlanContributionAxis_8974d5f0-4941-4df2-922d-d037f57e832d" xlink:href="farm-20240630.xsd#farm_RetirementPlanContributionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_8a8201de-93c9-4a0b-b4db-4988436c76d4" xlink:to="loc_farm_RetirementPlanContributionAxis_8974d5f0-4941-4df2-922d-d037f57e832d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_RetirementPlanContributionDomain_8974d5f0-4941-4df2-922d-d037f57e832d_default" xlink:href="farm-20240630.xsd#farm_RetirementPlanContributionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_farm_RetirementPlanContributionAxis_8974d5f0-4941-4df2-922d-d037f57e832d" xlink:to="loc_farm_RetirementPlanContributionDomain_8974d5f0-4941-4df2-922d-d037f57e832d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_RetirementPlanContributionDomain_152899fe-c780-4db2-a681-30790b79007c" xlink:href="farm-20240630.xsd#farm_RetirementPlanContributionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_farm_RetirementPlanContributionAxis_8974d5f0-4941-4df2-922d-d037f57e832d" xlink:to="loc_farm_RetirementPlanContributionDomain_152899fe-c780-4db2-a681-30790b79007c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_FirstThresholdMember_3d21c8e6-72d7-48f5-90ac-8e4f639c0b05" xlink:href="farm-20240630.xsd#farm_FirstThresholdMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_farm_RetirementPlanContributionDomain_152899fe-c780-4db2-a681-30790b79007c" xlink:to="loc_farm_FirstThresholdMember_3d21c8e6-72d7-48f5-90ac-8e4f639c0b05" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_SecondThresholdMember_4ed22bb3-01bd-4b0d-b018-70f9c08fb25d" xlink:href="farm-20240630.xsd#farm_SecondThresholdMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_farm_RetirementPlanContributionDomain_152899fe-c780-4db2-a681-30790b79007c" xlink:to="loc_farm_SecondThresholdMember_4ed22bb3-01bd-4b0d-b018-70f9c08fb25d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_73236169-d7f5-4c0c-89ab-362c4a4d1501" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_8a8201de-93c9-4a0b-b4db-4988436c76d4" xlink:to="loc_srt_RangeAxis_73236169-d7f5-4c0c-89ab-362c4a4d1501" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_73236169-d7f5-4c0c-89ab-362c4a4d1501_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_73236169-d7f5-4c0c-89ab-362c4a4d1501" xlink:to="loc_srt_RangeMember_73236169-d7f5-4c0c-89ab-362c4a4d1501_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_e1860af1-1ecb-4f1c-b029-a05c5f7de1df" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_73236169-d7f5-4c0c-89ab-362c4a4d1501" xlink:to="loc_srt_RangeMember_e1860af1-1ecb-4f1c-b029-a05c5f7de1df" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_019d7d41-30fe-46a8-b8f0-560a09a3551d" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_e1860af1-1ecb-4f1c-b029-a05c5f7de1df" xlink:to="loc_srt_MinimumMember_019d7d41-30fe-46a8-b8f0-560a09a3551d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_ed407f19-3fe2-434b-b430-8312ebe154db" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_e1860af1-1ecb-4f1c-b029-a05c5f7de1df" xlink:to="loc_srt_MaximumMember_ed407f19-3fe2-434b-b430-8312ebe154db" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_MinimumNumberOfHoursToQualifyForTheBenefitPlan_b57bcf33-9459-4c92-870c-f65be886dc29" xlink:href="farm-20240630.xsd#farm_MinimumNumberOfHoursToQualifyForTheBenefitPlan"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_171cf697-c142-403b-8ccb-d6298befc63f" xlink:to="loc_farm_MinimumNumberOfHoursToQualifyForTheBenefitPlan_b57bcf33-9459-4c92-870c-f65be886dc29" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_NumberOfEmploymentDaysRequiredToReceiveBenefits_6663523c-7357-438c-9226-a174c99373ea" xlink:href="farm-20240630.xsd#farm_NumberOfEmploymentDaysRequiredToReceiveBenefits"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_171cf697-c142-403b-8ccb-d6298befc63f" xlink:to="loc_farm_NumberOfEmploymentDaysRequiredToReceiveBenefits_6663523c-7357-438c-9226-a174c99373ea" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_NumberOfDefinedBenefitPlans_fb3d9d12-eb40-4708-ad81-ad2cf9095293" xlink:href="farm-20240630.xsd#farm_NumberOfDefinedBenefitPlans"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_171cf697-c142-403b-8ccb-d6298befc63f" xlink:to="loc_farm_NumberOfDefinedBenefitPlans_fb3d9d12-eb40-4708-ad81-ad2cf9095293" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_InvestmentPeriodForLongTermCapitalMarketAssumptions_d590f265-d1ba-40a6-9989-f6cc749f2642" xlink:href="farm-20240630.xsd#farm_InvestmentPeriodForLongTermCapitalMarketAssumptions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_171cf697-c142-403b-8ccb-d6298befc63f" xlink:to="loc_farm_InvestmentPeriodForLongTermCapitalMarketAssumptions_d590f265-d1ba-40a6-9989-f6cc749f2642" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedAmortizationNextFiscalYear_8e4e4e95-0871-49a8-9e05-ef537a36c899" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanExpectedAmortizationNextFiscalYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_171cf697-c142-403b-8ccb-d6298befc63f" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedAmortizationNextFiscalYear_8e4e4e95-0871-49a8-9e05-ef537a36c899" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedFutureEmployerContributionsNextFiscalYear_06e3e585-8c53-453d-a9da-1c2f0f38be15" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanExpectedFutureEmployerContributionsNextFiscalYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_171cf697-c142-403b-8ccb-d6298befc63f" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedFutureEmployerContributionsNextFiscalYear_06e3e585-8c53-453d-a9da-1c2f0f38be15" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_MultiemployerPlanNumberofPlans_6b189986-4efa-4fca-8409-1c077585923c" xlink:href="farm-20240630.xsd#farm_MultiemployerPlanNumberofPlans"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_171cf697-c142-403b-8ccb-d6298befc63f" xlink:to="loc_farm_MultiemployerPlanNumberofPlans_6b189986-4efa-4fca-8409-1c077585923c" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MultiemployerPlanEmployerContributionCost_2861e87b-fac7-4f07-9f0e-6beacbda0a96" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_MultiemployerPlanEmployerContributionCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_171cf697-c142-403b-8ccb-d6298befc63f" xlink:to="loc_us-gaap_MultiemployerPlanEmployerContributionCost_2861e87b-fac7-4f07-9f0e-6beacbda0a96" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_MultiemployerPlansEstimatedEmployerContributionsinNextFiscalYear_99787716-a97d-46fb-a892-9ae0811f62f5" xlink:href="farm-20240630.xsd#farm_MultiemployerPlansEstimatedEmployerContributionsinNextFiscalYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_171cf697-c142-403b-8ccb-d6298befc63f" xlink:to="loc_farm_MultiemployerPlansEstimatedEmployerContributionsinNextFiscalYear_99787716-a97d-46fb-a892-9ae0811f62f5" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_DefinedContributionPlanNumberofHoursThreshold_20346296-8581-42d9-b6f4-3502e5ff745e" xlink:href="farm-20240630.xsd#farm_DefinedContributionPlanNumberofHoursThreshold"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_171cf697-c142-403b-8ccb-d6298befc63f" xlink:to="loc_farm_DefinedContributionPlanNumberofHoursThreshold_20346296-8581-42d9-b6f4-3502e5ff745e" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedContributionPlanMaximumAnnualContributionsPerEmployeePercent_78ddc6b2-b2e3-48c9-aa82-0173bcc7cbc9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedContributionPlanMaximumAnnualContributionsPerEmployeePercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_171cf697-c142-403b-8ccb-d6298befc63f" xlink:to="loc_us-gaap_DefinedContributionPlanMaximumAnnualContributionsPerEmployeePercent_78ddc6b2-b2e3-48c9-aa82-0173bcc7cbc9" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedContributionPlanEmployerMatchingContributionPercentOfMatch_6fd43e85-4922-4cc0-823d-6715bab1f13c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedContributionPlanEmployerMatchingContributionPercentOfMatch"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_171cf697-c142-403b-8ccb-d6298befc63f" xlink:to="loc_us-gaap_DefinedContributionPlanEmployerMatchingContributionPercentOfMatch_6fd43e85-4922-4cc0-823d-6715bab1f13c" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedContributionPlanEmployerMatchingContributionPercent_b7b9e996-751f-4880-bf43-a30a600fbe3c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedContributionPlanEmployerMatchingContributionPercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_171cf697-c142-403b-8ccb-d6298befc63f" xlink:to="loc_us-gaap_DefinedContributionPlanEmployerMatchingContributionPercent_b7b9e996-751f-4880-bf43-a30a600fbe3c" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_DefinedContributionPlanEmployerMatchingContributionAmount_d37bfd54-ee52-479c-bd09-cc7e73d12f70" xlink:href="farm-20240630.xsd#farm_DefinedContributionPlanEmployerMatchingContributionAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_171cf697-c142-403b-8ccb-d6298befc63f" xlink:to="loc_farm_DefinedContributionPlanEmployerMatchingContributionAmount_d37bfd54-ee52-479c-bd09-cc7e73d12f70" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_DefinedContributionPlanNumberofSharesContributed_4e583210-9c21-4654-b8f4-6dec556f88f2" xlink:href="farm-20240630.xsd#farm_DefinedContributionPlanNumberofSharesContributed"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_171cf697-c142-403b-8ccb-d6298befc63f" xlink:to="loc_farm_DefinedContributionPlanNumberofSharesContributed_4e583210-9c21-4654-b8f4-6dec556f88f2" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_OtherAssetsLifeInsurancePolicies_f73f9257-89bf-43c7-8471-a14458439354" xlink:href="farm-20240630.xsd#farm_OtherAssetsLifeInsurancePolicies"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_171cf697-c142-403b-8ccb-d6298befc63f" xlink:to="loc_farm_OtherAssetsLifeInsurancePolicies_f73f9257-89bf-43c7-8471-a14458439354" xlink:type="arc" order="15"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/EmployeeBenefitPlansChangeinProjectedBenefitObligationPlanAssetsandNetFundedStatusDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#EmployeeBenefitPlansChangeinProjectedBenefitObligationPlanAssetsandNetFundedStatusDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/EmployeeBenefitPlansChangeinProjectedBenefitObligationPlanAssetsandNetFundedStatusDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_72ad7c78-6d4a-464f-a5ef-9fb839b56e61" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_87329e39-c3b8-41bd-b270-0293bb1f6394" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_72ad7c78-6d4a-464f-a5ef-9fb839b56e61" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_87329e39-c3b8-41bd-b270-0293bb1f6394" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanNameAxis_caa62e9f-0a4d-48e8-93d1-f9e4c011b03d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetirementPlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_87329e39-c3b8-41bd-b270-0293bb1f6394" xlink:to="loc_us-gaap_RetirementPlanNameAxis_caa62e9f-0a4d-48e8-93d1-f9e4c011b03d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanNameDomain_caa62e9f-0a4d-48e8-93d1-f9e4c011b03d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetirementPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanNameAxis_caa62e9f-0a4d-48e8-93d1-f9e4c011b03d" xlink:to="loc_us-gaap_RetirementPlanNameDomain_caa62e9f-0a4d-48e8-93d1-f9e4c011b03d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanNameDomain_62a6c576-68c3-43f7-a1f0-0cbbaf1115b0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetirementPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanNameAxis_caa62e9f-0a4d-48e8-93d1-f9e4c011b03d" xlink:to="loc_us-gaap_RetirementPlanNameDomain_62a6c576-68c3-43f7-a1f0-0cbbaf1115b0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_FarmerBrothersPlanMember_53175b52-c838-4a83-885e-158dd8ac87e9" xlink:href="farm-20240630.xsd#farm_FarmerBrothersPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_62a6c576-68c3-43f7-a1f0-0cbbaf1115b0" xlink:to="loc_farm_FarmerBrothersPlanMember_53175b52-c838-4a83-885e-158dd8ac87e9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_HourlyEmployeesPlanMember_3068e779-6c58-47e2-a7e7-da06b2058490" xlink:href="farm-20240630.xsd#farm_HourlyEmployeesPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_62a6c576-68c3-43f7-a1f0-0cbbaf1115b0" xlink:to="loc_farm_HourlyEmployeesPlanMember_3068e779-6c58-47e2-a7e7-da06b2058490" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_acd4ee14-cf8e-4fe4-beeb-6766958ef3f7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_72ad7c78-6d4a-464f-a5ef-9fb839b56e61" xlink:to="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_acd4ee14-cf8e-4fe4-beeb-6766958ef3f7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanBenefitObligation_efbd2ab2-603a-415e-8647-cc0b0f08bbce" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanBenefitObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_acd4ee14-cf8e-4fe4-beeb-6766958ef3f7" xlink:to="loc_us-gaap_DefinedBenefitPlanBenefitObligation_efbd2ab2-603a-415e-8647-cc0b0f08bbce" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_2efe6f42-3976-4b13-8e6c-4508dbb3f9e3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanInterestCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_acd4ee14-cf8e-4fe4-beeb-6766958ef3f7" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_2efe6f42-3976-4b13-8e6c-4508dbb3f9e3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanActuarialGainLoss_1a6bedf9-0fd5-4d6d-83d5-c1c47614bc8b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanActuarialGainLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_acd4ee14-cf8e-4fe4-beeb-6766958ef3f7" xlink:to="loc_us-gaap_DefinedBenefitPlanActuarialGainLoss_1a6bedf9-0fd5-4d6d-83d5-c1c47614bc8b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanBenefitObligationBenefitsPaid_1f1e1075-d0e5-4eed-8df4-8084d966383b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanBenefitObligationBenefitsPaid"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_acd4ee14-cf8e-4fe4-beeb-6766958ef3f7" xlink:to="loc_us-gaap_DefinedBenefitPlanBenefitObligationBenefitsPaid_1f1e1075-d0e5-4eed-8df4-8084d966383b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanBenefitObligation_4e1a77cc-75a1-4697-995f-2cb8062c78a1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanBenefitObligation"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostCreditExcludingServiceCostStatementOfIncomeOrComprehensiveIncomeExtensibleList_ab57270f-06e0-440a-b798-e5699caeffc6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostCreditExcludingServiceCostStatementOfIncomeOrComprehensiveIncomeExtensibleList"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_72ad7c78-6d4a-464f-a5ef-9fb839b56e61" xlink:to="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostCreditExcludingServiceCostStatementOfIncomeOrComprehensiveIncomeExtensibleList_ab57270f-06e0-440a-b798-e5699caeffc6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_202abade-0136-4edf-91f3-2d864202b406" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_72ad7c78-6d4a-464f-a5ef-9fb839b56e61" xlink:to="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_202abade-0136-4edf-91f3-2d864202b406" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_3a5c776e-a9a1-4688-b61a-de854620fb5d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanFairValueOfPlanAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_202abade-0136-4edf-91f3-2d864202b406" xlink:to="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_3a5c776e-a9a1-4688-b61a-de854620fb5d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanActualReturnOnPlanAssets_1d653796-d9c7-4006-8b66-5668991fc326" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanActualReturnOnPlanAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_202abade-0136-4edf-91f3-2d864202b406" xlink:to="loc_us-gaap_DefinedBenefitPlanActualReturnOnPlanAssets_1d653796-d9c7-4006-8b66-5668991fc326" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanContributionsByEmployer_04d447d0-284d-4f2d-8b61-2d9761508ce5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanContributionsByEmployer"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_202abade-0136-4edf-91f3-2d864202b406" xlink:to="loc_us-gaap_DefinedBenefitPlanContributionsByEmployer_04d447d0-284d-4f2d-8b61-2d9761508ce5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanPlanAssetsBenefitsPaid_8f897793-9a06-4db2-8b1b-538b15c3b14b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanPlanAssetsBenefitsPaid"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_202abade-0136-4edf-91f3-2d864202b406" xlink:to="loc_us-gaap_DefinedBenefitPlanPlanAssetsBenefitsPaid_8f897793-9a06-4db2-8b1b-538b15c3b14b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_f7fb1328-3b6b-4759-87a3-c178f196d35b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanFairValueOfPlanAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_40fd134f-c570-4d56-815b-a770935686dc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanFundedStatusOfPlan"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_72ad7c78-6d4a-464f-a5ef-9fb839b56e61" xlink:to="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_40fd134f-c570-4d56-815b-a770935686dc" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheetAbstract_c9971a50-73ec-49c7-9dd9-5e84d11aaab4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheetAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_72ad7c78-6d4a-464f-a5ef-9fb839b56e61" xlink:to="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheetAbstract_c9971a50-73ec-49c7-9dd9-5e84d11aaab4" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent_2fbbe6bf-75e0-4d2d-a39c-a2bc37d02942" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheetAbstract_c9971a50-73ec-49c7-9dd9-5e84d11aaab4" xlink:to="loc_us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent_2fbbe6bf-75e0-4d2d-a39c-a2bc37d02942" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_cce8fe1b-d235-4a60-8634-2de654b137d8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheetAbstract_c9971a50-73ec-49c7-9dd9-5e84d11aaab4" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_cce8fe1b-d235-4a60-8634-2de654b137d8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_eddc8a5d-2ade-42cc-aa0c-0cf235cb2e3e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheetAbstract_c9971a50-73ec-49c7-9dd9-5e84d11aaab4" xlink:to="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_eddc8a5d-2ade-42cc-aa0c-0cf235cb2e3e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeAbstract_1873ea33-0343-4754-9168-b310dcc1f6a7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_72ad7c78-6d4a-464f-a5ef-9fb839b56e61" xlink:to="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeAbstract_1873ea33-0343-4754-9168-b310dcc1f6a7" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeLossNetGainLossBeforeTax_a5cdce92-af49-4fdf-9aa4-c4cdd8a48a1b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeLossNetGainLossBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeAbstract_1873ea33-0343-4754-9168-b310dcc1f6a7" xlink:to="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeLossNetGainLossBeforeTax_a5cdce92-af49-4fdf-9aa4-c4cdd8a48a1b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax_00c9ff56-9dbc-4bad-9a04-a1756e7360e8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeAbstract_1873ea33-0343-4754-9168-b310dcc1f6a7" xlink:to="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax_00c9ff56-9dbc-4bad-9a04-a1756e7360e8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract_ea1b92a9-61d9-4804-8807-932469287a39" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_72ad7c78-6d4a-464f-a5ef-9fb839b56e61" xlink:to="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract_ea1b92a9-61d9-4804-8807-932469287a39" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate_2a73ed7f-9447-40e2-b6a6-0f0f63409790" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract_ea1b92a9-61d9-4804-8807-932469287a39" xlink:to="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate_2a73ed7f-9447-40e2-b6a6-0f0f63409790" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/EmployeeBenefitPlansComponentsofNetPeriodicBenefitCostandAmountsRecognizedinOtherComprehensiveIncomeDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#EmployeeBenefitPlansComponentsofNetPeriodicBenefitCostandAmountsRecognizedinOtherComprehensiveIncomeDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/EmployeeBenefitPlansComponentsofNetPeriodicBenefitCostandAmountsRecognizedinOtherComprehensiveIncomeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_93bb2419-85f7-47cd-a2e2-945aab62ccee" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_cf06023c-d43f-4b37-bd09-dcbbcea07447" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_93bb2419-85f7-47cd-a2e2-945aab62ccee" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_cf06023c-d43f-4b37-bd09-dcbbcea07447" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanNameAxis_3e4b2cc6-1a7c-444e-a8cd-aef08394afee" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetirementPlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_cf06023c-d43f-4b37-bd09-dcbbcea07447" xlink:to="loc_us-gaap_RetirementPlanNameAxis_3e4b2cc6-1a7c-444e-a8cd-aef08394afee" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanNameDomain_3e4b2cc6-1a7c-444e-a8cd-aef08394afee_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetirementPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanNameAxis_3e4b2cc6-1a7c-444e-a8cd-aef08394afee" xlink:to="loc_us-gaap_RetirementPlanNameDomain_3e4b2cc6-1a7c-444e-a8cd-aef08394afee_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanNameDomain_04eb26e9-2acb-49c2-8943-6365ff517715" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetirementPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanNameAxis_3e4b2cc6-1a7c-444e-a8cd-aef08394afee" xlink:to="loc_us-gaap_RetirementPlanNameDomain_04eb26e9-2acb-49c2-8943-6365ff517715" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_FarmerBrothersPlanMember_92ff81fa-6e65-45f9-9acb-3fec8d4d508e" xlink:href="farm-20240630.xsd#farm_FarmerBrothersPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_04eb26e9-2acb-49c2-8943-6365ff517715" xlink:to="loc_farm_FarmerBrothersPlanMember_92ff81fa-6e65-45f9-9acb-3fec8d4d508e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_HourlyEmployeesPlanMember_22d79505-af24-4e48-8b5f-8398e8052e52" xlink:href="farm-20240630.xsd#farm_HourlyEmployeesPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_04eb26e9-2acb-49c2-8943-6365ff517715" xlink:to="loc_farm_HourlyEmployeesPlanMember_22d79505-af24-4e48-8b5f-8398e8052e52" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract_f45d63fb-8bda-48ac-9c81-640a45d50c66" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_93bb2419-85f7-47cd-a2e2-945aab62ccee" xlink:to="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract_f45d63fb-8bda-48ac-9c81-640a45d50c66" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_29b30c96-0577-41fe-bd2b-be3657dd78fe" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanInterestCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract_f45d63fb-8bda-48ac-9c81-640a45d50c66" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_29b30c96-0577-41fe-bd2b-be3657dd78fe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_9e6ced7b-7c7e-4c8c-88bc-eb601c55a156" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract_f45d63fb-8bda-48ac-9c81-640a45d50c66" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_9e6ced7b-7c7e-4c8c-88bc-eb601c55a156" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_28cb3ed2-83f5-415b-994c-fc276faa5870" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract_f45d63fb-8bda-48ac-9c81-640a45d50c66" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_28cb3ed2-83f5-415b-994c-fc276faa5870" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_1916f4c2-b6b6-4143-a70b-db48bc95124f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCostAbstract_f45d63fb-8bda-48ac-9c81-640a45d50c66" xlink:to="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_1916f4c2-b6b6-4143-a70b-db48bc95124f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeAbstract_f3b6dfc2-fc36-44eb-8973-86a50643464f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_93bb2419-85f7-47cd-a2e2-945aab62ccee" xlink:to="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeAbstract_f3b6dfc2-fc36-44eb-8973-86a50643464f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansNetUnamortizedGainLossArisingDuringPeriodNetOfTax_9101eb0a-13e8-4557-841d-70d861ebe797" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansNetUnamortizedGainLossArisingDuringPeriodNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeAbstract_f3b6dfc2-fc36-44eb-8973-86a50643464f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeDefinedBenefitPlansNetUnamortizedGainLossArisingDuringPeriodNetOfTax_9101eb0a-13e8-4557-841d-70d861ebe797" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax_b7d7dd7e-a8d7-43e9-af2e-6b9df0a74034" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeAbstract_f3b6dfc2-fc36-44eb-8973-86a50643464f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetGainLossNetOfTax_b7d7dd7e-a8d7-43e9-af2e-6b9df0a74034" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_d5d724d1-fe1f-40d9-9f2f-96eccb22d8ea" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeAbstract_f3b6dfc2-fc36-44eb-8973-86a50643464f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_d5d724d1-fe1f-40d9-9f2f-96eccb22d8ea" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentAndNetPeriodicBenefitCostNetOfTax_7abb71f8-0663-4b5b-9b0d-38a78a792de4" xlink:href="farm-20240630.xsd#farm_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentAndNetPeriodicBenefitCostNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_93bb2419-85f7-47cd-a2e2-945aab62ccee" xlink:to="loc_farm_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentAndNetPeriodicBenefitCostNetOfTax_7abb71f8-0663-4b5b-9b0d-38a78a792de4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract_d9209bb5-b4fe-4689-a73b-616df607c237" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_93bb2419-85f7-47cd-a2e2-945aab62ccee" xlink:to="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract_d9209bb5-b4fe-4689-a73b-616df607c237" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRate_d9f60ebc-d72b-4225-a8d2-76cc353979d7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract_d9209bb5-b4fe-4689-a73b-616df607c237" xlink:to="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRate_d9f60ebc-d72b-4225-a8d2-76cc353979d7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets_24de55cd-8c27-4ff7-9a78-3eea9d179738" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract_d9209bb5-b4fe-4689-a73b-616df607c237" xlink:to="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets_24de55cd-8c27-4ff7-9a78-3eea9d179738" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_DefinedBenefitPlanNetPeriodicBenefitCostCreditExpectedReturnLossStatementOfIncomeOrComprehensiveIncomeExtensibleListNotDisclosedFlag_0ce37259-1c2c-47da-81dc-45448d72e4b4" xlink:href="farm-20240630.xsd#farm_DefinedBenefitPlanNetPeriodicBenefitCostCreditExpectedReturnLossStatementOfIncomeOrComprehensiveIncomeExtensibleListNotDisclosedFlag"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract_d9209bb5-b4fe-4689-a73b-616df607c237" xlink:to="loc_farm_DefinedBenefitPlanNetPeriodicBenefitCostCreditExpectedReturnLossStatementOfIncomeOrComprehensiveIncomeExtensibleListNotDisclosedFlag_0ce37259-1c2c-47da-81dc-45448d72e4b4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_DefinedBenefitPlanNetPeriodicBenefitCostCreditAmortizationOfGainLossStatementOfIncomeOrComprehensiveIncomeExtensibleListNotDisclosedFlag_8171c1f6-a649-402d-8df7-d389e25d43e1" xlink:href="farm-20240630.xsd#farm_DefinedBenefitPlanNetPeriodicBenefitCostCreditAmortizationOfGainLossStatementOfIncomeOrComprehensiveIncomeExtensibleListNotDisclosedFlag"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract_d9209bb5-b4fe-4689-a73b-616df607c237" xlink:to="loc_farm_DefinedBenefitPlanNetPeriodicBenefitCostCreditAmortizationOfGainLossStatementOfIncomeOrComprehensiveIncomeExtensibleListNotDisclosedFlag_8171c1f6-a649-402d-8df7-d389e25d43e1" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/EmployeeBenefitPlansDescriptionofInvestmentPolicyDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#EmployeeBenefitPlansDescriptionofInvestmentPolicyDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/EmployeeBenefitPlansDescriptionofInvestmentPolicyDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_8b920e22-bc31-429f-9abf-213682fd466a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_8366c462-90b7-4f20-8f82-da639e6a481d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_8b920e22-bc31-429f-9abf-213682fd466a" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_8366c462-90b7-4f20-8f82-da639e6a481d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanNameAxis_f95048bb-0a69-4292-83bd-44ffd4abf7a5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetirementPlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_8366c462-90b7-4f20-8f82-da639e6a481d" xlink:to="loc_us-gaap_RetirementPlanNameAxis_f95048bb-0a69-4292-83bd-44ffd4abf7a5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanNameDomain_f95048bb-0a69-4292-83bd-44ffd4abf7a5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetirementPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanNameAxis_f95048bb-0a69-4292-83bd-44ffd4abf7a5" xlink:to="loc_us-gaap_RetirementPlanNameDomain_f95048bb-0a69-4292-83bd-44ffd4abf7a5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanNameDomain_60bfcd9a-36d1-446d-bb9f-776ab9574442" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetirementPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanNameAxis_f95048bb-0a69-4292-83bd-44ffd4abf7a5" xlink:to="loc_us-gaap_RetirementPlanNameDomain_60bfcd9a-36d1-446d-bb9f-776ab9574442" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_FarmerBrothersPlanMember_c2e15c18-fac9-4872-a63d-9fa1066d3601" xlink:href="farm-20240630.xsd#farm_FarmerBrothersPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_60bfcd9a-36d1-446d-bb9f-776ab9574442" xlink:to="loc_farm_FarmerBrothersPlanMember_c2e15c18-fac9-4872-a63d-9fa1066d3601" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_HourlyEmployeesPlanMember_0e6f888f-7402-41b0-b0e5-97ead0cbb72d" xlink:href="farm-20240630.xsd#farm_HourlyEmployeesPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_60bfcd9a-36d1-446d-bb9f-776ab9574442" xlink:to="loc_farm_HourlyEmployeesPlanMember_0e6f888f-7402-41b0-b0e5-97ead0cbb72d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_348e565f-be97-459a-b830-574f9e9b97d9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_8366c462-90b7-4f20-8f82-da639e6a481d" xlink:to="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_348e565f-be97-459a-b830-574f9e9b97d9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanAssetCategoriesDomain_348e565f-be97-459a-b830-574f9e9b97d9_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PlanAssetCategoriesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_348e565f-be97-459a-b830-574f9e9b97d9" xlink:to="loc_us-gaap_PlanAssetCategoriesDomain_348e565f-be97-459a-b830-574f9e9b97d9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanAssetCategoriesDomain_a5a95808-39a3-4427-b7a0-88e84822266d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PlanAssetCategoriesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_348e565f-be97-459a-b830-574f9e9b97d9" xlink:to="loc_us-gaap_PlanAssetCategoriesDomain_a5a95808-39a3-4427-b7a0-88e84822266d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanEquitySecuritiesMember_467a6c4d-f2af-4cd9-9bd1-a687c1bc239c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanEquitySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_a5a95808-39a3-4427-b7a0-88e84822266d" xlink:to="loc_us-gaap_DefinedBenefitPlanEquitySecuritiesMember_467a6c4d-f2af-4cd9-9bd1-a687c1bc239c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanDebtSecurityMember_dd339ce9-74ca-4960-8935-144a37ecc98b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanDebtSecurityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_a5a95808-39a3-4427-b7a0-88e84822266d" xlink:to="loc_us-gaap_DefinedBenefitPlanDebtSecurityMember_dd339ce9-74ca-4960-8935-144a37ecc98b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanRealEstateMember_5bd5c4db-5c20-4aab-83bb-d9dd6c4bbd41" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanRealEstateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_a5a95808-39a3-4427-b7a0-88e84822266d" xlink:to="loc_us-gaap_DefinedBenefitPlanRealEstateMember_5bd5c4db-5c20-4aab-83bb-d9dd6c4bbd41" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanBenefitObligation_b47da8bb-241b-44b7-8464-ebb725aef645" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanBenefitObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_8b920e22-bc31-429f-9abf-213682fd466a" xlink:to="loc_us-gaap_DefinedBenefitPlanBenefitObligation_b47da8bb-241b-44b7-8464-ebb725aef645" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAccumulatedBenefitObligation_c3a8ae50-8625-4875-b7f0-4d5dfbd880c3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanAccumulatedBenefitObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_8b920e22-bc31-429f-9abf-213682fd466a" xlink:to="loc_us-gaap_DefinedBenefitPlanAccumulatedBenefitObligation_c3a8ae50-8625-4875-b7f0-4d5dfbd880c3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_21bb619a-1228-419c-9079-85260a2ade10" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanFairValueOfPlanAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_8b920e22-bc31-429f-9abf-213682fd466a" xlink:to="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_21bb619a-1228-419c-9079-85260a2ade10" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssetAllocations_656e23c7-a4b1-4898-8267-9bf07ccdaab6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanWeightedAverageAssetAllocations"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_8b920e22-bc31-429f-9abf-213682fd466a" xlink:to="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssetAllocations_656e23c7-a4b1-4898-8267-9bf07ccdaab6" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/EmployeeBenefitPlansFairValueofPlanAssetsDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#EmployeeBenefitPlansFairValueofPlanAssetsDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/EmployeeBenefitPlansFairValueofPlanAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_b29cb61e-bc21-48b1-90ed-47e895e73c22" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_31636d12-5543-4fcc-8bd2-ac115f6fad90" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_b29cb61e-bc21-48b1-90ed-47e895e73c22" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_31636d12-5543-4fcc-8bd2-ac115f6fad90" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_d8614896-9922-43af-af12-255e9b7134ce" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_31636d12-5543-4fcc-8bd2-ac115f6fad90" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_d8614896-9922-43af-af12-255e9b7134ce" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_d8614896-9922-43af-af12-255e9b7134ce_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_d8614896-9922-43af-af12-255e9b7134ce" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_d8614896-9922-43af-af12-255e9b7134ce_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_6572240a-d4a4-4382-a2ce-c55e8e263dc2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_d8614896-9922-43af-af12-255e9b7134ce" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_6572240a-d4a4-4382-a2ce-c55e8e263dc2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_6ddc1be6-af69-4187-b840-1169229f32c3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_6572240a-d4a4-4382-a2ce-c55e8e263dc2" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_6ddc1be6-af69-4187-b840-1169229f32c3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_2ee5927b-c15d-4943-972c-0e58b0f4bf89" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_6572240a-d4a4-4382-a2ce-c55e8e263dc2" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_2ee5927b-c15d-4943-972c-0e58b0f4bf89" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_6f0a6479-bc94-4ef6-9d27-3a0f1eba57c9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_6572240a-d4a4-4382-a2ce-c55e8e263dc2" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_6f0a6479-bc94-4ef6-9d27-3a0f1eba57c9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasuredAtNetAssetValuePerShareMember_1c7b2223-91a4-49cf-860f-074ed00bfbd5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasuredAtNetAssetValuePerShareMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_6572240a-d4a4-4382-a2ce-c55e8e263dc2" xlink:to="loc_us-gaap_FairValueMeasuredAtNetAssetValuePerShareMember_1c7b2223-91a4-49cf-860f-074ed00bfbd5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanNameAxis_59095f2b-1322-4557-b990-ee321d481b6c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetirementPlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_31636d12-5543-4fcc-8bd2-ac115f6fad90" xlink:to="loc_us-gaap_RetirementPlanNameAxis_59095f2b-1322-4557-b990-ee321d481b6c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanNameDomain_59095f2b-1322-4557-b990-ee321d481b6c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetirementPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanNameAxis_59095f2b-1322-4557-b990-ee321d481b6c" xlink:to="loc_us-gaap_RetirementPlanNameDomain_59095f2b-1322-4557-b990-ee321d481b6c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanNameDomain_ab16db1b-b485-4af3-bda8-5fc509b05772" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetirementPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanNameAxis_59095f2b-1322-4557-b990-ee321d481b6c" xlink:to="loc_us-gaap_RetirementPlanNameDomain_ab16db1b-b485-4af3-bda8-5fc509b05772" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_FarmerBrothersPlanMember_4385db9f-a98c-424a-b653-465e436efda0" xlink:href="farm-20240630.xsd#farm_FarmerBrothersPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_ab16db1b-b485-4af3-bda8-5fc509b05772" xlink:to="loc_farm_FarmerBrothersPlanMember_4385db9f-a98c-424a-b653-465e436efda0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_HourlyEmployeesPlanMember_11b14265-8d92-4957-b77e-6b68ddc6e797" xlink:href="farm-20240630.xsd#farm_HourlyEmployeesPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_ab16db1b-b485-4af3-bda8-5fc509b05772" xlink:to="loc_farm_HourlyEmployeesPlanMember_11b14265-8d92-4957-b77e-6b68ddc6e797" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_d6ca7b68-154a-4aff-9fe4-368d0a76b54c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanFairValueOfPlanAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_b29cb61e-bc21-48b1-90ed-47e895e73c22" xlink:to="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_d6ca7b68-154a-4aff-9fe4-368d0a76b54c" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/EmployeeBenefitPlansTargetPlanAssetAllocationDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#EmployeeBenefitPlansTargetPlanAssetAllocationDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/EmployeeBenefitPlansTargetPlanAssetAllocationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_2cfca02b-6cb6-4336-b8c5-bc6de9cb5b39" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_e37b6486-9b2c-4ab2-9526-1b99cdd850f4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_2cfca02b-6cb6-4336-b8c5-bc6de9cb5b39" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_e37b6486-9b2c-4ab2-9526-1b99cdd850f4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_1f04ba2d-711e-41db-a9be-b849828b4cd9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_e37b6486-9b2c-4ab2-9526-1b99cdd850f4" xlink:to="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_1f04ba2d-711e-41db-a9be-b849828b4cd9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanAssetCategoriesDomain_1f04ba2d-711e-41db-a9be-b849828b4cd9_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PlanAssetCategoriesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_1f04ba2d-711e-41db-a9be-b849828b4cd9" xlink:to="loc_us-gaap_PlanAssetCategoriesDomain_1f04ba2d-711e-41db-a9be-b849828b4cd9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanAssetCategoriesDomain_47fbcc45-6791-4536-9724-b2a8eff3c6b4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PlanAssetCategoriesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_1f04ba2d-711e-41db-a9be-b849828b4cd9" xlink:to="loc_us-gaap_PlanAssetCategoriesDomain_47fbcc45-6791-4536-9724-b2a8eff3c6b4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_USLargeCapEquitySecuritiesMember_e2bda054-a444-497e-b72b-ca3832b55b83" xlink:href="farm-20240630.xsd#farm_USLargeCapEquitySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_47fbcc45-6791-4536-9724-b2a8eff3c6b4" xlink:to="loc_farm_USLargeCapEquitySecuritiesMember_e2bda054-a444-497e-b72b-ca3832b55b83" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_USSmallCapEquitySecuritiesMember_4a562d60-0f53-4e24-85e4-9af6e245ff2f" xlink:href="farm-20240630.xsd#farm_USSmallCapEquitySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_47fbcc45-6791-4536-9724-b2a8eff3c6b4" xlink:to="loc_farm_USSmallCapEquitySecuritiesMember_4a562d60-0f53-4e24-85e4-9af6e245ff2f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_InternationalEquitySecuritiesMember_716e7152-8cdd-461d-9852-c3232a18bcb6" xlink:href="farm-20240630.xsd#farm_InternationalEquitySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_47fbcc45-6791-4536-9724-b2a8eff3c6b4" xlink:to="loc_farm_InternationalEquitySecuritiesMember_716e7152-8cdd-461d-9852-c3232a18bcb6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanDebtSecurityMember_ee511d20-33a1-4bb3-a7b5-12b10df295b9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanDebtSecurityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_47fbcc45-6791-4536-9724-b2a8eff3c6b4" xlink:to="loc_us-gaap_DefinedBenefitPlanDebtSecurityMember_ee511d20-33a1-4bb3-a7b5-12b10df295b9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanRealEstateMember_84e9b953-4c3b-4a7d-a4bd-bddc9efa10a5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanRealEstateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_47fbcc45-6791-4536-9724-b2a8eff3c6b4" xlink:to="loc_us-gaap_DefinedBenefitPlanRealEstateMember_84e9b953-4c3b-4a7d-a4bd-bddc9efa10a5" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanPlanAssetsTargetAllocationPercentage_3517f3e4-0e67-4c88-9f63-f6fcb00eb8bc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanPlanAssetsTargetAllocationPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_2cfca02b-6cb6-4336-b8c5-bc6de9cb5b39" xlink:to="loc_us-gaap_DefinedBenefitPlanPlanAssetsTargetAllocationPercentage_3517f3e4-0e67-4c88-9f63-f6fcb00eb8bc" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/EmployeeBenefitPlansEstimatedFutureBenefitPaymentsDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#EmployeeBenefitPlansEstimatedFutureBenefitPaymentsDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/EmployeeBenefitPlansEstimatedFutureBenefitPaymentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_3b7a4023-cf71-4ca3-9ddb-67f6794d1fa7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_87bdbb18-c45f-425f-b138-b6faba2aad0a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_3b7a4023-cf71-4ca3-9ddb-67f6794d1fa7" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_87bdbb18-c45f-425f-b138-b6faba2aad0a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_e903d245-9c4d-4eea-a642-5a003a8eb29d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetirementPlanTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_87bdbb18-c45f-425f-b138-b6faba2aad0a" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_e903d245-9c4d-4eea-a642-5a003a8eb29d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_e903d245-9c4d-4eea-a642-5a003a8eb29d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_e903d245-9c4d-4eea-a642-5a003a8eb29d" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_e903d245-9c4d-4eea-a642-5a003a8eb29d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_6e27962a-b35b-4aac-aae9-ca5b5958afa0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_e903d245-9c4d-4eea-a642-5a003a8eb29d" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_6e27962a-b35b-4aac-aae9-ca5b5958afa0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_86ad2700-26b3-4d4d-8dce-e9840bea530d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_6e27962a-b35b-4aac-aae9-ca5b5958afa0" xlink:to="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_86ad2700-26b3-4d4d-8dce-e9840bea530d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanNameAxis_62771833-f48e-49dd-befe-2858a95375c2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetirementPlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_87bdbb18-c45f-425f-b138-b6faba2aad0a" xlink:to="loc_us-gaap_RetirementPlanNameAxis_62771833-f48e-49dd-befe-2858a95375c2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanNameDomain_62771833-f48e-49dd-befe-2858a95375c2_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetirementPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanNameAxis_62771833-f48e-49dd-befe-2858a95375c2" xlink:to="loc_us-gaap_RetirementPlanNameDomain_62771833-f48e-49dd-befe-2858a95375c2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanNameDomain_f7f4ba05-2064-48c0-96eb-cf492a374497" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetirementPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanNameAxis_62771833-f48e-49dd-befe-2858a95375c2" xlink:to="loc_us-gaap_RetirementPlanNameDomain_f7f4ba05-2064-48c0-96eb-cf492a374497" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_FarmerBrothersPlanMember_7d7bd336-1cf8-44be-af7a-24c9555eeab6" xlink:href="farm-20240630.xsd#farm_FarmerBrothersPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_f7f4ba05-2064-48c0-96eb-cf492a374497" xlink:to="loc_farm_FarmerBrothersPlanMember_7d7bd336-1cf8-44be-af7a-24c9555eeab6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_HourlyEmployeesPlanMember_62ec45f9-df3a-4fd2-8c87-b1e017278fbd" xlink:href="farm-20240630.xsd#farm_HourlyEmployeesPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_f7f4ba05-2064-48c0-96eb-cf492a374497" xlink:to="loc_farm_HourlyEmployeesPlanMember_62ec45f9-df3a-4fd2-8c87-b1e017278fbd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsNextTwelveMonths_e80c3eaa-666f-43b8-a718-82507a5f3d3b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsNextTwelveMonths"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_3b7a4023-cf71-4ca3-9ddb-67f6794d1fa7" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsNextTwelveMonths_e80c3eaa-666f-43b8-a718-82507a5f3d3b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearTwo_f0931770-b8ad-4df3-866f-f50a2819754d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearTwo"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_3b7a4023-cf71-4ca3-9ddb-67f6794d1fa7" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearTwo_f0931770-b8ad-4df3-866f-f50a2819754d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearThree_0f1845ab-3d66-4d40-be3a-987323b56972" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearThree"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_3b7a4023-cf71-4ca3-9ddb-67f6794d1fa7" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearThree_0f1845ab-3d66-4d40-be3a-987323b56972" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFour_0f9406b0-4460-4b4d-b109-42b1b93c0726" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFour"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_3b7a4023-cf71-4ca3-9ddb-67f6794d1fa7" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFour_0f9406b0-4460-4b4d-b109-42b1b93c0726" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFive_d987c167-5215-484b-9a86-9faf29736244" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFive"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_3b7a4023-cf71-4ca3-9ddb-67f6794d1fa7" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFive_d987c167-5215-484b-9a86-9faf29736244" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsFiveFiscalYearsThereafter_2a8e68f3-9f08-42a6-b2b7-7194c29fa354" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsFiveFiscalYearsThereafter"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_3b7a4023-cf71-4ca3-9ddb-67f6794d1fa7" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsFiveFiscalYearsThereafter_2a8e68f3-9f08-42a6-b2b7-7194c29fa354" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/EmployeeBenefitPlansMultiEmployerPlanDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#EmployeeBenefitPlansMultiEmployerPlanDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/EmployeeBenefitPlansMultiEmployerPlanDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MultiemployerPlansLineItems_82ca5589-1de2-4401-94f1-beef780ca190" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_MultiemployerPlansLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfMultiemployerPlansTable_9e6a46d1-7369-4d7f-a964-2190e5e87d66" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfMultiemployerPlansTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_MultiemployerPlansLineItems_82ca5589-1de2-4401-94f1-beef780ca190" xlink:to="loc_us-gaap_ScheduleOfMultiemployerPlansTable_9e6a46d1-7369-4d7f-a964-2190e5e87d66" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanNameAxis_36610489-7676-4f13-846e-6f39b8c947ab" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetirementPlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfMultiemployerPlansTable_9e6a46d1-7369-4d7f-a964-2190e5e87d66" xlink:to="loc_us-gaap_RetirementPlanNameAxis_36610489-7676-4f13-846e-6f39b8c947ab" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanNameDomain_36610489-7676-4f13-846e-6f39b8c947ab_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetirementPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanNameAxis_36610489-7676-4f13-846e-6f39b8c947ab" xlink:to="loc_us-gaap_RetirementPlanNameDomain_36610489-7676-4f13-846e-6f39b8c947ab_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanNameDomain_44abca13-6e06-4635-9f25-f3427e8e09aa" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetirementPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanNameAxis_36610489-7676-4f13-846e-6f39b8c947ab" xlink:to="loc_us-gaap_RetirementPlanNameDomain_44abca13-6e06-4635-9f25-f3427e8e09aa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_WesternConferenceOfTeamstersPensionPlanMember_5beaa353-7fae-4397-a1f2-ccce291133df" xlink:href="farm-20240630.xsd#farm_WesternConferenceOfTeamstersPensionPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_44abca13-6e06-4635-9f25-f3427e8e09aa" xlink:to="loc_farm_WesternConferenceOfTeamstersPensionPlanMember_5beaa353-7fae-4397-a1f2-ccce291133df" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_AllOtherPlansMember_1c0676c9-f38f-4086-952e-5eadc0b3935b" xlink:href="farm-20240630.xsd#farm_AllOtherPlansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_44abca13-6e06-4635-9f25-f3427e8e09aa" xlink:to="loc_farm_AllOtherPlansMember_1c0676c9-f38f-4086-952e-5eadc0b3935b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_ProgramForEnhancedEarlyRetirementMember_bc710b8b-f27c-4b02-968b-88592ae26f25" xlink:href="farm-20240630.xsd#farm_ProgramForEnhancedEarlyRetirementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_44abca13-6e06-4635-9f25-f3427e8e09aa" xlink:to="loc_farm_ProgramForEnhancedEarlyRetirementMember_bc710b8b-f27c-4b02-968b-88592ae26f25" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanContributionsByEmployer_2eb9cfac-3990-4713-b033-c26f73f34bfc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanContributionsByEmployer"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansLineItems_82ca5589-1de2-4401-94f1-beef780ca190" xlink:to="loc_us-gaap_DefinedBenefitPlanContributionsByEmployer_2eb9cfac-3990-4713-b033-c26f73f34bfc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MultiemployerPlanPensionSignificantEmployerContributionUnderCollectiveBargainingArrangementToAllParticipatingEmployerContributionsPercentage_0a4c1ad6-9901-48bb-837a-ad476e1fd1bc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_MultiemployerPlanPensionSignificantEmployerContributionUnderCollectiveBargainingArrangementToAllParticipatingEmployerContributionsPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansLineItems_82ca5589-1de2-4401-94f1-beef780ca190" xlink:to="loc_us-gaap_MultiemployerPlanPensionSignificantEmployerContributionUnderCollectiveBargainingArrangementToAllParticipatingEmployerContributionsPercentage_0a4c1ad6-9901-48bb-837a-ad476e1fd1bc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_MultiemployerPlansCollectiveBargainingArrangementHoursofContributions_99f4c41d-13cd-4510-be45-d4d5ce3e0116" xlink:href="farm-20240630.xsd#farm_MultiemployerPlansCollectiveBargainingArrangementHoursofContributions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MultiemployerPlansLineItems_82ca5589-1de2-4401-94f1-beef780ca190" xlink:to="loc_farm_MultiemployerPlansCollectiveBargainingArrangementHoursofContributions_99f4c41d-13cd-4510-be45-d4d5ce3e0116" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/EmployeeBenefitPlansComponentsofNetPeriodicBenefitCostsDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#EmployeeBenefitPlansComponentsofNetPeriodicBenefitCostsDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/EmployeeBenefitPlansComponentsofNetPeriodicBenefitCostsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_5cbb65a0-0d8f-43db-b914-6fd0447d8724" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_da5ca225-256c-49d2-b67d-8238a038e427" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_5cbb65a0-0d8f-43db-b914-6fd0447d8724" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_da5ca225-256c-49d2-b67d-8238a038e427" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_16e29813-e45e-4854-a63e-bf892b903bd7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetirementPlanTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_da5ca225-256c-49d2-b67d-8238a038e427" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_16e29813-e45e-4854-a63e-bf892b903bd7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_16e29813-e45e-4854-a63e-bf892b903bd7_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_16e29813-e45e-4854-a63e-bf892b903bd7" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_16e29813-e45e-4854-a63e-bf892b903bd7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_9f51cf91-9919-4ee6-a05e-d12c4e708c53" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_16e29813-e45e-4854-a63e-bf892b903bd7" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_9f51cf91-9919-4ee6-a05e-d12c4e708c53" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_471831a5-1668-44a3-879b-17841cfebe67" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_9f51cf91-9919-4ee6-a05e-d12c4e708c53" xlink:to="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_471831a5-1668-44a3-879b-17841cfebe67" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_7975c8a9-10a8-4f0f-aca1-46ffc7ebeb51" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanServiceCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_5cbb65a0-0d8f-43db-b914-6fd0447d8724" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_7975c8a9-10a8-4f0f-aca1-46ffc7ebeb51" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_17935764-e269-4df2-9e75-3687d919b1af" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanInterestCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_5cbb65a0-0d8f-43db-b914-6fd0447d8724" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_17935764-e269-4df2-9e75-3687d919b1af" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_c2f0e325-6cfe-45be-9742-04a862d80a29" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_5cbb65a0-0d8f-43db-b914-6fd0447d8724" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_c2f0e325-6cfe-45be-9742-04a862d80a29" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_30d8bf6c-77b5-4228-8599-c9a8ec84b26f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_5cbb65a0-0d8f-43db-b914-6fd0447d8724" xlink:to="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_30d8bf6c-77b5-4228-8599-c9a8ec84b26f" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/EmployeeBenefitPlansExecutiveDeathBenefitPlanDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#EmployeeBenefitPlansExecutiveDeathBenefitPlanDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/EmployeeBenefitPlansExecutiveDeathBenefitPlanDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_bd91522c-c91e-439f-9eba-71eb96a3b2a1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable_5fb4b36b-5505-427a-9edf-4cb5817ee0f4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_bd91522c-c91e-439f-9eba-71eb96a3b2a1" xlink:to="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable_5fb4b36b-5505-427a-9edf-4cb5817ee0f4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_e13cd559-fd74-4d6b-84f0-262ccf56b82d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetirementPlanTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable_5fb4b36b-5505-427a-9edf-4cb5817ee0f4" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_e13cd559-fd74-4d6b-84f0-262ccf56b82d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_e13cd559-fd74-4d6b-84f0-262ccf56b82d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_e13cd559-fd74-4d6b-84f0-262ccf56b82d" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_e13cd559-fd74-4d6b-84f0-262ccf56b82d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_84fc4dd9-02b3-46da-9665-0c650c141783" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_e13cd559-fd74-4d6b-84f0-262ccf56b82d" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_84fc4dd9-02b3-46da-9665-0c650c141783" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPostretirementLifeInsuranceMember_8c9f33b3-4af5-49c4-9b86-36db3d518a8b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPostretirementLifeInsuranceMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_84fc4dd9-02b3-46da-9665-0c650c141783" xlink:to="loc_us-gaap_DefinedBenefitPostretirementLifeInsuranceMember_8c9f33b3-4af5-49c4-9b86-36db3d518a8b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_AccumulatedOtherComprehensiveIncomeCalculationOfNetGainsLossesSubjectToAmortizationAbstract_7305eb7a-2819-4267-bf4d-0ffc98314fc6" xlink:href="farm-20240630.xsd#farm_AccumulatedOtherComprehensiveIncomeCalculationOfNetGainsLossesSubjectToAmortizationAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_bd91522c-c91e-439f-9eba-71eb96a3b2a1" xlink:to="loc_farm_AccumulatedOtherComprehensiveIncomeCalculationOfNetGainsLossesSubjectToAmortizationAbstract_7305eb7a-2819-4267-bf4d-0ffc98314fc6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeMarketAdjustmentAfterTax_c3ade59b-4c66-4720-aa72-f0d395f0bbc1" xlink:href="farm-20240630.xsd#farm_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeMarketAdjustmentAfterTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_farm_AccumulatedOtherComprehensiveIncomeCalculationOfNetGainsLossesSubjectToAmortizationAbstract_7305eb7a-2819-4267-bf4d-0ffc98314fc6" xlink:to="loc_farm_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeMarketAdjustmentAfterTax_c3ade59b-4c66-4720-aa72-f0d395f0bbc1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesAfterTax_78133097-1f54-462f-a28b-13e2a50a339b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesAfterTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_farm_AccumulatedOtherComprehensiveIncomeCalculationOfNetGainsLossesSubjectToAmortizationAbstract_7305eb7a-2819-4267-bf4d-0ffc98314fc6" xlink:to="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesAfterTax_78133097-1f54-462f-a28b-13e2a50a339b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_DefinedBenefitPlanCorridor_8f6826c9-15cb-4db6-b812-8f26a585b6cc" xlink:href="farm-20240630.xsd#farm_DefinedBenefitPlanCorridor"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_farm_AccumulatedOtherComprehensiveIncomeCalculationOfNetGainsLossesSubjectToAmortizationAbstract_7305eb7a-2819-4267-bf4d-0ffc98314fc6" xlink:to="loc_farm_DefinedBenefitPlanCorridor_8f6826c9-15cb-4db6-b812-8f26a585b6cc" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesSubjectToAmortizationAfterTax_d9e8155a-dec5-447d-9aaa-e2dee1bd33f7" xlink:href="farm-20240630.xsd#farm_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesSubjectToAmortizationAfterTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_farm_AccumulatedOtherComprehensiveIncomeCalculationOfNetGainsLossesSubjectToAmortizationAbstract_7305eb7a-2819-4267-bf4d-0ffc98314fc6" xlink:to="loc_farm_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesSubjectToAmortizationAfterTax_d9e8155a-dec5-447d-9aaa-e2dee1bd33f7" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesSubjectToAmortizationRemainingAmortizationPeriod_a408b017-e100-4693-855a-2b52ec34a7f0" xlink:href="farm-20240630.xsd#farm_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesSubjectToAmortizationRemainingAmortizationPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_farm_AccumulatedOtherComprehensiveIncomeCalculationOfNetGainsLossesSubjectToAmortizationAbstract_7305eb7a-2819-4267-bf4d-0ffc98314fc6" xlink:to="loc_farm_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesSubjectToAmortizationRemainingAmortizationPeriod_a408b017-e100-4693-855a-2b52ec34a7f0" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/EmployeeBenefitPlansOtherChangesinPlanAssetsandBenefitObligationsRecognizedinOCIDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#EmployeeBenefitPlansOtherChangesinPlanAssetsandBenefitObligationsRecognizedinOCIDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/EmployeeBenefitPlansOtherChangesinPlanAssetsandBenefitObligationsRecognizedinOCIDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_60930415-e2f3-448e-b77d-b8e901480be6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable_f30bd812-4666-4833-8b61-41bf39e6e6fc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_60930415-e2f3-448e-b77d-b8e901480be6" xlink:to="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable_f30bd812-4666-4833-8b61-41bf39e6e6fc" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_84a3f56c-d8e2-41fc-aaba-f509029aa9c9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetirementPlanTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansDisclosuresTable_f30bd812-4666-4833-8b61-41bf39e6e6fc" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_84a3f56c-d8e2-41fc-aaba-f509029aa9c9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_84a3f56c-d8e2-41fc-aaba-f509029aa9c9_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_84a3f56c-d8e2-41fc-aaba-f509029aa9c9" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_84a3f56c-d8e2-41fc-aaba-f509029aa9c9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_d13ee73c-a302-4a58-8f9c-9d4fe979cfbc" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_84a3f56c-d8e2-41fc-aaba-f509029aa9c9" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_d13ee73c-a302-4a58-8f9c-9d4fe979cfbc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_33781e85-a75c-4a8c-a43e-bc53f77c6d7d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_d13ee73c-a302-4a58-8f9c-9d4fe979cfbc" xlink:to="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_33781e85-a75c-4a8c-a43e-bc53f77c6d7d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_ae983b9a-ff58-4cb6-b070-af27d7cf6569" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_60930415-e2f3-448e-b77d-b8e901480be6" xlink:to="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_ae983b9a-ff58-4cb6-b070-af27d7cf6569" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanBenefitObligation_99ad040f-1553-426e-a525-f60743729257" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanBenefitObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_ae983b9a-ff58-4cb6-b070-af27d7cf6569" xlink:to="loc_us-gaap_DefinedBenefitPlanBenefitObligation_99ad040f-1553-426e-a525-f60743729257" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_5456c72a-8ad1-4990-bf16-372709903c05" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanServiceCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_ae983b9a-ff58-4cb6-b070-af27d7cf6569" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_5456c72a-8ad1-4990-bf16-372709903c05" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_c2b3724c-d105-495f-af6a-4b672d2a9400" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanInterestCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_ae983b9a-ff58-4cb6-b070-af27d7cf6569" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_c2b3724c-d105-495f-af6a-4b672d2a9400" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanActuarialGainLoss_8b5510de-6f9d-4b93-9ca1-200d30f06620" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanActuarialGainLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_ae983b9a-ff58-4cb6-b070-af27d7cf6569" xlink:to="loc_us-gaap_DefinedBenefitPlanActuarialGainLoss_8b5510de-6f9d-4b93-9ca1-200d30f06620" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanBenefitObligationBenefitsPaid_187787da-850c-4911-966e-0342a525e4c2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanBenefitObligationBenefitsPaid"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_ae983b9a-ff58-4cb6-b070-af27d7cf6569" xlink:to="loc_us-gaap_DefinedBenefitPlanBenefitObligationBenefitsPaid_187787da-850c-4911-966e-0342a525e4c2" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_4d743520-970e-44ae-b292-988c2b1b41f7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_60930415-e2f3-448e-b77d-b8e901480be6" xlink:to="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_4d743520-970e-44ae-b292-988c2b1b41f7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_ca5c2a36-8118-46b4-9ac0-73dc4dbc229b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanFairValueOfPlanAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_4d743520-970e-44ae-b292-988c2b1b41f7" xlink:to="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_ca5c2a36-8118-46b4-9ac0-73dc4dbc229b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanContributionsByEmployer_32182eb0-2694-4d89-8f52-7329f8f58341" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanContributionsByEmployer"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_4d743520-970e-44ae-b292-988c2b1b41f7" xlink:to="loc_us-gaap_DefinedBenefitPlanContributionsByEmployer_32182eb0-2694-4d89-8f52-7329f8f58341" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanPlanAssetsBenefitsPaid_09860a47-4a83-47b7-91e7-e55c247f6873" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanPlanAssetsBenefitsPaid"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_4d743520-970e-44ae-b292-988c2b1b41f7" xlink:to="loc_us-gaap_DefinedBenefitPlanPlanAssetsBenefitsPaid_09860a47-4a83-47b7-91e7-e55c247f6873" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_a10198c5-b800-42e3-b0f5-4d3cf26a73ee" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanFairValueOfPlanAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanBenefitObligation_4cb2248d-210f-4d85-b9a5-03ad920eaeb8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanBenefitObligation"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_69d5e615-ccb1-4e35-a88e-374c6a88eeb3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanFundedStatusOfPlan"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_60930415-e2f3-448e-b77d-b8e901480be6" xlink:to="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_69d5e615-ccb1-4e35-a88e-374c6a88eeb3" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheetAbstract_de8f2638-2db3-4a99-b196-a7aa47448b5d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheetAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_60930415-e2f3-448e-b77d-b8e901480be6" xlink:to="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheetAbstract_de8f2638-2db3-4a99-b196-a7aa47448b5d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_69978c46-76b0-4539-876d-2f03aedfb5c3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheetAbstract_de8f2638-2db3-4a99-b196-a7aa47448b5d" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_69978c46-76b0-4539-876d-2f03aedfb5c3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_22336230-8bd4-4a8e-98c7-59b2c48079e4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheetAbstract_de8f2638-2db3-4a99-b196-a7aa47448b5d" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_22336230-8bd4-4a8e-98c7-59b2c48079e4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent_a912ed83-8acd-4275-bfca-9e5e00e427a5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheetAbstract_de8f2638-2db3-4a99-b196-a7aa47448b5d" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesCurrentAndNoncurrent_a912ed83-8acd-4275-bfca-9e5e00e427a5" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/EmployeeBenefitPlansEstimatedFutureBenefitPaymentsOtherPostretirementBenefitPlansDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#EmployeeBenefitPlansEstimatedFutureBenefitPaymentsOtherPostretirementBenefitPlansDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/EmployeeBenefitPlansEstimatedFutureBenefitPaymentsOtherPostretirementBenefitPlansDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_82017996-ee4f-4287-b3bf-01fcadc44336" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_7ecd2a2d-0116-4104-bcea-88012bba6ca5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_82017996-ee4f-4287-b3bf-01fcadc44336" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_7ecd2a2d-0116-4104-bcea-88012bba6ca5" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_50d571c8-f85a-4c37-9f12-d96353f8a0d9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetirementPlanTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_7ecd2a2d-0116-4104-bcea-88012bba6ca5" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_50d571c8-f85a-4c37-9f12-d96353f8a0d9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_50d571c8-f85a-4c37-9f12-d96353f8a0d9_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_50d571c8-f85a-4c37-9f12-d96353f8a0d9" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_50d571c8-f85a-4c37-9f12-d96353f8a0d9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_abd32e78-d859-4e4c-863b-1e1485409df7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_50d571c8-f85a-4c37-9f12-d96353f8a0d9" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_abd32e78-d859-4e4c-863b-1e1485409df7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_8586bbba-0e85-4c05-a13e-749f8c70c694" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_abd32e78-d859-4e4c-863b-1e1485409df7" xlink:to="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_8586bbba-0e85-4c05-a13e-749f8c70c694" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanEstimatedFutureBenefitPaymentsAbstract_2ab007cc-1aca-4c03-aeec-eaae621381c6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanEstimatedFutureBenefitPaymentsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_82017996-ee4f-4287-b3bf-01fcadc44336" xlink:to="loc_us-gaap_DefinedBenefitPlanEstimatedFutureBenefitPaymentsAbstract_2ab007cc-1aca-4c03-aeec-eaae621381c6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsNextTwelveMonths_7ac0c9f4-7bc7-48c4-869a-97ba1bdf7b75" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsNextTwelveMonths"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanEstimatedFutureBenefitPaymentsAbstract_2ab007cc-1aca-4c03-aeec-eaae621381c6" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsNextTwelveMonths_7ac0c9f4-7bc7-48c4-869a-97ba1bdf7b75" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearTwo_431c9f9c-efa1-485f-9813-01ca7dbb4a74" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearTwo"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanEstimatedFutureBenefitPaymentsAbstract_2ab007cc-1aca-4c03-aeec-eaae621381c6" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearTwo_431c9f9c-efa1-485f-9813-01ca7dbb4a74" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearThree_2429cbef-2a3a-41bb-88cd-f7dae86d800c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearThree"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanEstimatedFutureBenefitPaymentsAbstract_2ab007cc-1aca-4c03-aeec-eaae621381c6" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearThree_2429cbef-2a3a-41bb-88cd-f7dae86d800c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFour_4f9dadfa-30d1-412b-84c5-34b2c956a63b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFour"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanEstimatedFutureBenefitPaymentsAbstract_2ab007cc-1aca-4c03-aeec-eaae621381c6" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFour_4f9dadfa-30d1-412b-84c5-34b2c956a63b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFive_f9044d16-9046-4774-a73a-3b8fb319a270" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFive"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanEstimatedFutureBenefitPaymentsAbstract_2ab007cc-1aca-4c03-aeec-eaae621381c6" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFive_f9044d16-9046-4774-a73a-3b8fb319a270" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsFiveFiscalYearsThereafter_5cc709e6-6558-4c73-8ee6-0430ec9bb1e6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsFiveFiscalYearsThereafter"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanEstimatedFutureBenefitPaymentsAbstract_2ab007cc-1aca-4c03-aeec-eaae621381c6" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsFiveFiscalYearsThereafter_5cc709e6-6558-4c73-8ee6-0430ec9bb1e6" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanEstimatedFutureEmployerContributionsAbstract_105cf86b-bceb-4252-98b6-d58a8d08d574" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanEstimatedFutureEmployerContributionsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_82017996-ee4f-4287-b3bf-01fcadc44336" xlink:to="loc_us-gaap_DefinedBenefitPlanEstimatedFutureEmployerContributionsAbstract_105cf86b-bceb-4252-98b6-d58a8d08d574" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedFutureEmployerContributionsNextFiscalYear_c55901e5-e445-45f7-a4bf-7c30e302e0a1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanExpectedFutureEmployerContributionsNextFiscalYear"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanEstimatedFutureEmployerContributionsAbstract_105cf86b-bceb-4252-98b6-d58a8d08d574" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedFutureEmployerContributionsNextFiscalYear_c55901e5-e445-45f7-a4bf-7c30e302e0a1" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/DebtObligationsScheduleofDebtMaturitiesDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#DebtObligationsScheduleofDebtMaturitiesDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/DebtObligationsScheduleofDebtMaturitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityLineItems_418190a1-5302-48eb-a813-a7c6800d022e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCreditFacilityLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityTable_d7d634cc-1bbb-4a51-b575-fdbe74f6e734" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCreditFacilityTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_418190a1-5302-48eb-a813-a7c6800d022e" xlink:to="loc_us-gaap_LineOfCreditFacilityTable_d7d634cc-1bbb-4a51-b575-fdbe74f6e734" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_b5740e65-26d6-4f05-bc59-d4fe13628228" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_d7d634cc-1bbb-4a51-b575-fdbe74f6e734" xlink:to="loc_us-gaap_CreditFacilityAxis_b5740e65-26d6-4f05-bc59-d4fe13628228" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_b5740e65-26d6-4f05-bc59-d4fe13628228_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_b5740e65-26d6-4f05-bc59-d4fe13628228" xlink:to="loc_us-gaap_CreditFacilityDomain_b5740e65-26d6-4f05-bc59-d4fe13628228_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_e231a40e-46d1-42d8-843a-ed62957dc292" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_b5740e65-26d6-4f05-bc59-d4fe13628228" xlink:to="loc_us-gaap_CreditFacilityDomain_e231a40e-46d1-42d8-843a-ed62957dc292" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_90daf9f0-656f-4df8-aa5f-6f58ce461c15" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_e231a40e-46d1-42d8-843a-ed62957dc292" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_90daf9f0-656f-4df8-aa5f-6f58ce461c15" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_aea22161-a9b5-4360-aef6-1c579e3b72a1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_418190a1-5302-48eb-a813-a7c6800d022e" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_aea22161-a9b5-4360-aef6-1c579e3b72a1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtWeightedAverageInterestRate_ff8d1195-4b80-46bf-aa29-94f21a4a3b36" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtWeightedAverageInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_418190a1-5302-48eb-a813-a7c6800d022e" xlink:to="loc_us-gaap_DebtWeightedAverageInterestRate_ff8d1195-4b80-46bf-aa29-94f21a4a3b36" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/DebtObligationsNarrativeDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#DebtObligationsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/DebtObligationsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityLineItems_117eb7c2-4c2e-430d-ab09-4770352fe4e3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCreditFacilityLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityTable_a12e737e-c46e-433b-a69d-abf4b33f9f59" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCreditFacilityTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_117eb7c2-4c2e-430d-ab09-4770352fe4e3" xlink:to="loc_us-gaap_LineOfCreditFacilityTable_a12e737e-c46e-433b-a69d-abf4b33f9f59" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_fe94f873-bbb6-49be-95a8-dc048cc26c30" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_a12e737e-c46e-433b-a69d-abf4b33f9f59" xlink:to="loc_us-gaap_CreditFacilityAxis_fe94f873-bbb6-49be-95a8-dc048cc26c30" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_fe94f873-bbb6-49be-95a8-dc048cc26c30_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_fe94f873-bbb6-49be-95a8-dc048cc26c30" xlink:to="loc_us-gaap_CreditFacilityDomain_fe94f873-bbb6-49be-95a8-dc048cc26c30_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_4ea89cdc-cf66-446e-a71e-8357f6799a23" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_fe94f873-bbb6-49be-95a8-dc048cc26c30" xlink:to="loc_us-gaap_CreditFacilityDomain_4ea89cdc-cf66-446e-a71e-8357f6799a23" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_9fa8990a-9c8f-4fc7-a65f-4f8a200027b2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_4ea89cdc-cf66-446e-a71e-8357f6799a23" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_9fa8990a-9c8f-4fc7-a65f-4f8a200027b2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredDebtMember_57c1a164-be6f-4e30-8299-3471ad182c5a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SecuredDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_4ea89cdc-cf66-446e-a71e-8357f6799a23" xlink:to="loc_us-gaap_SecuredDebtMember_57c1a164-be6f-4e30-8299-3471ad182c5a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LetterOfCreditMember_ec2d78b2-9037-4ccf-b812-6ff1b71cc3fd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LetterOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_4ea89cdc-cf66-446e-a71e-8357f6799a23" xlink:to="loc_us-gaap_LetterOfCreditMember_ec2d78b2-9037-4ccf-b812-6ff1b71cc3fd" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_887f2ffc-6a9a-4eff-a7a9-66e747c9c1d3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_a12e737e-c46e-433b-a69d-abf4b33f9f59" xlink:to="loc_us-gaap_DebtInstrumentAxis_887f2ffc-6a9a-4eff-a7a9-66e747c9c1d3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_887f2ffc-6a9a-4eff-a7a9-66e747c9c1d3_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_887f2ffc-6a9a-4eff-a7a9-66e747c9c1d3" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_887f2ffc-6a9a-4eff-a7a9-66e747c9c1d3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_576c3f14-328c-4150-a0ac-b7f5f3c45b46" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_887f2ffc-6a9a-4eff-a7a9-66e747c9c1d3" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_576c3f14-328c-4150-a0ac-b7f5f3c45b46" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_AmendedRevolvingCreditFacilityMember_325fc0a1-6cab-4eb1-979d-fc8d48c04766" xlink:href="farm-20240630.xsd#farm_AmendedRevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_576c3f14-328c-4150-a0ac-b7f5f3c45b46" xlink:to="loc_farm_AmendedRevolvingCreditFacilityMember_325fc0a1-6cab-4eb1-979d-fc8d48c04766" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_RevolverSecurityAgreementMember_5bca251f-5711-43cd-8ed7-47af7ddd1f4c" xlink:href="farm-20240630.xsd#farm_RevolverSecurityAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_576c3f14-328c-4150-a0ac-b7f5f3c45b46" xlink:to="loc_farm_RevolverSecurityAgreementMember_5bca251f-5711-43cd-8ed7-47af7ddd1f4c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_df823a82-441c-4888-a915-517468781f6d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_a12e737e-c46e-433b-a69d-abf4b33f9f59" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_df823a82-441c-4888-a915-517468781f6d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_df823a82-441c-4888-a915-517468781f6d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_df823a82-441c-4888-a915-517468781f6d" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_df823a82-441c-4888-a915-517468781f6d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_f97296d1-3200-484c-82e3-c7b97c50e60a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_df823a82-441c-4888-a915-517468781f6d" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_f97296d1-3200-484c-82e3-c7b97c50e60a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_3b8f04eb-d865-4a00-b95f-df8098cb04fd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_f97296d1-3200-484c-82e3-c7b97c50e60a" xlink:to="loc_us-gaap_LineOfCreditMember_3b8f04eb-d865-4a00-b95f-df8098cb04fd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_TermLoanMember_0f1328c2-36c4-4477-a5ab-3a5bea251b9f" xlink:href="farm-20240630.xsd#farm_TermLoanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_f97296d1-3200-484c-82e3-c7b97c50e60a" xlink:to="loc_farm_TermLoanMember_0f1328c2-36c4-4477-a5ab-3a5bea251b9f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateAxis_02d1eacc-32c3-4170-8d5d-9eb357e48b33" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_VariableRateAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_a12e737e-c46e-433b-a69d-abf4b33f9f59" xlink:to="loc_us-gaap_VariableRateAxis_02d1eacc-32c3-4170-8d5d-9eb357e48b33" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_02d1eacc-32c3-4170-8d5d-9eb357e48b33_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_02d1eacc-32c3-4170-8d5d-9eb357e48b33" xlink:to="loc_us-gaap_VariableRateDomain_02d1eacc-32c3-4170-8d5d-9eb357e48b33_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_be3aa38d-b017-4098-8736-eb9dfad2a32f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_02d1eacc-32c3-4170-8d5d-9eb357e48b33" xlink:to="loc_us-gaap_VariableRateDomain_be3aa38d-b017-4098-8736-eb9dfad2a32f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_LondonInterbankOfferedRateLIBOR1Member_0cf81174-7dcb-40f8-8362-7752cc4b8ce1" xlink:href="farm-20240630.xsd#farm_LondonInterbankOfferedRateLIBOR1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_be3aa38d-b017-4098-8736-eb9dfad2a32f" xlink:to="loc_farm_LondonInterbankOfferedRateLIBOR1Member_0cf81174-7dcb-40f8-8362-7752cc4b8ce1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredOvernightFinancingRateSofrMember_d3e8f7d7-35db-4bb1-8bb9-29e511766c07" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SecuredOvernightFinancingRateSofrMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_be3aa38d-b017-4098-8736-eb9dfad2a32f" xlink:to="loc_us-gaap_SecuredOvernightFinancingRateSofrMember_d3e8f7d7-35db-4bb1-8bb9-29e511766c07" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalFundsEffectiveSwapRateMember_0d8600d4-76b6-4f64-bcc9-debe444bac21" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FederalFundsEffectiveSwapRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_be3aa38d-b017-4098-8736-eb9dfad2a32f" xlink:to="loc_us-gaap_FederalFundsEffectiveSwapRateMember_0d8600d4-76b6-4f64-bcc9-debe444bac21" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BaseRateMember_8e643448-ae5f-482f-9cf4-7bdd7543589e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BaseRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_be3aa38d-b017-4098-8736-eb9dfad2a32f" xlink:to="loc_us-gaap_BaseRateMember_8e643448-ae5f-482f-9cf4-7bdd7543589e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_LineOfCreditFacilityAdditionalBorrowingCapacity_31221f37-9515-46c0-8c11-b810a27a6b66" xlink:href="farm-20240630.xsd#farm_LineOfCreditFacilityAdditionalBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_117eb7c2-4c2e-430d-ab09-4770352fe4e3" xlink:to="loc_farm_LineOfCreditFacilityAdditionalBorrowingCapacity_31221f37-9515-46c0-8c11-b810a27a6b66" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_f77d247f-aa8a-4e2b-86c4-cd4e76a8fe7b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_117eb7c2-4c2e-430d-ab09-4770352fe4e3" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_f77d247f-aa8a-4e2b-86c4-cd4e76a8fe7b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_65b4175b-bfa9-423f-8d81-be81f1a57024" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_117eb7c2-4c2e-430d-ab09-4770352fe4e3" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_65b4175b-bfa9-423f-8d81-be81f1a57024" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_3603aa91-e3de-4669-b4c6-06998b0accf5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtInstrumentFaceAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_117eb7c2-4c2e-430d-ab09-4770352fe4e3" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_3603aa91-e3de-4669-b4c6-06998b0accf5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_FixedChargeCoverageRatioPeriod_35e5b37e-a935-42a9-9f08-03178f6a25ac" xlink:href="farm-20240630.xsd#farm_FixedChargeCoverageRatioPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_117eb7c2-4c2e-430d-ab09-4770352fe4e3" xlink:to="loc_farm_FixedChargeCoverageRatioPeriod_35e5b37e-a935-42a9-9f08-03178f6a25ac" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_DebtInstrumentCovenantFixedChargeCoverageRatio_7bf65968-c039-47e2-be6f-3ca46df43ee3" xlink:href="farm-20240630.xsd#farm_DebtInstrumentCovenantFixedChargeCoverageRatio"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_117eb7c2-4c2e-430d-ab09-4770352fe4e3" xlink:to="loc_farm_DebtInstrumentCovenantFixedChargeCoverageRatio_7bf65968-c039-47e2-be6f-3ca46df43ee3" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_LetterOfCreditFeePayable_5fd01cb2-abca-4057-8b5f-89d8855055cd" xlink:href="farm-20240630.xsd#farm_LetterOfCreditFeePayable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_117eb7c2-4c2e-430d-ab09-4770352fe4e3" xlink:to="loc_farm_LetterOfCreditFeePayable_5fd01cb2-abca-4057-8b5f-89d8855055cd" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfDebt_52d276e7-fe77-4b34-aeca-79d4de0b60fb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RepaymentsOfDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_117eb7c2-4c2e-430d-ab09-4770352fe4e3" xlink:to="loc_us-gaap_RepaymentsOfDebt_52d276e7-fe77-4b34-aeca-79d4de0b60fb" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_DebtInstrumentBorrowingBaseAccountsReceivable_9220c5c4-c6b0-45fa-8783-02439d2a1129" xlink:href="farm-20240630.xsd#farm_DebtInstrumentBorrowingBaseAccountsReceivable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_117eb7c2-4c2e-430d-ab09-4770352fe4e3" xlink:to="loc_farm_DebtInstrumentBorrowingBaseAccountsReceivable_9220c5c4-c6b0-45fa-8783-02439d2a1129" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_DebtInstrumentBorrowingBaseInventory_919c5627-ed66-4637-9961-e67ba7d2e50e" xlink:href="farm-20240630.xsd#farm_DebtInstrumentBorrowingBaseInventory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_117eb7c2-4c2e-430d-ab09-4770352fe4e3" xlink:to="loc_farm_DebtInstrumentBorrowingBaseInventory_919c5627-ed66-4637-9961-e67ba7d2e50e" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_DebtInstrumentBorrowingBaseNetOrderlyLiquidation_25fbe0dc-29ba-4b04-828e-05e6dcba2e7f" xlink:href="farm-20240630.xsd#farm_DebtInstrumentBorrowingBaseNetOrderlyLiquidation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_117eb7c2-4c2e-430d-ab09-4770352fe4e3" xlink:to="loc_farm_DebtInstrumentBorrowingBaseNetOrderlyLiquidation_25fbe0dc-29ba-4b04-828e-05e6dcba2e7f" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_DebtInstrumentTermSOFRMargin_ea248ffb-d03d-40b6-ac54-27ceb7b98465" xlink:href="farm-20240630.xsd#farm_DebtInstrumentTermSOFRMargin"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_117eb7c2-4c2e-430d-ab09-4770352fe4e3" xlink:to="loc_farm_DebtInstrumentTermSOFRMargin_ea248ffb-d03d-40b6-ac54-27ceb7b98465" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_DebtInstrumentDebtCovenantLineOfCreditFacilityMinimumBorrowingCapacityThreshold_081cd9d6-d72f-420c-b7d7-7e5278b2d66e" xlink:href="farm-20240630.xsd#farm_DebtInstrumentDebtCovenantLineOfCreditFacilityMinimumBorrowingCapacityThreshold"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_117eb7c2-4c2e-430d-ab09-4770352fe4e3" xlink:to="loc_farm_DebtInstrumentDebtCovenantLineOfCreditFacilityMinimumBorrowingCapacityThreshold_081cd9d6-d72f-420c-b7d7-7e5278b2d66e" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_DebtInstrumentDebtCovenantFixedChargeCoverageRatioMinimum_ca284ea4-9247-4969-a95e-73ee253eb187" xlink:href="farm-20240630.xsd#farm_DebtInstrumentDebtCovenantFixedChargeCoverageRatioMinimum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_117eb7c2-4c2e-430d-ab09-4770352fe4e3" xlink:to="loc_farm_DebtInstrumentDebtCovenantFixedChargeCoverageRatioMinimum_ca284ea4-9247-4969-a95e-73ee253eb187" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermLineOfCredit_0a60e1a7-42ea-4b4e-b26d-6855dd18a3b4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermLineOfCredit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_117eb7c2-4c2e-430d-ab09-4770352fe4e3" xlink:to="loc_us-gaap_LongTermLineOfCredit_0a60e1a7-42ea-4b4e-b26d-6855dd18a3b4" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCredit_14498b29-6c98-4f59-a0c1-b1dad76f8dd6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCredit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_117eb7c2-4c2e-430d-ab09-4770352fe4e3" xlink:to="loc_us-gaap_LineOfCredit_14498b29-6c98-4f59-a0c1-b1dad76f8dd6" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_6a6045da-e112-4156-bde4-b4472a04b163" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_117eb7c2-4c2e-430d-ab09-4770352fe4e3" xlink:to="loc_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_6a6045da-e112-4156-bde4-b4472a04b163" xlink:type="arc" order="16"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/ShareBasedCompensationNarrativeDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#ShareBasedCompensationNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/ShareBasedCompensationNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e2952600-0108-4d06-954f-4a08aadfb445" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9a1e3b04-4eef-4753-913c-531d6fa31e22" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e2952600-0108-4d06-954f-4a08aadfb445" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9a1e3b04-4eef-4753-913c-531d6fa31e22" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameAxis_52b75494-3c69-4e6d-b408-b80e5c46ce1d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9a1e3b04-4eef-4753-913c-531d6fa31e22" xlink:to="loc_us-gaap_PlanNameAxis_52b75494-3c69-4e6d-b408-b80e5c46ce1d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_52b75494-3c69-4e6d-b408-b80e5c46ce1d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_52b75494-3c69-4e6d-b408-b80e5c46ce1d" xlink:to="loc_us-gaap_PlanNameDomain_52b75494-3c69-4e6d-b408-b80e5c46ce1d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_cc2f2c03-a233-4d39-b250-872e7b26ca8f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_52b75494-3c69-4e6d-b408-b80e5c46ce1d" xlink:to="loc_us-gaap_PlanNameDomain_cc2f2c03-a233-4d39-b250-872e7b26ca8f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_A2017PlanMember_082ed48d-46ab-4e0c-931f-9b6db239a161" xlink:href="farm-20240630.xsd#farm_A2017PlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_cc2f2c03-a233-4d39-b250-872e7b26ca8f" xlink:to="loc_farm_A2017PlanMember_082ed48d-46ab-4e0c-931f-9b6db239a161" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_A2020PlanMember_b7cc24ad-1f36-4cf7-852a-06e83f85ed16" xlink:href="farm-20240630.xsd#farm_A2020PlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_cc2f2c03-a233-4d39-b250-872e7b26ca8f" xlink:to="loc_farm_A2020PlanMember_b7cc24ad-1f36-4cf7-852a-06e83f85ed16" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_6c2a6c54-584a-4a08-b1c1-9d8c10a1d510" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9a1e3b04-4eef-4753-913c-531d6fa31e22" xlink:to="loc_us-gaap_AwardTypeAxis_6c2a6c54-584a-4a08-b1c1-9d8c10a1d510" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6c2a6c54-584a-4a08-b1c1-9d8c10a1d510_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_6c2a6c54-584a-4a08-b1c1-9d8c10a1d510" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6c2a6c54-584a-4a08-b1c1-9d8c10a1d510_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_29c4cdaf-d9f1-4b9f-a57d-5b05ad6c6c08" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_6c2a6c54-584a-4a08-b1c1-9d8c10a1d510" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_29c4cdaf-d9f1-4b9f-a57d-5b05ad6c6c08" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_NonqualifiedStockOptionswithTimebasedVestingNQOMember_95a07baf-287d-474e-b039-19782a96ec77" xlink:href="farm-20240630.xsd#farm_NonqualifiedStockOptionswithTimebasedVestingNQOMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_29c4cdaf-d9f1-4b9f-a57d-5b05ad6c6c08" xlink:to="loc_farm_NonqualifiedStockOptionswithTimebasedVestingNQOMember_95a07baf-287d-474e-b039-19782a96ec77" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_NonqualifiedStockOptionswithPerformancebasedandTimebasedVestingPNQMember_3e052ac0-c9f4-4d11-9517-f7e42ca7e9bf" xlink:href="farm-20240630.xsd#farm_NonqualifiedStockOptionswithPerformancebasedandTimebasedVestingPNQMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_29c4cdaf-d9f1-4b9f-a57d-5b05ad6c6c08" xlink:to="loc_farm_NonqualifiedStockOptionswithPerformancebasedandTimebasedVestingPNQMember_3e052ac0-c9f4-4d11-9517-f7e42ca7e9bf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_bf6084e8-8597-4a2a-81cc-d6b895b386eb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_29c4cdaf-d9f1-4b9f-a57d-5b05ad6c6c08" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_bf6084e8-8597-4a2a-81cc-d6b895b386eb" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_PerformanceBasedRestrictedStockUnitsMember_9fe76d0a-354d-4371-83af-08fa1371b7fa" xlink:href="farm-20240630.xsd#farm_PerformanceBasedRestrictedStockUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_29c4cdaf-d9f1-4b9f-a57d-5b05ad6c6c08" xlink:to="loc_farm_PerformanceBasedRestrictedStockUnitsMember_9fe76d0a-354d-4371-83af-08fa1371b7fa" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_CashSettledRestrictedStockUnitsMember_2b4879f4-5652-429d-9a24-2a15bdba7e6e" xlink:href="farm-20240630.xsd#farm_CashSettledRestrictedStockUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_29c4cdaf-d9f1-4b9f-a57d-5b05ad6c6c08" xlink:to="loc_farm_CashSettledRestrictedStockUnitsMember_2b4879f4-5652-429d-9a24-2a15bdba7e6e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_359d1228-02d1-42ff-9ac2-9be773ce67a5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9a1e3b04-4eef-4753-913c-531d6fa31e22" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_359d1228-02d1-42ff-9ac2-9be773ce67a5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_359d1228-02d1-42ff-9ac2-9be773ce67a5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_359d1228-02d1-42ff-9ac2-9be773ce67a5" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_359d1228-02d1-42ff-9ac2-9be773ce67a5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_e167364a-5342-46a0-b263-02d479bfbf10" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_359d1228-02d1-42ff-9ac2-9be773ce67a5" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_e167364a-5342-46a0-b263-02d479bfbf10" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpenseMember_cc532ddb-3e7e-4ccd-b48d-0205b1b0d426" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GeneralAndAdministrativeExpenseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_e167364a-5342-46a0-b263-02d479bfbf10" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpenseMember_cc532ddb-3e7e-4ccd-b48d-0205b1b0d426" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_c80f97a4-4189-4084-ae14-154ffd0ebd20" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e2952600-0108-4d06-954f-4a08aadfb445" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_c80f97a4-4189-4084-ae14-154ffd0ebd20" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_d3579a9d-aed3-40ab-9f75-5cc5fc18b09d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e2952600-0108-4d06-954f-4a08aadfb445" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_d3579a9d-aed3-40ab-9f75-5cc5fc18b09d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_19f94d75-b2b0-4e9a-a027-b7a143265df2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e2952600-0108-4d06-954f-4a08aadfb445" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_19f94d75-b2b0-4e9a-a027-b7a143265df2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharePrice_ac93eeeb-a69d-49ca-8e54-b1495f24829a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SharePrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e2952600-0108-4d06-954f-4a08aadfb445" xlink:to="loc_us-gaap_SharePrice_ac93eeeb-a69d-49ca-8e54-b1495f24829a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_d51804d1-0dad-423a-ae6a-a90eecca548a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e2952600-0108-4d06-954f-4a08aadfb445" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_d51804d1-0dad-423a-ae6a-a90eecca548a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_5f248b58-dd17-4036-acfd-7a649043441d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromStockOptionsExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e2952600-0108-4d06-954f-4a08aadfb445" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_5f248b58-dd17-4036-acfd-7a649043441d" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_acb92e7c-27fd-4bd1-8fed-2566532ead49" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e2952600-0108-4d06-954f-4a08aadfb445" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_acb92e7c-27fd-4bd1-8fed-2566532ead49" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_2fa3449b-03ea-4fca-be23-fe3941adfa8a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e2952600-0108-4d06-954f-4a08aadfb445" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_2fa3449b-03ea-4fca-be23-fe3941adfa8a" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_2f3c282b-1a4b-45cd-b8dc-51cb9435170b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e2952600-0108-4d06-954f-4a08aadfb445" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_2f3c282b-1a4b-45cd-b8dc-51cb9435170b" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_e52d15bb-ada2-415c-b76c-aaf500dc8568" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e2952600-0108-4d06-954f-4a08aadfb445" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_e52d15bb-ada2-415c-b76c-aaf500dc8568" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantedFairValue_b5ae88fd-99af-419d-a72e-4ce93e385dd7" xlink:href="farm-20240630.xsd#farm_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantedFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e2952600-0108-4d06-954f-4a08aadfb445" xlink:to="loc_farm_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantedFairValue_b5ae88fd-99af-419d-a72e-4ce93e385dd7" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue_95dce76e-1448-4bd1-8a7b-1389a06b77da" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e2952600-0108-4d06-954f-4a08aadfb445" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue_95dce76e-1448-4bd1-8a7b-1389a06b77da" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_a934527f-35cb-4dc2-8662-71cac8b9a392" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e2952600-0108-4d06-954f-4a08aadfb445" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_a934527f-35cb-4dc2-8662-71cac8b9a392" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_f5134122-ceca-4135-a73f-206aa38aaf98" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e2952600-0108-4d06-954f-4a08aadfb445" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_f5134122-ceca-4135-a73f-206aa38aaf98" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_74842d54-6d7b-40d2-afa4-19e13c99c9a6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e2952600-0108-4d06-954f-4a08aadfb445" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_74842d54-6d7b-40d2-afa4-19e13c99c9a6" xlink:type="arc" order="14"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/ShareBasedCompensationSummaryofNQOandPNQActivityDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#ShareBasedCompensationSummaryofNQOandPNQActivityDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/ShareBasedCompensationSummaryofNQOandPNQActivityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_bab13223-77a4-48dc-9afe-92968f77f41b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_4f80ffa3-abe8-43d0-885a-bed727521d36" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_bab13223-77a4-48dc-9afe-92968f77f41b" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_4f80ffa3-abe8-43d0-885a-bed727521d36" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_686d13d2-84dc-4ff8-a3b1-d8221d34a8a1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_4f80ffa3-abe8-43d0-885a-bed727521d36" xlink:to="loc_us-gaap_AwardTypeAxis_686d13d2-84dc-4ff8-a3b1-d8221d34a8a1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_686d13d2-84dc-4ff8-a3b1-d8221d34a8a1_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_686d13d2-84dc-4ff8-a3b1-d8221d34a8a1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_686d13d2-84dc-4ff8-a3b1-d8221d34a8a1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_fe234ed2-e51f-456c-b21a-044fdc0cb1ce" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_686d13d2-84dc-4ff8-a3b1-d8221d34a8a1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_fe234ed2-e51f-456c-b21a-044fdc0cb1ce" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_NonqualifiedStockOptionswithTimebasedVestingNQOMember_aefde518-e452-4d7b-9385-ad593adf7a4f" xlink:href="farm-20240630.xsd#farm_NonqualifiedStockOptionswithTimebasedVestingNQOMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_fe234ed2-e51f-456c-b21a-044fdc0cb1ce" xlink:to="loc_farm_NonqualifiedStockOptionswithTimebasedVestingNQOMember_aefde518-e452-4d7b-9385-ad593adf7a4f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_NonqualifiedStockOptionswithPerformancebasedandTimebasedVestingPNQMember_f0df00af-7074-4c2f-aa8f-06969f7e781f" xlink:href="farm-20240630.xsd#farm_NonqualifiedStockOptionswithPerformancebasedandTimebasedVestingPNQMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_fe234ed2-e51f-456c-b21a-044fdc0cb1ce" xlink:to="loc_farm_NonqualifiedStockOptionswithPerformancebasedandTimebasedVestingPNQMember_f0df00af-7074-4c2f-aa8f-06969f7e781f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_02bbd34b-d171-49a3-8f31-cd8a13d1f049" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_bab13223-77a4-48dc-9afe-92968f77f41b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_02bbd34b-d171-49a3-8f31-cd8a13d1f049" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_d885b1be-2ac4-48ec-a334-de87b5c975ce" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_02bbd34b-d171-49a3-8f31-cd8a13d1f049" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_d885b1be-2ac4-48ec-a334-de87b5c975ce" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_9fc4ea69-9bb0-4696-b370-ed51ee89e9aa" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_02bbd34b-d171-49a3-8f31-cd8a13d1f049" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_9fc4ea69-9bb0-4696-b370-ed51ee89e9aa" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_0b43ec69-68e7-4ed5-9759-51ed70e1b005" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_02bbd34b-d171-49a3-8f31-cd8a13d1f049" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_0b43ec69-68e7-4ed5-9759-51ed70e1b005" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod_8a6649ae-fe69-4902-b7b4-762390970488" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_02bbd34b-d171-49a3-8f31-cd8a13d1f049" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod_8a6649ae-fe69-4902-b7b4-762390970488" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationsInPeriod_6d312780-fb9f-4f8b-bbee-3124565cdda0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_02bbd34b-d171-49a3-8f31-cd8a13d1f049" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationsInPeriod_6d312780-fb9f-4f8b-bbee-3124565cdda0" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_461020c0-d133-4f29-95cf-7cdf72b67daa" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_300a7e87-8463-4370-b209-d8049d199f40" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_bab13223-77a4-48dc-9afe-92968f77f41b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_300a7e87-8463-4370-b209-d8049d199f40" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_70e0fe56-6fd6-4965-982c-28811c5e29c6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_300a7e87-8463-4370-b209-d8049d199f40" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_70e0fe56-6fd6-4965-982c-28811c5e29c6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice_540085f4-ea18-45dd-803b-b7aa192828a7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_300a7e87-8463-4370-b209-d8049d199f40" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice_540085f4-ea18-45dd-803b-b7aa192828a7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_be92498d-0e97-440c-b22c-39991bd1ff5f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_300a7e87-8463-4370-b209-d8049d199f40" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_be92498d-0e97-440c-b22c-39991bd1ff5f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice_f6060ebb-3763-43f6-b64b-38a95635077f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_300a7e87-8463-4370-b209-d8049d199f40" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice_f6060ebb-3763-43f6-b64b-38a95635077f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExpirationsInPeriodWeightedAverageExercisePrice_57baa0ed-7b4b-4b77-9294-9b73b027f51c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExpirationsInPeriodWeightedAverageExercisePrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_300a7e87-8463-4370-b209-d8049d199f40" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExpirationsInPeriodWeightedAverageExercisePrice_57baa0ed-7b4b-4b77-9294-9b73b027f51c" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_6dd579f7-ab0b-4578-afce-980a0c3d0a48" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAdditionalDisclosuresAbstract_8166d782-57ba-4f68-8ed6-5634a39f1c35" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAdditionalDisclosuresAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_bab13223-77a4-48dc-9afe-92968f77f41b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAdditionalDisclosuresAbstract_8166d782-57ba-4f68-8ed6-5634a39f1c35" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_afb4ec22-6d3d-4eba-8239-7cfee351f327" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAdditionalDisclosuresAbstract_8166d782-57ba-4f68-8ed6-5634a39f1c35" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_afb4ec22-6d3d-4eba-8239-7cfee351f327" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_873d9549-7d3b-4ca2-86e5-72a6e6106052" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestAbstract_fde04443-0499-40a0-a0d7-cb2830457ce8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_bab13223-77a4-48dc-9afe-92968f77f41b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestAbstract_fde04443-0499-40a0-a0d7-cb2830457ce8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue_60a20fa4-60a6-420c-9d09-4a04c48e8ee8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestAbstract_fde04443-0499-40a0-a0d7-cb2830457ce8" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue_60a20fa4-60a6-420c-9d09-4a04c48e8ee8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue_d3b0e9d2-e958-4eeb-8254-5f6be102a544" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber_ef45afbe-342c-4b17-aadd-c2c328b507ba" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestAbstract_fde04443-0499-40a0-a0d7-cb2830457ce8" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber_ef45afbe-342c-4b17-aadd-c2c328b507ba" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice_4318a11b-c139-4cce-aace-e95779734264" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestAbstract_fde04443-0499-40a0-a0d7-cb2830457ce8" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice_4318a11b-c139-4cce-aace-e95779734264" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1_b381b3a1-4ade-4bac-b58a-3891a5dfa9eb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestAbstract_fde04443-0499-40a0-a0d7-cb2830457ce8" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1_b381b3a1-4ade-4bac-b58a-3891a5dfa9eb" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1_4f1b0bda-741f-4b1d-829e-35e0fce83262" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestAbstract_fde04443-0499-40a0-a0d7-cb2830457ce8" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1_4f1b0bda-741f-4b1d-829e-35e0fce83262" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/ShareBasedCompensationRestrictedStockActivityDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#ShareBasedCompensationRestrictedStockActivityDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/ShareBasedCompensationRestrictedStockActivityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9aee02c8-afc5-4f01-bdf4-e775a85c3862" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_20a5f64c-6eaf-49a4-b327-ab67ddde4fc7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9aee02c8-afc5-4f01-bdf4-e775a85c3862" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_20a5f64c-6eaf-49a4-b327-ab67ddde4fc7" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_01d767e6-2fef-4f38-a38b-388b444bab6f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_20a5f64c-6eaf-49a4-b327-ab67ddde4fc7" xlink:to="loc_us-gaap_AwardTypeAxis_01d767e6-2fef-4f38-a38b-388b444bab6f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_01d767e6-2fef-4f38-a38b-388b444bab6f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_01d767e6-2fef-4f38-a38b-388b444bab6f" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_01d767e6-2fef-4f38-a38b-388b444bab6f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2b7893f3-0d92-40e1-8847-8b4cd6a81442" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_01d767e6-2fef-4f38-a38b-388b444bab6f" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2b7893f3-0d92-40e1-8847-8b4cd6a81442" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockMember_5367666b-59ab-405f-9e52-3badb808e7ca" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RestrictedStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2b7893f3-0d92-40e1-8847-8b4cd6a81442" xlink:to="loc_us-gaap_RestrictedStockMember_5367666b-59ab-405f-9e52-3badb808e7ca" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_e1fd88f2-9418-448e-b0fd-976d05387327" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9aee02c8-afc5-4f01-bdf4-e775a85c3862" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_e1fd88f2-9418-448e-b0fd-976d05387327" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_6e142214-dc2d-4d31-89f9-cb31b79be97d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_e1fd88f2-9418-448e-b0fd-976d05387327" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_6e142214-dc2d-4d31-89f9-cb31b79be97d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_7f64638e-2d23-4f76-896d-d12ed95aed6b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_e1fd88f2-9418-448e-b0fd-976d05387327" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_7f64638e-2d23-4f76-896d-d12ed95aed6b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_e966318b-12f5-4101-aac9-b1a5415adf92" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_e1fd88f2-9418-448e-b0fd-976d05387327" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_e966318b-12f5-4101-aac9-b1a5415adf92" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_b573aa6a-b040-4248-95fd-e4c766ca2061" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_e1fd88f2-9418-448e-b0fd-976d05387327" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_b573aa6a-b040-4248-95fd-e4c766ca2061" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_9dbddaff-a039-4897-8ab1-9631dd7da01c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_c2b7966b-8d01-4f21-83f0-27c598b6d41f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_9aee02c8-afc5-4f01-bdf4-e775a85c3862" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_c2b7966b-8d01-4f21-83f0-27c598b6d41f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_325a3040-aa69-4a61-a999-a8b0ac77d65d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_c2b7966b-8d01-4f21-83f0-27c598b6d41f" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_325a3040-aa69-4a61-a999-a8b0ac77d65d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_21799360-6c4c-4695-a0e2-995ddfa7c371" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_c2b7966b-8d01-4f21-83f0-27c598b6d41f" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_21799360-6c4c-4695-a0e2-995ddfa7c371" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_07ef2c23-503e-4788-9e61-e8b12021a9ee" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_c2b7966b-8d01-4f21-83f0-27c598b6d41f" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_07ef2c23-503e-4788-9e61-e8b12021a9ee" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_9ea7b70a-3b91-489d-b631-cc0a73f24913" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_c2b7966b-8d01-4f21-83f0-27c598b6d41f" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_9ea7b70a-3b91-489d-b631-cc0a73f24913" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_ea10a464-72a3-4a9d-ae6a-e30013caf60c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/ShareBasedCompensationPerformanceBasedRSUsDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#ShareBasedCompensationPerformanceBasedRSUsDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/ShareBasedCompensationPerformanceBasedRSUsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c136ccec-2147-4898-a2a2-66cb1b074b33" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_555b1ceb-743a-4bc7-8c4f-fb719f5cc8d3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c136ccec-2147-4898-a2a2-66cb1b074b33" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_555b1ceb-743a-4bc7-8c4f-fb719f5cc8d3" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_10606690-d90f-4077-a92c-10e149445565" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_555b1ceb-743a-4bc7-8c4f-fb719f5cc8d3" xlink:to="loc_us-gaap_AwardTypeAxis_10606690-d90f-4077-a92c-10e149445565" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_10606690-d90f-4077-a92c-10e149445565_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_10606690-d90f-4077-a92c-10e149445565" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_10606690-d90f-4077-a92c-10e149445565_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_798cf74e-8502-4056-82a9-df8f5012e3a1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_10606690-d90f-4077-a92c-10e149445565" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_798cf74e-8502-4056-82a9-df8f5012e3a1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_PerformanceBasedRestrictedStockUnitsMember_231c217d-26f0-4ee9-9f66-d08a7d5d9a02" xlink:href="farm-20240630.xsd#farm_PerformanceBasedRestrictedStockUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_798cf74e-8502-4056-82a9-df8f5012e3a1" xlink:to="loc_farm_PerformanceBasedRestrictedStockUnitsMember_231c217d-26f0-4ee9-9f66-d08a7d5d9a02" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_7cffdbe4-fc99-4ea3-9703-51618ebc908c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_555b1ceb-743a-4bc7-8c4f-fb719f5cc8d3" xlink:to="loc_us-gaap_StatementClassOfStockAxis_7cffdbe4-fc99-4ea3-9703-51618ebc908c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_7cffdbe4-fc99-4ea3-9703-51618ebc908c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_7cffdbe4-fc99-4ea3-9703-51618ebc908c" xlink:to="loc_us-gaap_ClassOfStockDomain_7cffdbe4-fc99-4ea3-9703-51618ebc908c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_3a18d563-e6d3-427e-95b5-d367635ccb70" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_7cffdbe4-fc99-4ea3-9703-51618ebc908c" xlink:to="loc_us-gaap_ClassOfStockDomain_3a18d563-e6d3-427e-95b5-d367635ccb70" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_PerformanceBasedRestrictedStockUnitsMember_47867fd8-45dc-4364-8e16-b85d4cfc4639" xlink:href="farm-20240630.xsd#farm_PerformanceBasedRestrictedStockUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_3a18d563-e6d3-427e-95b5-d367635ccb70" xlink:to="loc_farm_PerformanceBasedRestrictedStockUnitsMember_47867fd8-45dc-4364-8e16-b85d4cfc4639" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_56ae69f2-8fb2-4c08-a447-22ec3aa91ebf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c136ccec-2147-4898-a2a2-66cb1b074b33" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_56ae69f2-8fb2-4c08-a447-22ec3aa91ebf" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_cce234eb-c511-4e83-a283-cf6e0164b893" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_56ae69f2-8fb2-4c08-a447-22ec3aa91ebf" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_cce234eb-c511-4e83-a283-cf6e0164b893" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_015fe005-35ad-4d47-a6a6-7e548ca7678a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_56ae69f2-8fb2-4c08-a447-22ec3aa91ebf" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_015fe005-35ad-4d47-a6a6-7e548ca7678a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_ca51f24c-ecd9-4aa8-aff6-8267012951b2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_56ae69f2-8fb2-4c08-a447-22ec3aa91ebf" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_ca51f24c-ecd9-4aa8-aff6-8267012951b2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_4de0acf1-09c2-4107-bcb5-704ea416d2cf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_56ae69f2-8fb2-4c08-a447-22ec3aa91ebf" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_4de0acf1-09c2-4107-bcb5-704ea416d2cf" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_fcac7034-7d55-42a0-bf41-bef012db8c49" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_a29d6b1c-be17-4440-9252-137c5606b0e3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c136ccec-2147-4898-a2a2-66cb1b074b33" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_a29d6b1c-be17-4440-9252-137c5606b0e3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_9c4fa9aa-e3c9-4717-8bc0-178f38b59276" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_a29d6b1c-be17-4440-9252-137c5606b0e3" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_9c4fa9aa-e3c9-4717-8bc0-178f38b59276" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_406b2003-889d-45a0-8e71-36ded66c0cbd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_a29d6b1c-be17-4440-9252-137c5606b0e3" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_406b2003-889d-45a0-8e71-36ded66c0cbd" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_bb935b1d-3038-4591-ac2a-b7941b07e3eb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_a29d6b1c-be17-4440-9252-137c5606b0e3" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_bb935b1d-3038-4591-ac2a-b7941b07e3eb" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_3005fc9f-b206-4876-9c82-02cac3f2cf5b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_a29d6b1c-be17-4440-9252-137c5606b0e3" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_3005fc9f-b206-4876-9c82-02cac3f2cf5b" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/ShareBasedCompensationCashSettledRestrictedStockDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#ShareBasedCompensationCashSettledRestrictedStockDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/ShareBasedCompensationCashSettledRestrictedStockDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_26e11ef2-380e-421a-a918-f6d45c8496e3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_a52b8da4-c55a-44de-b199-03506a3ba26e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_26e11ef2-380e-421a-a918-f6d45c8496e3" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_a52b8da4-c55a-44de-b199-03506a3ba26e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_cf668470-52fb-4500-bfef-0d63f2dd2d38" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_a52b8da4-c55a-44de-b199-03506a3ba26e" xlink:to="loc_us-gaap_AwardTypeAxis_cf668470-52fb-4500-bfef-0d63f2dd2d38" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_cf668470-52fb-4500-bfef-0d63f2dd2d38_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_cf668470-52fb-4500-bfef-0d63f2dd2d38" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_cf668470-52fb-4500-bfef-0d63f2dd2d38_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_c33a372f-deea-4d62-b0e9-d85846b76e6e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_cf668470-52fb-4500-bfef-0d63f2dd2d38" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_c33a372f-deea-4d62-b0e9-d85846b76e6e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_CashSettledRestrictedStockUnitsMember_f44183e5-9927-441b-829c-2b7264b076a0" xlink:href="farm-20240630.xsd#farm_CashSettledRestrictedStockUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_c33a372f-deea-4d62-b0e9-d85846b76e6e" xlink:to="loc_farm_CashSettledRestrictedStockUnitsMember_f44183e5-9927-441b-829c-2b7264b076a0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_7760b323-069a-4533-bfc5-2f1e89a8a09e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_26e11ef2-380e-421a-a918-f6d45c8496e3" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_7760b323-069a-4533-bfc5-2f1e89a8a09e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_933649b4-f466-4c0e-8d1c-fe53b83b8a69" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_7760b323-069a-4533-bfc5-2f1e89a8a09e" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_933649b4-f466-4c0e-8d1c-fe53b83b8a69" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_2e3c19b4-a4cf-467e-b25a-939a824dd966" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_7760b323-069a-4533-bfc5-2f1e89a8a09e" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_2e3c19b4-a4cf-467e-b25a-939a824dd966" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_6c1c89f1-3936-4344-bda9-90a62a91b49b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_7760b323-069a-4533-bfc5-2f1e89a8a09e" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_6c1c89f1-3936-4344-bda9-90a62a91b49b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_dde279ba-0ef1-4e86-8998-183837f89045" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_7760b323-069a-4533-bfc5-2f1e89a8a09e" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_dde279ba-0ef1-4e86-8998-183837f89045" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_103a39c0-df85-4450-beaa-a8993204ea94" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_295eb262-5a41-4602-9133-f25c58aa536e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_26e11ef2-380e-421a-a918-f6d45c8496e3" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_295eb262-5a41-4602-9133-f25c58aa536e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_cedce090-d5f4-4f52-b619-642a37bda8f6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_295eb262-5a41-4602-9133-f25c58aa536e" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_cedce090-d5f4-4f52-b619-642a37bda8f6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_664018dc-814c-4cfe-811b-84adf682ed79" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_295eb262-5a41-4602-9133-f25c58aa536e" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_664018dc-814c-4cfe-811b-84adf682ed79" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_299a3c50-2ff4-435a-abf2-0c883960e3be" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_295eb262-5a41-4602-9133-f25c58aa536e" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_299a3c50-2ff4-435a-abf2-0c883960e3be" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_9777fa61-59d0-425e-bec7-6f4c76c879c3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_295eb262-5a41-4602-9133-f25c58aa536e" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_9777fa61-59d0-425e-bec7-6f4c76c879c3" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_a80fdc0e-1c04-40ef-9e6f-d1dd88910908" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/IncomeTaxesNarrativeDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#IncomeTaxesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/IncomeTaxesNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_farm_IncomeTaxDisclosureLineItems_d2b6b654-72c1-48ab-bd86-8f3b46bbd938" xlink:href="farm-20240630.xsd#farm_IncomeTaxDisclosureLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_IncomeTaxDisclosureTable_fcac8eaa-0eac-4c9a-bab2-fa2ff8d47ec3" xlink:href="farm-20240630.xsd#farm_IncomeTaxDisclosureTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_farm_IncomeTaxDisclosureLineItems_d2b6b654-72c1-48ab-bd86-8f3b46bbd938" xlink:to="loc_farm_IncomeTaxDisclosureTable_fcac8eaa-0eac-4c9a-bab2-fa2ff8d47ec3" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityAxis_6b65da87-d293-4a05-8734-78afac122843" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeTaxAuthorityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_farm_IncomeTaxDisclosureTable_fcac8eaa-0eac-4c9a-bab2-fa2ff8d47ec3" xlink:to="loc_us-gaap_IncomeTaxAuthorityAxis_6b65da87-d293-4a05-8734-78afac122843" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_6b65da87-d293-4a05-8734-78afac122843_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeTaxAuthorityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_6b65da87-d293-4a05-8734-78afac122843" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_6b65da87-d293-4a05-8734-78afac122843_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_6401bb7c-8576-4cf0-8e3b-76319c2867ea" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeTaxAuthorityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_6b65da87-d293-4a05-8734-78afac122843" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_6401bb7c-8576-4cf0-8e3b-76319c2867ea" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DomesticCountryMember_21adf26a-ad11-4bf5-944e-8af8b897e26f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DomesticCountryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_6401bb7c-8576-4cf0-8e3b-76319c2867ea" xlink:to="loc_us-gaap_DomesticCountryMember_21adf26a-ad11-4bf5-944e-8af8b897e26f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StateAndLocalJurisdictionMember_097fd764-000e-4fd7-a3ad-2cc8b3f8e073" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StateAndLocalJurisdictionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_6401bb7c-8576-4cf0-8e3b-76319c2867ea" xlink:to="loc_us-gaap_StateAndLocalJurisdictionMember_097fd764-000e-4fd7-a3ad-2cc8b3f8e073" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLossCarryforwards_e6e429f7-e67f-4049-b7a2-041db770ee50" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLossCarryforwards"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_farm_IncomeTaxDisclosureLineItems_d2b6b654-72c1-48ab-bd86-8f3b46bbd938" xlink:to="loc_us-gaap_OperatingLossCarryforwards_e6e429f7-e67f-4049-b7a2-041db770ee50" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsNotSubjectToExpiration_b8cf1d35-f738-40bd-9d8c-24beeb4daa70" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsNotSubjectToExpiration"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_farm_IncomeTaxDisclosureLineItems_d2b6b654-72c1-48ab-bd86-8f3b46bbd938" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsNotSubjectToExpiration_b8cf1d35-f738-40bd-9d8c-24beeb4daa70" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxCreditCarryforwardAmount_102bb882-aae4-4871-a0a0-a2572a550c51" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TaxCreditCarryforwardAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_farm_IncomeTaxDisclosureLineItems_d2b6b654-72c1-48ab-bd86-8f3b46bbd938" xlink:to="loc_us-gaap_TaxCreditCarryforwardAmount_102bb882-aae4-4871-a0a0-a2572a550c51" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_33cd0ef4-1f14-4471-bc80-33a65410aa7d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DeferredTaxAssetsValuationAllowance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_farm_IncomeTaxDisclosureLineItems_d2b6b654-72c1-48ab-bd86-8f3b46bbd938" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_33cd0ef4-1f14-4471-bc80-33a65410aa7d" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/NetLossPerCommonShareScheduleofAntidilutiveSecuritiesExcludedfromComputationofEarningsPerShareDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#NetLossPerCommonShareScheduleofAntidilutiveSecuritiesExcludedfromComputationofEarningsPerShareDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/NetLossPerCommonShareScheduleofAntidilutiveSecuritiesExcludedfromComputationofEarningsPerShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_7a415298-4b40-476f-9916-db1356770bcf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_4bf4381f-4b14-4812-a4d7-424458e678f7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_7a415298-4b40-476f-9916-db1356770bcf" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_4bf4381f-4b14-4812-a4d7-424458e678f7" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_5fd04269-078e-4063-9fcb-e0723e598c1f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_4bf4381f-4b14-4812-a4d7-424458e678f7" xlink:to="loc_us-gaap_StatementClassOfStockAxis_5fd04269-078e-4063-9fcb-e0723e598c1f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_5fd04269-078e-4063-9fcb-e0723e598c1f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_5fd04269-078e-4063-9fcb-e0723e598c1f" xlink:to="loc_us-gaap_ClassOfStockDomain_5fd04269-078e-4063-9fcb-e0723e598c1f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_b57046b3-06ce-4fd1-a938-96006a722384" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_5fd04269-078e-4063-9fcb-e0723e598c1f" xlink:to="loc_us-gaap_ClassOfStockDomain_b57046b3-06ce-4fd1-a938-96006a722384" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_91d5e1fb-d574-4ec2-8290-3341994aa0b0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_b57046b3-06ce-4fd1-a938-96006a722384" xlink:to="loc_us-gaap_EmployeeStockOptionMember_91d5e1fb-d574-4ec2-8290-3341994aa0b0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CumulativePreferredStockMember_939dd877-8f09-4fde-bc80-556435a2d833" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CumulativePreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_b57046b3-06ce-4fd1-a938-96006a722384" xlink:to="loc_us-gaap_CumulativePreferredStockMember_939dd877-8f09-4fde-bc80-556435a2d833" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_1d21fcdc-8533-407f-a98d-9395cff4461d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_b57046b3-06ce-4fd1-a938-96006a722384" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_1d21fcdc-8533-407f-a98d-9395cff4461d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_8aece155-35c5-4991-af2c-8ba6335d5557" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_7a415298-4b40-476f-9916-db1356770bcf" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_8aece155-35c5-4991-af2c-8ba6335d5557" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/CommitmentsandContingenciesNarrativeDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#CommitmentsandContingenciesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/CommitmentsandContingenciesNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_farm_ContractualObligationsLineItems_2bf4103f-5242-48b2-b91e-568586803f30" xlink:href="farm-20240630.xsd#farm_ContractualObligationsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_ContractualObligationsTable_7fe141a0-fe87-4198-a408-82717e37ce18" xlink:href="farm-20240630.xsd#farm_ContractualObligationsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_farm_ContractualObligationsLineItems_2bf4103f-5242-48b2-b91e-568586803f30" xlink:to="loc_farm_ContractualObligationsTable_7fe141a0-fe87-4198-a408-82717e37ce18" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PublicUtilitiesInventoryAxis_6ca54165-94d3-4c78-b2ee-f0d4c62eb918" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PublicUtilitiesInventoryAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_farm_ContractualObligationsTable_7fe141a0-fe87-4198-a408-82717e37ce18" xlink:to="loc_us-gaap_PublicUtilitiesInventoryAxis_6ca54165-94d3-4c78-b2ee-f0d4c62eb918" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PublicUtilitiesInventoryTypeDomain_6ca54165-94d3-4c78-b2ee-f0d4c62eb918_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PublicUtilitiesInventoryTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PublicUtilitiesInventoryAxis_6ca54165-94d3-4c78-b2ee-f0d4c62eb918" xlink:to="loc_us-gaap_PublicUtilitiesInventoryTypeDomain_6ca54165-94d3-4c78-b2ee-f0d4c62eb918_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PublicUtilitiesInventoryTypeDomain_aa6443af-548b-4d9f-a6b7-54137c34dd7c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PublicUtilitiesInventoryTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PublicUtilitiesInventoryAxis_6ca54165-94d3-4c78-b2ee-f0d4c62eb918" xlink:to="loc_us-gaap_PublicUtilitiesInventoryTypeDomain_aa6443af-548b-4d9f-a6b7-54137c34dd7c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_CoffeeMember_2387d604-89ab-43ae-a69f-90b5344c0cc1" xlink:href="farm-20240630.xsd#farm_CoffeeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PublicUtilitiesInventoryTypeDomain_aa6443af-548b-4d9f-a6b7-54137c34dd7c" xlink:to="loc_farm_CoffeeMember_2387d604-89ab-43ae-a69f-90b5344c0cc1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_OtherInventoryMember_74dbefaa-166e-4e08-bd02-c752507f45fa" xlink:href="farm-20240630.xsd#farm_OtherInventoryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PublicUtilitiesInventoryTypeDomain_aa6443af-548b-4d9f-a6b7-54137c34dd7c" xlink:to="loc_farm_OtherInventoryMember_74dbefaa-166e-4e08-bd02-c752507f45fa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RecordedUnconditionalPurchaseObligationByCategoryOfItemPurchasedAxis_c506740d-52ff-4d9f-8e10-480e95b60c39" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RecordedUnconditionalPurchaseObligationByCategoryOfItemPurchasedAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_farm_ContractualObligationsTable_7fe141a0-fe87-4198-a408-82717e37ce18" xlink:to="loc_us-gaap_RecordedUnconditionalPurchaseObligationByCategoryOfItemPurchasedAxis_c506740d-52ff-4d9f-8e10-480e95b60c39" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RecordedUnconditionalPurchaseObligationCategoryDomain_c506740d-52ff-4d9f-8e10-480e95b60c39_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RecordedUnconditionalPurchaseObligationCategoryDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RecordedUnconditionalPurchaseObligationByCategoryOfItemPurchasedAxis_c506740d-52ff-4d9f-8e10-480e95b60c39" xlink:to="loc_us-gaap_RecordedUnconditionalPurchaseObligationCategoryDomain_c506740d-52ff-4d9f-8e10-480e95b60c39_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RecordedUnconditionalPurchaseObligationCategoryDomain_4d0f7aa9-a767-48db-91f5-935d44d8992d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RecordedUnconditionalPurchaseObligationCategoryDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RecordedUnconditionalPurchaseObligationByCategoryOfItemPurchasedAxis_c506740d-52ff-4d9f-8e10-480e95b60c39" xlink:to="loc_us-gaap_RecordedUnconditionalPurchaseObligationCategoryDomain_4d0f7aa9-a767-48db-91f5-935d44d8992d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoriesMember_2c9515a2-2c1e-4fa5-8f03-78916726dd22" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InventoriesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RecordedUnconditionalPurchaseObligationCategoryDomain_4d0f7aa9-a767-48db-91f5-935d44d8992d" xlink:to="loc_us-gaap_InventoriesMember_2c9515a2-2c1e-4fa5-8f03-78916726dd22" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PurchaseObligation_7d567246-2cf5-4687-a4d2-b83f19afa0df" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PurchaseObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_farm_ContractualObligationsLineItems_2bf4103f-5242-48b2-b91e-568586803f30" xlink:to="loc_us-gaap_PurchaseObligation_7d567246-2cf5-4687-a4d2-b83f19afa0df" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/RevenueRecognitionDisaggregationofRevenueDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#RevenueRecognitionDisaggregationofRevenueDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/RevenueRecognitionDisaggregationofRevenueDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_cec8ee14-6286-45c8-a012-a6384bcb3fbf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_442055f4-23f2-4d8d-b65a-d8b38979c933" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_cec8ee14-6286-45c8-a012-a6384bcb3fbf" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_442055f4-23f2-4d8d-b65a-d8b38979c933" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_e19da273-7758-4a01-ba71-50127da71449" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_442055f4-23f2-4d8d-b65a-d8b38979c933" xlink:to="loc_srt_ProductOrServiceAxis_e19da273-7758-4a01-ba71-50127da71449" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_e19da273-7758-4a01-ba71-50127da71449_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_e19da273-7758-4a01-ba71-50127da71449" xlink:to="loc_srt_ProductsAndServicesDomain_e19da273-7758-4a01-ba71-50127da71449_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_61c18947-1016-4c77-aa06-4fcd6c9f26ce" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_e19da273-7758-4a01-ba71-50127da71449" xlink:to="loc_srt_ProductsAndServicesDomain_61c18947-1016-4c77-aa06-4fcd6c9f26ce" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_CoffeeRoastedMember_ed8f6900-98a4-4e33-9269-00cde973f791" xlink:href="farm-20240630.xsd#farm_CoffeeRoastedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_61c18947-1016-4c77-aa06-4fcd6c9f26ce" xlink:to="loc_farm_CoffeeRoastedMember_ed8f6900-98a4-4e33-9269-00cde973f791" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_TeaOtherBeveragesMember_6c0a0705-689c-421a-8bb8-3ad8aa5856a0" xlink:href="farm-20240630.xsd#farm_TeaOtherBeveragesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_61c18947-1016-4c77-aa06-4fcd6c9f26ce" xlink:to="loc_farm_TeaOtherBeveragesMember_6c0a0705-689c-421a-8bb8-3ad8aa5856a0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_CulinaryMember_98998682-1b49-44f0-aee0-cb30e0ba28d0" xlink:href="farm-20240630.xsd#farm_CulinaryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_61c18947-1016-4c77-aa06-4fcd6c9f26ce" xlink:to="loc_farm_CulinaryMember_98998682-1b49-44f0-aee0-cb30e0ba28d0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_SpiceMember_cfcc79b1-a15d-4345-829f-b21710d79e15" xlink:href="farm-20240630.xsd#farm_SpiceMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_61c18947-1016-4c77-aa06-4fcd6c9f26ce" xlink:to="loc_farm_SpiceMember_cfcc79b1-a15d-4345-829f-b21710d79e15" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_DeliveryMember_0397f243-9bce-4ce9-9e59-8bfa163d1e23" xlink:href="farm-20240630.xsd#farm_DeliveryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_61c18947-1016-4c77-aa06-4fcd6c9f26ce" xlink:to="loc_farm_DeliveryMember_0397f243-9bce-4ce9-9e59-8bfa163d1e23" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_11f75546-7402-4229-8e9d-84fb15fbe49c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ConcentrationRiskByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_442055f4-23f2-4d8d-b65a-d8b38979c933" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_11f75546-7402-4229-8e9d-84fb15fbe49c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_11f75546-7402-4229-8e9d-84fb15fbe49c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_11f75546-7402-4229-8e9d-84fb15fbe49c" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_11f75546-7402-4229-8e9d-84fb15fbe49c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_f67bbfc3-a492-470f-ab96-b21a63319ef1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_11f75546-7402-4229-8e9d-84fb15fbe49c" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_f67bbfc3-a492-470f-ab96-b21a63319ef1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductConcentrationRiskMember_4b4f4b9a-7f88-424c-966f-62758addaf2c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProductConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_f67bbfc3-a492-470f-ab96-b21a63319ef1" xlink:to="loc_us-gaap_ProductConcentrationRiskMember_4b4f4b9a-7f88-424c-966f-62758addaf2c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_108d2a5d-6c46-4c1f-b34a-3a3b075ed098" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_442055f4-23f2-4d8d-b65a-d8b38979c933" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_108d2a5d-6c46-4c1f-b34a-3a3b075ed098" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_108d2a5d-6c46-4c1f-b34a-3a3b075ed098_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_108d2a5d-6c46-4c1f-b34a-3a3b075ed098" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_108d2a5d-6c46-4c1f-b34a-3a3b075ed098_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_57633fb0-0999-44dc-823b-b5cb648eb053" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_108d2a5d-6c46-4c1f-b34a-3a3b075ed098" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_57633fb0-0999-44dc-823b-b5cb648eb053" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesRevenueNetMember_7a04852f-c763-4c33-9394-36b87b32b9d3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SalesRevenueNetMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_57633fb0-0999-44dc-823b-b5cb648eb053" xlink:to="loc_us-gaap_SalesRevenueNetMember_7a04852f-c763-4c33-9394-36b87b32b9d3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementOperatingActivitiesSegmentAxis_9d27ec15-1c04-4c46-a939-87d2aeb52cc0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementOperatingActivitiesSegmentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_442055f4-23f2-4d8d-b65a-d8b38979c933" xlink:to="loc_us-gaap_StatementOperatingActivitiesSegmentAxis_9d27ec15-1c04-4c46-a939-87d2aeb52cc0" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentOperatingActivitiesDomain_9d27ec15-1c04-4c46-a939-87d2aeb52cc0_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SegmentOperatingActivitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementOperatingActivitiesSegmentAxis_9d27ec15-1c04-4c46-a939-87d2aeb52cc0" xlink:to="loc_us-gaap_SegmentOperatingActivitiesDomain_9d27ec15-1c04-4c46-a939-87d2aeb52cc0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentOperatingActivitiesDomain_01a08945-3be1-4c4c-bb49-f13de232d38c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SegmentOperatingActivitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementOperatingActivitiesSegmentAxis_9d27ec15-1c04-4c46-a939-87d2aeb52cc0" xlink:to="loc_us-gaap_SegmentOperatingActivitiesDomain_01a08945-3be1-4c4c-bb49-f13de232d38c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentContinuingOperationsMember_5fd3778d-8433-4050-953a-15793bb9a515" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SegmentContinuingOperationsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentOperatingActivitiesDomain_01a08945-3be1-4c4c-bb49-f13de232d38c" xlink:to="loc_us-gaap_SegmentContinuingOperationsMember_5fd3778d-8433-4050-953a-15793bb9a515" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDiscontinuedOperationsMember_ce22bf3a-3c27-46ed-abae-9f9b77a85a7a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SegmentDiscontinuedOperationsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentOperatingActivitiesDomain_01a08945-3be1-4c4c-bb49-f13de232d38c" xlink:to="loc_us-gaap_SegmentDiscontinuedOperationsMember_ce22bf3a-3c27-46ed-abae-9f9b77a85a7a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_b6575d56-48a0-44a6-8d08-0633855cc1b3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_cec8ee14-6286-45c8-a012-a6384bcb3fbf" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_b6575d56-48a0-44a6-8d08-0633855cc1b3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_57330e25-e999-4f87-8516-02dd302390c1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ConcentrationRiskPercentage1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_cec8ee14-6286-45c8-a012-a6384bcb3fbf" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_57330e25-e999-4f87-8516-02dd302390c1" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.farmerbrosco.com/role/PreferredStockNarrativeDetails" xlink:type="simple" xlink:href="farm-20240630.xsd#PreferredStockNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.farmerbrosco.com/role/PreferredStockNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockLineItems_4ba2f3ca-91ff-41f2-a206-b05afc837b77" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ClassOfStockLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_7c1bc4eb-44d8-4c69-bfd6-1cb0cf50c2a4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfStockByClassTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_4ba2f3ca-91ff-41f2-a206-b05afc837b77" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_7c1bc4eb-44d8-4c69-bfd6-1cb0cf50c2a4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_5d7b26a1-5ef6-44e3-b77c-caa1b556f220" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_7c1bc4eb-44d8-4c69-bfd6-1cb0cf50c2a4" xlink:to="loc_us-gaap_StatementClassOfStockAxis_5d7b26a1-5ef6-44e3-b77c-caa1b556f220" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_5d7b26a1-5ef6-44e3-b77c-caa1b556f220_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_5d7b26a1-5ef6-44e3-b77c-caa1b556f220" xlink:to="loc_us-gaap_ClassOfStockDomain_5d7b26a1-5ef6-44e3-b77c-caa1b556f220_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_d76a1afb-4ac5-460b-abbc-eaea8052c91f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_5d7b26a1-5ef6-44e3-b77c-caa1b556f220" xlink:to="loc_us-gaap_ClassOfStockDomain_d76a1afb-4ac5-460b-abbc-eaea8052c91f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesAPreferredStockMember_7570a958-19f8-41ba-8d80-0162dfafa556" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SeriesAPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_d76a1afb-4ac5-460b-abbc-eaea8052c91f" xlink:to="loc_us-gaap_SeriesAPreferredStockMember_7570a958-19f8-41ba-8d80-0162dfafa556" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesAuthorized_1529584c-a139-488e-9997-39a15e5a443c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PreferredStockSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_4ba2f3ca-91ff-41f2-a206-b05afc837b77" xlink:to="loc_us-gaap_PreferredStockSharesAuthorized_1529584c-a139-488e-9997-39a15e5a443c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockParOrStatedValuePerShare_c43adeee-66e5-4441-ba20-3eab98d66cf0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PreferredStockParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_4ba2f3ca-91ff-41f2-a206-b05afc837b77" xlink:to="loc_us-gaap_PreferredStockParOrStatedValuePerShare_c43adeee-66e5-4441-ba20-3eab98d66cf0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesIssued_26613e65-b4a2-4310-9732-145ee2c0411e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PreferredStockSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_4ba2f3ca-91ff-41f2-a206-b05afc837b77" xlink:to="loc_us-gaap_PreferredStockSharesIssued_26613e65-b4a2-4310-9732-145ee2c0411e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesOutstanding_86ceb2b9-e861-4089-aff5-ba88f28c7020" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PreferredStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_4ba2f3ca-91ff-41f2-a206-b05afc837b77" xlink:to="loc_us-gaap_PreferredStockSharesOutstanding_86ceb2b9-e861-4089-aff5-ba88f28c7020" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_PreferredStockNumberOfSharesConverted_7187e13c-a1dc-4c6d-9ca9-9ccd3c38de85" xlink:href="farm-20240630.xsd#farm_PreferredStockNumberOfSharesConverted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_4ba2f3ca-91ff-41f2-a206-b05afc837b77" xlink:to="loc_farm_PreferredStockNumberOfSharesConverted_7187e13c-a1dc-4c6d-9ca9-9ccd3c38de85" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertiblePreferredStockSharesIssuedUponConversion_daf1f0f3-c9e3-4cae-b975-e90d59746a3e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ConvertiblePreferredStockSharesIssuedUponConversion"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_4ba2f3ca-91ff-41f2-a206-b05afc837b77" xlink:to="loc_us-gaap_ConvertiblePreferredStockSharesIssuedUponConversion_daf1f0f3-c9e3-4cae-b975-e90d59746a3e" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_PreferredStockConversionPricePerShare_be0a611a-4cf7-4768-907e-b0950082f513" xlink:href="farm-20240630.xsd#farm_PreferredStockConversionPricePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_4ba2f3ca-91ff-41f2-a206-b05afc837b77" xlink:to="loc_farm_PreferredStockConversionPricePerShare_be0a611a-4cf7-4768-907e-b0950082f513" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_GainLossRelatedToReferredStockSettlement_6868a753-ff75-40d5-8631-cf0760e0202f" xlink:href="farm-20240630.xsd#farm_GainLossRelatedToReferredStockSettlement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_4ba2f3ca-91ff-41f2-a206-b05afc837b77" xlink:to="loc_farm_GainLossRelatedToReferredStockSettlement_6868a753-ff75-40d5-8631-cf0760e0202f" xlink:type="arc" order="7"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://xbrl.sec.gov/ecd/AwardTypeOnly" xlink:type="simple" xlink:href="https://xbrl.sec.gov/ecd/2024/ecd-2024.xsd#AwardTypeOnly"/>
  <link:definitionLink xlink:role="http://xbrl.sec.gov/ecd/AwardTypeOnly" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_NonqualifiedStockOptionswithTimebasedVestingNQOMember_4187576a-5bcb-4088-b9b2-315155e5c735" xlink:href="farm-20240630.xsd#farm_NonqualifiedStockOptionswithTimebasedVestingNQOMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="loc_farm_NonqualifiedStockOptionswithTimebasedVestingNQOMember_4187576a-5bcb-4088-b9b2-315155e5c735" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_NonqualifiedStockOptionswithPerformancebasedandTimebasedVestingPNQMember_5dbecad4-117f-487c-93d7-dabdf64d5da8" xlink:href="farm-20240630.xsd#farm_NonqualifiedStockOptionswithPerformancebasedandTimebasedVestingPNQMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="loc_farm_NonqualifiedStockOptionswithPerformancebasedandTimebasedVestingPNQMember_5dbecad4-117f-487c-93d7-dabdf64d5da8" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockMember" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RestrictedStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="loc_us-gaap_RestrictedStockMember" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_PerformanceBasedRestrictedStockUnitsMember_b3211c03-a6a5-4378-969b-196a03e3388b" xlink:href="farm-20240630.xsd#farm_PerformanceBasedRestrictedStockUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="loc_farm_PerformanceBasedRestrictedStockUnitsMember_b3211c03-a6a5-4378-969b-196a03e3388b" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_farm_CashSettledRestrictedStockUnitsMember_087437b6-3faa-48da-8735-a182ee94f693" xlink:href="farm-20240630.xsd#farm_CashSettledRestrictedStockUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="loc_farm_CashSettledRestrictedStockUnitsMember_087437b6-3faa-48da-8735-a182ee94f693" xlink:type="arc" order="8"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fasb.org/us-gaap/role/eedm/ExtensibleEnumerationLists" xlink:type="simple" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-roles-2024.xsd#eedm"/>
  <link:definitionLink xlink:role="http://fasb.org/us-gaap/role/eedm/ExtensibleEnumerationLists" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetsAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeStatementAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementAbstract" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseNonoperating" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestExpenseNonoperating"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementAbstract" xlink:to="loc_us-gaap_InterestExpenseNonoperating" xlink:type="arc" order="2"/>
  </link:definitionLink>
</link:linkbase>
