Quarterly report pursuant to Section 13 or 15(d)

Federal Funds Sold or Purchased, Securities Financing Agreements, Short-term Borrowings and Restricted Cash - Remaining Contractual Maturity (Details)

v3.21.2
Federal Funds Sold or Purchased, Securities Financing Agreements, Short-term Borrowings and Restricted Cash - Remaining Contractual Maturity (Details)
$ in Millions
9 Months Ended 12 Months Ended
Sep. 30, 2021
USD ($)
agreement
Dec. 31, 2020
USD ($)
agreement
Remaining Contractual Maturity    
Securities sold under agreements to repurchase $ 429,494 $ 335,681
Securities loaned 49,965 22,971
Other 10,167 16,210
Total $ 489,626 $ 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 $ 211,770 $ 158,400
Securities loaned 43,780 19,140
Other 10,167 16,210
Total 265,717 193,750
30 Days or Less    
Remaining Contractual Maturity    
Securities sold under agreements to repurchase 142,591 122,448
Securities loaned 87 271
Other 0 0
Total 142,678 122,719
After 30 Days Through 90 Days    
Remaining Contractual Maturity    
Securities sold under agreements to repurchase 32,455 32,149
Securities loaned 428 1,029
Other 0 0
Total 32,883 33,178
Greater than 90 Days    
Remaining Contractual Maturity    
Securities sold under agreements to repurchase 42,678 22,684
Securities loaned 5,670 2,531
Other 0 0
Total $ 48,348 $ 25,215