CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM
We hereby consent to the incorporation by reference in this Registration Statement on Form N-1A of our report dated May 23, 2024, relating to the financial statements and financial highlights, which appears in PIMCO Mortgage-Backed Securities Funds Annual Report on Form N-CSR for the year ended March 31, 2024. We also consent to the references to us under the headings Financial Statements, Independent Registered Public Accounting Firm and Financial Highlights in such Registration Statement.
/s/PricewaterhouseCoopers LLP
Kansas City, Missouri
June 4, 2024