v3.26.1
Fair Value Hierarchy - Derivatives, Additional Information (Details) - USD ($)
$ in Millions
3 Months Ended 6 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2026
Jun. 30, 2025
Derivative [Line Items]        
Net realized and unrealized gains (losses) on level 3 derivatives $ (651) $ (187) $ (667) $ 177
Net realized gains (losses) on derivative assets and liabilities (166) (74) (113) (173)
Net unrealized gains/(losses) (485) (113) (554) 350
Income Statement Location [Axis]: gs:MarketMakingNet        
Derivative [Line Items]        
Net realized and unrealized gains (losses) on level 3 derivatives (656) (186) (659) 175
Income Statement Location [Axis]: gs:OtherPrincipalTransactions        
Derivative [Line Items]        
Net realized and unrealized gains (losses) on level 3 derivatives $ 5 $ (1) $ (8) $ 2