content: <?xml version="1.0" encoding="UTF-8"?><edgarSubmission xmlns="http://www.sec.gov/edgar/ownership" xmlns:com="http://www.sec.gov/edgar/common">
    <headerData>
      <submissionType>144</submissionType>
      <filerInfo>
        <filer>
          <filerCredentials>
            <cik>0001067864</cik>
            <ccc>XXXXXXXX</ccc>
          </filerCredentials>
        </filer>
        <liveTestFlag>LIVE</liveTestFlag>
  
  
  
      </filerInfo>
    </headerData>
    <formData>
      <issuerInfo>
        <issuerCik>0000878927</issuerCik>
        <issuerName>OLD DOMINION FREIGHT LINE, INC.</issuerName>
        <secFileNumber>000-19582</secFileNumber>
        <issuerAddress>
          <com:street1>500 OLD DOMINION WAY</com:street1>
          <com:city>THOMASVILLE</com:city>
          <com:stateOrCountry>NC</com:stateOrCountry>
          <com:zipCode>27360</com:zipCode>
        </issuerAddress>
        <issuerContactPhone>3368895000</issuerContactPhone>
        <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>CONGDON DAVID S</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
        <relationshipsToIssuer>
          <relationshipToIssuer>Director</relationshipToIssuer>
        </relationshipsToIssuer>
      </issuerInfo>
      <securitiesInformation>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <brokerOrMarketmakerDetails>
          <name>Cowen and Company, LLC</name>
          <address>
            <com:street1>599 Lexington Ave Floor 21</com:street1>
            <com:city>New York</com:city>
            <com:stateOrCountry>NY</com:stateOrCountry>
            <com:zipCode>10022</com:zipCode>
          </address>
        </brokerOrMarketmakerDetails>
        <noOfUnitsSold>24100</noOfUnitsSold>
        <aggregateMarketValue>9413175.00</aggregateMarketValue>
        <noOfUnitsOutstanding>109113654</noOfUnitsOutstanding>
        <approxSaleDate>11/10/2023</approxSaleDate>
        <securitiesExchangeName>Nasdaq</securitiesExchangeName>
      </securitiesInformation>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>10/01/1991</acquiredDate>
        <natureOfAcquisitionTransaction>Gift</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Earl and Kathryn Congdon</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>Y</isGiftTransaction>
        <donarAcquiredDate>10/01/1991</donarAcquiredDate>
        <amountOfSecuritiesAcquired>24100</amountOfSecuritiesAcquired>
        <paymentDate>10/01/1991</paymentDate>
        <natureOfPayment>N/A</natureOfPayment>
      </securitiesToBeSold>
      <nothingToReportFlagOnSecuritiesSoldInPast3Months>N</nothingToReportFlagOnSecuritiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>CONGDON DAVID S</name>
          <address>
            <com:street1>C/O OLD DOMINION FREIGHT LINE, INC.</com:street1>
            <com:street2>500 OLD DOMINION WAY</com:street2>
            <com:city>THOMASVILLE</com:city>
            <com:stateOrCountry>NC</com:stateOrCountry>
            <com:zipCode>27360</com:zipCode>
          </address>
        </sellerDetails>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <saleDate>11/08/2023</saleDate>
        <amountOfSecuritiesSold>12000</amountOfSecuritiesSold>
        <grossProceeds>4681809.00</grossProceeds>
      </securitiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>CONGDON DAVID S</name>
          <address>
            <com:street1>C/O OLD DOMINION FREIGHT LINE, INC.</com:street1>
            <com:street2>500 OLD DOMINION WAY</com:street2>
            <com:city>THOMASVILLE</com:city>
            <com:stateOrCountry>NC</com:stateOrCountry>
            <com:zipCode>27360</com:zipCode>
          </address>
        </sellerDetails>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <saleDate>11/09/2023</saleDate>
        <amountOfSecuritiesSold>2400</amountOfSecuritiesSold>
        <grossProceeds>936334.00</grossProceeds>
      </securitiesSoldInPast3Months>
      <noticeSignature>
        <noticeDate>11/10/2023</noticeDate>
        <signature>David S. CONGDON</signature>
      </noticeSignature>
    </formData>
  </edgarSubmission>
metadata_documents: [{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 4108}]
text: 144
  0001067864
  XXXXXXXX
  LIVE
  0000878927
  OLD DOMINION FREIGHT LINE, INC.
  000-19582
  500 OLD DOMINION WAY
  THOMASVILLE
  NC
  27360
  3368895000
  CONGDON DAVID S
  Director
  Common
  Cowen and Company, LLC
  599 Lexington Ave Floor 21
  New York
  NY
  10022
  24100
  9413175.00
  109113654
  11/10/2023
  Nasdaq
  Common
  10/01/1991
  Gift
  Earl and Kathryn Congdon
  Y
  10/01/1991
  24100
  10/01/1991
  N/A
  N
  CONGDON DAVID S
  C/O OLD DOMINION FREIGHT LINE, INC.
  500 OLD DOMINION WAY
  THOMASVILLE
  NC
  27360
  Common
  11/08/2023
  12000
  4681809.00
  CONGDON DAVID S
  C/O OLD DOMINION FREIGHT LINE, INC.
  500 OLD DOMINION WAY
  THOMASVILLE
  NC
  27360
  Common
  11/09/2023
  2400
  936334.00
  11/10/2023
  David S. CONGDON