Consent of Independent Registered Public Accounting Firm

We hereby consent to the incorporation by reference in this Registration Statement on Form N-1A of Fidelity Advisor Series IV of our report dated January 14, 2025, relating to the financial statements and financial highlights, which appears in Fidelity Limited Term Government Fund’s Annual Report on Form N-CSR for the year ended November 30, 2024. We also consent to the references to our Firm under the headings “Financial Highlights” and “Independent Registered Public Accounting Firm” in such Registration Statement.

/s/ PricewaterhouseCoopers LLP

Boston, Massachusetts
January 21, 2025