EX-23.1 3 ny20005710x1_ex23-1.htm EXHIBIT 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-3 of our report dated March 8, 2022, relating to the financial statements and financial statement schedule of The York Water Company, which appears in The York Water Company’s Annual Report on Form 10-K for the year ended December 31, 2021.

We also consent to the reference to us under the heading “Experts” in such Registration Statement.

/s/ Baker Tilly US, LLP

York, Pennsylvania
November 7, 2022