EX-23.1 4 exhibit231consent.htm EX-23.1
Exhibit 23.1
Consent of Independent Registered Public Accounting Firm
We consent to the incorporation by reference in the following Registration Statements:
1)Registration Statement (Form S-3 No. 333-283632) of S&T Bancorp, Inc. and subsidiaries pertaining to the Dividend Reinvestment and Stock Purchase Plan,
2)Registration Statement (Form S-3 No. 333-281200) of S&T Bancorp, Inc. and subsidiaries pertaining to the automatic shelf registration filed August 2, 2024,
3)Registration Statement (Form S-8 No. 333- 258482) of S&T Bancorp, Inc. and subsidiaries pertaining to the 2021 Incentive Plan filed on August 5, 2021,
4)Registration Statement (Form S-8 No. 333-194083) of S&T Bancorp, Inc. and subsidiaries pertaining to the 2014 Incentive Plan filed on February 21, 2014, and
5)Registration Statement (Form S-8 No. 333-156541) of S&T Bancorp, Inc. and subsidiaries pertaining to the Thrift Plan for Employees of S&T Bank;
of our reports dated February 28, 2025, with respect to the consolidated financial statements of S&T Bancorp, Inc. and subsidiaries and the effectiveness of internal control over financial reporting of S&T Bancorp, Inc. and subsidiaries included in this Annual Report (Form 10-K) of S&T Bancorp, Inc. and subsidiaries for the year ended December 31, 2024.

/s/ Ernst & Young LLP
Pittsburgh, Pennsylvania
February 28, 2025