CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM
We hereby consent to the incorporation by reference in this Registration Statement on Form N-1A of Baron Investment Funds Trust of our report dated November 23, 2022, relating to the financial statements and financial highlights, which appears in Baron Asset Funds, Baron Growth Funds, Baron Small Cap Funds, Baron Opportunity Funds, Baron Fifth Avenue Growth Funds, Baron Discovery Funds, and Baron Durable Advantage Funds Annual Report on Form N-CSR for the year ended September 30, 2022. We also consent to the references to us under the headings Financial Highlights, Independent Registered Public Accounting Firm and Financial Statements in such Registration Statement.
/s/PricewaterhouseCoopers LLP
New York, New York
January 27, 2023