v3.26.1
Derivatives and Hedging Activities - Additional Information (Detail) - USD ($)
3 Months Ended 6 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2026
Jun. 30, 2025
Dec. 31, 2025
Derivative [Line Items]          
Derivative unrealized gains and losses, location     Market making, Other principal transactions Market making, Other principal transactions  
Foreign currency denominated debt designated as hedges $ 29,120,000,000   $ 29,120,000,000   $ 22,890,000,000
AOCI, cash flow hedge reclassification 0        
Gains (losses) in other comprehensive income (loss), cash flow hedges   $ 0 0 $ 0  
Cash flow hedge expected to be reclassified within 12 months     0    
Net Investment Hedging          
Derivative [Line Items]          
Gain (loss) on hedged item     0 0  
Change in unrealized gain (loss) on fair value hedges     0 0  
Amount reclassified to earnings from accumulated other comprehensive income/(loss)     $ 0 $ 0  
Income Statement Location [Axis]: gs:MarketMakingNet          
Derivative [Line Items]          
Derivative gains and losses, location     Market making Market making  
Income Statement Location [Axis]: gs:OtherPrincipalTransactions          
Derivative [Line Items]          
Derivative gains and losses, location     Other principal transactions Other principal transactions  
Accounted for as hedges          
Derivative [Line Items]          
Amortized cost 100,310,000,000   $ 100,310,000,000   42,440,000,000
Unsecured long-term borrowings | Accounted for as hedges          
Derivative [Line Items]          
Cumulative hedging adjustment (4,430,000,000)   (4,430,000,000)   (4,610,000,000)
Carrying Value 175,429,000,000   175,429,000,000   143,082,000,000
Unsecured long-term borrowings | Not accounted for as hedges          
Derivative [Line Items]          
Cumulative hedging adjustments for items no longer designated in a hedging relationship         (133,000,000)
Investments | Accounted for as hedges          
Derivative [Line Items]          
Carrying Value $ 99,993,000,000   $ 99,993,000,000   $ 42,449,000,000