v3.22.0.1
Derivatives and Hedging Activities - Derivatives with Credit-Related Contingent Features (Detail) - USD ($)
$ in Millions
Dec. 31, 2021
Dec. 31, 2020
Derivative [Line Items]    
Aggregate fair value of derivative contracts which are in net liability position $ 34,315 $ 43,368
Aggregate fair value of assets as a collateral for derivative contracts 29,214 35,296
One-Notch Reduction [Member]    
Derivative [Line Items]    
Additional collateral or termination payments pursuant to bilateral agreements with certain counterparties which could have been called by counterparties in the event of a reduction in the firm's long-term credit ratings 345 481
Two-Notch Reduction [Member]    
Derivative [Line Items]    
Additional collateral or termination payments pursuant to bilateral agreements with certain counterparties which could have been called by counterparties in the event of a reduction in the firm's long-term credit ratings $ 1,536 $ 1,388