Quarterly report [Sections 13 or 15(d)]

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

v3.25.2
Securities Financing Agreements, Collateral and Restricted Cash - Remaining Contractual Maturity (Details)
$ in Millions
6 Months Ended 12 Months Ended
Jun. 30, 2025
USD ($)
agreement
Dec. 31, 2024
USD ($)
agreement
Remaining Contractual Maturity    
Securities sold under agreements to repurchase $ 842,279 $ 716,229
Securities loaned 122,037 98,891
Other 7,918 10,531
Total $ 972,234 $ 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 $ 332,096 $ 305,577
Securities loaned 109,811 88,256
Other 7,918 10,531
Total 449,825 404,364
30 Days or Less    
Remaining Contractual Maturity    
Securities sold under agreements to repurchase 305,932 252,526
Securities loaned 377 364
Other 0 0
Total 306,309 252,890
After 30 Days Through 90 Days    
Remaining Contractual Maturity    
Securities sold under agreements to repurchase 98,345 87,978
Securities loaned 1,754 842
Other 0 0
Total 100,099 88,820
Greater than 90 Days    
Remaining Contractual Maturity    
Securities sold under agreements to repurchase 105,906 70,148
Securities loaned 10,095 9,429
Other 0 0
Total $ 116,001 $ 79,577