EX-23 6 c03264exv23.txt CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM EXHIBIT 23 CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM We hereby consent to the incorporation by reference in the Registration Statements listed below of MGIC Investment Corporation of our reports dated March 8, 2006, relating to the consolidated financial statements, management's assessment of the effectiveness of internal control over financial reporting and the effectiveness of internal control over financial reporting and financial statement schedules, which appear in this Annual Report on Form 10-K for the year ended December 31, 2005. 1. Registration Statement on Form S-8 (Registration No. 33-79338) 2. Registration Statement on Form S-8 (Registration No. 33-79340) 3. Registration Statement on Form S-8 (Registration No. 33-92128) 4. Registration Statement on Form S-8 (Registration No. 333-56350) 5. Registration Statement on Form S-8 (Registration No. 333-56346) 6. Registration Statement on Form S-8 (Registration No. 333-101621) 7. Registration Statement on Form S-8 (Registration No. 333-123627) 8. Registration Statement on Form S-8 (Registration No. 333-123777) PricewaterhouseCoopers LLP Chicago, Illinois March 10, 2006