Annual report pursuant to Section 13 and 15(d)

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

v3.8.0.1
Securitizations and Other Variable Interest Entities - First Lien Mortgage Securitizations (Details) - USD ($)
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Residential Mortgage - Agency      
Securitization or Asset-backed Financing Arrangement, Financial Asset for which Transfer is Accounted as Sale [Line Items]      
Cash proceeds from new securitizations $ 14,467,000,000 $ 24,201,000,000 $ 27,164,000,000
Gains on securitizations 158,000,000 370,000,000 894,000,000
Repurchases from securitization trusts 2,713,000,000 3,611,000,000 3,716,000,000
Gain (loss) on loans securitized 243,000,000 487,000,000 750,000,000
Assets of deconsolidated securitization vehicles 0 3,800,000,000 4,500,000,000
Liabilities of deconsolidated securitization vehicles 0 628,000,000 0
Deconsolidated assets   706,000,000  
Noncash investing and financing activities, deconsolidated liabilities   628,000,000  
Gain (loss) on deconsolidation   125,000,000 287,000,000
First Lien Mortgages      
Securitization or Asset-backed Financing Arrangement, Financial Asset for which Transfer is Accounted as Sale [Line Items]      
Mortgage loans serviced for investors 277,600,000,000 326,200,000,000  
Servicing fees 893,000,000 1,200,000,000 1,400,000,000
Transfers continuing involvement servicing fee advances 4,500,000,000 6,200,000,000  
Commercial Mortgage      
Securitization or Asset-backed Financing Arrangement, Financial Asset for which Transfer is Accounted as Sale [Line Items]      
Cash proceeds from new securitizations 5,641,000,000 3,887,000,000 7,945,000,000
Gains on securitizations 91,000,000 38,000,000 49,000,000
Repurchases from securitization trusts 0 0 0
Level 2 | First Lien Mortgages      
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,900,000,000 $ 4,200,000,000 $ 22,300,000,000