<?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>0001762709</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>JONATHAN ANDREWS</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>2500</noOfUnitsSold>
            <aggregateMarketValue>2384495.50</aggregateMarketValue>
            <noOfUnitsOutstanding>60878940</noOfUnitsOutstanding>
            <approxSaleDate>05/11/2023</approxSaleDate>
            <securitiesExchangeName>NASD</securitiesExchangeName>
        </securitiesInformation>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>05/11/2023</acquiredDate>
            <natureOfAcquisitionTransaction>Exercise of Options Under an Issuer S-8 Registered Plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>2500</amountOfSecuritiesAcquired>
            <paymentDate>05/11/2023</paymentDate>
            <natureOfPayment>Cash</natureOfPayment>
        </securitiesToBeSold>
        <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
        <noticeSignature>
            <noticeDate>05/11/2023</noticeDate>
            <planAdoptionDates/>
            <signature>/s/ Jonathan Wyatt Andrews</signature>
        </noticeSignature>
    </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 3263}]
144
0001762709
XXXXXXXX
LIVE
0000898173
O'REILLY AUTOMOTIVE INC.
000-21318
233 South Patterson Avenue
Springfield
MO
65802
(417) 862-6708
JONATHAN ANDREWS
Officer
Common
Morgan Stanley Smith Barney LLC Executive Financial Services
1 New York Plaza
38th Floor
New York
NY
10004
2500
2384495.50
60878940
05/11/2023
NASD
Common
05/11/2023
Exercise of Options Under an Issuer S-8 Registered Plan
Issuer
N
2500
05/11/2023
Cash
Y
05/11/2023
/s/ Jonathan Wyatt Andrews