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 ACNB Corporation of our report dated March 12, 2026, relating to the consolidated financial statements and effectiveness of internal control over financial reporting appearing in the Annual Report on Form 10-K of ACNB Corporation for the year ended December 31, 2025.

 

/s/ Crowe LLP

 

Franklin, Tennessee

May 8, 2026