Quarterly report pursuant to Section 13 or 15(d)

Securitizations and Other Variable Interest Entities - First Lien Mortgage Securitizations (Details)

v3.5.0.2
Securitizations and Other Variable Interest Entities - First Lien Mortgage Securitizations (Details) - USD ($)
$ in Millions
3 Months Ended 6 Months Ended
Jun. 30, 2016
Jun. 30, 2015
Jun. 30, 2016
Jun. 30, 2015
Dec. 31, 2015
Securitization or Asset-backed Financing Arrangement, Financial Asset for which Transfer is Accounted as Sale [Line Items]          
Servicing fees $ 292 $ 353 $ 588 $ 741  
First Lien Mortgages          
Securitization or Asset-backed Financing Arrangement, Financial Asset for which Transfer is Accounted as Sale [Line Items]          
Gain (loss) on loans securitized 92 262 200 431  
Servicing advance 7,000   7,000   $ 7,800
Loans repurchased from investors and securitization trusts 645 775 1,400 1,900  
First Lien Mortgages | Level 2          
Securitization or Asset-backed Financing Arrangement, Financial Asset for which Transfer is Accounted as Sale [Line Items]          
Transfers of financial assets accounted for as sale initial fair value of assets 1,000 7,300 1,900 13,000  
Agency          
Securitization or Asset-backed Financing Arrangement, Financial Asset for which Transfer is Accounted as Sale [Line Items]          
Cash proceeds from new securitizations 4,375 5,619 11,449 12,953  
Gain (loss) on securitizations 70 184 233 357  
Assets of deconsolidated securitization vehicles 42   2,800    
Gain on sale of securitization vehicles 1   114    
Commercial Mortgage          
Securitization or Asset-backed Financing Arrangement, Financial Asset for which Transfer is Accounted as Sale [Line Items]          
Cash proceeds from new securitizations 732 2,732 1,979 4,888  
Gain (loss) on securitizations $ (6) $ 39 $ (9) $ 32