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.20.2
Federal Funds Sold or Purchased, Securities Financing Agreements, Short-term Borrowings and Restricted Cash - Remaining Contractual Maturity (Details)
$ in Millions
6 Months Ended 12 Months Ended
Jun. 30, 2020
USD ($)
agreement
Dec. 31, 2019
USD ($)
agreement
Remaining Contractual Maturity    
Securities sold under agreements to repurchase $ 333,966 $ 299,384
Securities loaned 24,430 25,385
Other 10,576 15,346
Total $ 368,972 $ 340,115
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 $ 158,547 $ 129,455
Securities loaned 20,660 18,766
Other 10,576 15,346
Total 189,783 163,567
30 Days or Less    
Remaining Contractual Maturity    
Securities sold under agreements to repurchase 108,147 122,685
Securities loaned 12 3,329
Other 0 0
Total 108,159 126,014
After 30 Days Through 90 Days    
Remaining Contractual Maturity    
Securities sold under agreements to repurchase 29,515 25,322
Securities loaned 812 1,241
Other 0 0
Total 30,327 26,563
Greater than 90 Days    
Remaining Contractual Maturity    
Securities sold under agreements to repurchase 37,757 21,922
Securities loaned 2,946 2,049
Other 0 0
Total $ 40,703 $ 23,971