v2.4.0.6
Document and Entity Information (USD $)
In Millions, except Share data, unless otherwise specified
12 Months Ended
Dec. 31, 2012
Feb. 15, 2013
Jun. 30, 2012
Document and Entity Information [Abstract]      
Entity Registrant Name MGIC INVESTMENT CORP    
Entity Central Index Key 0000876437    
Current Fiscal Year End Date --12-31    
Entity Well-known Seasoned Issuer Yes    
Entity Voluntary Filers No    
Entity Current Reporting Status Yes    
Entity Filer Category Large Accelerated Filer    
Entity Public Float     $ 574
Entity Common Stock, Shares Outstanding   202,304,245  
Document Fiscal Year Focus 2012    
Document Fiscal Period Focus FY    
Document Type 10-K    
Amendment Flag false    
Document Period End Date Dec. 31, 2012