Annual report pursuant to Section 13 and 15(d)

Securities Financing Agreements, Short-term Borrowings, Collateral and Restricted Cash - Remaining Contractual Maturity (Details)

v3.22.4
Securities Financing Agreements, Short-term Borrowings, Collateral and Restricted Cash - Remaining Contractual Maturity (Details)
$ in Millions
12 Months Ended
Dec. 31, 2022
USD ($)
agreement
Dec. 31, 2021
USD ($)
agreement
Remaining Contractual Maturity    
Securities sold under agreements to repurchase $ 453,492 $ 416,427
Securities loaned 72,416 52,236
Other 8,427 11,391
Total $ 534,335 $ 480,054
Number of contractual agreements | agreement 0 0
Maximum agreement maturity period (less than) 4 years 4 years
Overnight and Continuous    
Remaining Contractual Maturity    
Securities sold under agreements to repurchase $ 200,087 $ 148,023
Securities loaned 66,909 46,231
Other 8,427 11,391
Total 275,423 205,645
30 Days or Less    
Remaining Contractual Maturity    
Securities sold under agreements to repurchase 181,632 194,964
Securities loaned 288 466
Other 0 0
Total 181,920 195,430
After 30 Days Through 90 Days    
Remaining Contractual Maturity    
Securities sold under agreements to repurchase 41,666 36,939
Securities loaned 1,139 1,428
Other 0 0
Total 42,805 38,367
Greater than 90 Days    
Remaining Contractual Maturity    
Securities sold under agreements to repurchase 30,107 36,501
Securities loaned 4,080 4,111
Other 0 0
Total $ 34,187 $ 40,612