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 9 Months Ended
Sep. 30, 2016
Sep. 30, 2015
Sep. 30, 2016
Sep. 30, 2015
Dec. 31, 2015
Securitization or Asset-backed Financing Arrangement, Financial Asset for which Transfer is Accounted as Sale [Line Items]          
Servicing fees $ 280 $ 307 $ 868 $ 1,000  
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 149 192 349 623  
Servicing advance 6,600   6,600   $ 7,800
Loans repurchased from investors and securitization trusts 684 511 2,100 2,400  
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,200 7,000 3,100 20,000  
Agency          
Securitization or Asset-backed Financing Arrangement, Financial Asset for which Transfer is Accounted as Sale [Line Items]          
Cash proceeds from new securitizations 7,131 7,632 18,580 22,304  
Gain on securitizations 89 118 322 475  
Assets of deconsolidated securitization vehicles 326   3,100    
Gain on sale of securitization vehicles 11   125    
Commercial Mortgage          
Securitization or Asset-backed Financing Arrangement, Financial Asset for which Transfer is Accounted as Sale [Line Items]          
Cash proceeds from new securitizations 1,052 807 3,031 5,695  
Gain on securitizations $ 27 $ 14 $ 18 $ 46