v3.26.1
Fair Value Hierarchy - Loans, Additional Information (Details) - USD ($)
$ in Millions
3 Months Ended 6 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2026
Jun. 30, 2025
Loans Receivable        
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]        
Net realized gains/(losses) $ 1 $ 8 $ 5 $ 19
Net unrealized gains/(losses) (6) 7 $ (11) $ 7
Fair Value, Asset, Recurring Basis, Still Held, Unrealized Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration]     Interest income Interest income
Trading cash instruments, fair value disclosure        
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]        
Net realized gains/(losses) 10 28 $ 3 $ 54
Net realized gains/(losses) 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, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]        
Net realized gains/(losses) 27 19 66 $ 38
Fair Value, Asset, Recurring Basis, Unobservable Input Reconciliation, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration]       Interest income
Trading cash instruments, fair value disclosure | Income Statement Location [Axis]: gs:MarketMakingNet        
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]        
Net realized gains/(losses) $ (17) $ 9 $ (63) $ 16
Fair Value, Asset, Recurring Basis, Unobservable Input Reconciliation, Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] Market making Market making Market making Market making
Liabilities        
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]        
Fair Value, Liability, Recurring Basis, Still Held, Unrealized Gain (Loss), Statement of Income or Comprehensive Income [Extensible Enumeration] Interest income Interest income Interest income  
Level 3        
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]        
Net realized gains/(losses) $ (5) $ 15 $ (6) $ 26
Level 3 | Income Statement Location [Axis]: us-gaap:InterestAndDividendIncomeOperating        
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]        
Net realized gains/(losses) 2 5 6 9
Level 3 | Income Statement Location [Axis]: gs:OtherPrincipalTransactions        
Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]        
Net realized gains/(losses) $ (7) $ 10 $ (12) $ 17