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>0000942572</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>
          <com:street1>233 S PATTERSON AVE</com:street1>
          <com:city>SPRINGFIELD</com:city>
          <com:stateOrCountry>MO</com:stateOrCountry>
          <com:zipCode>65802</com:zipCode>
        </issuerAddress>
        <issuerContactPhone>417-829-5878</issuerContactPhone>
        <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>OREILLY DAVID E</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
        <relationshipsToIssuer>
          <relationshipToIssuer>Member of immediate family of any of the foregoing</relationshipToIssuer>
        </relationshipsToIssuer>
      </issuerInfo>
      <securitiesInformation>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <brokerOrMarketmakerDetails>
          <name>Morgan Stanley Smith Barney LLC</name>
          <address>
            <com:street1>1 New York Plaza, 38th Floor</com:street1>
            <com:city>New York</com:city>
            <com:stateOrCountry>NY</com:stateOrCountry>
            <com:zipCode>10004</com:zipCode>
          </address>
        </brokerOrMarketmakerDetails>
        <noOfUnitsSold>1000</noOfUnitsSold>
        <aggregateMarketValue>950085.09</aggregateMarketValue>
        <noOfUnitsOutstanding>60878940</noOfUnitsOutstanding>
        <approxSaleDate>05/09/2023</approxSaleDate>
        <securitiesExchangeName>NASDAQ</securitiesExchangeName>
      </securitiesInformation>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>04/23/1993</acquiredDate>
        <natureOfAcquisitionTransaction>Gift</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>David O'Reilly</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>1000</amountOfSecuritiesAcquired>
        <paymentDate>04/23/1993</paymentDate>
        <natureOfPayment>Not Applicable</natureOfPayment>
      </securitiesToBeSold>
      <nothingToReportFlagOnSecuritiesSoldInPast3Months>N</nothingToReportFlagOnSecuritiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>David O'Reilly Trust</name>
          <address>
            <com:street1>233 S Patterson Avenue</com:street1>
            <com:city>Springfield</com:city>
            <com:stateOrCountry>MO</com:stateOrCountry>
            <com:zipCode>65802</com:zipCode>
          </address>
        </sellerDetails>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <saleDate>05/02/2023</saleDate>
        <amountOfSecuritiesSold>5000</amountOfSecuritiesSold>
        <grossProceeds>4627750.00</grossProceeds>
      </securitiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>Lindsay O'Reilly French Settlor Trust</name>
          <address>
            <com:street1>233 S Patterson Avenue</com:street1>
            <com:city>Springfield</com:city>
            <com:stateOrCountry>MO</com:stateOrCountry>
            <com:zipCode>65802</com:zipCode>
          </address>
        </sellerDetails>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <saleDate>05/02/2023</saleDate>
        <amountOfSecuritiesSold>4000</amountOfSecuritiesSold>
        <grossProceeds>3701200.00</grossProceeds>
      </securitiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>Austin David Lee O'Reilly Settlor Trust</name>
          <address>
            <com:street1>233 S Patterson Avenue</com:street1>
            <com:city>Springfield</com:city>
            <com:stateOrCountry>MO</com:stateOrCountry>
            <com:zipCode>65802</com:zipCode>
          </address>
        </sellerDetails>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <saleDate>05/03/2023</saleDate>
        <amountOfSecuritiesSold>10000</amountOfSecuritiesSold>
        <grossProceeds>9317886.00</grossProceeds>
      </securitiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>Matthew O'Reilly Settlor Trust</name>
          <address>
            <com:street1>233 S Patterson Avenue,</com:street1>
            <com:city>Springfield</com:city>
            <com:stateOrCountry>MO</com:stateOrCountry>
            <com:zipCode>65802</com:zipCode>
          </address>
        </sellerDetails>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <saleDate>05/03/2023</saleDate>
        <amountOfSecuritiesSold>8000</amountOfSecuritiesSold>
        <grossProceeds>7454308.00</grossProceeds>
      </securitiesSoldInPast3Months>
      <remarks>Shares sold by Stacey O'Reilly Trust</remarks>
      <noticeSignature>
        <noticeDate>05/10/2023</noticeDate>
        <signature>/s/ Stacey O'Reilly, Trustee</signature>
      </noticeSignature>
    </formData>
  </edgarSubmission>
metadata_documents: [{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 5277}]
text: 144
  0000942572
  XXXXXXXX
  LIVE
  0000898173
  O REILLY AUTOMOTIVE INC
  000-21318
  233 S PATTERSON AVE
  SPRINGFIELD
  MO
  65802
  417-829-5878
  OREILLY DAVID E
  Member of immediate family of any of the foregoing
  Common
  Morgan Stanley Smith Barney LLC
  1 New York Plaza, 38th Floor
  New York
  NY
  10004
  1000
  950085.09
  60878940
  05/09/2023
  NASDAQ
  Common
  04/23/1993
  Gift
  David O'Reilly
  N
  1000
  04/23/1993
  Not Applicable
  N
  David O'Reilly Trust
  233 S Patterson Avenue
  Springfield
  MO
  65802
  Common
  05/02/2023
  5000
  4627750.00
  Lindsay O'Reilly French Settlor Trust
  233 S Patterson Avenue
  Springfield
  MO
  65802
  Common
  05/02/2023
  4000
  3701200.00
  Austin David Lee O'Reilly Settlor Trust
  233 S Patterson Avenue
  Springfield
  MO
  65802
  Common
  05/03/2023
  10000
  9317886.00
  Matthew O'Reilly Settlor Trust
  233 S Patterson Avenue,
  Springfield
  MO
  65802
  Common
  05/03/2023
  8000
  7454308.00
  Shares sold by Stacey O'Reilly Trust
  05/10/2023
  /s/ Stacey O'Reilly, Trustee