Annual report pursuant to Section 13 and 15(d)

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

v3.22.0.1
Securities Financing Agreements, Short-term Borrowings and Restricted Cash - Remaining Contractual Maturity (Details)
$ in Millions
12 Months Ended
Dec. 31, 2021
USD ($)
agreement
Dec. 31, 2020
USD ($)
agreement
Remaining Contractual Maturity    
Securities sold under agreements to repurchase $ 416,427 $ 335,681
Securities loaned 52,236 22,971
Other 11,391 16,210
Total $ 480,054 $ 374,862
Number of contractual agreements | agreement 0 0
Maximum agreement maturity period (less than) 3 years 3 years
Overnight and Continuous    
Remaining Contractual Maturity    
Securities sold under agreements to repurchase $ 148,023 $ 158,400
Securities loaned 46,231 19,140
Other 11,391 16,210
Total 205,645 193,750
30 Days or Less    
Remaining Contractual Maturity    
Securities sold under agreements to repurchase 194,964 122,448
Securities loaned 466 271
Other 0 0
Total 195,430 122,719
After 30 Days Through 90 Days    
Remaining Contractual Maturity    
Securities sold under agreements to repurchase 36,939 32,149
Securities loaned 1,428 1,029
Other 0 0
Total 38,367 33,178
Greater than 90 Days    
Remaining Contractual Maturity    
Securities sold under agreements to repurchase 36,501 22,684
Securities loaned 4,111 2,531
Other 0 0
Total $ 40,612 $ 25,215