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>0001252518</cik>
            <ccc>XXXXXXXX</ccc>
          </filerCredentials>
        </filer>
        <liveTestFlag>LIVE</liveTestFlag>
  
  
      </filerInfo>
    </headerData>
    <formData>
      <issuerInfo>
        <issuerCik>0000719220</issuerCik>
        <issuerName>S&amp;T BANCORP INC</issuerName>
        <secFileNumber>000-12508</secFileNumber>
        <issuerAddress>
          <com:street1>800 PHILADELPHIA STREET</com:street1>
          <com:street2>PO BOX 190</com:street2>
          <com:city>INDIANA</com:city>
          <com:stateOrCountry>PA</com:stateOrCountry>
          <com:zipCode>15701</com:zipCode>
        </issuerAddress>
        <issuerContactPhone>724-427-2347</issuerContactPhone>
        <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>HIEB WILLIAM J</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>11000</noOfUnitsSold>
        <aggregateMarketValue>341550.00</aggregateMarketValue>
        <noOfUnitsOutstanding>38235882</noOfUnitsOutstanding>
        <approxSaleDate>06/06/2024</approxSaleDate>
        <securitiesExchangeName>NASDAQ</securitiesExchangeName>
      </securitiesInformation>
      <securitiesToBeSold>
        <securitiesClassTitle>Common Stock</securitiesClassTitle>
        <acquiredDate>02/07/2020</acquiredDate>
        <natureOfAcquisitionTransaction>Stock Award	</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>S&amp;T BANCORP INC</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>3000</amountOfSecuritiesAcquired>
        <paymentDate>02/07/2020</paymentDate>
        <natureOfPayment>N/A</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common Stock	</securitiesClassTitle>
        <acquiredDate>03/16/2020</acquiredDate>
        <natureOfAcquisitionTransaction>Stock Award</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>S&amp;T BANCORP INC	</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>8000</amountOfSecuritiesAcquired>
        <paymentDate>03/16/2020</paymentDate>
        <natureOfPayment>N/A</natureOfPayment>
      </securitiesToBeSold>
      <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
      <remarks>Shares are being sold from The Hieb Family Trust.</remarks>
      <noticeSignature>
        <noticeDate>06/06/2024</noticeDate>
        <signature>/s/ Myra King, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for William J. Hieb</signature>
      </noticeSignature>
    </formData>
  </edgarSubmission>
metadata_documents: [{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 3492}]
text: 144
  0001252518
  XXXXXXXX
  LIVE
  0000719220
  S&T BANCORP INC
  000-12508
  800 PHILADELPHIA STREET
  PO BOX 190
  INDIANA
  PA
  15701
  724-427-2347
  HIEB WILLIAM J
  Director
  Common Stock
  Fidelity Brokerage Services LLC
  245 Summer Street
  Boston
  MA
  02110
  11000
  341550.00
  38235882
  06/06/2024
  NASDAQ
  Common Stock
  02/07/2020
  Stock Award
  S&T BANCORP INC
  N
  3000
  02/07/2020
  N/A
  Common Stock
  03/16/2020
  Stock Award
  S&T BANCORP INC
  N
  8000
  03/16/2020
  N/A
  Y
  Shares are being sold from The Hieb Family Trust.
  06/06/2024
  /s/ Myra King, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for William J. Hieb