EX-99.(2)(N) 31 jhfof-html3755_ex992n.htm CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM DATED JUNE 25, 2021

EXHIBIT (2)(n)

CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

We hereby consent to the incorporation by reference in this Registration Statement on Form N-2 of John Hancock Financial Opportunities Fund of our report dated February 11, 2021 relating to the financial statements and financial highlights, which appears in John Hancock Financial Opportunities Fund’s Annual Report on Form N-CSR for the year ended December 31, 2020. We also consent to the references to us under the headings “Financial Highlights” and “Independent Registered Public Accounting Firm” in such Registration Statement.

/s/ PricewaterhouseCoopers LLP

Boston, Massachusetts

June 25, 2021