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.1
Federal Funds Sold or Purchased, Securities Financing Agreements, Short-term Borrowings and Restricted Cash - Remaining Contractual Maturity (Details)
$ in Millions
3 Months Ended
Mar. 31, 2021
USD ($)
agreement
Mar. 31, 2020
Dec. 31, 2020
USD ($)
Remaining Contractual Maturity      
Securities sold under agreements to repurchase $ 374,634   $ 335,681
Securities loaned 29,889   22,971
Other 17,482   16,210
Total $ 422,005   374,862
Number of contractual agreements | agreement 0    
Maximum agreement maturity period (less than) 3 years 3 years  
Overnight and Continuous      
Remaining Contractual Maturity      
Securities sold under agreements to repurchase $ 164,476   158,400
Securities loaned 24,836   19,140
Other 17,482   16,210
Total 206,794   193,750
30 Days or Less      
Remaining Contractual Maturity      
Securities sold under agreements to repurchase 139,397   122,448
Securities loaned 323   271
Other 0   0
Total 139,720   122,719
After 30 Days Through 90 Days      
Remaining Contractual Maturity      
Securities sold under agreements to repurchase 31,238   32,149
Securities loaned 913   1,029
Other 0   0
Total 32,151   33,178
Greater than 90 Days      
Remaining Contractual Maturity      
Securities sold under agreements to repurchase 39,523   22,684
Securities loaned 3,817   2,531
Other 0   0
Total $ 43,340   $ 25,215