Annual report pursuant to Section 13 and 15(d)

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

v3.22.4
Securitizations and Other Variable Interest Entities - First Lien Mortgage Securitizations (Details) - USD ($)
$ in Millions
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Securitization or Asset-backed Financing Arrangement, Financial Asset for which Transfer is Accounted as Sale [Line Items]      
Mortgage-backed securities, fair value     $ 8,400
Residential Mortgage - Agency      
Securitization or Asset-backed Financing Arrangement, Financial Asset for which Transfer is Accounted as Sale [Line Items]      
Proceeds from loan sales $ 8,084 $ 6,664 15,823
Gains on securitizations 8 9 728
Repurchases from securitization trusts 53 756 436
Gain (loss) on loans securitized 41 121 160
Deconsolidation of securitizations 784   9,300
Residential Mortgage - Agency | Other income      
Securitization or Asset-backed Financing Arrangement, Financial Asset for which Transfer is Accounted as Sale [Line Items]      
Gains on securitizations     704
Commercial      
Securitization or Asset-backed Financing Arrangement, Financial Asset for which Transfer is Accounted as Sale [Line Items]      
Proceeds from loan sales 5,853 10,874 5,084
Gains on securitizations 46 156 61
Repurchases from securitization trusts 0 0 0
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 100,100 115,400  
Servicing fees 274 392 $ 474
Transfers continuing involvement servicing fee advances $ 1,600 $ 2,000