<?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>0001856545</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>Stith Thomas A. III</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
      <relationshipsToIssuer>
        <relationshipToIssuer>Director</relationshipToIssuer>
      </relationshipsToIssuer>
    </issuerInfo>
    <securitiesInformation>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <brokerOrMarketmakerDetails>
        <name>Charles Schwab Corp.</name>
        <address>
          <com:street1>3000 Schwab Way</com:street1>
          <com:city>Westlake</com:city>
          <com:stateOrCountry>TX</com:stateOrCountry>
          <com:zipCode>76262</com:zipCode>
        </address>
      </brokerOrMarketmakerDetails>
      <noOfUnitsSold>550</noOfUnitsSold>
      <aggregateMarketValue>114042.50</aggregateMarketValue>
      <noOfUnitsOutstanding>217285082</noOfUnitsOutstanding>
      <approxSaleDate>07/30/2024</approxSaleDate>
      <securitiesExchangeName>NASDASQ</securitiesExchangeName>
    </securitiesInformation>
    <securitiesToBeSold>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <acquiredDate>05/17/2022</acquiredDate>
      <natureOfAcquisitionTransaction>Restricted Stock Award</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>550</amountOfSecuritiesAcquired>
      <paymentDate>05/17/2022</paymentDate>
      <natureOfPayment>N/A</natureOfPayment>
    </securitiesToBeSold>
    <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
    <noticeSignature>
      <noticeDate>07/30/2024</noticeDate>
      <signature>THOMAS ANDREW STITH III</signature>
    </noticeSignature>
  </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 2720}]
144
0001856545
XXXXXXXX
LIVE
0000878927
OLD DOMINION FREIGHT LINE, INC.
000-19582
500 OLD DOMINION WAY
THOMASVILLE
NC
27360
3368895000
Stith Thomas A. III
Director
Common
Charles Schwab Corp.
3000 Schwab Way
Westlake
TX
76262
550
114042.50
217285082
07/30/2024
NASDASQ
Common
05/17/2022
Restricted Stock Award
Issuer
N
550
05/17/2022
N/A
Y
07/30/2024
THOMAS ANDREW STITH III