v3.26.1
Fair Value Hierarchy - Trading Cash Instruments, Additional Information (Detail) - USD ($)
$ in Millions
3 Months Ended 6 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2026
Jun. 30, 2025
Trading cash instruments, fair value disclosure        
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]        
Net realized gains/(losses) $ 10 $ 28 $ 3 $ 54
Net realized gains / (losses) on assets 29 29 61 57
Net unrealized gains/(losses) (19) 1 (58) 3
Trading cash instruments, fair value disclosure | Income Statement Location [Axis]: us-gaap:InterestAndDividendIncomeOperating        
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]        
Net realized gains/(losses) 27 19 66 38
Trading cash instruments, fair value disclosure | Income Statement Location [Axis]: gs:MarketMakingNet        
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]        
Net realized gains/(losses) (17) 9 (63) 16
Trading cash instruments assets        
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]        
Net realized gains / (losses) on assets 29 29 61 57
Net unrealized gains/(losses) $ (19) $ (1) $ (58) $ (3)