<?xml version="1.0" encoding="UTF-8"?><edgarSubmission xmlns="http://www.sec.gov/edgar/ownership" xmlns:ns2="http://www.sec.gov/edgar/common">
    <headerData>
        <submissionType>144</submissionType>
        <filerInfo>
            <filer>
                <filerCredentials>
                    <cik>0001983979</cik>
                    <ccc>XXXXXXXX</ccc>
                </filerCredentials>
            </filer>
            <liveTestFlag>LIVE</liveTestFlag>



        </filerInfo>
    </headerData>
    <formData>
        <issuerInfo>
            <issuerCik>0000898173</issuerCik>
            <issuerName>O'REILLY AUTOMOTIVE INC.</issuerName>
            <secFileNumber>000-21318</secFileNumber>
            <issuerAddress>
                <ns2:street1>233 South Patterson Avenue</ns2:street1>
                <ns2:city>Springfield</ns2:city>
                <ns2:stateOrCountry>MO</ns2:stateOrCountry>
                <ns2:zipCode>65802</ns2:zipCode>
            </issuerAddress>
            <issuerContactPhone>(417) 862-6708</issuerContactPhone>
            <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>TAMARA DE WILD</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
            <relationshipsToIssuer>
                <relationshipToIssuer>Officer</relationshipToIssuer>
            </relationshipsToIssuer>
        </issuerInfo>
        <securitiesInformation>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <brokerOrMarketmakerDetails>
                <name>Morgan Stanley Smith Barney LLC Executive Financial Services</name>
                <address>
                    <ns2:street1>1 New York Plaza</ns2:street1>
                    <ns2:street2>38th Floor</ns2:street2>
                    <ns2:city>New York</ns2:city>
                    <ns2:stateOrCountry>NY</ns2:stateOrCountry>
                    <ns2:zipCode>10004</ns2:zipCode>
                </address>
            </brokerOrMarketmakerDetails>
            <noOfUnitsSold>549</noOfUnitsSold>
            <aggregateMarketValue>541637.03</aggregateMarketValue>
            <noOfUnitsOutstanding>59162175</noOfUnitsOutstanding>
            <approxSaleDate>11/10/2023</approxSaleDate>
            <securitiesExchangeName>NASDAQ</securitiesExchangeName>
        </securitiesInformation>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>11/10/2023</acquiredDate>
            <natureOfAcquisitionTransaction>Exercise of options under a registered plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>549</amountOfSecuritiesAcquired>
            <paymentDate>11/10/2023</paymentDate>
            <natureOfPayment>Cash</natureOfPayment>
        </securitiesToBeSold>
        <nothingToReportFlagOnSecuritiesSoldInPast3Months>N</nothingToReportFlagOnSecuritiesSoldInPast3Months>
        <securitiesSoldInPast3Months>
            <sellerDetails>
                <name>TAMARA DE WILD</name>
                <address>
                    <ns2:street1>233 South Patterson Avenue</ns2:street1>
                    <ns2:city>Springfield</ns2:city>
                    <ns2:stateOrCountry>MO</ns2:stateOrCountry>
                    <ns2:zipCode>65802</ns2:zipCode>
                </address>
            </sellerDetails>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <saleDate>08/30/2023</saleDate>
            <amountOfSecuritiesSold>549</amountOfSecuritiesSold>
            <grossProceeds>524571.42</grossProceeds>
        </securitiesSoldInPast3Months>
        <remarks>Sales that were executed on November 10, 2023 are being reported on this Form 144 filed on November 13, 2023 given the EDGAR system was not accepting filings on November 10, 2023 in observance of the federal holiday.</remarks>
        <noticeSignature>
            <noticeDate>11/10/2023</noticeDate>
            <planAdoptionDates/>
            <signature>/s/ Tamara F de Wild</signature>
        </noticeSignature>
    </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 4187}]
144
0001983979
XXXXXXXX
LIVE
0000898173
O'REILLY AUTOMOTIVE INC.
000-21318
233 South Patterson Avenue
Springfield
MO
65802
(417) 862-6708
TAMARA DE WILD
Officer
Common
Morgan Stanley Smith Barney LLC Executive Financial Services
1 New York Plaza
38th Floor
New York
NY
10004
549
541637.03
59162175
11/10/2023
NASDAQ
Common
11/10/2023
Exercise of options under a registered plan
Issuer
N
549
11/10/2023
Cash
N
TAMARA DE WILD
233 South Patterson Avenue
Springfield
MO
65802
Common
08/30/2023
549
524571.42
Sales that were executed on November 10, 2023 are being reported on this Form 144 filed on November 13, 2023 given the EDGAR system was not accepting filings on November 10, 2023 in observance of the federal holiday.
11/10/2023
/s/ Tamara F de Wild