Exhibit 23
CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM
We consent to the incorporation by reference in the Registration Statements (Form S-8 No. 333-76742) pertaining to the PMI Alternate 401(k) Plan of The PMI Group, Inc. of our report dated June 25, 2008, with respect to the financial statements and schedules of the PMI Alternate 401(k) Plan included in this Annual Report (Form 11-K) for the year ended December 31, 2007.
/s/ Ernst & Young LLP
Los Angeles, California
June 25, 2008