Annual report [Section 13 and 15(d), not S-K Item 405]

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

v3.25.0.1
Securities Financing Agreements, Short-term Borrowings, Collateral and Restricted Cash - Remaining Contractual Maturity (Details)
$ in Millions
12 Months Ended
Dec. 31, 2024
USD ($)
agreement
Dec. 31, 2023
USD ($)
agreement
Remaining Contractual Maturity    
Securities sold under agreements to repurchase $ 716,229 $ 623,797
Securities loaned 98,891 83,107
Other 10,531 10,066
Total $ 825,651 $ 716,970
Number of contractual agreements | agreement 0 0
Maximum agreement maturity period (less than) 4 years 4 years
Overnight and Continuous    
Remaining Contractual Maturity    
Securities sold under agreements to repurchase $ 305,577 $ 234,974
Securities loaned 88,256 76,580
Other 10,531 10,066
Total 404,364 321,620
30 Days or Less    
Remaining Contractual Maturity    
Securities sold under agreements to repurchase 252,526 228,627
Securities loaned 364 139
Other 0 0
Total 252,890 228,766
After 30 Days Through 90 Days    
Remaining Contractual Maturity    
Securities sold under agreements to repurchase 87,978 85,176
Securities loaned 842 618
Other 0 0
Total 88,820 85,794
Greater than 90 Days    
Remaining Contractual Maturity    
Securities sold under agreements to repurchase 70,148 75,020
Securities loaned 9,429 5,770
Other 0 0
Total $ 79,577 $ 80,790