v3.26.1
Legal Proceedings - Additional Information (Detail) - USD ($)
$ in Millions
3 Months Ended 6 Months Ended
Aug. 18, 2020
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2026
Jun. 30, 2025
Other Commitments [Line Items]          
Estimated aggregate amount of reasonably possible losses for legal proceedings   $ 1,100   $ 1,100  
Net realized and unrealized gains (losses) on level 3 derivatives   (651) $ (187) (667) $ 177
Net realized gains/(losses)   (166) (74) (113) (173)
Income Statement Location [Axis]: gs:MarketMakingNet          
Other Commitments [Line Items]          
Net realized and unrealized gains (losses) on level 3 derivatives   (656) (186) (659) 175
Income Statement Location [Axis]: gs:OtherPrincipalTransactions          
Other Commitments [Line Items]          
Net realized and unrealized gains (losses) on level 3 derivatives   5 $ (1) (8) $ 2
Mortgage-Related Matters          
Other Commitments [Line Items]          
Face amount of securitizations claimed for repurchase   1,700   1,700  
1Malaysia Development Berhad (1MDB) | Offerings of Debt Securities          
Other Commitments [Line Items]          
Amount of debt securities cited in connection with investigations, reviews and litigation   6,500   6,500  
1Malaysia Development Berhad (1MDB) | Guarantee Obligations          
Other Commitments [Line Items]          
Agreement to extend a guarantee related to legal and regulatory proceedings $ 1,400        
Banco Espirito Santo S.A. and Oak Finance | Transfer of Facility Agreement          
Other Commitments [Line Items]          
Loss contingency, amount received       50  
Banco Espirito Santo S.A. and Oak Finance | Transfer of Facility Agreement | GSI          
Other Commitments [Line Items]          
Debt instrument, face amount   835   835  
Loss contingency, amount received       54  
Loss contingency, amount sought       104  
Banco Espirito Santo S.A. and Oak Finance and Action in Lisbon Commercial Court          
Other Commitments [Line Items]          
Loss contingency, amount sought       222  
Silicon Valley Bank Matters | Senior Notes          
Other Commitments [Line Items]          
Aggregate value underwritten by GS&Co.   $ 727   $ 727  
Silicon Valley Bank Matters | Common stock          
Other Commitments [Line Items]          
Number of shares underwritten by GS&Co. in connection with the offering (in shares)   3,266,108   3,266,108  
Aggregate value underwritten by GS&Co.   $ 1,800   $ 1,800  
Silicon Valley Bank Matters | Preferred stock          
Other Commitments [Line Items]          
Number of shares underwritten by GS&Co. in connection with the offering (in shares)   831,250   831,250  
Aggregate value underwritten by GS&Co.   $ 831   $ 831  
Silicon Valley Bank Matters | March 2021 Public Offering | Common stock          
Other Commitments [Line Items]          
Aggregate value of offering   1,200   1,200  
Silicon Valley Bank Matters | January 2021 Public Offering | Senior Notes          
Other Commitments [Line Items]          
Aggregate value of offering   500   500  
Silicon Valley Bank Matters | January 2021 Public Offering | Preferred stock          
Other Commitments [Line Items]          
Aggregate value of offering   750   750  
Silicon Valley Bank Matters | May 2021 Public Offering | Senior Notes          
Other Commitments [Line Items]          
Aggregate value of offering   500   500  
Silicon Valley Bank Matters | May 2021 Public Offering | Preferred stock          
Other Commitments [Line Items]          
Aggregate value of offering   1,000   1,000  
Silicon Valley Bank Matters | August 2021 Public Offering | Common stock          
Other Commitments [Line Items]          
Aggregate value of offering   1,300   1,300  
Silicon Valley Bank Matters | April 2022 Public Offering | Senior Notes          
Other Commitments [Line Items]          
Aggregate value of offering   800   800  
ContextLogic, Inc. | December 2020 Initial Public Offering          
Other Commitments [Line Items]          
Aggregate value of offering   $ 1,100   $ 1,100  
Number of shares underwritten by GS&Co. in connection with the offering (in shares)   16,169,000   16,169,000  
Aggregate value underwritten by GS&Co.   $ 388   $ 388  
DiDi Global Inc. | June 2021 Initial Public Offering          
Other Commitments [Line Items]          
Aggregate value of offering   $ 4,400   $ 4,400  
Number of shares underwritten by Goldman Sachs (Asia) L.L.C. in connection with the offering (in shares)   104,554,000   104,554,000  
Aggregate value underwritten by Goldman Sachs (Asia) L.L.C.   $ 1,500   $ 1,500  
Zymergen Inc. | April 2021 Initial Public Offering          
Other Commitments [Line Items]          
Aggregate value of offering   $ 575   $ 575  
Number of shares underwritten by GS&Co. in connection with the offering (in shares)   5,750,345   5,750,345  
Aggregate value underwritten by GS&Co.   $ 178   $ 178  
Rivian Automotive Inc. | November 2021 Initial Public Offering          
Other Commitments [Line Items]          
Aggregate value of offering   $ 13,700   $ 13,700  
Number of shares underwritten by GS&Co. in connection with the offering (in shares)   44,733,050   44,733,050  
Aggregate value underwritten by GS&Co.   $ 3,500   $ 3,500  
Natera Inc. | July 2021 Public Offering          
Other Commitments [Line Items]          
Aggregate value of offering   $ 585   $ 585  
Number of shares underwritten by GS&Co. in connection with the offering (in shares)   1,449,000   1,449,000  
Aggregate value underwritten by GS&Co.   $ 164   $ 164  
Robinhood Markets, Inc. | July 2021 Initial Public Offering          
Other Commitments [Line Items]          
Aggregate value of offering   $ 2,200   $ 2,200  
Number of shares underwritten by GS&Co. in connection with the offering (in shares)   18,039,706   18,039,706  
Aggregate value underwritten by GS&Co.   $ 686   $ 686  
ON24 Inc. | February 2021 Initial Public Offering          
Other Commitments [Line Items]          
Aggregate value of offering   $ 492   $ 492  
Number of shares underwritten by GS&Co. in connection with the offering (in shares)   3,616,785   3,616,785  
Aggregate value underwritten by GS&Co.   $ 181   $ 181  
Bright Health Group, Inc. | June 2021 Initial Public Offering          
Other Commitments [Line Items]          
Aggregate value of offering   $ 924   $ 924  
Number of shares underwritten by GS&Co. in connection with the offering (in shares)   11,297,000   11,297,000  
Aggregate value underwritten by GS&Co.   $ 203   $ 203  
MINISO Group Holding Limited | October 2020 Initial Public Offering          
Other Commitments [Line Items]          
Aggregate value of offering   $ 656   $ 656  
Number of shares underwritten by Goldman Sachs (Asia) L.L.C. in connection with the offering (in shares)   16,408,093   16,408,093  
Aggregate value underwritten by Goldman Sachs (Asia) L.L.C.   $ 328   $ 328  
Coupang, Inc. | March 2021 Initial Public Offering          
Other Commitments [Line Items]          
Aggregate value of offering   $ 4,600   $ 4,600  
Number of shares underwritten by GS&Co. in connection with the offering (in shares)   42,900,000   42,900,000  
Aggregate value underwritten by GS&Co.   $ 1,500   $ 1,500  
Rent the Runway, Inc. | October 2021 Initial Public Offering          
Other Commitments [Line Items]          
Aggregate value of offering   $ 357   $ 357  
Number of shares underwritten by GS&Co. in connection with the offering (in shares)   5,254,304   5,254,304  
Aggregate value underwritten by GS&Co.   $ 110   $ 110  
FIGS, Inc. | September 2021 Secondary Equity Offering          
Other Commitments [Line Items]          
Aggregate value of offering   $ 413   $ 413  
Number of shares underwritten by GS&Co. in connection with the offering (in shares)   3,179,047   3,179,047  
Aggregate value underwritten by GS&Co.   $ 128   $ 128  
FIGS, Inc. | May 2021 Initial Public Offering          
Other Commitments [Line Items]          
Aggregate value of offering   $ 668   $ 668  
Number of shares underwritten by GS&Co. in connection with the offering (in shares)   9,545,073   9,545,073  
Aggregate value underwritten by GS&Co.   $ 210   $ 210  
Venture Global, Inc. | January 2025 Initial Public Offering          
Other Commitments [Line Items]          
Aggregate value of offering   $ 1,800   $ 1,800  
Number of shares underwritten by GS&Co. in connection with the offering (in shares)   15,875,728   15,875,728  
Aggregate value underwritten by GS&Co.   $ 397   $ 397  
Ibotta, Inc. | April 2024 Initial Public Offering          
Other Commitments [Line Items]          
Aggregate value of offering   $ 664   $ 664  
Number of shares underwritten by GS&Co. in connection with the offering (in shares)   2,565,235   2,565,235  
Aggregate value underwritten by GS&Co.   $ 226   $ 226  
F45 Training Holdings Inc. | July 2021 Initial Public Offering          
Other Commitments [Line Items]          
Aggregate value of offering   $ 350   $ 350  
Number of shares underwritten by GS&Co. in connection with the offering (in shares)   8,303,744   8,303,744  
Aggregate value underwritten by GS&Co.   $ 133   $ 133  
StubHub Holdings, Inc. | September 2025 Initial Public Offering          
Other Commitments [Line Items]          
Aggregate value of offering   $ 758   $ 758  
Number of shares underwritten by GS&Co. in connection with the offering (in shares)   10,680,176   10,680,176  
Aggregate value underwritten by GS&Co.   $ 251   $ 251  
Klarna Group plc. | September 2025 Initial Public Offering          
Other Commitments [Line Items]          
Aggregate value of offering   $ 1,600   $ 1,600  
Number of shares underwritten by GS&Co. in connection with the offering (in shares)   10,850,940   10,850,940  
Aggregate value underwritten by GS&Co.   $ 434   $ 434  
Navan, Inc. | October 2025 Initial Public Offering          
Other Commitments [Line Items]          
Aggregate value of offering   $ 923   $ 923  
Number of shares underwritten by GS&Co. in connection with the offering (in shares)   12,923,543   12,923,543  
Aggregate value underwritten by GS&Co.   $ 323   $ 323  
Firefly Aerospace Inc. | August 2025 Initial Public Offering          
Other Commitments [Line Items]          
Aggregate value of offering   $ 1,000   $ 1,000  
Number of shares underwritten by GS&Co. in connection with the offering (in shares)   6,030,384   6,030,384  
Aggregate value underwritten by GS&Co.   $ 271   $ 271  
Via Transportation, Inc. | September 2025 Initial Public Offering          
Other Commitments [Line Items]          
Aggregate value of offering   $ 555   $ 555  
Number of shares underwritten by GS&Co. in connection with the offering (in shares)   3,819,095   3,819,095  
Aggregate value underwritten by GS&Co.   $ 176   $ 176