Quarterly report pursuant to Section 13 or 15(d)

Representations and Warranties Obligations and Corporate Guarantees - Additional Information (Details)

v3.7.0.1
Representations and Warranties Obligations and Corporate Guarantees - Additional Information (Details) - USD ($)
$ in Millions
6 Months Ended
Jun. 30, 2017
Dec. 31, 2016
Loss Contingencies [Line Items]    
New purchase claims $ 49  
Claims resolved 714  
Claims resolved by settlements 640  
Unresolved repurchase claims, net of duplicated claims 17,613 $ 18,277
Maximum    
Loss Contingencies [Line Items]    
Maximum estimated range of possible loss 1,500  
Representations and Warranties Exposure | Maximum    
Loss Contingencies [Line Items]    
Maximum estimated range of possible loss 2,000  
Sponsors of Third-Party Securitizations    
Loss Contingencies [Line Items]    
Unresolved repurchase claims, net of duplicated claims 1,300 1,300
Private-label securitization trustees, whole-loan investors, including third-party securitization sponsors and other    
Loss Contingencies [Line Items]    
Unresolved repurchase claims, net of duplicated claims 16,024 16,685
Mortgage Loans Originated between 2004 and 2008 | Private-Label Securitization Trustees    
Loss Contingencies [Line Items]    
Claims related to loans in specific private-label securitization groups $ 5,100 $ 5,600