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>0001196442</cik>
            <ccc>XXXXXXXX</ccc>
          </filerCredentials>
        </filer>
        <liveTestFlag>LIVE</liveTestFlag>
  
  
      </filerInfo>
    </headerData>
    <formData>
      <issuerInfo>
        <issuerCik>0000091142</issuerCik>
        <issuerName>SMITH A O CORP</issuerName>
        <secFileNumber>001-00475</secFileNumber>
        <issuerAddress>
          <com:street1>11270 WEST PARK PLACE</com:street1>
          <com:city>MILWAUKEE</com:city>
          <com:stateOrCountry>WI</com:stateOrCountry>
          <com:zipCode>53224</com:zipCode>
        </issuerAddress>
        <issuerContactPhone>4143594000</issuerContactPhone>
        <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>WOLF IDELLE K</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
        <relationshipsToIssuer>
          <relationshipToIssuer>Director</relationshipToIssuer>
        </relationshipsToIssuer>
      </issuerInfo>
      <securitiesInformation>
        <securitiesClassTitle>Common Stock</securitiesClassTitle>
        <brokerOrMarketmakerDetails>
          <name>Fidelity Brokerage Services LLC</name>
          <address>
            <com:street1>245 Summer Street</com:street1>
            <com:city>Boston</com:city>
            <com:stateOrCountry>MA</com:stateOrCountry>
            <com:zipCode>02110</com:zipCode>
          </address>
        </brokerOrMarketmakerDetails>
        <noOfUnitsSold>814</noOfUnitsSold>
        <aggregateMarketValue>63760.62</aggregateMarketValue>
        <noOfUnitsOutstanding>122827676</noOfUnitsOutstanding>
        <approxSaleDate>02/05/2024</approxSaleDate>
        <securitiesExchangeName>NYSE</securitiesExchangeName>
      </securitiesInformation>
      <securitiesToBeSold>
        <securitiesClassTitle>Common Stock</securitiesClassTitle>
        <acquiredDate>04/29/2022</acquiredDate>
        <natureOfAcquisitionTransaction>Stock Award</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>A. O. Smith Corporation</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>814</amountOfSecuritiesAcquired>
        <paymentDate>04/29/2022</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <nothingToReportFlagOnSecuritiesSoldInPast3Months>N</nothingToReportFlagOnSecuritiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>IDELLE K WOLF</name>
          <address>
            <com:street1>c/o A. O. Smith Corporation</com:street1>
            <com:street2>11270 West Park Place</com:street2>
            <com:city>Milwaukee</com:city>
            <com:stateOrCountry>WI</com:stateOrCountry>
            <com:zipCode>53224</com:zipCode>
          </address>
        </sellerDetails>
        <securitiesClassTitle>Common Stock</securitiesClassTitle>
        <saleDate>11/17/2023</saleDate>
        <amountOfSecuritiesSold>1000</amountOfSecuritiesSold>
        <grossProceeds>76155.48</grossProceeds>
      </securitiesSoldInPast3Months>
      <remarks>Shares are being sold from IDELLE KOHN WOLF LIVING TRUST</remarks>
      <noticeSignature>
        <noticeDate>02/05/2024</noticeDate>
        <signature>/s/ Myra King, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for IDELLE K WOLF</signature>
      </noticeSignature>
    </formData>
  </edgarSubmission>
metadata_documents: [{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 3566}]
text: 144
  0001196442
  XXXXXXXX
  LIVE
  0000091142
  SMITH A O CORP
  001-00475
  11270 WEST PARK PLACE
  MILWAUKEE
  WI
  53224
  4143594000
  WOLF IDELLE K
  Director
  Common Stock
  Fidelity Brokerage Services LLC
  245 Summer Street
  Boston
  MA
  02110
  814
  63760.62
  122827676
  02/05/2024
  NYSE
  Common Stock
  04/29/2022
  Stock Award
  A. O. Smith Corporation
  N
  814
  04/29/2022
  Compensation
  N
  IDELLE K WOLF
  c/o A. O. Smith Corporation
  11270 West Park Place
  Milwaukee
  WI
  53224
  Common Stock
  11/17/2023
  1000
  76155.48
  Shares are being sold from IDELLE KOHN WOLF LIVING TRUST
  02/05/2024
  /s/ Myra King, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for IDELLE K WOLF