CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

We hereby consent to the incorporation by reference in this Registration Statement on Form N-1A of Putnam Massachusetts Tax Exempt Income Fund, Putnam Minnesota Tax Exempt Income Fund, Putnam New Jersey Tax Exempt Income Fund, Putnam Ohio Tax Exempt Income Fund and Putnam Pennsylvania Tax Exempt Income Fund of our reports dated July 21, 2025, relating to the financial statements and financial highlights which appear in Putnam Massachusetts Tax Exempt Income Fund, Putnam Minnesota Tax Exempt Income Fund, Putnam New Jersey Tax Exempt Income Fund, Putnam Ohio Tax Exempt Income Fund and Putnam Pennsylvania Tax Exempt Income Fund’s Annual Report on Form N-CSR for the year ended May 31, 2025. We also consent to the references to us under the headings “Financial highlights”, “FINANCIAL STATEMENTS” and “Auditor” in such Registration Statement.

/s/ PricewaterhouseCoopers LLP

Boston, Massachusetts

September 22, 2025