Attached files

file filename
10-K - 10-K - PennyMac Mortgage Investment Trusta2197082z10-k.htm
EX-32.1 - EX-32.1 - PennyMac Mortgage Investment Trusta2197082zex-32_1.htm
EX-31.2 - EX-31.2 - PennyMac Mortgage Investment Trusta2197082zex-31_2.htm
EX-21.1 - EX-21.1 - PennyMac Mortgage Investment Trusta2197082zex-21_1.htm
EX-31.1 - EX-31.1 - PennyMac Mortgage Investment Trusta2197082zex-31_1.htm
EX-32.2 - EX-32.2 - PennyMac Mortgage Investment Trusta2197082zex-32_2.htm

QuickLinks -- Click here to rapidly navigate through this document

Exhibit 23.1


CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

        We consent to the incorporation by reference in Registration Statement No. 333-162679 on Form S-8 of our report relating to the consolidated financial statements of PennyMac Mortgage Investment Trust dated March 11, 2010, appearing in the Annual Report on Form 10-K of PennyMac Mortgage Investment Trust for the period from August 4, 2009 (commencement of operations) to December 31, 2009.

/s/ Deloitte & Touche LLP
Los Angeles, California
March 11, 2010




QuickLinks

CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM