EX-23 4 mpb-20241231xexx23.htm EX-23 Document

MID PENN BANCORP, INC.
EXHIBIT 23
CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

We consent to the incorporation by reference in the Registration Statements (Nos. 333-128958 and 333-274177) on Form S-3, (Nos. 333-248442, 333-218592, 333-197024, and 333-272207) on Form S-8, and (No. 333-284342) on Form S-4 of Mid Penn Bancorp, Inc. and Subsidiaries 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. and Subsidiaries, appearing in the Annual Report on Form 10-K of Mid Penn Bancorp, Inc. and Subsidiaries for the year ended December 31, 2024.


/s/ RSM US LLP

Philadelphia, Pennsylvania
March 13, 2025