Quarterly report pursuant to Section 13 or 15(d)

Federal Funds Sold or Purchased, Securities Financing Agreements and Short-term Borrowings - Repurchase Agreements and Securities Loaned Transactions Accounted for as Secured Borrowings (Details)

v3.8.0.1
Federal Funds Sold or Purchased, Securities Financing Agreements and Short-term Borrowings - Repurchase Agreements and Securities Loaned Transactions Accounted for as Secured Borrowings (Details) - USD ($)
$ in Millions
9 Months Ended
Sep. 30, 2017
Dec. 31, 2016
Remaining Contractual Maturity    
Securities sold under agreements to repurchase $ 310,076 $ 280,236
Securities loaned 24,551 18,792
Other 22,258 14,448
Total $ 356,885 313,476
Maximum agreement maturity period (less than) 3 years  
Overnight and Continuous    
Remaining Contractual Maturity    
Securities sold under agreements to repurchase $ 119,610 129,853
Securities loaned 16,027 8,564
Other 22,258 14,448
Total 157,895 152,865
30 Days or Less    
Remaining Contractual Maturity    
Securities sold under agreements to repurchase 89,934 77,780
Securities loaned 404 6,602
Other 0 0
Total 90,338 84,382
After 30 Days Through 90 Days    
Remaining Contractual Maturity    
Securities sold under agreements to repurchase 41,358 31,851
Securities loaned 1,989 1,473
Other 0 0
Total 43,347 33,324
Greater than 90 Days    
Remaining Contractual Maturity    
Securities sold under agreements to repurchase 59,174 40,752
Securities loaned 6,131 2,153
Other 0 0
Total $ 65,305 $ 42,905