    <SEC-DOCUMENT>0000719220-23-000050-index.html : 20230720
    <SEC-HEADER>0000719220-23-000050.hdr.sgml : 20230720
    <ACCEPTANCE-DATETIME>20230720073233
    ACCESSION NUMBER:		0000719220-23-000050
    CONFORMED SUBMISSION TYPE:	8-K
    PUBLIC DOCUMENT COUNT:		27
    CONFORMED PERIOD OF REPORT:	20230720
    ITEM INFORMATION:		Results of Operations and Financial Condition
    ITEM INFORMATION:		Regulation FD Disclosure
    ITEM INFORMATION:		Financial Statements and Exhibits
    FILED AS OF DATE:		20230720
    DATE AS OF CHANGE:		20230720

    FILER:

    	COMPANY DATA:
    		COMPANY CONFORMED NAME:			S&T BANCORP INC
    		CENTRAL INDEX KEY:			0000719220
    		STANDARD INDUSTRIAL CLASSIFICATION:	STATE COMMERCIAL BANKS [6022]
    		IRS NUMBER:				251434426
    		STATE OF INCORPORATION:			PA
    		FISCAL YEAR END:			1231

    	FILING VALUES:
    		FORM TYPE:		8-K
    		SEC ACT:		1934 Act
    		SEC FILE NUMBER:	000-12508
    		FILM NUMBER:		231098085

    	BUSINESS ADDRESS:
    		STREET 1:		800 PHILADELPHIA STREET
    		STREET 2:		PO BOX 190
    		CITY:			INDIANA
    		STATE:			PA
    		ZIP:			15701
    		BUSINESS PHONE:		724-427-2347

    	MAIL ADDRESS:
    		STREET 1:		800 PHILADELPHIA STREET
    		STREET 2:		PO BOX 190
    		CITY:			INDIANA
    		STATE:			PA
    		ZIP:			15701
    </SEC-HEADER>
    <DOCUMENT>
    <TYPE>8-K
    <SEQUENCE>1
    <FILENAME>stba-20230720.htm
    <DESCRIPTION>8-K
    <TEXT>
    Document 1 - file: stba-20230720.htm

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>EX-99.1
    <SEQUENCE>2
    <FILENAME>stba-20230630xex991er.htm
    <DESCRIPTION>EX-99.1
    <TEXT>
    Document 2 - file: stba-20230630xex991er.htm

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>EX-99.2
    <SEQUENCE>3
    <FILENAME>a2q23earningssupplement.htm
    <DESCRIPTION>EX-99.2
    <TEXT>
    Document 3 - file: a2q23earningssupplement.htm

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>EX-101.SCH
    <SEQUENCE>4
    <FILENAME>stba-20230720.xsd
    <DESCRIPTION>XBRL TAXONOMY EXTENSION SCHEMA DOCUMENT
    <TEXT>
    Document 4 - file: stba-20230720.xsd

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>EX-101.LAB
    <SEQUENCE>5
    <FILENAME>stba-20230720_lab.xml
    <DESCRIPTION>XBRL TAXONOMY EXTENSION LABEL LINKBASE DOCUMENT
    <TEXT>
    Document 5 - file: stba-20230720_lab.xml

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>EX-101.PRE
    <SEQUENCE>6
    <FILENAME>stba-20230720_pre.xml
    <DESCRIPTION>XBRL TAXONOMY EXTENSION PRESENTATION LINKBASE DOCUMENT
    <TEXT>
    Document 6 - file: stba-20230720_pre.xml

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>7
    <FILENAME>a2q23earningssupplement001.jpg
    <TEXT>
    Document 7 - file: a2q23earningssupplement001.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>8
    <FILENAME>a2q23earningssupplement002.jpg
    <TEXT>
    Document 8 - file: a2q23earningssupplement002.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>9
    <FILENAME>a2q23earningssupplement003.jpg
    <TEXT>
    Document 9 - file: a2q23earningssupplement003.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>10
    <FILENAME>a2q23earningssupplement004.jpg
    <TEXT>
    Document 10 - file: a2q23earningssupplement004.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>11
    <FILENAME>a2q23earningssupplement005.jpg
    <TEXT>
    Document 11 - file: a2q23earningssupplement005.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>12
    <FILENAME>a2q23earningssupplement006.jpg
    <TEXT>
    Document 12 - file: a2q23earningssupplement006.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>13
    <FILENAME>a2q23earningssupplement007.jpg
    <TEXT>
    Document 13 - file: a2q23earningssupplement007.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>14
    <FILENAME>a2q23earningssupplement008.jpg
    <TEXT>
    Document 14 - file: a2q23earningssupplement008.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>15
    <FILENAME>a2q23earningssupplement009.jpg
    <TEXT>
    Document 15 - file: a2q23earningssupplement009.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>16
    <FILENAME>a2q23earningssupplement010.jpg
    <TEXT>
    Document 16 - file: a2q23earningssupplement010.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>17
    <FILENAME>a2q23earningssupplement011.jpg
    <TEXT>
    Document 17 - file: a2q23earningssupplement011.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>18
    <FILENAME>a2q23earningssupplement012.jpg
    <TEXT>
    Document 18 - file: a2q23earningssupplement012.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>19
    <FILENAME>earn_image1a15.jpg
    <TEXT>
    Document 19 - file: earn_image1a15.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>XML
    <SEQUENCE>20
    <FILENAME>R1.htm
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 20 - file: R1.htm

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>XML
    <SEQUENCE>21
    <FILENAME>stba-20230720_htm.xml
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 21 - file: stba-20230720_htm.html

    Document 21 - RAW XML: stba-20230720_htm.xml

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>EXCEL
    <SEQUENCE>22
    <FILENAME>Financial_Report.xlsx
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 22 - file: Financial_Report.xlsx

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>XML
    <SEQUENCE>23
    <FILENAME>Show.js
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 23 - file: Show.js

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>XML
    <SEQUENCE>24
    <FILENAME>report.css
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 24 - file: report.css

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>XML
    <SEQUENCE>25
    <FILENAME>FilingSummary.xml
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 25 - file: FilingSummary.html

    Document 25 - RAW XML: FilingSummary.xml

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>JSON
    <SEQUENCE>27
    <FILENAME>MetaLinks.json
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 27 - file: MetaLinks.json

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>ZIP
    <SEQUENCE>28
    <FILENAME>0000719220-23-000050-xbrl.zip
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 28 - file: 0000719220-23-000050-xbrl.zip

    </DOCUMENT>
    </SEC-DOCUMENT>