EX-23.1 2 d941815dex231.htm EX-23.1 EX-23.1

Exhibit 23.1

Consent of Independent Registered Public Accounting Firm

We consent to the incorporation by reference in this Registration Statement on Form S-8 of Mid Penn Bancorp, Inc. of our report dated March 13, 2025, relating to the consolidated financial statements and the effectiveness of internal control over financial reporting of Mid Penn Bancorp, Inc., appearing in the Annual Report on Form 10-K of Mid Penn Bancorp, Inc. for the year ended December 31, 2024.

 

/s/ RSM US LLP
Philadelphia, Pennsylvania
June 20, 2025