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 25, 2025, relating to the financial statements and financial highlights of Baron Asset Fund, Baron Growth Fund, Baron Small Cap Fund, Baron Opportunity Fund, Baron Fifth Avenue Growth Fund, Baron Discovery Fund and Baron Durable Advantage Fund, which appears in Baron Investment Funds Trust’s Certified Shareholder Report on Form N-CSR for the year ended September 30, 2025. 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
New York, New York
January 28, 2026