Exhibit (j)

CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

We hereby consent to the incorporation by reference in this Registration Statement on Form N-1A of Legg Mason Partners Investment Trust of our reports dated December 19, 2022, relating to the financial statements and financial highlights, which appears in ClearBridge Appreciation Fund’s, ClearBridge International Value Fund’s, ClearBridge Large Cap Value Fund’s, ClearBridge Mid Cap Fund’s, ClearBridge Mid Cap Growth Fund’s, ClearBridge Select Fund’s, ClearBridge Small Cap Growth Fund’s, ClearBridge Sustainability Leaders Fund’s, ClearBridge Tactical Dividend Income Fund’s, and Franklin Global Equity Fund’s Annual Report on Form N-CSR for the year ended October 31, 2022. We also consent to the references to us under the headings “Independent Registered Public Accounting Firm”, “Financial Statements” and “Financial highlights” in such Registration Statement.

/s/ PricewaterhouseCoopers LLP

Baltimore, Maryland

February 17, 2023