<?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</securitiesClassTitle>
      <brokerOrMarketmakerDetails>
        <name>Fidelity Brokerage Services LLC</name>
        <address>
          <com:street1>245</com:street1>
          <com:city>boston</com:city>
          <com:stateOrCountry>MA</com:stateOrCountry>
          <com:zipCode>02110</com:zipCode>
        </address>
      </brokerOrMarketmakerDetails>
      <noOfUnitsSold>2000</noOfUnitsSold>
      <aggregateMarketValue>146900.00</aggregateMarketValue>
      <noOfUnitsOutstanding>124580265</noOfUnitsOutstanding>
      <approxSaleDate>08/04/2023</approxSaleDate>
      <securitiesExchangeName>NYSE</securitiesExchangeName>
    </securitiesInformation>
    <securitiesToBeSold>
      <securitiesClassTitle>common</securitiesClassTitle>
      <acquiredDate>07/12/2021</acquiredDate>
      <natureOfAcquisitionTransaction>Stock Award</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>A.O. Smith</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>142</amountOfSecuritiesAcquired>
      <paymentDate>07/12/2021</paymentDate>
      <natureOfPayment>compensation</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>common</securitiesClassTitle>
      <acquiredDate>04/13/2021</acquiredDate>
      <natureOfAcquisitionTransaction>Stock Award</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>A.O. Smith</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>1858</amountOfSecuritiesAcquired>
      <paymentDate>04/13/2021</paymentDate>
      <natureOfPayment>compensation</natureOfPayment>
    </securitiesToBeSold>
    <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
    <remarks>shares are being sold from IDELLE KOHN WOLF LIVING TRUST U/A 6/9/00</remarks>
    <noticeSignature>
      <noticeDate>08/04/2023</noticeDate>
      <signature>/s/ Audrey Skillern as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for IDELLE K WOLF</signature>
    </noticeSignature>
  </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 3418}]
144
0001196442
XXXXXXXX
LIVE
0000091142
SMITH A O CORP
001-00475
11270 WEST PARK PLACE
MILWAUKEE
WI
53224
4143594000
WOLF IDELLE K
Director
Common
Fidelity Brokerage Services LLC
245
boston
MA
02110
2000
146900.00
124580265
08/04/2023
NYSE
common
07/12/2021
Stock Award
A.O. Smith
N
142
07/12/2021
compensation
common
04/13/2021
Stock Award
A.O. Smith
N
1858
04/13/2021
compensation
Y
shares are being sold from IDELLE KOHN WOLF LIVING TRUST U/A 6/9/00
08/04/2023
/s/ Audrey Skillern as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for IDELLE K WOLF