content: <?xml version="1.0" encoding="UTF-8"?><edgarSubmission xmlns="http://www.sec.gov/edgar/ownership" xmlns:com="http://www.sec.gov/edgar/common">
    <!-- Generated by Workiva -->
    <headerData>
      <submissionType>144</submissionType>
      <filerInfo>
        <filer>
          <filerCredentials>
            <cik>0001543219</cik>
            <ccc>XXXXXXXX</ccc>
          </filerCredentials>
        </filer>
        <liveTestFlag>LIVE</liveTestFlag>
  
  
  
      </filerInfo>
    </headerData>
    <formData>
      <issuerInfo>
        <issuerCik>0000034563</issuerCik>
        <issuerName>Farmer Brothers Co.</issuerName>
        <secFileNumber>001-34249</secFileNumber>
        <issuerAddress>
          <com:street1>1912 Farm Brothers Drive</com:street1>
          <com:city>Northlake</com:city>
          <com:stateOrCountry>TX</com:stateOrCountry>
          <com:zipCode>76262</com:zipCode>
        </issuerAddress>
        <issuerContactPhone>888-998-2468</issuerContactPhone>
        <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>Dwayne Deverl Maserang</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
        <relationshipsToIssuer>
          <relationshipToIssuer>Affiliate</relationshipToIssuer>
        </relationshipsToIssuer>
      </issuerInfo>
      <securitiesInformation>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <brokerOrMarketmakerDetails>
          <name>J.P. Morgan Securities LLC</name>
          <address>
            <com:street1>390 Madison Avenue - 6th Floor</com:street1>
            <com:city>New York</com:city>
            <com:stateOrCountry>NY</com:stateOrCountry>
            <com:zipCode>10017</com:zipCode>
          </address>
        </brokerOrMarketmakerDetails>
        <noOfUnitsSold>70000</noOfUnitsSold>
        <aggregateMarketValue>214900</aggregateMarketValue>
        <noOfUnitsOutstanding>20748269</noOfUnitsOutstanding>
        <approxSaleDate>12/15/2023</approxSaleDate>
        <securitiesExchangeName>NASDAQ</securitiesExchangeName>
      </securitiesInformation>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>11/14/2019</acquiredDate>
        <natureOfAcquisitionTransaction>Performance Based RSUs</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>1228</amountOfSecuritiesAcquired>
        <paymentDate>11/14/2019</paymentDate>
        <natureOfPayment>N/A</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>11/15/2019</acquiredDate>
        <natureOfAcquisitionTransaction>Performance Based RSUs</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>11772</amountOfSecuritiesAcquired>
        <paymentDate>11/15/2019</paymentDate>
        <natureOfPayment>N/A</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>07/16/2021</acquiredDate>
        <natureOfAcquisitionTransaction>Performance Based RSUs</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>40201</amountOfSecuritiesAcquired>
        <paymentDate>07/16/2021</paymentDate>
        <natureOfPayment>N/A</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>05/10/2021</acquiredDate>
        <natureOfAcquisitionTransaction>Performance Based RSUs</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>11100</amountOfSecuritiesAcquired>
        <paymentDate>05/10/2021</paymentDate>
        <natureOfPayment>N/A</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>07/16/2022</acquiredDate>
        <natureOfAcquisitionTransaction>Performance Based RSUs</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>39728</amountOfSecuritiesAcquired>
        <paymentDate>07/16/2022</paymentDate>
        <natureOfPayment>N/A</natureOfPayment>
      </securitiesToBeSold>
      <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
      <remarks>The shares filed today will be sold by the Maserang Living Trust ,  Dwayne Deverl Maserang as Trustee</remarks>
      <noticeSignature>
        <noticeDate>12/15/2023</noticeDate>
        <signature>/s/ J.P. Morgan Securities LLC as agent and attorney-in-fact for Dwayne Deverl Maserang</signature>
      </noticeSignature>
    </formData>
  </edgarSubmission>
metadata_documents: [{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 5068}]
text: 144
  0001543219
  XXXXXXXX
  LIVE
  0000034563
  Farmer Brothers Co.
  001-34249
  1912 Farm Brothers Drive
  Northlake
  TX
  76262
  888-998-2468
  Dwayne Deverl Maserang
  Affiliate
  Common
  J.P. Morgan Securities LLC
  390 Madison Avenue - 6th Floor
  New York
  NY
  10017
  70000
  214900
  20748269
  12/15/2023
  NASDAQ
  Common
  11/14/2019
  Performance Based RSUs
  Issuer
  N
  1228
  11/14/2019
  N/A
  Common
  11/15/2019
  Performance Based RSUs
  Issuer
  N
  11772
  11/15/2019
  N/A
  Common
  07/16/2021
  Performance Based RSUs
  Issuer
  N
  40201
  07/16/2021
  N/A
  Common
  05/10/2021
  Performance Based RSUs
  Issuer
  N
  11100
  05/10/2021
  N/A
  Common
  07/16/2022
  Performance Based RSUs
  Issuer
  N
  39728
  07/16/2022
  N/A
  Y
  The shares filed today will be sold by the Maserang Living Trust ,  Dwayne Deverl Maserang as Trustee
  12/15/2023
  /s/ J.P. Morgan Securities LLC as agent and attorney-in-fact for Dwayne Deverl Maserang