Quarterly report [Sections 13 or 15(d)]

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

v3.25.1
Securities Financing Agreements, Short-term Borrowings, Collateral and Restricted Cash - Remaining Contractual Maturity (Details)
$ in Millions
3 Months Ended 12 Months Ended
Mar. 31, 2025
USD ($)
agreement
Dec. 31, 2024
USD ($)
agreement
Remaining Contractual Maturity    
Securities sold under agreements to repurchase $ 755,737 $ 716,229
Securities loaned 111,487 98,891
Other 7,592 10,531
Total $ 874,816 $ 825,651
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 $ 315,752 $ 305,577
Securities loaned 99,634 88,256
Other 7,592 10,531
Total 422,978 404,364
30 Days or Less    
Remaining Contractual Maturity    
Securities sold under agreements to repurchase 266,867 252,526
Securities loaned 765 364
Other 0 0
Total 267,632 252,890
After 30 Days Through 90 Days    
Remaining Contractual Maturity    
Securities sold under agreements to repurchase 77,909 87,978
Securities loaned 1,516 842
Other 0 0
Total 79,425 88,820
Greater than 90 Days    
Remaining Contractual Maturity    
Securities sold under agreements to repurchase 95,209 70,148
Securities loaned 9,572 9,429
Other 0 0
Total $ 104,781 $ 79,577