10-K 1 gs-20231231.htm 10-K gs-20231231
FALSE20230000886982FYFALSEhttp://fasb.org/us-gaap/2023#InterestAndDividendIncomeOperatinghttp://fasb.org/us-gaap/2023#InterestAndDividendIncomeOperatinghttp://fasb.org/us-gaap/2023#InterestAndDividendIncomeOperating http://www.goldmansachs.com/20231231#OtherPrincipalTransactionshttp://fasb.org/us-gaap/2023#InterestAndDividendIncomeOperating http://www.goldmansachs.com/20231231#OtherPrincipalTransactionshttp://www.goldmansachs.com/20231231#TradingAssetsIncludingPledgehttp://www.goldmansachs.com/20231231#TradingAssetsIncludingPledgehttp://www.goldmansachs.com/20231231#TradingAssetsIncludingPledgehttp://www.goldmansachs.com/20231231#TradingAssetsIncludingPledgehttp://fasb.org/us-gaap/2023#TradingLiabilitieshttp://fasb.org/us-gaap/2023#TradingLiabilitieshttp://fasb.org/us-gaap/2023#TradingLiabilitieshttp://fasb.org/us-gaap/2023#TradingLiabilitieshttp://www.goldmansachs.com/20231231#MarketMaking http://www.goldmansachs.com/20231231#OtherPrincipalTransactionshttp://www.goldmansachs.com/20231231#MarketMaking http://www.goldmansachs.com/20231231#OtherPrincipalTransactionshttp://www.goldmansachs.com/20231231#MarketMaking http://www.goldmansachs.com/20231231#OtherPrincipalTransactionshttp://www.goldmansachs.com/20231231#MarketMaking http://www.goldmansachs.com/20231231#OtherPrincipalTransactionshttp://www.goldmansachs.com/20231231#MarketMaking http://www.goldmansachs.com/20231231#OtherPrincipalTransactionshttp://www.goldmansachs.com/20231231#MarketMaking http://www.goldmansachs.com/20231231#OtherPrincipalTransactionshttp://fasb.org/us-gaap/2023#OtherAssetshttp://fasb.org/us-gaap/2023#OtherAssetshttp://fasb.org/us-gaap/2023#OtherLiabilitieshttp://fasb.org/us-gaap/2023#OtherLiabilitiesP3Y00008869822023-01-012023-12-310000886982us-gaap:CommonStockMember2023-01-012023-12-310000886982gs:SeriesAFloatingRatePreferredStockMember2023-01-012023-12-310000886982gs:SeriesCFloatingRatePreferredStockMember2023-01-012023-12-310000886982gs:SeriesDFloatingRatePreferredStockMember2023-01-012023-12-310000886982gs:SeriesKSixPointThreeSevenFivePercentageFixedToFloatingRatePreferredStockMember2023-01-012023-12-310000886982gs:FivePointSevenNineThreePercentageFixedToFloatingRateNormalApexMember2023-01-012023-12-310000886982gs:FloatingRateNormalApexMember2023-01-012023-12-310000886982gs:SeriesFMediumTermNotesCallableFixedAndFloatingRateNotesDueMarch2031OfGSFinanceCorpMember2023-01-012023-12-310000886982gs:SeriesFMediumTermNotesCallableFixedAndFloatingRateNotesDueMay2031OfGSFinanceCorpMember2023-01-012023-12-3100008869822023-06-30iso4217:USD00008869822024-02-09xbrli:shares00008869822022-01-012022-12-3100008869822021-01-012021-12-31iso4217:USDxbrli:shares00008869822023-12-3100008869822022-12-310000886982us-gaap:AssetPledgedAsCollateralWithRightMemberus-gaap:SecuritiesSoldUnderAgreementsToRepurchaseMember2023-12-310000886982us-gaap:AssetPledgedAsCollateralWithRightMemberus-gaap:SecuritiesSoldUnderAgreementsToRepurchaseMember2022-12-310000886982us-gaap:FairValueMeasurementsRecurringMember2023-12-310000886982us-gaap:FairValueMeasurementsRecurringMember2022-12-310000886982us-gaap:PreferredStockMember2022-12-310000886982us-gaap:PreferredStockMember2021-12-310000886982us-gaap:PreferredStockMember2020-12-310000886982us-gaap:PreferredStockMember2023-01-012023-12-310000886982us-gaap:PreferredStockMember2022-01-012022-12-310000886982us-gaap:PreferredStockMember2021-01-012021-12-310000886982us-gaap:PreferredStockMember2023-12-310000886982us-gaap:CommonStockMember2022-12-310000886982us-gaap:CommonStockMember2021-12-310000886982us-gaap:CommonStockMember2020-12-310000886982us-gaap:CommonStockMember2023-01-012023-12-310000886982us-gaap:CommonStockMember2022-01-012022-12-310000886982us-gaap:CommonStockMember2021-01-012021-12-310000886982us-gaap:CommonStockMember2023-12-310000886982gs:RestrictedStockUnitsAndEmployeeStockOptionsMember2022-12-310000886982gs:RestrictedStockUnitsAndEmployeeStockOptionsMember2021-12-310000886982gs:RestrictedStockUnitsAndEmployeeStockOptionsMember2020-12-310000886982gs:RestrictedStockUnitsAndEmployeeStockOptionsMember2023-01-012023-12-310000886982gs:RestrictedStockUnitsAndEmployeeStockOptionsMember2022-01-012022-12-310000886982gs:RestrictedStockUnitsAndEmployeeStockOptionsMember2021-01-012021-12-310000886982gs:RestrictedStockUnitsAndEmployeeStockOptionsMember2023-12-310000886982us-gaap:AdditionalPaidInCapitalMember2022-12-310000886982us-gaap:AdditionalPaidInCapitalMember2021-12-310000886982us-gaap:AdditionalPaidInCapitalMember2020-12-310000886982us-gaap:AdditionalPaidInCapitalMember2023-01-012023-12-310000886982us-gaap:AdditionalPaidInCapitalMember2022-01-012022-12-310000886982us-gaap:AdditionalPaidInCapitalMember2021-01-012021-12-310000886982us-gaap:AdditionalPaidInCapitalMember2023-12-310000886982us-gaap:RetainedEarningsMember2022-12-310000886982us-gaap:RetainedEarningsMember2021-12-310000886982us-gaap:RetainedEarningsMember2020-12-310000886982us-gaap:RetainedEarningsMember2023-01-012023-12-310000886982us-gaap:RetainedEarningsMember2022-01-012022-12-310000886982us-gaap:RetainedEarningsMember2021-01-012021-12-310000886982us-gaap:RetainedEarningsMember2023-12-310000886982us-gaap:AccumulatedOtherComprehensiveIncomeMember2022-12-310000886982us-gaap:AccumulatedOtherComprehensiveIncomeMember2021-12-310000886982us-gaap:AccumulatedOtherComprehensiveIncomeMember2020-12-310000886982us-gaap:AccumulatedOtherComprehensiveIncomeMember2023-01-012023-12-310000886982us-gaap:AccumulatedOtherComprehensiveIncomeMember2022-01-012022-12-310000886982us-gaap:AccumulatedOtherComprehensiveIncomeMember2021-01-012021-12-310000886982us-gaap:AccumulatedOtherComprehensiveIncomeMember2023-12-310000886982gs:TreasuryStockCommonAndPreferredMember2022-12-310000886982gs:TreasuryStockCommonAndPreferredMember2021-12-310000886982gs:TreasuryStockCommonAndPreferredMember2020-12-310000886982gs:TreasuryStockCommonAndPreferredMember2023-01-012023-12-310000886982gs:TreasuryStockCommonAndPreferredMember2022-01-012022-12-310000886982gs:TreasuryStockCommonAndPreferredMember2021-01-012021-12-310000886982gs:TreasuryStockCommonAndPreferredMember2023-12-3100008869822021-12-3100008869822020-12-31gs:Segmentxbrli:pure0000886982srt:MaximumMember2023-01-012023-12-310000886982us-gaap:FairValueInputsLevel1Member2023-12-310000886982us-gaap:FairValueInputsLevel1Member2022-12-310000886982us-gaap:FairValueInputsLevel2Member2023-12-310000886982us-gaap:FairValueInputsLevel2Member2022-12-310000886982us-gaap:FairValueInputsLevel3Member2023-12-310000886982us-gaap:FairValueInputsLevel3Member2022-12-310000886982gs:InvestmentsInFundsMeasuredAtNavMember2023-12-310000886982gs:InvestmentsInFundsMeasuredAtNavMember2022-12-310000886982gs:CounterpartyAndCashCollateralNettingAdjustmentMember2023-12-310000886982gs:CounterpartyAndCashCollateralNettingAdjustmentMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:TradingCashInstrumentMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:TradingCashInstrumentMember2022-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:DerivativeMember2023-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:DerivativeMember2022-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMember2023-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMember2022-12-310000886982us-gaap:OtherAssetsMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982us-gaap:OtherAssetsMemberus-gaap:FairValueInputsLevel3Member2022-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel1Memberus-gaap:USTreasuryAndGovernmentMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:USTreasuryAndGovernmentMemberus-gaap:FairValueInputsLevel2Member2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:USTreasuryAndGovernmentMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:USTreasuryAndGovernmentMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel1Memberus-gaap:ForeignGovernmentDebtSecuritiesMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueInputsLevel2Member2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:ForeignGovernmentDebtSecuritiesMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:ForeignGovernmentDebtSecuritiesMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:LoansAndSecuritiesBackedByCommercialRealEstateMemberus-gaap:FairValueInputsLevel1Member2023-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:LoansAndSecuritiesBackedByCommercialRealEstateMemberus-gaap:FairValueInputsLevel2Member2023-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:LoansAndSecuritiesBackedByCommercialRealEstateMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:LoansAndSecuritiesBackedByCommercialRealEstateMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel1Membergs:LoansAndSecuritiesBackedByResidentialRealEstateMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel2Membergs:LoansAndSecuritiesBackedByResidentialRealEstateMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel3Membergs:LoansAndSecuritiesBackedByResidentialRealEstateMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:LoansAndSecuritiesBackedByResidentialRealEstateMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel1Member2023-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel2Member2023-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:CorporateLoansAndDebtSecuritiesMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:USStatesAndPoliticalSubdivisionsMemberus-gaap:FairValueInputsLevel1Member2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:USStatesAndPoliticalSubdivisionsMemberus-gaap:FairValueInputsLevel2Member2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:USStatesAndPoliticalSubdivisionsMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:USStatesAndPoliticalSubdivisionsMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel1Memberus-gaap:OtherDebtSecuritiesMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:OtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel2Member2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:OtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:OtherDebtSecuritiesMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:EquitySecuritiesMemberus-gaap:FairValueInputsLevel1Member2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:EquitySecuritiesMemberus-gaap:FairValueInputsLevel2Member2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:EquitySecuritiesMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:EquitySecuritiesMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel1Memberus-gaap:CommoditiesInvestmentMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:CommoditiesInvestmentMemberus-gaap:FairValueInputsLevel2Member2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CommoditiesInvestmentMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:CommoditiesInvestmentMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel1Member2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel2Member2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982gs:TradingCashInstrumentsAssetsMember2023-12-310000886982us-gaap:FairValueInputsLevel1Memberus-gaap:USTreasuryAndGovernmentMembergs:CashInstrumentsLiabilitiesMember2023-12-310000886982us-gaap:USTreasuryAndGovernmentMembergs:CashInstrumentsLiabilitiesMemberus-gaap:FairValueInputsLevel2Member2023-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:USTreasuryAndGovernmentMembergs:CashInstrumentsLiabilitiesMember2023-12-310000886982us-gaap:USTreasuryAndGovernmentMembergs:CashInstrumentsLiabilitiesMember2023-12-310000886982us-gaap:FairValueInputsLevel1Memberus-gaap:ForeignGovernmentDebtSecuritiesMembergs:CashInstrumentsLiabilitiesMember2023-12-310000886982us-gaap:ForeignGovernmentDebtSecuritiesMembergs:CashInstrumentsLiabilitiesMemberus-gaap:FairValueInputsLevel2Member2023-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:ForeignGovernmentDebtSecuritiesMembergs:CashInstrumentsLiabilitiesMember2023-12-310000886982us-gaap:ForeignGovernmentDebtSecuritiesMembergs:CashInstrumentsLiabilitiesMember2023-12-310000886982gs:LoansAndSecuritiesBackedByCommercialRealEstateMemberus-gaap:FairValueInputsLevel1Membergs:CashInstrumentsLiabilitiesMember2023-12-310000886982gs:LoansAndSecuritiesBackedByCommercialRealEstateMembergs:CashInstrumentsLiabilitiesMemberus-gaap:FairValueInputsLevel2Member2023-12-310000886982gs:LoansAndSecuritiesBackedByCommercialRealEstateMemberus-gaap:FairValueInputsLevel3Membergs:CashInstrumentsLiabilitiesMember2023-12-310000886982gs:LoansAndSecuritiesBackedByCommercialRealEstateMembergs:CashInstrumentsLiabilitiesMember2023-12-310000886982us-gaap:FairValueInputsLevel1Membergs:CashInstrumentsLiabilitiesMembergs:LoansAndSecuritiesBackedByResidentialRealEstateMember2023-12-310000886982gs:CashInstrumentsLiabilitiesMemberus-gaap:FairValueInputsLevel2Membergs:LoansAndSecuritiesBackedByResidentialRealEstateMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:CashInstrumentsLiabilitiesMembergs:LoansAndSecuritiesBackedByResidentialRealEstateMember2023-12-310000886982gs:CashInstrumentsLiabilitiesMembergs:LoansAndSecuritiesBackedByResidentialRealEstateMember2023-12-310000886982gs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel1Membergs:CashInstrumentsLiabilitiesMember2023-12-310000886982gs:CorporateLoansAndDebtSecuritiesMembergs:CashInstrumentsLiabilitiesMemberus-gaap:FairValueInputsLevel2Member2023-12-310000886982gs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Membergs:CashInstrumentsLiabilitiesMember2023-12-310000886982gs:CorporateLoansAndDebtSecuritiesMembergs:CashInstrumentsLiabilitiesMember2023-12-310000886982us-gaap:EquitySecuritiesMemberus-gaap:FairValueInputsLevel1Membergs:CashInstrumentsLiabilitiesMember2023-12-310000886982us-gaap:EquitySecuritiesMembergs:CashInstrumentsLiabilitiesMemberus-gaap:FairValueInputsLevel2Member2023-12-310000886982us-gaap:EquitySecuritiesMemberus-gaap:FairValueInputsLevel3Membergs:CashInstrumentsLiabilitiesMember2023-12-310000886982us-gaap:EquitySecuritiesMembergs:CashInstrumentsLiabilitiesMember2023-12-310000886982us-gaap:FairValueInputsLevel1Membergs:CashInstrumentsLiabilitiesMemberus-gaap:CommoditiesInvestmentMember2023-12-310000886982gs:CashInstrumentsLiabilitiesMemberus-gaap:CommoditiesInvestmentMemberus-gaap:FairValueInputsLevel2Member2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:CashInstrumentsLiabilitiesMemberus-gaap:CommoditiesInvestmentMember2023-12-310000886982gs:CashInstrumentsLiabilitiesMemberus-gaap:CommoditiesInvestmentMember2023-12-310000886982us-gaap:FairValueInputsLevel1Membergs:CashInstrumentsLiabilitiesMember2023-12-310000886982gs:CashInstrumentsLiabilitiesMemberus-gaap:FairValueInputsLevel2Member2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:CashInstrumentsLiabilitiesMember2023-12-310000886982gs:CashInstrumentsLiabilitiesMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel1Memberus-gaap:USTreasuryAndGovernmentMember2022-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:USTreasuryAndGovernmentMemberus-gaap:FairValueInputsLevel2Member2022-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:USTreasuryAndGovernmentMember2022-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:USTreasuryAndGovernmentMember2022-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel1Memberus-gaap:ForeignGovernmentDebtSecuritiesMember2022-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueInputsLevel2Member2022-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:ForeignGovernmentDebtSecuritiesMember2022-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:ForeignGovernmentDebtSecuritiesMember2022-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:LoansAndSecuritiesBackedByCommercialRealEstateMemberus-gaap:FairValueInputsLevel1Member2022-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:LoansAndSecuritiesBackedByCommercialRealEstateMemberus-gaap:FairValueInputsLevel2Member2022-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:LoansAndSecuritiesBackedByCommercialRealEstateMemberus-gaap:FairValueInputsLevel3Member2022-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:LoansAndSecuritiesBackedByCommercialRealEstateMember2022-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel1Membergs:LoansAndSecuritiesBackedByResidentialRealEstateMember2022-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel2Membergs:LoansAndSecuritiesBackedByResidentialRealEstateMember2022-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel3Membergs:LoansAndSecuritiesBackedByResidentialRealEstateMember2022-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:LoansAndSecuritiesBackedByResidentialRealEstateMember2022-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel1Member2022-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel2Member2022-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Member2022-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:CorporateLoansAndDebtSecuritiesMember2022-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:USStatesAndPoliticalSubdivisionsMemberus-gaap:FairValueInputsLevel1Member2022-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:USStatesAndPoliticalSubdivisionsMemberus-gaap:FairValueInputsLevel2Member2022-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:USStatesAndPoliticalSubdivisionsMemberus-gaap:FairValueInputsLevel3Member2022-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:USStatesAndPoliticalSubdivisionsMember2022-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel1Memberus-gaap:OtherDebtSecuritiesMember2022-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:OtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel2Member2022-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:OtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Member2022-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:OtherDebtSecuritiesMember2022-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:EquitySecuritiesMemberus-gaap:FairValueInputsLevel1Member2022-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:EquitySecuritiesMemberus-gaap:FairValueInputsLevel2Member2022-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:EquitySecuritiesMemberus-gaap:FairValueInputsLevel3Member2022-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:EquitySecuritiesMember2022-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel1Memberus-gaap:CommoditiesInvestmentMember2022-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:CommoditiesInvestmentMemberus-gaap:FairValueInputsLevel2Member2022-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CommoditiesInvestmentMember2022-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:CommoditiesInvestmentMember2022-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel1Member2022-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel2Member2022-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel3Member2022-12-310000886982gs:TradingCashInstrumentsAssetsMember2022-12-310000886982us-gaap:FairValueInputsLevel1Memberus-gaap:USTreasuryAndGovernmentMembergs:CashInstrumentsLiabilitiesMember2022-12-310000886982us-gaap:USTreasuryAndGovernmentMembergs:CashInstrumentsLiabilitiesMemberus-gaap:FairValueInputsLevel2Member2022-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:USTreasuryAndGovernmentMembergs:CashInstrumentsLiabilitiesMember2022-12-310000886982us-gaap:USTreasuryAndGovernmentMembergs:CashInstrumentsLiabilitiesMember2022-12-310000886982us-gaap:FairValueInputsLevel1Memberus-gaap:ForeignGovernmentDebtSecuritiesMembergs:CashInstrumentsLiabilitiesMember2022-12-310000886982us-gaap:ForeignGovernmentDebtSecuritiesMembergs:CashInstrumentsLiabilitiesMemberus-gaap:FairValueInputsLevel2Member2022-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:ForeignGovernmentDebtSecuritiesMembergs:CashInstrumentsLiabilitiesMember2022-12-310000886982us-gaap:ForeignGovernmentDebtSecuritiesMembergs:CashInstrumentsLiabilitiesMember2022-12-310000886982gs:LoansAndSecuritiesBackedByCommercialRealEstateMemberus-gaap:FairValueInputsLevel1Membergs:CashInstrumentsLiabilitiesMember2022-12-310000886982gs:LoansAndSecuritiesBackedByCommercialRealEstateMembergs:CashInstrumentsLiabilitiesMemberus-gaap:FairValueInputsLevel2Member2022-12-310000886982gs:LoansAndSecuritiesBackedByCommercialRealEstateMemberus-gaap:FairValueInputsLevel3Membergs:CashInstrumentsLiabilitiesMember2022-12-310000886982gs:LoansAndSecuritiesBackedByCommercialRealEstateMembergs:CashInstrumentsLiabilitiesMember2022-12-310000886982us-gaap:FairValueInputsLevel1Membergs:CashInstrumentsLiabilitiesMembergs:LoansAndSecuritiesBackedByResidentialRealEstateMember2022-12-310000886982gs:CashInstrumentsLiabilitiesMemberus-gaap:FairValueInputsLevel2Membergs:LoansAndSecuritiesBackedByResidentialRealEstateMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:CashInstrumentsLiabilitiesMembergs:LoansAndSecuritiesBackedByResidentialRealEstateMember2022-12-310000886982gs:CashInstrumentsLiabilitiesMembergs:LoansAndSecuritiesBackedByResidentialRealEstateMember2022-12-310000886982gs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel1Membergs:CashInstrumentsLiabilitiesMember2022-12-310000886982gs:CorporateLoansAndDebtSecuritiesMembergs:CashInstrumentsLiabilitiesMemberus-gaap:FairValueInputsLevel2Member2022-12-310000886982gs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Membergs:CashInstrumentsLiabilitiesMember2022-12-310000886982gs:CorporateLoansAndDebtSecuritiesMembergs:CashInstrumentsLiabilitiesMember2022-12-310000886982us-gaap:FairValueInputsLevel1Memberus-gaap:OtherDebtSecuritiesMembergs:CashInstrumentsLiabilitiesMember2022-12-310000886982us-gaap:OtherDebtSecuritiesMembergs:CashInstrumentsLiabilitiesMemberus-gaap:FairValueInputsLevel2Member2022-12-310000886982us-gaap:OtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Membergs:CashInstrumentsLiabilitiesMember2022-12-310000886982us-gaap:OtherDebtSecuritiesMembergs:CashInstrumentsLiabilitiesMember2022-12-310000886982us-gaap:EquitySecuritiesMemberus-gaap:FairValueInputsLevel1Membergs:CashInstrumentsLiabilitiesMember2022-12-310000886982us-gaap:EquitySecuritiesMembergs:CashInstrumentsLiabilitiesMemberus-gaap:FairValueInputsLevel2Member2022-12-310000886982us-gaap:EquitySecuritiesMemberus-gaap:FairValueInputsLevel3Membergs:CashInstrumentsLiabilitiesMember2022-12-310000886982us-gaap:EquitySecuritiesMembergs:CashInstrumentsLiabilitiesMember2022-12-310000886982us-gaap:FairValueInputsLevel1Membergs:CashInstrumentsLiabilitiesMember2022-12-310000886982gs:CashInstrumentsLiabilitiesMemberus-gaap:FairValueInputsLevel2Member2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:CashInstrumentsLiabilitiesMember2022-12-310000886982gs:CashInstrumentsLiabilitiesMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:LoansAndSecuritiesBackedByRealEstateMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:LoansAndSecuritiesBackedByRealEstateMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:LoansAndSecuritiesBackedByRealEstateMemberus-gaap:MeasurementInputExpectedDividendRateMembersrt:MinimumMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:LoansAndSecuritiesBackedByRealEstateMembersrt:MaximumMemberus-gaap:MeasurementInputExpectedDividendRateMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:LoansAndSecuritiesBackedByRealEstateMembersrt:WeightedAverageMemberus-gaap:MeasurementInputExpectedDividendRateMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:LoansAndSecuritiesBackedByRealEstateMemberus-gaap:MeasurementInputExpectedDividendRateMembersrt:MinimumMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:LoansAndSecuritiesBackedByRealEstateMembersrt:MaximumMemberus-gaap:MeasurementInputExpectedDividendRateMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:LoansAndSecuritiesBackedByRealEstateMembersrt:WeightedAverageMemberus-gaap:MeasurementInputExpectedDividendRateMember2022-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputConstantPrepaymentRateMembergs:LoansAndSecuritiesBackedByRealEstateMembersrt:MinimumMember2023-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputConstantPrepaymentRateMembergs:LoansAndSecuritiesBackedByRealEstateMembersrt:MaximumMember2023-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputConstantPrepaymentRateMembergs:LoansAndSecuritiesBackedByRealEstateMembersrt:WeightedAverageMember2023-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputConstantPrepaymentRateMembergs:LoansAndSecuritiesBackedByRealEstateMembersrt:MinimumMember2022-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputConstantPrepaymentRateMembergs:LoansAndSecuritiesBackedByRealEstateMembersrt:MaximumMember2022-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputConstantPrepaymentRateMembergs:LoansAndSecuritiesBackedByRealEstateMembersrt:WeightedAverageMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:LoansAndSecuritiesBackedByRealEstateMemberus-gaap:MeasurementInputLossSeverityMembersrt:MinimumMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:LoansAndSecuritiesBackedByRealEstateMembersrt:MaximumMemberus-gaap:MeasurementInputLossSeverityMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:LoansAndSecuritiesBackedByRealEstateMembersrt:WeightedAverageMemberus-gaap:MeasurementInputLossSeverityMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:LoansAndSecuritiesBackedByRealEstateMemberus-gaap:MeasurementInputExpectedTermMembersrt:MinimumMember2023-12-31gs:yr0000886982us-gaap:FairValueInputsLevel3Membergs:LoansAndSecuritiesBackedByRealEstateMemberus-gaap:MeasurementInputExpectedTermMembersrt:MaximumMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:LoansAndSecuritiesBackedByRealEstateMembersrt:WeightedAverageMemberus-gaap:MeasurementInputExpectedTermMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:LoansAndSecuritiesBackedByRealEstateMemberus-gaap:MeasurementInputExpectedTermMembersrt:MinimumMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:LoansAndSecuritiesBackedByRealEstateMemberus-gaap:MeasurementInputExpectedTermMembersrt:MaximumMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:LoansAndSecuritiesBackedByRealEstateMembersrt:WeightedAverageMemberus-gaap:MeasurementInputExpectedTermMember2022-12-310000886982gs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982gs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Member2022-12-310000886982gs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMembersrt:MinimumMember2023-12-310000886982gs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Membersrt:MaximumMemberus-gaap:MeasurementInputExpectedDividendRateMember2023-12-310000886982gs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Membersrt:WeightedAverageMemberus-gaap:MeasurementInputExpectedDividendRateMember2023-12-310000886982gs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMembersrt:MinimumMember2022-12-310000886982gs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Membersrt:MaximumMemberus-gaap:MeasurementInputExpectedDividendRateMember2022-12-310000886982gs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Membersrt:WeightedAverageMemberus-gaap:MeasurementInputExpectedDividendRateMember2022-12-310000886982gs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputConstantPrepaymentRateMembersrt:MinimumMember2023-12-310000886982gs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputConstantPrepaymentRateMembersrt:MaximumMember2023-12-310000886982gs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputConstantPrepaymentRateMembersrt:WeightedAverageMember2023-12-310000886982gs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputConstantPrepaymentRateMembersrt:MinimumMember2022-12-310000886982gs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputConstantPrepaymentRateMembersrt:MaximumMember2022-12-310000886982gs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputConstantPrepaymentRateMembersrt:WeightedAverageMember2022-12-310000886982gs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedTermMembersrt:MinimumMember2023-12-310000886982gs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedTermMembersrt:MaximumMember2023-12-310000886982gs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Membersrt:WeightedAverageMemberus-gaap:MeasurementInputExpectedTermMember2023-12-310000886982gs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedTermMembersrt:MinimumMember2022-12-310000886982gs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedTermMembersrt:MaximumMember2022-12-310000886982gs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Membersrt:WeightedAverageMemberus-gaap:MeasurementInputExpectedTermMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:OtherCashInstrumentsMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:OtherCashInstrumentsMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:OtherCashInstrumentsMemberus-gaap:MeasurementInputExpectedDividendRateMembersrt:MinimumMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:OtherCashInstrumentsMembersrt:MaximumMemberus-gaap:MeasurementInputExpectedDividendRateMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:OtherCashInstrumentsMembersrt:WeightedAverageMemberus-gaap:MeasurementInputExpectedDividendRateMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:OtherCashInstrumentsMemberus-gaap:MeasurementInputExpectedDividendRateMembersrt:MinimumMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:OtherCashInstrumentsMembersrt:MaximumMemberus-gaap:MeasurementInputExpectedDividendRateMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:OtherCashInstrumentsMembersrt:WeightedAverageMemberus-gaap:MeasurementInputExpectedDividendRateMember2022-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputConstantPrepaymentRateMembergs:OtherCashInstrumentsMembersrt:MinimumMember2023-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputConstantPrepaymentRateMembergs:OtherCashInstrumentsMembersrt:MaximumMember2023-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputConstantPrepaymentRateMembergs:OtherCashInstrumentsMembersrt:WeightedAverageMember2023-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputConstantPrepaymentRateMembergs:OtherCashInstrumentsMembersrt:MinimumMember2022-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputConstantPrepaymentRateMembergs:OtherCashInstrumentsMembersrt:MaximumMember2022-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputConstantPrepaymentRateMembergs:OtherCashInstrumentsMembersrt:WeightedAverageMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:OtherCashInstrumentsMemberus-gaap:MeasurementInputExpectedTermMembersrt:MinimumMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:OtherCashInstrumentsMemberus-gaap:MeasurementInputExpectedTermMembersrt:MaximumMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:OtherCashInstrumentsMembersrt:WeightedAverageMemberus-gaap:MeasurementInputExpectedTermMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:OtherCashInstrumentsMemberus-gaap:MeasurementInputExpectedTermMembersrt:MinimumMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:OtherCashInstrumentsMemberus-gaap:MeasurementInputExpectedTermMembersrt:MaximumMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:OtherCashInstrumentsMembersrt:WeightedAverageMemberus-gaap:MeasurementInputExpectedTermMember2022-12-310000886982gs:TradingCashInstrumentsAssetsMember2021-12-310000886982gs:TradingCashInstrumentsAssetsMember2023-01-012023-12-310000886982gs:TradingCashInstrumentsAssetsMember2022-01-012022-12-310000886982gs:TradingCashInstrumentsLiabilitiesMember2022-12-310000886982gs:TradingCashInstrumentsLiabilitiesMember2021-12-310000886982gs:TradingCashInstrumentsLiabilitiesMember2023-01-012023-12-310000886982gs:TradingCashInstrumentsLiabilitiesMember2022-01-012022-12-310000886982gs:TradingCashInstrumentsLiabilitiesMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:LoansAndSecuritiesBackedByRealEstateMember2022-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:LoansAndSecuritiesBackedByRealEstateMember2021-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:LoansAndSecuritiesBackedByRealEstateMember2023-01-012023-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:LoansAndSecuritiesBackedByRealEstateMember2022-01-012022-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:LoansAndSecuritiesBackedByRealEstateMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:CorporateLoansAndDebtSecuritiesMember2021-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:CorporateLoansAndDebtSecuritiesMember2023-01-012023-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:CorporateLoansAndDebtSecuritiesMember2022-01-012022-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:OtherCashInstrumentsMember2022-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:OtherCashInstrumentsMember2021-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:OtherCashInstrumentsMember2023-01-012023-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:OtherCashInstrumentsMember2022-01-012022-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:OtherCashInstrumentsMember2023-12-310000886982gs:TradingCashInstrumentsAssetsFairValueDisclosureMember2023-01-012023-12-310000886982gs:TradingCashInstrumentsAssetsFairValueDisclosureMembergs:MarketMakingMember2023-01-012023-12-310000886982gs:TradingCashInstrumentsAssetsFairValueDisclosureMemberus-gaap:InterestIncomeMember2023-01-012023-12-310000886982gs:TradingCashInstrumentsAssetsFairValueDisclosureMember2022-01-012022-12-310000886982gs:TradingCashInstrumentsAssetsFairValueDisclosureMembergs:MarketMakingMember2022-01-012022-12-310000886982gs:TradingCashInstrumentsAssetsFairValueDisclosureMemberus-gaap:InterestIncomeMember2022-01-012022-12-310000886982us-gaap:FairValueInputsLevel1Memberus-gaap:DerivativeMemberus-gaap:InterestRateContractMember2023-12-310000886982us-gaap:DerivativeMemberus-gaap:FairValueInputsLevel2Memberus-gaap:InterestRateContractMember2023-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:DerivativeMemberus-gaap:InterestRateContractMember2023-12-310000886982us-gaap:DerivativeMemberus-gaap:InterestRateContractMember2023-12-310000886982us-gaap:FairValueInputsLevel1Memberus-gaap:CreditRiskContractMemberus-gaap:DerivativeMember2023-12-310000886982us-gaap:CreditRiskContractMemberus-gaap:DerivativeMemberus-gaap:FairValueInputsLevel2Member2023-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMemberus-gaap:DerivativeMember2023-12-310000886982us-gaap:CreditRiskContractMemberus-gaap:DerivativeMember2023-12-310000886982us-gaap:FairValueInputsLevel1Memberus-gaap:ForeignExchangeContractMemberus-gaap:DerivativeMember2023-12-310000886982us-gaap:ForeignExchangeContractMemberus-gaap:DerivativeMemberus-gaap:FairValueInputsLevel2Member2023-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:ForeignExchangeContractMemberus-gaap:DerivativeMember2023-12-310000886982us-gaap:ForeignExchangeContractMemberus-gaap:DerivativeMember2023-12-310000886982us-gaap:CommodityContractMemberus-gaap:FairValueInputsLevel1Memberus-gaap:DerivativeMember2023-12-310000886982us-gaap:CommodityContractMemberus-gaap:DerivativeMemberus-gaap:FairValueInputsLevel2Member2023-12-310000886982us-gaap:CommodityContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:DerivativeMember2023-12-310000886982us-gaap:CommodityContractMemberus-gaap:DerivativeMember2023-12-310000886982us-gaap:EquityContractMemberus-gaap:FairValueInputsLevel1Memberus-gaap:DerivativeMember2023-12-310000886982us-gaap:EquityContractMemberus-gaap:DerivativeMemberus-gaap:FairValueInputsLevel2Member2023-12-310000886982us-gaap:EquityContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:DerivativeMember2023-12-310000886982us-gaap:EquityContractMemberus-gaap:DerivativeMember2023-12-310000886982us-gaap:FairValueInputsLevel1Memberus-gaap:DerivativeMembergs:GrossFairValueOfDerivativeMember2023-12-310000886982us-gaap:DerivativeMemberus-gaap:FairValueInputsLevel2Membergs:GrossFairValueOfDerivativeMember2023-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:DerivativeMembergs:GrossFairValueOfDerivativeMember2023-12-310000886982us-gaap:DerivativeMembergs:GrossFairValueOfDerivativeMember2023-12-310000886982us-gaap:FairValueInputsLevel1Membergs:CounterpartyNettingAdjustmentWithinLevelsMemberus-gaap:DerivativeMember2023-12-310000886982gs:CounterpartyNettingAdjustmentWithinLevelsMemberus-gaap:DerivativeMemberus-gaap:FairValueInputsLevel2Member2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:CounterpartyNettingAdjustmentWithinLevelsMemberus-gaap:DerivativeMember2023-12-310000886982gs:CounterpartyNettingAdjustmentWithinLevelsMemberus-gaap:DerivativeMember2023-12-310000886982us-gaap:FairValueInputsLevel1Memberus-gaap:DerivativeMember2023-12-310000886982us-gaap:DerivativeMemberus-gaap:FairValueInputsLevel2Member2023-12-310000886982us-gaap:DerivativeMember2023-12-310000886982gs:CrossLevelCounterpartyNettingAdjustmentMemberus-gaap:DerivativeMember2023-12-310000886982gs:CashCollateralNettingAdjustmentMemberus-gaap:DerivativeMember2023-12-310000886982us-gaap:FairValueInputsLevel1Memberus-gaap:DerivativeMemberus-gaap:InterestRateContractMember2022-12-310000886982us-gaap:DerivativeMemberus-gaap:FairValueInputsLevel2Memberus-gaap:InterestRateContractMember2022-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:DerivativeMemberus-gaap:InterestRateContractMember2022-12-310000886982us-gaap:DerivativeMemberus-gaap:InterestRateContractMember2022-12-310000886982us-gaap:FairValueInputsLevel1Memberus-gaap:CreditRiskContractMemberus-gaap:DerivativeMember2022-12-310000886982us-gaap:CreditRiskContractMemberus-gaap:DerivativeMemberus-gaap:FairValueInputsLevel2Member2022-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMemberus-gaap:DerivativeMember2022-12-310000886982us-gaap:CreditRiskContractMemberus-gaap:DerivativeMember2022-12-310000886982us-gaap:FairValueInputsLevel1Memberus-gaap:ForeignExchangeContractMemberus-gaap:DerivativeMember2022-12-310000886982us-gaap:ForeignExchangeContractMemberus-gaap:DerivativeMemberus-gaap:FairValueInputsLevel2Member2022-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:ForeignExchangeContractMemberus-gaap:DerivativeMember2022-12-310000886982us-gaap:ForeignExchangeContractMemberus-gaap:DerivativeMember2022-12-310000886982us-gaap:CommodityContractMemberus-gaap:FairValueInputsLevel1Memberus-gaap:DerivativeMember2022-12-310000886982us-gaap:CommodityContractMemberus-gaap:DerivativeMemberus-gaap:FairValueInputsLevel2Member2022-12-310000886982us-gaap:CommodityContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:DerivativeMember2022-12-310000886982us-gaap:CommodityContractMemberus-gaap:DerivativeMember2022-12-310000886982us-gaap:EquityContractMemberus-gaap:FairValueInputsLevel1Memberus-gaap:DerivativeMember2022-12-310000886982us-gaap:EquityContractMemberus-gaap:DerivativeMemberus-gaap:FairValueInputsLevel2Member2022-12-310000886982us-gaap:EquityContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:DerivativeMember2022-12-310000886982us-gaap:EquityContractMemberus-gaap:DerivativeMember2022-12-310000886982us-gaap:FairValueInputsLevel1Memberus-gaap:DerivativeMembergs:GrossFairValueOfDerivativeMember2022-12-310000886982us-gaap:DerivativeMemberus-gaap:FairValueInputsLevel2Membergs:GrossFairValueOfDerivativeMember2022-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:DerivativeMembergs:GrossFairValueOfDerivativeMember2022-12-310000886982us-gaap:DerivativeMembergs:GrossFairValueOfDerivativeMember2022-12-310000886982us-gaap:FairValueInputsLevel1Membergs:CounterpartyNettingAdjustmentWithinLevelsMemberus-gaap:DerivativeMember2022-12-310000886982gs:CounterpartyNettingAdjustmentWithinLevelsMemberus-gaap:DerivativeMemberus-gaap:FairValueInputsLevel2Member2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:CounterpartyNettingAdjustmentWithinLevelsMemberus-gaap:DerivativeMember2022-12-310000886982gs:CounterpartyNettingAdjustmentWithinLevelsMemberus-gaap:DerivativeMember2022-12-310000886982us-gaap:FairValueInputsLevel1Memberus-gaap:DerivativeMember2022-12-310000886982us-gaap:DerivativeMemberus-gaap:FairValueInputsLevel2Member2022-12-310000886982us-gaap:DerivativeMember2022-12-310000886982gs:CrossLevelCounterpartyNettingAdjustmentMemberus-gaap:DerivativeMember2022-12-310000886982gs:CashCollateralNettingAdjustmentMemberus-gaap:DerivativeMember2022-12-310000886982us-gaap:InterestRateContractMember2023-12-310000886982us-gaap:InterestRateContractMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:MeasurementInputCorrelationMembersrt:MinimumMemberus-gaap:InterestRateContractMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:MeasurementInputCorrelationMembersrt:MaximumMemberus-gaap:InterestRateContractMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membersrt:ArithmeticAverageMembergs:MeasurementInputCorrelationMemberus-gaap:InterestRateContractMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:MeasurementInputCorrelationMembersrt:MedianMemberus-gaap:InterestRateContractMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:MeasurementInputCorrelationMembersrt:MinimumMemberus-gaap:InterestRateContractMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:MeasurementInputCorrelationMembersrt:MaximumMemberus-gaap:InterestRateContractMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membersrt:ArithmeticAverageMembergs:MeasurementInputCorrelationMemberus-gaap:InterestRateContractMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:MeasurementInputCorrelationMembersrt:MedianMemberus-gaap:InterestRateContractMember2022-12-310000886982us-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Membersrt:MinimumMemberus-gaap:InterestRateContractMember2023-12-310000886982us-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Membersrt:MaximumMemberus-gaap:InterestRateContractMember2023-12-310000886982us-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Membersrt:ArithmeticAverageMemberus-gaap:InterestRateContractMember2023-12-310000886982us-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Membersrt:MedianMemberus-gaap:InterestRateContractMember2023-12-310000886982us-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Membersrt:MinimumMemberus-gaap:InterestRateContractMember2022-12-310000886982us-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Membersrt:MaximumMemberus-gaap:InterestRateContractMember2022-12-310000886982us-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Membersrt:ArithmeticAverageMemberus-gaap:InterestRateContractMember2022-12-310000886982us-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Membersrt:MedianMemberus-gaap:InterestRateContractMember2022-12-310000886982us-gaap:CreditRiskContractMember2023-12-310000886982us-gaap:CreditRiskContractMember2022-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMemberus-gaap:CreditRiskContractMembersrt:MinimumMember2023-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMemberus-gaap:CreditRiskContractMembersrt:MaximumMember2023-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMemberus-gaap:CreditRiskContractMembersrt:ArithmeticAverageMember2023-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMemberus-gaap:CreditRiskContractMembersrt:MedianMember2023-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMemberus-gaap:CreditRiskContractMembersrt:MinimumMember2022-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMemberus-gaap:CreditRiskContractMembersrt:MaximumMember2022-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMemberus-gaap:CreditRiskContractMembersrt:ArithmeticAverageMember2022-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMemberus-gaap:CreditRiskContractMembersrt:MedianMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:MeasurementInputUpfrontCreditPointsMemberus-gaap:CreditRiskContractMembersrt:MinimumMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:MeasurementInputUpfrontCreditPointsMemberus-gaap:CreditRiskContractMembersrt:MaximumMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:MeasurementInputUpfrontCreditPointsMemberus-gaap:CreditRiskContractMembersrt:ArithmeticAverageMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:MeasurementInputUpfrontCreditPointsMemberus-gaap:CreditRiskContractMembersrt:MedianMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:MeasurementInputUpfrontCreditPointsMemberus-gaap:CreditRiskContractMembersrt:MinimumMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:MeasurementInputUpfrontCreditPointsMemberus-gaap:CreditRiskContractMembersrt:MaximumMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:MeasurementInputUpfrontCreditPointsMemberus-gaap:CreditRiskContractMembersrt:ArithmeticAverageMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:MeasurementInputUpfrontCreditPointsMemberus-gaap:CreditRiskContractMembersrt:MedianMember2022-12-310000886982gs:MeasurementInputRecoveryRateMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMembersrt:MinimumMember2023-12-310000886982gs:MeasurementInputRecoveryRateMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMembersrt:MaximumMember2023-12-310000886982gs:MeasurementInputRecoveryRateMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMembersrt:ArithmeticAverageMember2023-12-310000886982gs:MeasurementInputRecoveryRateMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMembersrt:MedianMember2023-12-310000886982gs:MeasurementInputRecoveryRateMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMembersrt:MinimumMember2022-12-310000886982gs:MeasurementInputRecoveryRateMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMembersrt:MaximumMember2022-12-310000886982gs:MeasurementInputRecoveryRateMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMembersrt:ArithmeticAverageMember2022-12-310000886982gs:MeasurementInputRecoveryRateMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMembersrt:MedianMember2022-12-310000886982us-gaap:ForeignExchangeContractMember2023-12-310000886982us-gaap:ForeignExchangeContractMember2022-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:ForeignExchangeContractMembergs:MeasurementInputCorrelationMembersrt:MinimumMember2023-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:ForeignExchangeContractMembergs:MeasurementInputCorrelationMembersrt:MaximumMember2023-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:ForeignExchangeContractMembersrt:ArithmeticAverageMembergs:MeasurementInputCorrelationMember2023-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:ForeignExchangeContractMembergs:MeasurementInputCorrelationMembersrt:MedianMember2023-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:ForeignExchangeContractMembergs:MeasurementInputCorrelationMembersrt:MinimumMember2022-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:ForeignExchangeContractMembergs:MeasurementInputCorrelationMembersrt:MaximumMember2022-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:ForeignExchangeContractMembersrt:ArithmeticAverageMembergs:MeasurementInputCorrelationMember2022-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:ForeignExchangeContractMembergs:MeasurementInputCorrelationMembersrt:MedianMember2022-12-310000886982us-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Memberus-gaap:ForeignExchangeContractMembersrt:MinimumMember2023-12-310000886982us-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Memberus-gaap:ForeignExchangeContractMembersrt:MaximumMember2023-12-310000886982us-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Memberus-gaap:ForeignExchangeContractMembersrt:ArithmeticAverageMember2023-12-310000886982us-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Memberus-gaap:ForeignExchangeContractMembersrt:MedianMember2023-12-310000886982us-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Memberus-gaap:ForeignExchangeContractMembersrt:MinimumMember2022-12-310000886982us-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Memberus-gaap:ForeignExchangeContractMembersrt:MaximumMember2022-12-310000886982us-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Memberus-gaap:ForeignExchangeContractMembersrt:ArithmeticAverageMember2022-12-310000886982us-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Memberus-gaap:ForeignExchangeContractMembersrt:MedianMember2022-12-310000886982us-gaap:CommodityContractMember2023-12-310000886982us-gaap:CommodityContractMember2022-12-310000886982us-gaap:CommodityContractMemberus-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Membersrt:MinimumMember2023-12-310000886982us-gaap:CommodityContractMemberus-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Membersrt:MaximumMember2023-12-310000886982us-gaap:CommodityContractMemberus-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Membersrt:ArithmeticAverageMember2023-12-310000886982us-gaap:CommodityContractMemberus-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Membersrt:MedianMember2023-12-310000886982us-gaap:CommodityContractMemberus-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Membersrt:MinimumMember2022-12-310000886982us-gaap:CommodityContractMemberus-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Membersrt:MaximumMember2022-12-310000886982us-gaap:CommodityContractMemberus-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Membersrt:ArithmeticAverageMember2022-12-310000886982us-gaap:CommodityContractMemberus-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Membersrt:MedianMember2022-12-310000886982us-gaap:CommodityContractMembersrt:NaturalGasReservesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMembersrt:MinimumMember2023-12-310000886982us-gaap:CommodityContractMembersrt:NaturalGasReservesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMembersrt:MaximumMember2023-12-310000886982us-gaap:CommodityContractMembersrt:NaturalGasReservesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMembersrt:ArithmeticAverageMember2023-12-310000886982us-gaap:CommodityContractMembersrt:NaturalGasReservesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMembersrt:MedianMember2023-12-310000886982us-gaap:CommodityContractMembersrt:NaturalGasReservesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMembersrt:MinimumMember2022-12-310000886982us-gaap:CommodityContractMembersrt:NaturalGasReservesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMembersrt:MaximumMember2022-12-310000886982us-gaap:CommodityContractMembersrt:NaturalGasReservesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMembersrt:ArithmeticAverageMember2022-12-310000886982us-gaap:CommodityContractMembersrt:NaturalGasReservesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMembersrt:MedianMember2022-12-310000886982us-gaap:CommodityContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMembersrt:OilReservesMembersrt:MinimumMember2023-12-310000886982us-gaap:CommodityContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMembersrt:OilReservesMembersrt:MaximumMember2023-12-310000886982us-gaap:CommodityContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMembersrt:ArithmeticAverageMembersrt:OilReservesMember2023-12-310000886982us-gaap:CommodityContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMembersrt:OilReservesMembersrt:MedianMember2023-12-310000886982us-gaap:CommodityContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMembersrt:OilReservesMembersrt:MinimumMember2022-12-310000886982us-gaap:CommodityContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMembersrt:OilReservesMembersrt:MaximumMember2022-12-310000886982us-gaap:CommodityContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMembersrt:ArithmeticAverageMembersrt:OilReservesMember2022-12-310000886982us-gaap:CommodityContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMembersrt:OilReservesMembersrt:MedianMember2022-12-310000886982us-gaap:CommodityContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:ElectricityMembersrt:MinimumMembergs:MeasurementInputSpreadMember2023-12-310000886982us-gaap:CommodityContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:ElectricityMembersrt:MaximumMembergs:MeasurementInputSpreadMember2023-12-310000886982us-gaap:CommodityContractMemberus-gaap:FairValueInputsLevel3Membersrt:ArithmeticAverageMemberus-gaap:ElectricityMembergs:MeasurementInputSpreadMember2023-12-310000886982us-gaap:CommodityContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:ElectricityMembersrt:MedianMembergs:MeasurementInputSpreadMember2023-12-310000886982us-gaap:CommodityContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:ElectricityMembersrt:MinimumMembergs:MeasurementInputSpreadMember2022-12-310000886982us-gaap:CommodityContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:ElectricityMembersrt:MaximumMembergs:MeasurementInputSpreadMember2022-12-310000886982us-gaap:CommodityContractMemberus-gaap:FairValueInputsLevel3Membersrt:ArithmeticAverageMemberus-gaap:ElectricityMembergs:MeasurementInputSpreadMember2022-12-310000886982us-gaap:CommodityContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:ElectricityMembersrt:MedianMembergs:MeasurementInputSpreadMember2022-12-310000886982us-gaap:EquityContractMember2023-12-310000886982us-gaap:EquityContractMember2022-12-310000886982us-gaap:EquityContractMemberus-gaap:FairValueInputsLevel3Membergs:MeasurementInputCorrelationMembersrt:MinimumMember2023-12-310000886982us-gaap:EquityContractMemberus-gaap:FairValueInputsLevel3Membergs:MeasurementInputCorrelationMembersrt:MaximumMember2023-12-310000886982us-gaap:EquityContractMemberus-gaap:FairValueInputsLevel3Membersrt:ArithmeticAverageMembergs:MeasurementInputCorrelationMember2023-12-310000886982us-gaap:EquityContractMemberus-gaap:FairValueInputsLevel3Membergs:MeasurementInputCorrelationMembersrt:MedianMember2023-12-310000886982us-gaap:EquityContractMemberus-gaap:FairValueInputsLevel3Membergs:MeasurementInputCorrelationMembersrt:MinimumMember2022-12-310000886982us-gaap:EquityContractMemberus-gaap:FairValueInputsLevel3Membergs:MeasurementInputCorrelationMembersrt:MaximumMember2022-12-310000886982us-gaap:EquityContractMemberus-gaap:FairValueInputsLevel3Membersrt:ArithmeticAverageMembergs:MeasurementInputCorrelationMember2022-12-310000886982us-gaap:EquityContractMemberus-gaap:FairValueInputsLevel3Membergs:MeasurementInputCorrelationMembersrt:MedianMember2022-12-310000886982us-gaap:EquityContractMemberus-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Membersrt:MinimumMember2023-12-310000886982us-gaap:EquityContractMemberus-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Membersrt:MaximumMember2023-12-310000886982us-gaap:EquityContractMemberus-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Membersrt:ArithmeticAverageMember2023-12-310000886982us-gaap:EquityContractMemberus-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Membersrt:MedianMember2023-12-310000886982us-gaap:EquityContractMemberus-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Membersrt:MinimumMember2022-12-310000886982us-gaap:EquityContractMemberus-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Membersrt:MaximumMember2022-12-310000886982us-gaap:EquityContractMemberus-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Membersrt:ArithmeticAverageMember2022-12-310000886982us-gaap:EquityContractMemberus-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Membersrt:MedianMember2022-12-310000886982us-gaap:InterestRateContractMember2021-12-310000886982us-gaap:InterestRateContractMember2023-01-012023-12-310000886982us-gaap:InterestRateContractMember2022-01-012022-12-310000886982us-gaap:CreditRiskContractMember2021-12-310000886982us-gaap:CreditRiskContractMember2023-01-012023-12-310000886982us-gaap:CreditRiskContractMember2022-01-012022-12-310000886982us-gaap:ForeignExchangeContractMember2021-12-310000886982us-gaap:ForeignExchangeContractMember2023-01-012023-12-310000886982us-gaap:ForeignExchangeContractMember2022-01-012022-12-310000886982us-gaap:CommodityContractMember2021-12-310000886982us-gaap:CommodityContractMember2023-01-012023-12-310000886982us-gaap:CommodityContractMember2022-01-012022-12-310000886982us-gaap:EquityContractMember2021-12-310000886982us-gaap:EquityContractMember2023-01-012023-12-310000886982us-gaap:EquityContractMember2022-01-012022-12-310000886982gs:MarketMakingMember2023-01-012023-12-310000886982gs:OtherPrincipalTransactionsMember2023-01-012023-12-310000886982gs:MarketMakingMember2022-01-012022-12-310000886982gs:OtherPrincipalTransactionsMember2022-01-012022-12-310000886982us-gaap:FairValueInputsLevel1Memberus-gaap:InvestmentsMemberus-gaap:USTreasurySecuritiesMember2023-12-310000886982us-gaap:InvestmentsMemberus-gaap:USTreasurySecuritiesMemberus-gaap:FairValueInputsLevel2Member2023-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMemberus-gaap:USTreasurySecuritiesMember2023-12-310000886982us-gaap:InvestmentsMemberus-gaap:USTreasurySecuritiesMember2023-12-310000886982us-gaap:FairValueInputsLevel1Memberus-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:InvestmentsMember2023-12-310000886982us-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel2Member2023-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:InvestmentsMember2023-12-310000886982us-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:InvestmentsMember2023-12-310000886982gs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel1Memberus-gaap:InvestmentsMember2023-12-310000886982gs:CorporateLoansAndDebtSecuritiesMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel2Member2023-12-310000886982gs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMember2023-12-310000886982gs:CorporateLoansAndDebtSecuritiesMemberus-gaap:InvestmentsMember2023-12-310000886982us-gaap:FairValueInputsLevel1Membergs:SecuritiesBackedByRealEstateMemberus-gaap:InvestmentsMember2023-12-310000886982gs:SecuritiesBackedByRealEstateMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel2Member2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:SecuritiesBackedByRealEstateMemberus-gaap:InvestmentsMember2023-12-310000886982gs:SecuritiesBackedByRealEstateMemberus-gaap:InvestmentsMember2023-12-310000886982us-gaap:FixedIncomeSecuritiesMemberus-gaap:FairValueInputsLevel1Memberus-gaap:InvestmentsMember2023-12-310000886982us-gaap:FixedIncomeSecuritiesMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel2Member2023-12-310000886982us-gaap:FixedIncomeSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMember2023-12-310000886982us-gaap:FixedIncomeSecuritiesMemberus-gaap:InvestmentsMember2023-12-310000886982us-gaap:FairValueInputsLevel1Memberus-gaap:OtherDebtSecuritiesMemberus-gaap:InvestmentsMember2023-12-310000886982us-gaap:OtherDebtSecuritiesMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel2Member2023-12-310000886982us-gaap:OtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMember2023-12-310000886982us-gaap:OtherDebtSecuritiesMemberus-gaap:InvestmentsMember2023-12-310000886982us-gaap:EquitySecuritiesMemberus-gaap:FairValueInputsLevel1Memberus-gaap:InvestmentsMember2023-12-310000886982us-gaap:EquitySecuritiesMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel2Member2023-12-310000886982us-gaap:EquitySecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMember2023-12-310000886982us-gaap:EquitySecuritiesMemberus-gaap:InvestmentsMember2023-12-310000886982us-gaap:FairValueInputsLevel1Memberus-gaap:InvestmentsMember2023-12-310000886982us-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel2Member2023-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMember2023-12-310000886982us-gaap:InvestmentsMember2023-12-310000886982us-gaap:FairValueInputsLevel1Memberus-gaap:InvestmentsMemberus-gaap:USTreasurySecuritiesMember2022-12-310000886982us-gaap:InvestmentsMemberus-gaap:USTreasurySecuritiesMemberus-gaap:FairValueInputsLevel2Member2022-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMemberus-gaap:USTreasurySecuritiesMember2022-12-310000886982us-gaap:InvestmentsMemberus-gaap:USTreasurySecuritiesMember2022-12-310000886982us-gaap:FairValueInputsLevel1Memberus-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:InvestmentsMember2022-12-310000886982us-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel2Member2022-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:InvestmentsMember2022-12-310000886982us-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:InvestmentsMember2022-12-310000886982gs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel1Memberus-gaap:InvestmentsMember2022-12-310000886982gs:CorporateLoansAndDebtSecuritiesMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel2Member2022-12-310000886982gs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMember2022-12-310000886982gs:CorporateLoansAndDebtSecuritiesMemberus-gaap:InvestmentsMember2022-12-310000886982us-gaap:FairValueInputsLevel1Membergs:SecuritiesBackedByRealEstateMemberus-gaap:InvestmentsMember2022-12-310000886982gs:SecuritiesBackedByRealEstateMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel2Member2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:SecuritiesBackedByRealEstateMemberus-gaap:InvestmentsMember2022-12-310000886982gs:SecuritiesBackedByRealEstateMemberus-gaap:InvestmentsMember2022-12-310000886982us-gaap:FixedIncomeSecuritiesMemberus-gaap:FairValueInputsLevel1Memberus-gaap:InvestmentsMember2022-12-310000886982us-gaap:FixedIncomeSecuritiesMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel2Member2022-12-310000886982us-gaap:FixedIncomeSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMember2022-12-310000886982us-gaap:FixedIncomeSecuritiesMemberus-gaap:InvestmentsMember2022-12-310000886982us-gaap:FairValueInputsLevel1Memberus-gaap:OtherDebtSecuritiesMemberus-gaap:InvestmentsMember2022-12-310000886982us-gaap:OtherDebtSecuritiesMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel2Member2022-12-310000886982us-gaap:OtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMember2022-12-310000886982us-gaap:OtherDebtSecuritiesMemberus-gaap:InvestmentsMember2022-12-310000886982us-gaap:EquitySecuritiesMemberus-gaap:FairValueInputsLevel1Memberus-gaap:InvestmentsMember2022-12-310000886982us-gaap:EquitySecuritiesMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel2Member2022-12-310000886982us-gaap:EquitySecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMember2022-12-310000886982us-gaap:EquitySecuritiesMemberus-gaap:InvestmentsMember2022-12-310000886982us-gaap:FairValueInputsLevel1Memberus-gaap:InvestmentsMember2022-12-310000886982us-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel2Member2022-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMember2022-12-310000886982us-gaap:InvestmentsMember2022-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:CorporateDebtSecuritiesMemberus-gaap:InvestmentsMember2023-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:CorporateDebtSecuritiesMemberus-gaap:InvestmentsMember2022-12-310000886982us-gaap:CorporateDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMembersrt:MinimumMemberus-gaap:MeasurementInputExpectedDividendRateMember2023-12-310000886982us-gaap:CorporateDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMembersrt:MaximumMemberus-gaap:MeasurementInputExpectedDividendRateMember2023-12-310000886982us-gaap:CorporateDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMembersrt:WeightedAverageMemberus-gaap:MeasurementInputExpectedDividendRateMember2023-12-310000886982us-gaap:CorporateDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMembersrt:MinimumMemberus-gaap:MeasurementInputExpectedDividendRateMember2022-12-310000886982us-gaap:CorporateDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMembersrt:MaximumMemberus-gaap:MeasurementInputExpectedDividendRateMember2022-12-310000886982us-gaap:CorporateDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMembersrt:WeightedAverageMemberus-gaap:MeasurementInputExpectedDividendRateMember2022-12-310000886982us-gaap:CorporateDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputConstantPrepaymentRateMemberus-gaap:InvestmentsMembersrt:MinimumMember2023-12-310000886982us-gaap:CorporateDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputConstantPrepaymentRateMemberus-gaap:InvestmentsMembersrt:MaximumMember2023-12-310000886982us-gaap:CorporateDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputConstantPrepaymentRateMemberus-gaap:InvestmentsMembersrt:WeightedAverageMember2023-12-310000886982us-gaap:CorporateDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputConstantPrepaymentRateMemberus-gaap:InvestmentsMembersrt:MinimumMember2022-12-310000886982us-gaap:CorporateDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputConstantPrepaymentRateMemberus-gaap:InvestmentsMembersrt:MaximumMember2022-12-310000886982us-gaap:CorporateDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputConstantPrepaymentRateMemberus-gaap:InvestmentsMembersrt:WeightedAverageMember2022-12-310000886982us-gaap:CorporateDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMemberus-gaap:MeasurementInputExpectedTermMembersrt:MinimumMember2023-12-310000886982us-gaap:CorporateDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMembersrt:MaximumMemberus-gaap:MeasurementInputExpectedTermMember2023-12-310000886982us-gaap:CorporateDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMembersrt:WeightedAverageMemberus-gaap:MeasurementInputExpectedTermMember2023-12-310000886982us-gaap:CorporateDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMemberus-gaap:MeasurementInputExpectedTermMembersrt:MinimumMember2022-12-310000886982us-gaap:CorporateDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMembersrt:MaximumMemberus-gaap:MeasurementInputExpectedTermMember2022-12-310000886982us-gaap:CorporateDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMembersrt:WeightedAverageMemberus-gaap:MeasurementInputExpectedTermMember2022-12-310000886982us-gaap:CorporateDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMemberus-gaap:MeasurementInputRevenueMultipleMembersrt:MinimumMember2023-12-310000886982us-gaap:CorporateDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMemberus-gaap:MeasurementInputRevenueMultipleMembersrt:MaximumMember2023-12-310000886982us-gaap:CorporateDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMemberus-gaap:MeasurementInputRevenueMultipleMembersrt:WeightedAverageMember2023-12-310000886982us-gaap:CorporateDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMemberus-gaap:MeasurementInputRevenueMultipleMembersrt:MinimumMember2022-12-310000886982us-gaap:CorporateDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMemberus-gaap:MeasurementInputRevenueMultipleMembersrt:MaximumMember2022-12-310000886982us-gaap:CorporateDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMemberus-gaap:MeasurementInputRevenueMultipleMembersrt:WeightedAverageMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:SecuritiesBackedByRealEstateMemberus-gaap:InvestmentsMembersrt:MinimumMemberus-gaap:MeasurementInputExpectedDividendRateMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:SecuritiesBackedByRealEstateMemberus-gaap:InvestmentsMembersrt:MaximumMemberus-gaap:MeasurementInputExpectedDividendRateMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:SecuritiesBackedByRealEstateMemberus-gaap:InvestmentsMembersrt:WeightedAverageMemberus-gaap:MeasurementInputExpectedDividendRateMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:SecuritiesBackedByRealEstateMemberus-gaap:InvestmentsMembersrt:MinimumMemberus-gaap:MeasurementInputExpectedDividendRateMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:SecuritiesBackedByRealEstateMemberus-gaap:InvestmentsMembersrt:MaximumMemberus-gaap:MeasurementInputExpectedDividendRateMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:SecuritiesBackedByRealEstateMemberus-gaap:InvestmentsMembersrt:WeightedAverageMemberus-gaap:MeasurementInputExpectedDividendRateMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:SecuritiesBackedByRealEstateMemberus-gaap:InvestmentsMemberus-gaap:MeasurementInputExpectedTermMembersrt:MinimumMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:SecuritiesBackedByRealEstateMemberus-gaap:InvestmentsMembersrt:MaximumMemberus-gaap:MeasurementInputExpectedTermMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:SecuritiesBackedByRealEstateMemberus-gaap:InvestmentsMembersrt:WeightedAverageMemberus-gaap:MeasurementInputExpectedTermMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:SecuritiesBackedByRealEstateMemberus-gaap:InvestmentsMemberus-gaap:MeasurementInputExpectedTermMembersrt:MinimumMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:SecuritiesBackedByRealEstateMemberus-gaap:InvestmentsMembersrt:MaximumMemberus-gaap:MeasurementInputExpectedTermMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:SecuritiesBackedByRealEstateMemberus-gaap:InvestmentsMembersrt:WeightedAverageMemberus-gaap:MeasurementInputExpectedTermMember2022-12-310000886982us-gaap:OtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMembersrt:MinimumMemberus-gaap:MeasurementInputExpectedDividendRateMember2023-12-310000886982us-gaap:OtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMembersrt:MaximumMemberus-gaap:MeasurementInputExpectedDividendRateMember2023-12-310000886982us-gaap:OtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMembersrt:WeightedAverageMemberus-gaap:MeasurementInputExpectedDividendRateMember2023-12-310000886982us-gaap:OtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMembersrt:MinimumMemberus-gaap:MeasurementInputExpectedDividendRateMember2022-12-310000886982us-gaap:OtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMembersrt:MaximumMemberus-gaap:MeasurementInputExpectedDividendRateMember2022-12-310000886982us-gaap:OtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMembersrt:WeightedAverageMemberus-gaap:MeasurementInputExpectedDividendRateMember2022-12-310000886982us-gaap:EquitySecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMemberus-gaap:MeasurementInputRevenueMultipleMembersrt:MinimumMember2023-12-310000886982us-gaap:EquitySecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMemberus-gaap:MeasurementInputRevenueMultipleMembersrt:MaximumMember2023-12-310000886982us-gaap:EquitySecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMemberus-gaap:MeasurementInputRevenueMultipleMembersrt:WeightedAverageMember2023-12-310000886982us-gaap:EquitySecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMemberus-gaap:MeasurementInputRevenueMultipleMembersrt:MinimumMember2022-12-310000886982us-gaap:EquitySecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMemberus-gaap:MeasurementInputRevenueMultipleMembersrt:MaximumMember2022-12-310000886982us-gaap:EquitySecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMemberus-gaap:MeasurementInputRevenueMultipleMembersrt:WeightedAverageMember2022-12-310000886982us-gaap:EquitySecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMembersrt:MinimumMemberus-gaap:MeasurementInputDiscountRateMember2023-12-310000886982us-gaap:EquitySecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMembersrt:MaximumMemberus-gaap:MeasurementInputDiscountRateMember2023-12-310000886982us-gaap:EquitySecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMembersrt:WeightedAverageMemberus-gaap:MeasurementInputDiscountRateMember2023-12-310000886982us-gaap:EquitySecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMembersrt:MinimumMemberus-gaap:MeasurementInputDiscountRateMember2022-12-310000886982us-gaap:EquitySecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMembersrt:MaximumMemberus-gaap:MeasurementInputDiscountRateMember2022-12-310000886982us-gaap:EquitySecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMembersrt:WeightedAverageMemberus-gaap:MeasurementInputDiscountRateMember2022-12-310000886982us-gaap:EquitySecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMemberus-gaap:MeasurementInputCapRateMembersrt:MinimumMember2023-12-310000886982us-gaap:EquitySecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMemberus-gaap:MeasurementInputCapRateMembersrt:MaximumMember2023-12-310000886982us-gaap:EquitySecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMemberus-gaap:MeasurementInputCapRateMembersrt:WeightedAverageMember2023-12-310000886982us-gaap:EquitySecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMemberus-gaap:MeasurementInputCapRateMembersrt:MinimumMember2022-12-310000886982us-gaap:EquitySecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMemberus-gaap:MeasurementInputCapRateMembersrt:MaximumMember2022-12-310000886982us-gaap:EquitySecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMemberus-gaap:MeasurementInputCapRateMembersrt:WeightedAverageMember2022-12-310000886982us-gaap:InvestmentsMember2021-12-310000886982us-gaap:InvestmentsMember2023-01-012023-12-310000886982us-gaap:InvestmentsMember2022-01-012022-12-310000886982gs:CorporateLoansAndDebtSecuritiesMemberus-gaap:InvestmentsMember2021-12-310000886982gs:CorporateLoansAndDebtSecuritiesMemberus-gaap:InvestmentsMember2023-01-012023-12-310000886982gs:CorporateLoansAndDebtSecuritiesMemberus-gaap:InvestmentsMember2022-01-012022-12-310000886982gs:SecuritiesBackedByRealEstateMemberus-gaap:InvestmentsMember2021-12-310000886982gs:SecuritiesBackedByRealEstateMemberus-gaap:InvestmentsMember2023-01-012023-12-310000886982gs:SecuritiesBackedByRealEstateMemberus-gaap:InvestmentsMember2022-01-012022-12-310000886982us-gaap:OtherDebtSecuritiesMemberus-gaap:InvestmentsMember2021-12-310000886982us-gaap:OtherDebtSecuritiesMemberus-gaap:InvestmentsMember2023-01-012023-12-310000886982us-gaap:OtherDebtSecuritiesMemberus-gaap:InvestmentsMember2022-01-012022-12-310000886982us-gaap:EquitySecuritiesMemberus-gaap:InvestmentsMember2021-12-310000886982us-gaap:EquitySecuritiesMemberus-gaap:InvestmentsMember2023-01-012023-12-310000886982us-gaap:EquitySecuritiesMemberus-gaap:InvestmentsMember2022-01-012022-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMember2023-01-012023-12-310000886982us-gaap:OperatingIncomeLossMemberus-gaap:InvestmentsMember2023-01-012023-12-310000886982us-gaap:InvestmentsMemberus-gaap:InterestIncomeMember2023-01-012023-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:InvestmentsMember2022-01-012022-12-310000886982us-gaap:OperatingIncomeLossMemberus-gaap:InvestmentsMember2022-01-012022-12-310000886982us-gaap:InvestmentsMemberus-gaap:InterestIncomeMember2022-01-012022-12-310000886982us-gaap:FairValueInputsLevel1Membergs:CorporateLoansMember2023-12-310000886982gs:CorporateLoansMemberus-gaap:FairValueInputsLevel2Member2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:CorporateLoansMember2023-12-310000886982gs:CorporateLoansMember2023-12-310000886982gs:CommercialRealEstateLoansMemberus-gaap:FairValueInputsLevel1Member2023-12-310000886982gs:CommercialRealEstateLoansMemberus-gaap:FairValueInputsLevel2Member2023-12-310000886982gs:CommercialRealEstateLoansMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982gs:CommercialRealEstateLoansMember2023-12-310000886982us-gaap:FairValueInputsLevel1Membergs:ResidentialRealEstateLoansMember2023-12-310000886982gs:ResidentialRealEstateLoansMemberus-gaap:FairValueInputsLevel2Member2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:ResidentialRealEstateLoansMember2023-12-310000886982gs:ResidentialRealEstateLoansMember2023-12-310000886982us-gaap:FairValueInputsLevel1Membergs:OtherCollateralizedMember2023-12-310000886982gs:OtherCollateralizedMemberus-gaap:FairValueInputsLevel2Member2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:OtherCollateralizedMember2023-12-310000886982gs:OtherCollateralizedMember2023-12-310000886982us-gaap:FairValueInputsLevel1Membergs:OtherLoansMember2023-12-310000886982gs:OtherLoansMemberus-gaap:FairValueInputsLevel2Member2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:OtherLoansMember2023-12-310000886982gs:OtherLoansMember2023-12-310000886982us-gaap:FairValueInputsLevel1Membergs:CorporateLoansMember2022-12-310000886982gs:CorporateLoansMemberus-gaap:FairValueInputsLevel2Member2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:CorporateLoansMember2022-12-310000886982gs:CorporateLoansMember2022-12-310000886982gs:CommercialRealEstateLoansMemberus-gaap:FairValueInputsLevel1Member2022-12-310000886982gs:CommercialRealEstateLoansMemberus-gaap:FairValueInputsLevel2Member2022-12-310000886982gs:CommercialRealEstateLoansMemberus-gaap:FairValueInputsLevel3Member2022-12-310000886982gs:CommercialRealEstateLoansMember2022-12-310000886982us-gaap:FairValueInputsLevel1Membergs:ResidentialRealEstateLoansMember2022-12-310000886982gs:ResidentialRealEstateLoansMemberus-gaap:FairValueInputsLevel2Member2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:ResidentialRealEstateLoansMember2022-12-310000886982gs:ResidentialRealEstateLoansMember2022-12-310000886982us-gaap:FairValueInputsLevel1Membergs:OtherCollateralizedMember2022-12-310000886982gs:OtherCollateralizedMemberus-gaap:FairValueInputsLevel2Member2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:OtherCollateralizedMember2022-12-310000886982gs:OtherCollateralizedMember2022-12-310000886982us-gaap:FairValueInputsLevel1Membergs:OtherLoansMember2022-12-310000886982gs:OtherLoansMemberus-gaap:FairValueInputsLevel2Member2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:OtherLoansMember2022-12-310000886982gs:OtherLoansMember2022-12-310000886982gs:OtherPrincipalTransactionsMember2023-01-012023-12-310000886982gs:OtherPrincipalTransactionsMember2022-01-012022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:CorporateLoansMemberus-gaap:MeasurementInputExpectedDividendRateMembersrt:MinimumMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:CorporateLoansMembersrt:MaximumMemberus-gaap:MeasurementInputExpectedDividendRateMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:CorporateLoansMembersrt:WeightedAverageMemberus-gaap:MeasurementInputExpectedDividendRateMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:CorporateLoansMemberus-gaap:MeasurementInputExpectedDividendRateMembersrt:MinimumMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:CorporateLoansMembersrt:MaximumMemberus-gaap:MeasurementInputExpectedDividendRateMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:CorporateLoansMembersrt:WeightedAverageMemberus-gaap:MeasurementInputExpectedDividendRateMember2022-12-310000886982gs:MeasurementInputRecoveryRateMemberus-gaap:FairValueInputsLevel3Membergs:CorporateLoansMembersrt:MinimumMember2023-12-310000886982gs:MeasurementInputRecoveryRateMemberus-gaap:FairValueInputsLevel3Membergs:CorporateLoansMembersrt:MaximumMember2023-12-310000886982gs:MeasurementInputRecoveryRateMemberus-gaap:FairValueInputsLevel3Membergs:CorporateLoansMembersrt:WeightedAverageMember2023-12-310000886982gs:MeasurementInputRecoveryRateMemberus-gaap:FairValueInputsLevel3Membergs:CorporateLoansMembersrt:MinimumMember2022-12-310000886982gs:MeasurementInputRecoveryRateMemberus-gaap:FairValueInputsLevel3Membergs:CorporateLoansMembersrt:MaximumMember2022-12-310000886982gs:MeasurementInputRecoveryRateMemberus-gaap:FairValueInputsLevel3Membergs:CorporateLoansMembersrt:WeightedAverageMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:CorporateLoansMemberus-gaap:MeasurementInputExpectedTermMembersrt:MinimumMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:CorporateLoansMemberus-gaap:MeasurementInputExpectedTermMembersrt:MaximumMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:CorporateLoansMembersrt:WeightedAverageMemberus-gaap:MeasurementInputExpectedTermMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:CorporateLoansMemberus-gaap:MeasurementInputExpectedTermMembersrt:MinimumMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:CorporateLoansMemberus-gaap:MeasurementInputExpectedTermMembersrt:MaximumMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:CorporateLoansMembersrt:WeightedAverageMemberus-gaap:MeasurementInputExpectedTermMember2022-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:RealEstateMember2023-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:RealEstateMember2022-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:RealEstateMemberus-gaap:MeasurementInputExpectedDividendRateMembersrt:MinimumMember2023-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:RealEstateMembersrt:MaximumMemberus-gaap:MeasurementInputExpectedDividendRateMember2023-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:RealEstateMembersrt:WeightedAverageMemberus-gaap:MeasurementInputExpectedDividendRateMember2023-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:RealEstateMemberus-gaap:MeasurementInputExpectedDividendRateMembersrt:MinimumMember2022-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:RealEstateMembersrt:MaximumMemberus-gaap:MeasurementInputExpectedDividendRateMember2022-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:RealEstateMembersrt:WeightedAverageMemberus-gaap:MeasurementInputExpectedDividendRateMember2022-12-310000886982gs:MeasurementInputRecoveryRateMemberus-gaap:FairValueInputsLevel3Memberus-gaap:RealEstateMembersrt:MinimumMember2023-12-310000886982gs:MeasurementInputRecoveryRateMemberus-gaap:FairValueInputsLevel3Memberus-gaap:RealEstateMembersrt:MaximumMember2023-12-310000886982gs:MeasurementInputRecoveryRateMemberus-gaap:FairValueInputsLevel3Memberus-gaap:RealEstateMembersrt:WeightedAverageMember2023-12-310000886982gs:MeasurementInputRecoveryRateMemberus-gaap:FairValueInputsLevel3Memberus-gaap:RealEstateMembersrt:MinimumMember2022-12-310000886982gs:MeasurementInputRecoveryRateMemberus-gaap:FairValueInputsLevel3Memberus-gaap:RealEstateMembersrt:MaximumMember2022-12-310000886982gs:MeasurementInputRecoveryRateMemberus-gaap:FairValueInputsLevel3Memberus-gaap:RealEstateMembersrt:WeightedAverageMember2022-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:RealEstateMemberus-gaap:MeasurementInputExpectedTermMembersrt:MinimumMember2023-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:RealEstateMemberus-gaap:MeasurementInputExpectedTermMembersrt:MaximumMember2023-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:RealEstateMembersrt:WeightedAverageMemberus-gaap:MeasurementInputExpectedTermMember2023-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:RealEstateMemberus-gaap:MeasurementInputExpectedTermMembersrt:MinimumMember2022-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:RealEstateMemberus-gaap:MeasurementInputExpectedTermMembersrt:MaximumMember2022-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:RealEstateMembersrt:WeightedAverageMemberus-gaap:MeasurementInputExpectedTermMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:OtherCollateralizedMemberus-gaap:MeasurementInputExpectedDividendRateMembersrt:MinimumMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:OtherCollateralizedMembersrt:MaximumMemberus-gaap:MeasurementInputExpectedDividendRateMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membersrt:WeightedAverageMembergs:OtherCollateralizedMemberus-gaap:MeasurementInputExpectedDividendRateMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:OtherCollateralizedMemberus-gaap:MeasurementInputExpectedDividendRateMembersrt:MinimumMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:OtherCollateralizedMembersrt:MaximumMemberus-gaap:MeasurementInputExpectedDividendRateMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membersrt:WeightedAverageMembergs:OtherCollateralizedMemberus-gaap:MeasurementInputExpectedDividendRateMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:OtherCollateralizedMemberus-gaap:MeasurementInputExpectedTermMembersrt:MinimumMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:OtherCollateralizedMemberus-gaap:MeasurementInputExpectedTermMembersrt:MaximumMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membersrt:WeightedAverageMembergs:OtherCollateralizedMemberus-gaap:MeasurementInputExpectedTermMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:OtherLoansMemberus-gaap:MeasurementInputExpectedDividendRateMembersrt:MinimumMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membersrt:MaximumMembergs:OtherLoansMemberus-gaap:MeasurementInputExpectedDividendRateMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membersrt:WeightedAverageMembergs:OtherLoansMemberus-gaap:MeasurementInputExpectedDividendRateMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:OtherLoansMemberus-gaap:MeasurementInputExpectedDividendRateMembersrt:MinimumMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membersrt:MaximumMembergs:OtherLoansMemberus-gaap:MeasurementInputExpectedDividendRateMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membersrt:WeightedAverageMembergs:OtherLoansMemberus-gaap:MeasurementInputExpectedDividendRateMember2022-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedTermMembergs:OtherLoansMembersrt:MinimumMember2023-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedTermMembersrt:MaximumMembergs:OtherLoansMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membersrt:WeightedAverageMemberus-gaap:MeasurementInputExpectedTermMembergs:OtherLoansMember2023-12-310000886982us-gaap:LoansReceivableMember2022-12-310000886982us-gaap:LoansReceivableMember2021-12-310000886982us-gaap:LoansReceivableMember2023-01-012023-12-310000886982us-gaap:LoansReceivableMember2022-01-012022-12-310000886982us-gaap:LoansReceivableMember2023-12-310000886982gs:CorporateLoansMember2023-09-300000886982gs:CorporateLoansMember2022-09-300000886982gs:CorporateLoansMember2023-10-012023-12-310000886982gs:CorporateLoansMember2022-10-012022-12-310000886982us-gaap:RealEstateMember2023-09-300000886982us-gaap:RealEstateMember2022-09-300000886982us-gaap:RealEstateMember2023-10-012023-12-310000886982us-gaap:RealEstateMember2022-10-012022-12-310000886982us-gaap:RealEstateMember2023-12-310000886982us-gaap:RealEstateMember2022-12-310000886982gs:OtherCollateralizedMember2023-09-300000886982gs:OtherCollateralizedMember2022-09-300000886982gs:OtherCollateralizedMember2023-10-012023-12-310000886982gs:OtherCollateralizedMember2022-10-012022-12-310000886982gs:OtherLoansMember2023-09-300000886982gs:OtherLoansMember2022-09-300000886982gs:OtherLoansMember2023-10-012023-12-310000886982gs:OtherLoansMember2022-10-012022-12-310000886982us-gaap:FairValueInputsLevel3Member2023-01-012023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:OtherPrincipalTransactionsMember2023-01-012023-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:InterestIncomeMember2023-01-012023-12-310000886982us-gaap:FairValueInputsLevel3Member2022-01-012022-12-310000886982us-gaap:FairValueInputsLevel3Membergs:OtherPrincipalTransactionsMember2022-01-012022-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:InterestIncomeMember2022-01-012022-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMembersrt:MinimumMembergs:OtherSecuredFinancingsAtFairValueMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membersrt:MaximumMemberus-gaap:MeasurementInputExpectedDividendRateMembergs:OtherSecuredFinancingsAtFairValueMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membersrt:WeightedAverageMemberus-gaap:MeasurementInputExpectedDividendRateMembergs:OtherSecuredFinancingsAtFairValueMember2023-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedTermMembersrt:MinimumMembergs:OtherSecuredFinancingsAtFairValueMember2023-12-31utr:Y0000886982us-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedTermMembersrt:MaximumMembergs:OtherSecuredFinancingsAtFairValueMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membersrt:WeightedAverageMemberus-gaap:MeasurementInputExpectedTermMembergs:OtherSecuredFinancingsAtFairValueMember2023-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMembersrt:MinimumMembergs:OtherSecuredFinancingsAtFairValueMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membersrt:MaximumMemberus-gaap:MeasurementInputExpectedDividendRateMembergs:OtherSecuredFinancingsAtFairValueMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membersrt:WeightedAverageMemberus-gaap:MeasurementInputExpectedDividendRateMembergs:OtherSecuredFinancingsAtFairValueMember2022-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedTermMembersrt:MinimumMembergs:OtherSecuredFinancingsAtFairValueMember2022-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedTermMembersrt:MaximumMembergs:OtherSecuredFinancingsAtFairValueMember2022-12-310000886982us-gaap:FairValueInputsLevel3Membersrt:WeightedAverageMemberus-gaap:MeasurementInputExpectedTermMembergs:OtherSecuredFinancingsAtFairValueMember2022-12-310000886982gs:OtherFinancialLiabilitiesMember2022-12-310000886982gs:OtherFinancialLiabilitiesMember2021-12-310000886982gs:OtherFinancialLiabilitiesMember2023-01-012023-12-310000886982gs:OtherFinancialLiabilitiesMember2022-01-012022-12-310000886982gs:OtherFinancialLiabilitiesMember2023-12-310000886982gs:OtherFinancialLiabilitiesMemberus-gaap:DepositsMember2022-12-310000886982gs:OtherFinancialLiabilitiesMemberus-gaap:DepositsMember2021-12-310000886982gs:OtherFinancialLiabilitiesMemberus-gaap:DepositsMember2023-01-012023-12-310000886982gs:OtherFinancialLiabilitiesMemberus-gaap:DepositsMember2022-01-012022-12-310000886982gs:OtherFinancialLiabilitiesMemberus-gaap:DepositsMember2023-12-310000886982gs:OtherFinancialLiabilitiesMembergs:OtherSecuredFinancingsAtFairValueMember2022-12-310000886982gs:OtherFinancialLiabilitiesMembergs:OtherSecuredFinancingsAtFairValueMember2021-12-310000886982gs:OtherFinancialLiabilitiesMembergs:OtherSecuredFinancingsAtFairValueMember2023-01-012023-12-310000886982gs:OtherFinancialLiabilitiesMembergs:OtherSecuredFinancingsAtFairValueMember2022-01-012022-12-310000886982gs:OtherFinancialLiabilitiesMembergs:OtherSecuredFinancingsAtFairValueMember2023-12-310000886982gs:OtherFinancialLiabilitiesMembergs:UnsecuredShortTermBorrowingsIncludingCurrentPortionOfUnsecuredLongTermBorrowingsAtFairValueMember2022-12-310000886982gs:OtherFinancialLiabilitiesMembergs:UnsecuredShortTermBorrowingsIncludingCurrentPortionOfUnsecuredLongTermBorrowingsAtFairValueMember2021-12-310000886982gs:OtherFinancialLiabilitiesMembergs:UnsecuredShortTermBorrowingsIncludingCurrentPortionOfUnsecuredLongTermBorrowingsAtFairValueMember2023-01-012023-12-310000886982gs:OtherFinancialLiabilitiesMembergs:UnsecuredShortTermBorrowingsIncludingCurrentPortionOfUnsecuredLongTermBorrowingsAtFairValueMember2022-01-012022-12-310000886982gs:OtherFinancialLiabilitiesMembergs:UnsecuredShortTermBorrowingsIncludingCurrentPortionOfUnsecuredLongTermBorrowingsAtFairValueMember2023-12-310000886982gs:OtherFinancialLiabilitiesMembergs:UnsecuredLongTermBorrowingsAtFairValueMember2022-12-310000886982gs:OtherFinancialLiabilitiesMembergs:UnsecuredLongTermBorrowingsAtFairValueMember2021-12-310000886982gs:OtherFinancialLiabilitiesMembergs:UnsecuredLongTermBorrowingsAtFairValueMember2023-01-012023-12-310000886982gs:OtherFinancialLiabilitiesMembergs:UnsecuredLongTermBorrowingsAtFairValueMember2022-01-012022-12-310000886982gs:OtherFinancialLiabilitiesMembergs:UnsecuredLongTermBorrowingsAtFairValueMember2023-12-310000886982gs:OtherFinancialLiabilitiesMemberus-gaap:OtherLiabilitiesMember2022-12-310000886982gs:OtherFinancialLiabilitiesMemberus-gaap:OtherLiabilitiesMember2021-12-310000886982gs:OtherFinancialLiabilitiesMemberus-gaap:OtherLiabilitiesMember2023-01-012023-12-310000886982gs:OtherFinancialLiabilitiesMemberus-gaap:OtherLiabilitiesMember2022-01-012022-12-310000886982gs:OtherFinancialLiabilitiesMemberus-gaap:OtherLiabilitiesMember2023-12-310000886982gs:OtherFinancialLiabilitiesMembergs:MarketMakingMember2023-01-012023-12-310000886982gs:OtherFinancialLiabilitiesMembergs:OtherPrincipalTransactionsMember2023-01-012023-12-310000886982gs:OtherFinancialLiabilitiesMemberus-gaap:InterestExpenseMember2023-01-012023-12-310000886982gs:OtherFinancialLiabilitiesMembergs:DebtValuationAdjustmentMember2023-01-012023-12-310000886982gs:OtherFinancialLiabilitiesMembergs:MarketMakingMember2022-01-012022-12-310000886982gs:OtherFinancialLiabilitiesMembergs:OtherPrincipalTransactionsMember2022-01-012022-12-310000886982gs:OtherFinancialLiabilitiesMemberus-gaap:InterestExpenseMember2022-01-012022-12-310000886982gs:OtherFinancialLiabilitiesMembergs:DebtValuationAdjustmentMember2022-01-012022-12-310000886982gs:TradingCashInstrumentsFairValueDisclosureMember2023-12-310000886982gs:TradingCashInstrumentsFairValueDisclosureMember2022-12-310000886982us-gaap:FixedIncomeInterestRateMember2023-01-012023-12-310000886982us-gaap:FixedIncomeInterestRateMember2022-01-012022-12-310000886982us-gaap:FixedIncomeInterestRateMember2021-01-012021-12-310000886982us-gaap:CreditMember2023-01-012023-12-310000886982us-gaap:CreditMember2022-01-012022-12-310000886982us-gaap:CreditMember2021-01-012021-12-310000886982us-gaap:ForeignExchangeMember2023-01-012023-12-310000886982us-gaap:ForeignExchangeMember2022-01-012022-12-310000886982us-gaap:ForeignExchangeMember2021-01-012021-12-310000886982us-gaap:EquityMember2023-01-012023-12-310000886982us-gaap:EquityMember2022-01-012022-12-310000886982us-gaap:EquityMember2021-01-012021-12-310000886982us-gaap:CommodityMember2023-01-012023-12-310000886982us-gaap:CommodityMember2022-01-012022-12-310000886982us-gaap:CommodityMember2021-01-012021-12-310000886982us-gaap:ExchangeTradedMemberus-gaap:NondesignatedMemberus-gaap:InterestRateContractMember2023-12-310000886982us-gaap:ExchangeTradedMemberus-gaap:NondesignatedMemberus-gaap:InterestRateContractMember2022-12-310000886982us-gaap:NondesignatedMemberus-gaap:ExchangeClearedMemberus-gaap:InterestRateContractMember2023-12-310000886982us-gaap:NondesignatedMemberus-gaap:ExchangeClearedMemberus-gaap:InterestRateContractMember2022-12-310000886982gs:BilateralOtcMemberus-gaap:NondesignatedMemberus-gaap:InterestRateContractMember2023-12-310000886982gs:BilateralOtcMemberus-gaap:NondesignatedMemberus-gaap:InterestRateContractMember2022-12-310000886982us-gaap:NondesignatedMemberus-gaap:InterestRateContractMember2023-12-310000886982us-gaap:NondesignatedMemberus-gaap:InterestRateContractMember2022-12-310000886982us-gaap:CreditRiskContractMemberus-gaap:NondesignatedMemberus-gaap:ExchangeClearedMember2023-12-310000886982us-gaap:CreditRiskContractMemberus-gaap:NondesignatedMemberus-gaap:ExchangeClearedMember2022-12-310000886982gs:BilateralOtcMemberus-gaap:CreditRiskContractMemberus-gaap:NondesignatedMember2023-12-310000886982gs:BilateralOtcMemberus-gaap:CreditRiskContractMemberus-gaap:NondesignatedMember2022-12-310000886982us-gaap:CreditRiskContractMemberus-gaap:NondesignatedMember2023-12-310000886982us-gaap:CreditRiskContractMemberus-gaap:NondesignatedMember2022-12-310000886982us-gaap:ExchangeTradedMemberus-gaap:ForeignExchangeContractMemberus-gaap:NondesignatedMember2023-12-310000886982us-gaap:ExchangeTradedMemberus-gaap:ForeignExchangeContractMemberus-gaap:NondesignatedMember2022-12-310000886982us-gaap:ForeignExchangeContractMemberus-gaap:NondesignatedMemberus-gaap:ExchangeClearedMember2023-12-310000886982us-gaap:ForeignExchangeContractMemberus-gaap:NondesignatedMemberus-gaap:ExchangeClearedMember2022-12-310000886982us-gaap:ForeignExchangeContractMembergs:BilateralOtcMemberus-gaap:NondesignatedMember2023-12-310000886982us-gaap:ForeignExchangeContractMembergs:BilateralOtcMemberus-gaap:NondesignatedMember2022-12-310000886982us-gaap:ForeignExchangeContractMemberus-gaap:NondesignatedMember2023-12-310000886982us-gaap:ForeignExchangeContractMemberus-gaap:NondesignatedMember2022-12-310000886982us-gaap:ExchangeTradedMemberus-gaap:CommodityContractMemberus-gaap:NondesignatedMember2023-12-310000886982us-gaap:ExchangeTradedMemberus-gaap:CommodityContractMemberus-gaap:NondesignatedMember2022-12-310000886982us-gaap:CommodityContractMemberus-gaap:NondesignatedMemberus-gaap:ExchangeClearedMember2023-12-310000886982us-gaap:CommodityContractMemberus-gaap:NondesignatedMemberus-gaap:ExchangeClearedMember2022-12-310000886982us-gaap:CommodityContractMembergs:BilateralOtcMemberus-gaap:NondesignatedMember2023-12-310000886982us-gaap:CommodityContractMembergs:BilateralOtcMemberus-gaap:NondesignatedMember2022-12-310000886982us-gaap:CommodityContractMemberus-gaap:NondesignatedMember2023-12-310000886982us-gaap:CommodityContractMemberus-gaap:NondesignatedMember2022-12-310000886982us-gaap:ExchangeTradedMemberus-gaap:EquityContractMemberus-gaap:NondesignatedMember2023-12-310000886982us-gaap:ExchangeTradedMemberus-gaap:EquityContractMemberus-gaap:NondesignatedMember2022-12-310000886982us-gaap:EquityContractMemberus-gaap:NondesignatedMemberus-gaap:ExchangeClearedMember2023-12-310000886982us-gaap:EquityContractMemberus-gaap:NondesignatedMemberus-gaap:ExchangeClearedMember2022-12-310000886982us-gaap:EquityContractMembergs:BilateralOtcMemberus-gaap:NondesignatedMember2023-12-310000886982us-gaap:EquityContractMembergs:BilateralOtcMemberus-gaap:NondesignatedMember2022-12-310000886982us-gaap:EquityContractMemberus-gaap:NondesignatedMember2023-12-310000886982us-gaap:EquityContractMemberus-gaap:NondesignatedMember2022-12-310000886982us-gaap:NondesignatedMember2023-12-310000886982us-gaap:NondesignatedMember2022-12-310000886982us-gaap:DesignatedAsHedgingInstrumentMembergs:BilateralOtcMemberus-gaap:InterestRateContractMember2023-12-310000886982us-gaap:DesignatedAsHedgingInstrumentMembergs:BilateralOtcMemberus-gaap:InterestRateContractMember2022-12-310000886982us-gaap:DesignatedAsHedgingInstrumentMemberus-gaap:InterestRateContractMember2023-12-310000886982us-gaap:DesignatedAsHedgingInstrumentMemberus-gaap:InterestRateContractMember2022-12-310000886982us-gaap:DesignatedAsHedgingInstrumentMemberus-gaap:ForeignExchangeContractMemberus-gaap:ExchangeClearedMember2023-12-310000886982us-gaap:DesignatedAsHedgingInstrumentMemberus-gaap:ForeignExchangeContractMemberus-gaap:ExchangeClearedMember2022-12-310000886982us-gaap:DesignatedAsHedgingInstrumentMemberus-gaap:ForeignExchangeContractMembergs:BilateralOtcMember2023-12-310000886982us-gaap:DesignatedAsHedgingInstrumentMemberus-gaap:ForeignExchangeContractMembergs:BilateralOtcMember2022-12-310000886982us-gaap:DesignatedAsHedgingInstrumentMemberus-gaap:ForeignExchangeContractMember2023-12-310000886982us-gaap:DesignatedAsHedgingInstrumentMemberus-gaap:ForeignExchangeContractMember2022-12-310000886982us-gaap:DesignatedAsHedgingInstrumentMember2023-12-310000886982us-gaap:DesignatedAsHedgingInstrumentMember2022-12-310000886982us-gaap:ExchangeTradedMembergs:CounterpartyNettingMember2023-12-310000886982us-gaap:ExchangeTradedMembergs:CounterpartyNettingMember2022-12-310000886982us-gaap:ExchangeClearedMembergs:CounterpartyNettingMember2023-12-310000886982us-gaap:ExchangeClearedMembergs:CounterpartyNettingMember2022-12-310000886982gs:BilateralOtcMembergs:CounterpartyNettingMember2023-12-310000886982gs:BilateralOtcMembergs:CounterpartyNettingMember2022-12-310000886982gs:CounterpartyNettingMember2023-12-310000886982gs:CounterpartyNettingMember2022-12-310000886982gs:CashCollateralNettingAdjustmentMemberus-gaap:ExchangeClearedMember2023-12-310000886982gs:CashCollateralNettingAdjustmentMemberus-gaap:ExchangeClearedMember2022-12-310000886982gs:CashCollateralNettingAdjustmentMembergs:BilateralOtcMember2023-12-310000886982gs:CashCollateralNettingAdjustmentMembergs:BilateralOtcMember2022-12-310000886982gs:CashCollateralNettingAdjustmentMember2023-12-310000886982gs:CashCollateralNettingAdjustmentMember2022-12-310000886982us-gaap:ExchangeTradedMember2023-12-310000886982us-gaap:ExchangeTradedMember2022-12-310000886982us-gaap:ExchangeClearedMember2023-12-310000886982us-gaap:ExchangeClearedMember2022-12-310000886982gs:BilateralOtcMember2023-12-310000886982gs:BilateralOtcMember2022-12-310000886982us-gaap:ExchangeTradedMemberus-gaap:CreditRiskContractMemberus-gaap:NondesignatedMember2023-12-310000886982us-gaap:ExchangeTradedMemberus-gaap:CreditRiskContractMemberus-gaap:NondesignatedMember2022-12-310000886982us-gaap:DesignatedAsHedgingInstrumentMemberus-gaap:ExchangeClearedMemberus-gaap:InterestRateContractMember2023-12-310000886982us-gaap:DesignatedAsHedgingInstrumentMemberus-gaap:ExchangeClearedMemberus-gaap:InterestRateContractMember2022-12-310000886982gs:DerivativesByTenorOneMemberus-gaap:OverTheCounterMemberus-gaap:InterestRateContractMember2023-12-310000886982gs:DerivativesByTenorTwoMemberus-gaap:OverTheCounterMemberus-gaap:InterestRateContractMember2023-12-310000886982gs:DerivativesByTenorThreeMemberus-gaap:OverTheCounterMemberus-gaap:InterestRateContractMember2023-12-310000886982us-gaap:OverTheCounterMemberus-gaap:InterestRateContractMember2023-12-310000886982us-gaap:CreditRiskContractMembergs:DerivativesByTenorOneMemberus-gaap:OverTheCounterMember2023-12-310000886982us-gaap:CreditRiskContractMembergs:DerivativesByTenorTwoMemberus-gaap:OverTheCounterMember2023-12-310000886982us-gaap:CreditRiskContractMembergs:DerivativesByTenorThreeMemberus-gaap:OverTheCounterMember2023-12-310000886982us-gaap:CreditRiskContractMemberus-gaap:OverTheCounterMember2023-12-310000886982us-gaap:ForeignExchangeContractMembergs:DerivativesByTenorOneMemberus-gaap:OverTheCounterMember2023-12-310000886982us-gaap:ForeignExchangeContractMembergs:DerivativesByTenorTwoMemberus-gaap:OverTheCounterMember2023-12-310000886982us-gaap:ForeignExchangeContractMembergs:DerivativesByTenorThreeMemberus-gaap:OverTheCounterMember2023-12-310000886982us-gaap:ForeignExchangeContractMemberus-gaap:OverTheCounterMember2023-12-310000886982us-gaap:CommodityContractMembergs:DerivativesByTenorOneMemberus-gaap:OverTheCounterMember2023-12-310000886982us-gaap:CommodityContractMembergs:DerivativesByTenorTwoMemberus-gaap:OverTheCounterMember2023-12-310000886982us-gaap:CommodityContractMembergs:DerivativesByTenorThreeMemberus-gaap:OverTheCounterMember2023-12-310000886982us-gaap:CommodityContractMemberus-gaap:OverTheCounterMember2023-12-310000886982us-gaap:EquityContractMembergs:DerivativesByTenorOneMemberus-gaap:OverTheCounterMember2023-12-310000886982us-gaap:EquityContractMembergs:DerivativesByTenorTwoMemberus-gaap:OverTheCounterMember2023-12-310000886982us-gaap:EquityContractMembergs:DerivativesByTenorThreeMemberus-gaap:OverTheCounterMember2023-12-310000886982us-gaap:EquityContractMemberus-gaap:OverTheCounterMember2023-12-310000886982gs:CounterpartyNettingAdjustmentWithinTenorsMembergs:DerivativesByTenorOneMemberus-gaap:OverTheCounterMember2023-12-310000886982gs:CounterpartyNettingAdjustmentWithinTenorsMembergs:DerivativesByTenorTwoMemberus-gaap:OverTheCounterMember2023-12-310000886982gs:CounterpartyNettingAdjustmentWithinTenorsMembergs:DerivativesByTenorThreeMemberus-gaap:OverTheCounterMember2023-12-310000886982gs:CounterpartyNettingAdjustmentWithinTenorsMemberus-gaap:OverTheCounterMember2023-12-310000886982gs:DerivativesByTenorOneMemberus-gaap:OverTheCounterMember2023-12-310000886982gs:DerivativesByTenorTwoMemberus-gaap:OverTheCounterMember2023-12-310000886982gs:DerivativesByTenorThreeMemberus-gaap:OverTheCounterMember2023-12-310000886982us-gaap:OverTheCounterMember2023-12-310000886982gs:CrossMaturityNettingAdjustmentMemberus-gaap:OverTheCounterMember2023-12-310000886982gs:CashCollateralNettingAdjustmentMemberus-gaap:OverTheCounterMember2023-12-310000886982gs:CounterpartyAndCashCollateralNettingAdjustmentMemberus-gaap:OverTheCounterMember2023-12-310000886982gs:DerivativesByTenorOneMemberus-gaap:OverTheCounterMemberus-gaap:InterestRateContractMember2022-12-310000886982gs:DerivativesByTenorTwoMemberus-gaap:OverTheCounterMemberus-gaap:InterestRateContractMember2022-12-310000886982gs:DerivativesByTenorThreeMemberus-gaap:OverTheCounterMemberus-gaap:InterestRateContractMember2022-12-310000886982us-gaap:OverTheCounterMemberus-gaap:InterestRateContractMember2022-12-310000886982us-gaap:CreditRiskContractMembergs:DerivativesByTenorOneMemberus-gaap:OverTheCounterMember2022-12-310000886982us-gaap:CreditRiskContractMembergs:DerivativesByTenorTwoMemberus-gaap:OverTheCounterMember2022-12-310000886982us-gaap:CreditRiskContractMembergs:DerivativesByTenorThreeMemberus-gaap:OverTheCounterMember2022-12-310000886982us-gaap:CreditRiskContractMemberus-gaap:OverTheCounterMember2022-12-310000886982us-gaap:ForeignExchangeContractMembergs:DerivativesByTenorOneMemberus-gaap:OverTheCounterMember2022-12-310000886982us-gaap:ForeignExchangeContractMembergs:DerivativesByTenorTwoMemberus-gaap:OverTheCounterMember2022-12-310000886982us-gaap:ForeignExchangeContractMembergs:DerivativesByTenorThreeMemberus-gaap:OverTheCounterMember2022-12-310000886982us-gaap:ForeignExchangeContractMemberus-gaap:OverTheCounterMember2022-12-310000886982us-gaap:CommodityContractMembergs:DerivativesByTenorOneMemberus-gaap:OverTheCounterMember2022-12-310000886982us-gaap:CommodityContractMembergs:DerivativesByTenorTwoMemberus-gaap:OverTheCounterMember2022-12-310000886982us-gaap:CommodityContractMembergs:DerivativesByTenorThreeMemberus-gaap:OverTheCounterMember2022-12-310000886982us-gaap:CommodityContractMemberus-gaap:OverTheCounterMember2022-12-310000886982us-gaap:EquityContractMembergs:DerivativesByTenorOneMemberus-gaap:OverTheCounterMember2022-12-310000886982us-gaap:EquityContractMembergs:DerivativesByTenorTwoMemberus-gaap:OverTheCounterMember2022-12-310000886982us-gaap:EquityContractMembergs:DerivativesByTenorThreeMemberus-gaap:OverTheCounterMember2022-12-310000886982us-gaap:EquityContractMemberus-gaap:OverTheCounterMember2022-12-310000886982gs:CounterpartyNettingAdjustmentWithinTenorsMembergs:DerivativesByTenorOneMemberus-gaap:OverTheCounterMember2022-12-310000886982gs:CounterpartyNettingAdjustmentWithinTenorsMembergs:DerivativesByTenorTwoMemberus-gaap:OverTheCounterMember2022-12-310000886982gs:CounterpartyNettingAdjustmentWithinTenorsMembergs:DerivativesByTenorThreeMemberus-gaap:OverTheCounterMember2022-12-310000886982gs:CounterpartyNettingAdjustmentWithinTenorsMemberus-gaap:OverTheCounterMember2022-12-310000886982gs:DerivativesByTenorOneMemberus-gaap:OverTheCounterMember2022-12-310000886982gs:DerivativesByTenorTwoMemberus-gaap:OverTheCounterMember2022-12-310000886982gs:DerivativesByTenorThreeMemberus-gaap:OverTheCounterMember2022-12-310000886982us-gaap:OverTheCounterMember2022-12-310000886982gs:CrossMaturityNettingAdjustmentMemberus-gaap:OverTheCounterMember2022-12-310000886982gs:CashCollateralNettingAdjustmentMemberus-gaap:OverTheCounterMember2022-12-310000886982gs:CounterpartyAndCashCollateralNettingAdjustmentMemberus-gaap:OverTheCounterMember2022-12-310000886982gs:DerivativesByTenorOneMembergs:CreditSpreadOnUnderlyingBasisPointsOneMember2023-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsTwoMembergs:DerivativesByTenorOneMember2023-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsThreeMembergs:DerivativesByTenorOneMember2023-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsFourMembergs:DerivativesByTenorOneMember2023-12-310000886982gs:DerivativesByTenorOneMember2023-12-310000886982gs:DerivativesByTenorTwoMembergs:CreditSpreadOnUnderlyingBasisPointsOneMember2023-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsTwoMembergs:DerivativesByTenorTwoMember2023-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsThreeMembergs:DerivativesByTenorTwoMember2023-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsFourMembergs:DerivativesByTenorTwoMember2023-12-310000886982gs:DerivativesByTenorTwoMember2023-12-310000886982gs:DerivativesByTenorThreeMembergs:CreditSpreadOnUnderlyingBasisPointsOneMember2023-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsTwoMembergs:DerivativesByTenorThreeMember2023-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsThreeMembergs:DerivativesByTenorThreeMember2023-12-310000886982gs:DerivativesByTenorThreeMembergs:CreditSpreadOnUnderlyingBasisPointsFourMember2023-12-310000886982gs:DerivativesByTenorThreeMember2023-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsOneMember2023-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsTwoMember2023-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsThreeMember2023-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsFourMember2023-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsOneMembergs:OffsettingPurchasedCreditDerivativesMember2023-01-012023-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsTwoMembergs:OffsettingPurchasedCreditDerivativesMember2023-01-012023-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsThreeMembergs:OffsettingPurchasedCreditDerivativesMember2023-01-012023-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsFourMembergs:OffsettingPurchasedCreditDerivativesMember2023-01-012023-12-310000886982gs:OffsettingPurchasedCreditDerivativesMember2023-01-012023-12-310000886982gs:OtherPurchasedCreditDerivativesMembergs:CreditSpreadOnUnderlyingBasisPointsOneMember2023-01-012023-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsTwoMembergs:OtherPurchasedCreditDerivativesMember2023-01-012023-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsThreeMembergs:OtherPurchasedCreditDerivativesMember2023-01-012023-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsFourMembergs:OtherPurchasedCreditDerivativesMember2023-01-012023-12-310000886982gs:OtherPurchasedCreditDerivativesMember2023-01-012023-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsOneMember2023-01-012023-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsTwoMember2023-01-012023-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsThreeMember2023-01-012023-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsFourMember2023-01-012023-12-310000886982gs:WrittenCreditDerivativeMembergs:CreditSpreadOnUnderlyingBasisPointsOneMember2023-12-310000886982gs:WrittenCreditDerivativeMembergs:CreditSpreadOnUnderlyingBasisPointsTwoMember2023-12-310000886982gs:WrittenCreditDerivativeMembergs:CreditSpreadOnUnderlyingBasisPointsThreeMember2023-12-310000886982gs:WrittenCreditDerivativeMembergs:CreditSpreadOnUnderlyingBasisPointsFourMember2023-12-310000886982gs:WrittenCreditDerivativeMember2023-12-310000886982gs:DerivativesByTenorOneMembergs:CreditSpreadOnUnderlyingBasisPointsOneMember2022-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsTwoMembergs:DerivativesByTenorOneMember2022-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsThreeMembergs:DerivativesByTenorOneMember2022-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsFourMembergs:DerivativesByTenorOneMember2022-12-310000886982gs:DerivativesByTenorOneMember2022-12-310000886982gs:DerivativesByTenorTwoMembergs:CreditSpreadOnUnderlyingBasisPointsOneMember2022-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsTwoMembergs:DerivativesByTenorTwoMember2022-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsThreeMembergs:DerivativesByTenorTwoMember2022-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsFourMembergs:DerivativesByTenorTwoMember2022-12-310000886982gs:DerivativesByTenorTwoMember2022-12-310000886982gs:DerivativesByTenorThreeMembergs:CreditSpreadOnUnderlyingBasisPointsOneMember2022-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsTwoMembergs:DerivativesByTenorThreeMember2022-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsThreeMembergs:DerivativesByTenorThreeMember2022-12-310000886982gs:DerivativesByTenorThreeMembergs:CreditSpreadOnUnderlyingBasisPointsFourMember2022-12-310000886982gs:DerivativesByTenorThreeMember2022-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsOneMember2022-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsTwoMember2022-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsThreeMember2022-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsFourMember2022-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsOneMembergs:OffsettingPurchasedCreditDerivativesMember2022-01-012022-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsTwoMembergs:OffsettingPurchasedCreditDerivativesMember2022-01-012022-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsThreeMembergs:OffsettingPurchasedCreditDerivativesMember2022-01-012022-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsFourMembergs:OffsettingPurchasedCreditDerivativesMember2022-01-012022-12-310000886982gs:OffsettingPurchasedCreditDerivativesMember2022-01-012022-12-310000886982gs:OtherPurchasedCreditDerivativesMembergs:CreditSpreadOnUnderlyingBasisPointsOneMember2022-01-012022-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsTwoMembergs:OtherPurchasedCreditDerivativesMember2022-01-012022-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsThreeMembergs:OtherPurchasedCreditDerivativesMember2022-01-012022-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsFourMembergs:OtherPurchasedCreditDerivativesMember2022-01-012022-12-310000886982gs:OtherPurchasedCreditDerivativesMember2022-01-012022-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsOneMember2022-01-012022-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsTwoMember2022-01-012022-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsThreeMember2022-01-012022-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsFourMember2022-01-012022-12-310000886982gs:WrittenCreditDerivativeMembergs:CreditSpreadOnUnderlyingBasisPointsOneMember2022-12-310000886982gs:WrittenCreditDerivativeMembergs:CreditSpreadOnUnderlyingBasisPointsTwoMember2022-12-310000886982gs:WrittenCreditDerivativeMembergs:CreditSpreadOnUnderlyingBasisPointsThreeMember2022-12-310000886982gs:WrittenCreditDerivativeMembergs:CreditSpreadOnUnderlyingBasisPointsFourMember2022-12-310000886982gs:WrittenCreditDerivativeMember2022-12-310000886982us-gaap:EmbeddedDerivativeFinancialInstrumentsMember2023-12-310000886982us-gaap:EmbeddedDerivativeFinancialInstrumentsMember2022-12-310000886982gs:OneNotchReductionMember2023-12-310000886982gs:OneNotchReductionMember2022-12-310000886982gs:TwoNotchReductionMember2023-12-310000886982gs:TwoNotchReductionMember2022-12-310000886982us-gaap:DesignatedAsHedgingInstrumentMemberus-gaap:FairValueHedgingMemberus-gaap:InterestRateContractMember2023-01-012023-12-310000886982us-gaap:DesignatedAsHedgingInstrumentMemberus-gaap:FairValueHedgingMemberus-gaap:InterestRateContractMember2022-01-012022-12-310000886982us-gaap:DesignatedAsHedgingInstrumentMemberus-gaap:FairValueHedgingMemberus-gaap:InterestRateContractMember2021-01-012021-12-310000886982us-gaap:DesignatedAsHedgingInstrumentMembergs:HedgedInvestmentsMemberus-gaap:FairValueHedgingMember2023-01-012023-12-310000886982us-gaap:DesignatedAsHedgingInstrumentMembergs:HedgedInvestmentsMemberus-gaap:FairValueHedgingMember2022-01-012022-12-310000886982us-gaap:DesignatedAsHedgingInstrumentMembergs:HedgedInvestmentsMemberus-gaap:FairValueHedgingMember2021-01-012021-12-310000886982us-gaap:DesignatedAsHedgingInstrumentMemberus-gaap:FairValueHedgingMember2023-01-012023-12-310000886982us-gaap:DesignatedAsHedgingInstrumentMemberus-gaap:FairValueHedgingMember2022-01-012022-12-310000886982us-gaap:DesignatedAsHedgingInstrumentMemberus-gaap:FairValueHedgingMember2021-01-012021-12-310000886982gs:HedgedBorrowingsAndDepositsMemberus-gaap:DesignatedAsHedgingInstrumentMemberus-gaap:FairValueHedgingMember2023-01-012023-12-310000886982gs:HedgedBorrowingsAndDepositsMemberus-gaap:DesignatedAsHedgingInstrumentMemberus-gaap:FairValueHedgingMember2022-01-012022-12-310000886982gs:HedgedBorrowingsAndDepositsMemberus-gaap:DesignatedAsHedgingInstrumentMemberus-gaap:FairValueHedgingMember2021-01-012021-12-310000886982us-gaap:DesignatedAsHedgingInstrumentMemberus-gaap:InvestmentsMember2023-12-310000886982us-gaap:DepositsMemberus-gaap:DesignatedAsHedgingInstrumentMember2023-12-310000886982us-gaap:DesignatedAsHedgingInstrumentMembergs:UnsecuredShortTermBorrowingsMember2023-12-310000886982us-gaap:DesignatedAsHedgingInstrumentMembergs:UnsecuredLongTermBorrowingsMember2023-12-310000886982us-gaap:DesignatedAsHedgingInstrumentMemberus-gaap:InvestmentsMember2022-12-310000886982us-gaap:DepositsMemberus-gaap:DesignatedAsHedgingInstrumentMember2022-12-310000886982us-gaap:DesignatedAsHedgingInstrumentMembergs:UnsecuredShortTermBorrowingsMember2022-12-310000886982us-gaap:DesignatedAsHedgingInstrumentMembergs:UnsecuredLongTermBorrowingsMember2022-12-310000886982us-gaap:ForeignExchangeContractMember2021-01-012021-12-310000886982us-gaap:ForeignExchangeContractMemberus-gaap:NetInvestmentHedgingMember2023-01-012023-12-310000886982us-gaap:ForeignExchangeContractMemberus-gaap:NetInvestmentHedgingMember2022-01-012022-12-310000886982us-gaap:ForeignExchangeContractMemberus-gaap:NetInvestmentHedgingMember2021-01-012021-12-310000886982us-gaap:AccumulatedTranslationAdjustmentMemberus-gaap:NetInvestmentHedgingMember2023-01-012023-12-310000886982us-gaap:AccumulatedTranslationAdjustmentMemberus-gaap:NetInvestmentHedgingMember2022-01-012022-12-310000886982us-gaap:AccumulatedTranslationAdjustmentMemberus-gaap:NetInvestmentHedgingMember2021-01-012021-12-310000886982us-gaap:DesignatedAsHedgingInstrumentMember2023-01-012023-12-310000886982us-gaap:NetInvestmentHedgingMember2023-01-012023-12-310000886982gs:PublicEquityMember2023-12-310000886982gs:PublicEquityMember2022-12-310000886982gs:PrivateEquityMember2023-12-310000886982gs:PrivateEquityMember2022-12-310000886982gs:PublicAndPrivateEquityMember2023-12-310000886982gs:PublicAndPrivateEquityMember2022-12-310000886982gs:CorporateEquitySecuritiesMember2023-12-310000886982gs:CorporateEquitySecuritiesMember2022-12-310000886982us-gaap:RealEstateSectorMember2023-12-310000886982us-gaap:RealEstateSectorMember2022-12-310000886982gs:CorporateAndRealEstateMember2023-12-310000886982gs:CorporateAndRealEstateMember2022-12-310000886982us-gaap:EquitySecuritiesMember2023-12-310000886982us-gaap:EquitySecuritiesMember2022-12-310000886982us-gaap:FairValueOptionOtherEligibleItemsMember2023-01-012023-12-310000886982us-gaap:FairValueOptionOtherEligibleItemsMember2022-01-012022-12-310000886982us-gaap:InvestmentsMember2023-12-310000886982us-gaap:InvestmentsMember2022-12-310000886982us-gaap:CorporateDebtSecuritiesMember2023-12-310000886982us-gaap:CorporateDebtSecuritiesMember2022-12-310000886982gs:SecuritiesBackedByRealEstateMember2023-12-310000886982gs:SecuritiesBackedByRealEstateMember2022-12-310000886982gs:MoneyMarketInstrumentsMember2023-12-310000886982gs:MoneyMarketInstrumentsMember2022-12-310000886982us-gaap:OtherDebtSecuritiesMember2023-12-310000886982us-gaap:OtherDebtSecuritiesMember2022-12-310000886982us-gaap:PrivateEquityFundsMember2023-12-310000886982gs:CreditFundsMember2023-12-310000886982us-gaap:HedgeFundsMember2023-12-310000886982us-gaap:RealEstateFundsMember2023-12-310000886982us-gaap:PrivateEquityFundsMember2022-12-310000886982gs:CreditFundsMember2022-12-310000886982us-gaap:HedgeFundsMember2022-12-310000886982us-gaap:RealEstateFundsMember2022-12-310000886982us-gaap:USTreasurySecuritiesMember2023-12-310000886982us-gaap:ForeignGovernmentDebtSecuritiesMember2023-12-310000886982us-gaap:USTreasurySecuritiesMember2022-12-310000886982us-gaap:ForeignGovernmentDebtSecuritiesMember2022-12-310000886982us-gaap:USGovernmentDebtSecuritiesMember2023-12-310000886982us-gaap:AssetBackedSecuritiesMember2023-12-310000886982us-gaap:USGovernmentDebtSecuritiesMember2022-12-310000886982us-gaap:AssetBackedSecuritiesMember2022-12-310000886982gs:CorporateLoansMembergs:AmortizedCostMember2023-12-310000886982gs:FairValueMembergs:CorporateLoansMember2023-12-310000886982gs:HeldForSaleMembergs:CorporateLoansMember2023-12-310000886982gs:CommercialRealEstateLoansMembergs:AmortizedCostMember2023-12-310000886982gs:FairValueMembergs:CommercialRealEstateLoansMember2023-12-310000886982gs:HeldForSaleMembergs:CommercialRealEstateLoansMember2023-12-310000886982gs:ResidentialRealEstateLoansMembergs:AmortizedCostMember2023-12-310000886982gs:FairValueMembergs:ResidentialRealEstateLoansMember2023-12-310000886982gs:HeldForSaleMembergs:ResidentialRealEstateLoansMember2023-12-310000886982gs:SecuritiesBasedMembergs:AmortizedCostMember2023-12-310000886982gs:FairValueMembergs:SecuritiesBasedMember2023-12-310000886982gs:HeldForSaleMembergs:SecuritiesBasedMember2023-12-310000886982gs:SecuritiesBasedMember2023-12-310000886982gs:OtherCollateralizedMembergs:AmortizedCostMember2023-12-310000886982gs:FairValueMembergs:OtherCollateralizedMember2023-12-310000886982gs:HeldForSaleMembergs:OtherCollateralizedMember2023-12-310000886982gs:InstallmentMembergs:AmortizedCostMember2023-12-310000886982gs:InstallmentMembergs:FairValueMember2023-12-310000886982gs:InstallmentMembergs:HeldForSaleMember2023-12-310000886982gs:InstallmentMember2023-12-310000886982us-gaap:CreditCardReceivablesMembergs:AmortizedCostMember2023-12-310000886982gs:FairValueMemberus-gaap:CreditCardReceivablesMember2023-12-310000886982gs:HeldForSaleMemberus-gaap:CreditCardReceivablesMember2023-12-310000886982us-gaap:CreditCardReceivablesMember2023-12-310000886982gs:OtherLoansMembergs:AmortizedCostMember2023-12-310000886982gs:FairValueMembergs:OtherLoansMember2023-12-310000886982gs:HeldForSaleMembergs:OtherLoansMember2023-12-310000886982gs:AmortizedCostMember2023-12-310000886982gs:FairValueMember2023-12-310000886982gs:HeldForSaleMember2023-12-310000886982gs:CorporateLoansMembergs:AmortizedCostMember2022-12-310000886982gs:FairValueMembergs:CorporateLoansMember2022-12-310000886982gs:HeldForSaleMembergs:CorporateLoansMember2022-12-310000886982gs:CommercialRealEstateLoansMembergs:AmortizedCostMember2022-12-310000886982gs:FairValueMembergs:CommercialRealEstateLoansMember2022-12-310000886982gs:HeldForSaleMembergs:CommercialRealEstateLoansMember2022-12-310000886982gs:ResidentialRealEstateLoansMembergs:AmortizedCostMember2022-12-310000886982gs:FairValueMembergs:ResidentialRealEstateLoansMember2022-12-310000886982gs:HeldForSaleMembergs:ResidentialRealEstateLoansMember2022-12-310000886982gs:SecuritiesBasedMembergs:AmortizedCostMember2022-12-310000886982gs:FairValueMembergs:SecuritiesBasedMember2022-12-310000886982gs:HeldForSaleMembergs:SecuritiesBasedMember2022-12-310000886982gs:SecuritiesBasedMember2022-12-310000886982gs:OtherCollateralizedMembergs:AmortizedCostMember2022-12-310000886982gs:FairValueMembergs:OtherCollateralizedMember2022-12-310000886982gs:HeldForSaleMembergs:OtherCollateralizedMember2022-12-310000886982gs:InstallmentMembergs:AmortizedCostMember2022-12-310000886982gs:InstallmentMembergs:FairValueMember2022-12-310000886982gs:InstallmentMembergs:HeldForSaleMember2022-12-310000886982gs:InstallmentMember2022-12-310000886982us-gaap:CreditCardReceivablesMembergs:AmortizedCostMember2022-12-310000886982gs:FairValueMemberus-gaap:CreditCardReceivablesMember2022-12-310000886982gs:HeldForSaleMemberus-gaap:CreditCardReceivablesMember2022-12-310000886982us-gaap:CreditCardReceivablesMember2022-12-310000886982gs:OtherLoansMembergs:AmortizedCostMember2022-12-310000886982gs:FairValueMembergs:OtherLoansMember2022-12-310000886982gs:HeldForSaleMembergs:OtherLoansMember2022-12-310000886982gs:AmortizedCostMember2022-12-310000886982gs:FairValueMember2022-12-310000886982gs:HeldForSaleMember2022-12-310000886982gs:MarcusMember2023-01-012023-12-310000886982gs:GreenSkyMember2023-01-012023-12-310000886982gs:GMMember2023-01-012023-12-310000886982gs:PrivateEquityCapitalCallFacilitiesMember2023-01-012023-12-310000886982gs:FundedLoansMember2023-01-012023-12-310000886982gs:PrivateEquityCapitalCallFacilitiesMember2023-12-310000886982us-gaap:InternalNoninvestmentGradeMember2022-12-012022-12-310000886982us-gaap:InternalInvestmentGradeMember2022-12-012022-12-310000886982gs:ResidentialRealEstateLoansMemberus-gaap:InternalInvestmentGradeMember2022-01-012022-12-310000886982gs:ResidentialRealEstateLoansMemberus-gaap:InternalNoninvestmentGradeMember2022-01-012022-12-310000886982gs:OtherMetricsUnratedMembergs:ResidentialRealEstateLoansMember2022-01-012022-12-310000886982us-gaap:InternalInvestmentGradeMembergs:AmortizedCostMember2023-12-310000886982us-gaap:InternalNoninvestmentGradeMembergs:AmortizedCostMember2023-12-310000886982gs:OtherMetricsUnratedMembergs:AmortizedCostMember2023-12-310000886982us-gaap:InternalInvestmentGradeMember2023-12-310000886982us-gaap:InternalNoninvestmentGradeMember2023-12-310000886982gs:OtherMetricsUnratedMember2023-12-310000886982gs:CorporateLoansMemberus-gaap:InternalInvestmentGradeMember2023-12-310000886982gs:CorporateLoansMemberus-gaap:InternalNoninvestmentGradeMember2023-12-310000886982gs:OtherMetricsUnratedMembergs:CorporateLoansMember2023-12-310000886982gs:CommercialRealEstateLoansMemberus-gaap:InternalInvestmentGradeMember2023-12-310000886982gs:CommercialRealEstateLoansMemberus-gaap:InternalNoninvestmentGradeMember2023-12-310000886982gs:CommercialRealEstateLoansMembergs:OtherMetricsUnratedMember2023-12-310000886982gs:ResidentialRealEstateLoansMemberus-gaap:InternalInvestmentGradeMember2023-12-310000886982gs:ResidentialRealEstateLoansMemberus-gaap:InternalNoninvestmentGradeMember2023-12-310000886982gs:OtherMetricsUnratedMembergs:ResidentialRealEstateLoansMember2023-12-310000886982us-gaap:InternalInvestmentGradeMembergs:SecuritiesBasedMember2023-12-310000886982us-gaap:InternalNoninvestmentGradeMembergs:SecuritiesBasedMember2023-12-310000886982gs:OtherMetricsUnratedMembergs:SecuritiesBasedMember2023-12-310000886982us-gaap:InternalInvestmentGradeMembergs:OtherCollateralizedMember2023-12-310000886982gs:OtherCollateralizedMemberus-gaap:InternalNoninvestmentGradeMember2023-12-310000886982gs:OtherMetricsUnratedMembergs:OtherCollateralizedMember2023-12-310000886982gs:InstallmentLoansMemberus-gaap:InternalInvestmentGradeMember2023-12-310000886982gs:InstallmentLoansMemberus-gaap:InternalNoninvestmentGradeMember2023-12-310000886982gs:OtherMetricsUnratedMembergs:InstallmentLoansMember2023-12-310000886982gs:InstallmentLoansMember2023-12-310000886982us-gaap:CreditCardReceivablesMemberus-gaap:InternalInvestmentGradeMember2023-12-310000886982us-gaap:CreditCardReceivablesMemberus-gaap:InternalNoninvestmentGradeMember2023-12-310000886982gs:OtherMetricsUnratedMemberus-gaap:CreditCardReceivablesMember2023-12-310000886982us-gaap:InternalInvestmentGradeMembergs:OtherLoansMember2023-12-310000886982us-gaap:InternalNoninvestmentGradeMembergs:OtherLoansMember2023-12-310000886982gs:OtherMetricsUnratedMembergs:OtherLoansMember2023-12-310000886982gs:SecuredLoansAndLeasesReceivableMemberus-gaap:InternalInvestmentGradeMember2023-01-012023-12-310000886982gs:SecuredLoansAndLeasesReceivableMemberus-gaap:InternalNoninvestmentGradeMember2023-01-012023-12-310000886982gs:OtherMetricsUnratedMembergs:SecuredLoansAndLeasesReceivableMember2023-01-012023-12-310000886982gs:SecuredLoansAndLeasesReceivableMember2023-01-012023-12-310000886982gs:UnsecuredLoansAndLeasesReceivableMemberus-gaap:InternalInvestmentGradeMember2023-01-012023-12-310000886982gs:UnsecuredLoansAndLeasesReceivableMemberus-gaap:InternalNoninvestmentGradeMember2023-01-012023-12-310000886982gs:OtherMetricsUnratedMembergs:UnsecuredLoansAndLeasesReceivableMember2023-01-012023-12-310000886982gs:UnsecuredLoansAndLeasesReceivableMember2023-01-012023-12-310000886982us-gaap:InternalInvestmentGradeMember2023-01-012023-12-310000886982us-gaap:InternalNoninvestmentGradeMember2023-01-012023-12-310000886982gs:OtherMetricsUnratedMember2023-01-012023-12-310000886982us-gaap:InternalInvestmentGradeMembergs:AmortizedCostMember2022-12-310000886982us-gaap:InternalNoninvestmentGradeMembergs:AmortizedCostMember2022-12-310000886982gs:OtherMetricsUnratedMembergs:AmortizedCostMember2022-12-310000886982us-gaap:InternalInvestmentGradeMember2022-12-310000886982us-gaap:InternalNoninvestmentGradeMember2022-12-310000886982gs:OtherMetricsUnratedMember2022-12-310000886982gs:CorporateLoansMemberus-gaap:InternalInvestmentGradeMember2022-12-310000886982gs:CorporateLoansMemberus-gaap:InternalNoninvestmentGradeMember2022-12-310000886982gs:OtherMetricsUnratedMembergs:CorporateLoansMember2022-12-310000886982gs:CommercialRealEstateLoansMemberus-gaap:InternalInvestmentGradeMember2022-12-310000886982gs:CommercialRealEstateLoansMemberus-gaap:InternalNoninvestmentGradeMember2022-12-310000886982gs:CommercialRealEstateLoansMembergs:OtherMetricsUnratedMember2022-12-310000886982gs:ResidentialRealEstateLoansMemberus-gaap:InternalInvestmentGradeMember2022-12-310000886982gs:ResidentialRealEstateLoansMemberus-gaap:InternalNoninvestmentGradeMember2022-12-310000886982gs:OtherMetricsUnratedMembergs:ResidentialRealEstateLoansMember2022-12-310000886982us-gaap:InternalInvestmentGradeMembergs:SecuritiesBasedMember2022-12-310000886982us-gaap:InternalNoninvestmentGradeMembergs:SecuritiesBasedMember2022-12-310000886982gs:OtherMetricsUnratedMembergs:SecuritiesBasedMember2022-12-310000886982us-gaap:InternalInvestmentGradeMembergs:OtherCollateralizedMember2022-12-310000886982gs:OtherCollateralizedMemberus-gaap:InternalNoninvestmentGradeMember2022-12-310000886982gs:OtherMetricsUnratedMembergs:OtherCollateralizedMember2022-12-310000886982gs:InstallmentLoansMemberus-gaap:InternalInvestmentGradeMember2022-12-310000886982gs:InstallmentLoansMemberus-gaap:InternalNoninvestmentGradeMember2022-12-310000886982gs:OtherMetricsUnratedMembergs:InstallmentLoansMember2022-12-310000886982gs:InstallmentLoansMember2022-12-310000886982us-gaap:CreditCardReceivablesMemberus-gaap:InternalInvestmentGradeMember2022-12-310000886982us-gaap:CreditCardReceivablesMemberus-gaap:InternalNoninvestmentGradeMember2022-12-310000886982gs:OtherMetricsUnratedMemberus-gaap:CreditCardReceivablesMember2022-12-310000886982us-gaap:InternalInvestmentGradeMembergs:OtherLoansMember2022-12-310000886982us-gaap:InternalNoninvestmentGradeMembergs:OtherLoansMember2022-12-310000886982gs:OtherMetricsUnratedMembergs:OtherLoansMember2022-12-310000886982gs:SecuredLoansAndLeasesReceivableMemberus-gaap:InternalInvestmentGradeMember2022-01-012022-12-310000886982gs:SecuredLoansAndLeasesReceivableMemberus-gaap:InternalNoninvestmentGradeMember2022-01-012022-12-310000886982gs:OtherMetricsUnratedMembergs:SecuredLoansAndLeasesReceivableMember2022-01-012022-12-310000886982gs:SecuredLoansAndLeasesReceivableMember2022-01-012022-12-310000886982gs:UnsecuredLoansAndLeasesReceivableMemberus-gaap:InternalInvestmentGradeMember2022-01-012022-12-310000886982gs:UnsecuredLoansAndLeasesReceivableMemberus-gaap:InternalNoninvestmentGradeMember2022-01-012022-12-310000886982gs:OtherMetricsUnratedMembergs:UnsecuredLoansAndLeasesReceivableMember2022-01-012022-12-310000886982gs:UnsecuredLoansAndLeasesReceivableMember2022-01-012022-12-310000886982us-gaap:InternalInvestmentGradeMember2022-01-012022-12-310000886982us-gaap:InternalNoninvestmentGradeMember2022-01-012022-12-310000886982gs:OtherMetricsUnratedMember2022-01-012022-12-310000886982gs:ResidentialRealEstateLoansMembergs:FICOCreditScoreGreaterThan740Member2022-12-310000886982gs:ResidentialRealEstateLoansMembergs:FICOCreditScoreGreaterThan740Member2023-12-310000886982gs:CorporateLoansMemberus-gaap:InternalInvestmentGradeMember2023-12-310000886982gs:CorporateLoansMemberus-gaap:InternalNoninvestmentGradeMember2023-12-310000886982gs:CorporateLoansMembergs:UnratedMember2023-12-310000886982gs:CorporateLoansMember2023-12-310000886982us-gaap:InternalInvestmentGradeMembergs:CommercialRealEstateLoansMember2023-12-310000886982us-gaap:InternalNoninvestmentGradeMembergs:CommercialRealEstateLoansMember2023-12-310000886982gs:UnratedMembergs:CommercialRealEstateLoansMember2023-12-310000886982gs:CommercialRealEstateLoansMember2023-12-310000886982gs:ResidentialRealEstateLoansMemberus-gaap:InternalInvestmentGradeMember2023-12-310000886982gs:ResidentialRealEstateLoansMemberus-gaap:InternalNoninvestmentGradeMember2023-12-310000886982gs:ResidentialRealEstateLoansMembergs:UnratedMember2023-12-310000886982gs:ResidentialRealEstateLoansMember2023-12-310000886982gs:SecuritiesBasedMemberus-gaap:InternalInvestmentGradeMember2023-12-310000886982gs:SecuritiesBasedMemberus-gaap:InternalNoninvestmentGradeMember2023-12-310000886982gs:SecuritiesBasedMembergs:UnratedMember2023-12-310000886982gs:SecuritiesBasedMember2023-12-310000886982gs:OtherCollateralizedMemberus-gaap:InternalInvestmentGradeMember2023-12-310000886982gs:OtherCollateralizedMemberus-gaap:InternalNoninvestmentGradeMember2023-12-310000886982gs:OtherCollateralizedMembergs:UnratedMember2023-12-310000886982gs:OtherCollateralizedMember2023-12-310000886982gs:OtherLoansMemberus-gaap:InternalInvestmentGradeMember2023-12-310000886982gs:OtherLoansMemberus-gaap:InternalNoninvestmentGradeMember2023-12-310000886982gs:OtherLoansMembergs:UnratedMember2023-12-310000886982gs:OtherLoansMember2023-12-310000886982gs:AllClassesExceptConsumerMemberus-gaap:InternalInvestmentGradeMember2023-12-310000886982gs:AllClassesExceptConsumerMemberus-gaap:InternalNoninvestmentGradeMember2023-12-310000886982gs:UnratedMembergs:AllClassesExceptConsumerMember2023-12-310000886982gs:AllClassesExceptConsumerMember2023-12-310000886982gs:UnratedMember2023-12-310000886982gs:CorporateLoansMemberus-gaap:InternalInvestmentGradeMember2022-12-310000886982gs:CorporateLoansMemberus-gaap:InternalNoninvestmentGradeMember2022-12-310000886982gs:CorporateLoansMembergs:UnratedMember2022-12-310000886982gs:CorporateLoansMember2022-12-310000886982us-gaap:InternalInvestmentGradeMembergs:CommercialRealEstateLoansMember2022-12-310000886982us-gaap:InternalNoninvestmentGradeMembergs:CommercialRealEstateLoansMember2022-12-310000886982gs:UnratedMembergs:CommercialRealEstateLoansMember2022-12-310000886982gs:CommercialRealEstateLoansMember2022-12-310000886982gs:ResidentialRealEstateLoansMemberus-gaap:InternalInvestmentGradeMember2022-12-310000886982gs:ResidentialRealEstateLoansMemberus-gaap:InternalNoninvestmentGradeMember2022-12-310000886982gs:ResidentialRealEstateLoansMembergs:UnratedMember2022-12-310000886982gs:ResidentialRealEstateLoansMember2022-12-310000886982gs:SecuritiesBasedMemberus-gaap:InternalInvestmentGradeMember2022-12-310000886982gs:SecuritiesBasedMemberus-gaap:InternalNoninvestmentGradeMember2022-12-310000886982gs:SecuritiesBasedMembergs:UnratedMember2022-12-310000886982gs:SecuritiesBasedMember2022-12-310000886982gs:OtherCollateralizedMemberus-gaap:InternalInvestmentGradeMember2022-12-310000886982gs:OtherCollateralizedMemberus-gaap:InternalNoninvestmentGradeMember2022-12-310000886982gs:OtherCollateralizedMembergs:UnratedMember2022-12-310000886982gs:OtherCollateralizedMember2022-12-310000886982gs:OtherLoansMemberus-gaap:InternalInvestmentGradeMember2022-12-310000886982gs:OtherLoansMemberus-gaap:InternalNoninvestmentGradeMember2022-12-310000886982gs:OtherLoansMembergs:UnratedMember2022-12-310000886982gs:OtherLoansMember2022-12-310000886982gs:AllClassesExceptConsumerMemberus-gaap:InternalInvestmentGradeMember2022-12-310000886982gs:AllClassesExceptConsumerMemberus-gaap:InternalNoninvestmentGradeMember2022-12-310000886982gs:UnratedMembergs:AllClassesExceptConsumerMember2022-12-310000886982gs:AllClassesExceptConsumerMember2022-12-310000886982gs:UnratedMember2022-12-310000886982gs:InstallmentLoansMembergs:FicoScoreGreaterThan660Memberexch:FICO2023-12-310000886982gs:InstallmentLoansMembergs:FicoScoreLessThan600Memberexch:FICO2023-12-310000886982gs:InstallmentLoansMemberexch:FICO2023-12-310000886982gs:FicoScoreGreaterThan660Memberus-gaap:CreditCardReceivablesMemberexch:FICO2023-12-310000886982us-gaap:CreditCardReceivablesMembergs:FicoScoreLessThan600Memberexch:FICO2023-12-310000886982us-gaap:CreditCardReceivablesMemberexch:FICO2023-12-310000886982gs:FicoScoreGreaterThan660Memberexch:FICO2023-12-310000886982gs:FicoScoreLessThan600Memberexch:FICO2023-12-310000886982exch:FICO2023-12-310000886982gs:InstallmentLoansMembergs:FicoScoreGreaterThan660Memberexch:FICO2023-01-012023-12-310000886982gs:InstallmentLoansMembergs:FicoScoreLessThan600Memberexch:FICO2023-01-012023-12-310000886982gs:InstallmentLoansMemberexch:FICO2023-01-012023-12-310000886982gs:FicoScoreGreaterThan660Memberus-gaap:CreditCardReceivablesMemberexch:FICO2023-01-012023-12-310000886982us-gaap:CreditCardReceivablesMembergs:FicoScoreLessThan600Memberexch:FICO2023-01-012023-12-310000886982us-gaap:CreditCardReceivablesMemberexch:FICO2023-01-012023-12-310000886982gs:FicoScoreGreaterThan660Memberexch:FICO2023-01-012023-12-310000886982gs:FicoScoreLessThan600Memberexch:FICO2023-01-012023-12-310000886982exch:FICO2023-01-012023-12-310000886982gs:InstallmentLoansMembergs:FicoScoreGreaterThan660Memberexch:FICO2022-12-310000886982gs:InstallmentLoansMembergs:FicoScoreLessThan600Memberexch:FICO2022-12-310000886982gs:InstallmentLoansMemberexch:FICO2022-12-310000886982gs:FicoScoreGreaterThan660Memberus-gaap:CreditCardReceivablesMemberexch:FICO2022-12-310000886982us-gaap:CreditCardReceivablesMembergs:FicoScoreLessThan600Memberexch:FICO2022-12-310000886982us-gaap:CreditCardReceivablesMemberexch:FICO2022-12-310000886982gs:FicoScoreGreaterThan660Memberexch:FICO2022-12-310000886982gs:FicoScoreLessThan600Memberexch:FICO2022-12-310000886982exch:FICO2022-12-310000886982gs:InstallmentLoansMembergs:FicoScoreGreaterThan660Memberexch:FICO2022-01-012022-12-310000886982gs:InstallmentLoansMembergs:FicoScoreLessThan600Memberexch:FICO2022-01-012022-12-310000886982gs:InstallmentLoansMemberexch:FICO2022-01-012022-12-310000886982gs:FicoScoreGreaterThan660Memberus-gaap:CreditCardReceivablesMemberexch:FICO2022-01-012022-12-310000886982us-gaap:CreditCardReceivablesMembergs:FicoScoreLessThan600Memberexch:FICO2022-01-012022-12-310000886982us-gaap:CreditCardReceivablesMemberexch:FICO2022-01-012022-12-310000886982gs:FicoScoreGreaterThan660Memberexch:FICO2022-01-012022-12-310000886982gs:FicoScoreLessThan600Memberexch:FICO2022-01-012022-12-310000886982exch:FICO2022-01-012022-12-310000886982srt:AmericasMembergs:CorporateLoansMember2023-01-012023-12-310000886982us-gaap:EMEAMembergs:CorporateLoansMember2023-01-012023-12-310000886982srt:AsiaMembergs:CorporateLoansMember2023-01-012023-12-310000886982gs:CorporateLoansMember2023-01-012023-12-310000886982gs:CommercialRealEstateLoansMembersrt:AmericasMember2023-01-012023-12-310000886982gs:CommercialRealEstateLoansMemberus-gaap:EMEAMember2023-01-012023-12-310000886982gs:CommercialRealEstateLoansMembersrt:AsiaMember2023-01-012023-12-310000886982gs:CommercialRealEstateLoansMember2023-01-012023-12-310000886982srt:AmericasMembergs:ResidentialRealEstateLoansMember2023-01-012023-12-310000886982us-gaap:EMEAMembergs:ResidentialRealEstateLoansMember2023-01-012023-12-310000886982srt:AsiaMembergs:ResidentialRealEstateLoansMember2023-01-012023-12-310000886982gs:ResidentialRealEstateLoansMember2023-01-012023-12-310000886982srt:AmericasMembergs:SecuritiesBasedMember2023-01-012023-12-310000886982us-gaap:EMEAMembergs:SecuritiesBasedMember2023-01-012023-12-310000886982srt:AsiaMembergs:SecuritiesBasedMember2023-01-012023-12-310000886982gs:SecuritiesBasedMember2023-01-012023-12-310000886982srt:AmericasMembergs:OtherCollateralizedMember2023-01-012023-12-310000886982us-gaap:EMEAMembergs:OtherCollateralizedMember2023-01-012023-12-310000886982srt:AsiaMembergs:OtherCollateralizedMember2023-01-012023-12-310000886982gs:OtherCollateralizedMember2023-01-012023-12-310000886982gs:InstallmentLoansMembersrt:AmericasMember2023-01-012023-12-310000886982gs:InstallmentLoansMemberus-gaap:EMEAMember2023-01-012023-12-310000886982gs:InstallmentLoansMembersrt:AsiaMember2023-01-012023-12-310000886982gs:InstallmentLoansMember2023-01-012023-12-310000886982srt:AmericasMemberus-gaap:CreditCardReceivablesMember2023-01-012023-12-310000886982us-gaap:EMEAMemberus-gaap:CreditCardReceivablesMember2023-01-012023-12-310000886982srt:AsiaMemberus-gaap:CreditCardReceivablesMember2023-01-012023-12-310000886982us-gaap:CreditCardReceivablesMember2023-01-012023-12-310000886982srt:AmericasMembergs:OtherLoansMember2023-01-012023-12-310000886982us-gaap:EMEAMembergs:OtherLoansMember2023-01-012023-12-310000886982srt:AsiaMembergs:OtherLoansMember2023-01-012023-12-310000886982gs:OtherLoansMember2023-01-012023-12-310000886982srt:AmericasMember2023-01-012023-12-310000886982us-gaap:EMEAMember2023-01-012023-12-310000886982srt:AsiaMember2023-01-012023-12-310000886982srt:AmericasMembergs:CorporateLoansMember2022-01-012022-12-310000886982us-gaap:EMEAMembergs:CorporateLoansMember2022-01-012022-12-310000886982srt:AsiaMembergs:CorporateLoansMember2022-01-012022-12-310000886982gs:CorporateLoansMember2022-01-012022-12-310000886982gs:CommercialRealEstateLoansMembersrt:AmericasMember2022-01-012022-12-310000886982gs:CommercialRealEstateLoansMemberus-gaap:EMEAMember2022-01-012022-12-310000886982gs:CommercialRealEstateLoansMembersrt:AsiaMember2022-01-012022-12-310000886982gs:CommercialRealEstateLoansMember2022-01-012022-12-310000886982srt:AmericasMembergs:ResidentialRealEstateLoansMember2022-01-012022-12-310000886982us-gaap:EMEAMembergs:ResidentialRealEstateLoansMember2022-01-012022-12-310000886982srt:AsiaMembergs:ResidentialRealEstateLoansMember2022-01-012022-12-310000886982gs:ResidentialRealEstateLoansMember2022-01-012022-12-310000886982srt:AmericasMembergs:SecuritiesBasedMember2022-01-012022-12-310000886982us-gaap:EMEAMembergs:SecuritiesBasedMember2022-01-012022-12-310000886982srt:AsiaMembergs:SecuritiesBasedMember2022-01-012022-12-310000886982gs:SecuritiesBasedMember2022-01-012022-12-310000886982srt:AmericasMembergs:OtherCollateralizedMember2022-01-012022-12-310000886982us-gaap:EMEAMembergs:OtherCollateralizedMember2022-01-012022-12-310000886982srt:AsiaMembergs:OtherCollateralizedMember2022-01-012022-12-310000886982gs:OtherCollateralizedMember2022-01-012022-12-310000886982gs:InstallmentLoansMembersrt:AmericasMember2022-01-012022-12-310000886982gs:InstallmentLoansMemberus-gaap:EMEAMember2022-01-012022-12-310000886982gs:InstallmentLoansMembersrt:AsiaMember2022-01-012022-12-310000886982gs:InstallmentLoansMember2022-01-012022-12-310000886982srt:AmericasMemberus-gaap:CreditCardReceivablesMember2022-01-012022-12-310000886982us-gaap:EMEAMemberus-gaap:CreditCardReceivablesMember2022-01-012022-12-310000886982srt:AsiaMemberus-gaap:CreditCardReceivablesMember2022-01-012022-12-310000886982us-gaap:CreditCardReceivablesMember2022-01-012022-12-310000886982srt:AmericasMembergs:OtherLoansMember2022-01-012022-12-310000886982us-gaap:EMEAMembergs:OtherLoansMember2022-01-012022-12-310000886982srt:AsiaMembergs:OtherLoansMember2022-01-012022-12-310000886982gs:OtherLoansMember2022-01-012022-12-310000886982srt:AmericasMember2022-01-012022-12-310000886982us-gaap:EMEAMember2022-01-012022-12-310000886982srt:AsiaMember2022-01-012022-12-310000886982gs:TechnologyMediaTelecommunicationsMember2023-01-012023-12-310000886982gs:DiversifiedIndustrialsMember2023-01-012023-12-310000886982us-gaap:RealEstateMember2023-01-012023-12-310000886982gs:ConsumerAndRetailMember2023-01-012023-12-310000886982us-gaap:HealthCareMember2023-01-012023-12-310000886982gs:TechnologyMediaTelecommunicationsMember2022-01-012022-12-310000886982gs:DiversifiedIndustrialsMember2022-01-012022-12-310000886982us-gaap:RealEstateMember2022-01-012022-12-310000886982us-gaap:HealthCareMember2022-01-012022-12-310000886982gs:ConsumerAndRetailMember2022-01-012022-12-310000886982us-gaap:Maturity30To90DaysMembergs:CorporateLoansMember2023-12-310000886982us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMembergs:CorporateLoansMember2023-12-310000886982gs:CorporateLoansMemberus-gaap:FinancialAssetPastDueMember2023-12-310000886982gs:CommercialRealEstateLoansMemberus-gaap:Maturity30To90DaysMember2023-12-310000886982gs:CommercialRealEstateLoansMemberus-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember2023-12-310000886982gs:CommercialRealEstateLoansMemberus-gaap:FinancialAssetPastDueMember2023-12-310000886982gs:ResidentialRealEstateLoansMemberus-gaap:Maturity30To90DaysMember2023-12-310000886982us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMembergs:ResidentialRealEstateLoansMember2023-12-310000886982gs:ResidentialRealEstateLoansMemberus-gaap:FinancialAssetPastDueMember2023-12-310000886982us-gaap:Maturity30To90DaysMembergs:SecuritiesBasedMember2023-12-310000886982us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMembergs:SecuritiesBasedMember2023-12-310000886982gs:SecuritiesBasedMemberus-gaap:FinancialAssetPastDueMember2023-12-310000886982us-gaap:Maturity30To90DaysMembergs:OtherCollateralizedMember2023-12-310000886982us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMembergs:OtherCollateralizedMember2023-12-310000886982gs:OtherCollateralizedMemberus-gaap:FinancialAssetPastDueMember2023-12-310000886982gs:InstallmentLoansMemberus-gaap:Maturity30To90DaysMember2023-12-310000886982gs:InstallmentLoansMemberus-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember2023-12-310000886982gs:InstallmentLoansMemberus-gaap:FinancialAssetPastDueMember2023-12-310000886982us-gaap:CreditCardReceivablesMemberus-gaap:Maturity30To90DaysMember2023-12-310000886982us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMemberus-gaap:CreditCardReceivablesMember2023-12-310000886982us-gaap:CreditCardReceivablesMemberus-gaap:FinancialAssetPastDueMember2023-12-310000886982us-gaap:Maturity30To90DaysMembergs:OtherLoansMember2023-12-310000886982us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMembergs:OtherLoansMember2023-12-310000886982gs:OtherLoansMemberus-gaap:FinancialAssetPastDueMember2023-12-310000886982us-gaap:Maturity30To90DaysMember2023-12-310000886982us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember2023-12-310000886982us-gaap:FinancialAssetPastDueMember2023-12-310000886982us-gaap:Maturity30To90DaysMembergs:CorporateLoansMember2022-12-310000886982us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMembergs:CorporateLoansMember2022-12-310000886982gs:CorporateLoansMemberus-gaap:FinancialAssetPastDueMember2022-12-310000886982gs:CommercialRealEstateLoansMemberus-gaap:Maturity30To90DaysMember2022-12-310000886982gs:CommercialRealEstateLoansMemberus-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember2022-12-310000886982gs:CommercialRealEstateLoansMemberus-gaap:FinancialAssetPastDueMember2022-12-310000886982gs:ResidentialRealEstateLoansMemberus-gaap:Maturity30To90DaysMember2022-12-310000886982us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMembergs:ResidentialRealEstateLoansMember2022-12-310000886982gs:ResidentialRealEstateLoansMemberus-gaap:FinancialAssetPastDueMember2022-12-310000886982us-gaap:Maturity30To90DaysMembergs:SecuritiesBasedMember2022-12-310000886982us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMembergs:SecuritiesBasedMember2022-12-310000886982gs:SecuritiesBasedMemberus-gaap:FinancialAssetPastDueMember2022-12-310000886982us-gaap:Maturity30To90DaysMembergs:OtherCollateralizedMember2022-12-310000886982us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMembergs:OtherCollateralizedMember2022-12-310000886982gs:OtherCollateralizedMemberus-gaap:FinancialAssetPastDueMember2022-12-310000886982gs:InstallmentLoansMemberus-gaap:Maturity30To90DaysMember2022-12-310000886982gs:InstallmentLoansMemberus-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember2022-12-310000886982gs:InstallmentLoansMemberus-gaap:FinancialAssetPastDueMember2022-12-310000886982us-gaap:CreditCardReceivablesMemberus-gaap:Maturity30To90DaysMember2022-12-310000886982us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMemberus-gaap:CreditCardReceivablesMember2022-12-310000886982us-gaap:CreditCardReceivablesMemberus-gaap:FinancialAssetPastDueMember2022-12-310000886982us-gaap:Maturity30To90DaysMembergs:OtherLoansMember2022-12-310000886982us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMembergs:OtherLoansMember2022-12-310000886982gs:OtherLoansMemberus-gaap:FinancialAssetPastDueMember2022-12-310000886982us-gaap:Maturity30To90DaysMember2022-12-310000886982us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember2022-12-310000886982us-gaap:FinancialAssetPastDueMember2022-12-310000886982us-gaap:CommercialPortfolioSegmentMembergs:CorporateLoansMember2023-12-310000886982us-gaap:CommercialPortfolioSegmentMembergs:CorporateLoansMembergs:AmortizedCostMember2023-12-310000886982us-gaap:CommercialPortfolioSegmentMembergs:CorporateLoansMember2022-12-310000886982us-gaap:CommercialPortfolioSegmentMembergs:CorporateLoansMembergs:AmortizedCostMember2022-12-310000886982gs:CommercialRealEstateLoansMemberus-gaap:CommercialPortfolioSegmentMember2023-12-310000886982gs:CommercialRealEstateLoansMemberus-gaap:CommercialPortfolioSegmentMembergs:AmortizedCostMember2023-12-310000886982gs:CommercialRealEstateLoansMemberus-gaap:CommercialPortfolioSegmentMember2022-12-310000886982gs:CommercialRealEstateLoansMemberus-gaap:CommercialPortfolioSegmentMembergs:AmortizedCostMember2022-12-310000886982us-gaap:CommercialPortfolioSegmentMembergs:ResidentialRealEstateLoansMember2023-12-310000886982us-gaap:CommercialPortfolioSegmentMembergs:ResidentialRealEstateLoansMembergs:AmortizedCostMember2023-12-310000886982us-gaap:CommercialPortfolioSegmentMembergs:ResidentialRealEstateLoansMember2022-12-310000886982us-gaap:CommercialPortfolioSegmentMembergs:ResidentialRealEstateLoansMembergs:AmortizedCostMember2022-12-310000886982us-gaap:CommercialPortfolioSegmentMembergs:SecuritiesBasedMember2023-12-310000886982us-gaap:CommercialPortfolioSegmentMembergs:SecuritiesBasedMembergs:AmortizedCostMember2023-12-310000886982us-gaap:CommercialPortfolioSegmentMembergs:SecuritiesBasedMember2022-12-310000886982us-gaap:CommercialPortfolioSegmentMembergs:SecuritiesBasedMembergs:AmortizedCostMember2022-12-310000886982us-gaap:CommercialPortfolioSegmentMembergs:OtherCollateralizedMember2023-12-310000886982us-gaap:CommercialPortfolioSegmentMembergs:OtherCollateralizedMembergs:AmortizedCostMember2023-12-310000886982us-gaap:CommercialPortfolioSegmentMembergs:OtherCollateralizedMember2022-12-310000886982us-gaap:CommercialPortfolioSegmentMembergs:OtherCollateralizedMembergs:AmortizedCostMember2022-12-310000886982us-gaap:CommercialPortfolioSegmentMembergs:OtherLoansMember2023-12-310000886982us-gaap:CommercialPortfolioSegmentMembergs:OtherLoansMembergs:AmortizedCostMember2023-12-310000886982us-gaap:CommercialPortfolioSegmentMembergs:OtherLoansMember2022-12-310000886982us-gaap:CommercialPortfolioSegmentMembergs:OtherLoansMembergs:AmortizedCostMember2022-12-310000886982gs:InstallmentLoansMemberus-gaap:ConsumerPortfolioSegmentMember2023-12-310000886982gs:InstallmentLoansMemberus-gaap:ConsumerPortfolioSegmentMembergs:AmortizedCostMember2023-12-310000886982gs:InstallmentLoansMemberus-gaap:ConsumerPortfolioSegmentMember2022-12-310000886982gs:InstallmentLoansMemberus-gaap:ConsumerPortfolioSegmentMembergs:AmortizedCostMember2022-12-310000886982us-gaap:ConsumerPortfolioSegmentMemberus-gaap:CreditCardReceivablesMember2023-12-310000886982us-gaap:ConsumerPortfolioSegmentMemberus-gaap:CreditCardReceivablesMembergs:AmortizedCostMember2023-12-310000886982us-gaap:ConsumerPortfolioSegmentMemberus-gaap:CreditCardReceivablesMember2022-12-310000886982us-gaap:ConsumerPortfolioSegmentMemberus-gaap:CreditCardReceivablesMembergs:AmortizedCostMember2022-12-310000886982gs:CommercialAndConsumerPortfolioSegmentMember2023-12-310000886982gs:CommercialAndConsumerPortfolioSegmentMembergs:AmortizedCostMember2023-12-310000886982gs:CommercialAndConsumerPortfolioSegmentMember2022-12-310000886982gs:CommercialAndConsumerPortfolioSegmentMembergs:AmortizedCostMember2022-12-310000886982us-gaap:CommercialPortfolioSegmentMember2023-12-310000886982us-gaap:CommercialPortfolioSegmentMember2022-12-310000886982us-gaap:ConsumerPortfolioSegmentMember2022-12-310000886982us-gaap:CommercialPortfolioSegmentMember2023-01-012023-12-310000886982us-gaap:ConsumerPortfolioSegmentMember2023-01-012023-12-310000886982us-gaap:ConsumerPortfolioSegmentMember2023-12-310000886982us-gaap:CommercialPortfolioSegmentMember2021-12-310000886982us-gaap:ConsumerPortfolioSegmentMember2021-12-310000886982us-gaap:CommercialPortfolioSegmentMember2022-01-012022-12-310000886982us-gaap:ConsumerPortfolioSegmentMember2022-01-012022-12-310000886982country:USsrt:ScenarioForecastMembergs:UnemploymentRateMember2024-06-300000886982country:USsrt:ScenarioForecastMembergs:UnemploymentRateMember2024-12-310000886982country:USsrt:ScenarioForecastMembergs:UnemploymentRateMember2025-06-300000886982gs:GdpMembercountry:USsrt:ScenarioForecastMember2024-12-310000886982gs:GdpMembercountry:USsrt:ScenarioForecastMember2025-12-310000886982gs:GdpMembercountry:USsrt:ScenarioForecastMember2026-12-310000886982country:USsrt:ScenarioForecastMember2025-03-310000886982country:USsrt:ScenarioForecastMember2024-12-310000886982us-gaap:CarryingReportedAmountFairValueDisclosureMembergs:AmortizedCostMember2023-12-310000886982us-gaap:EstimateOfFairValueFairValueDisclosureMemberus-gaap:FairValueInputsLevel2Membergs:AmortizedCostMember2023-12-310000886982us-gaap:EstimateOfFairValueFairValueDisclosureMemberus-gaap:FairValueInputsLevel3Membergs:AmortizedCostMember2023-12-310000886982us-gaap:EstimateOfFairValueFairValueDisclosureMemberus-gaap:FairValueInputsLevel12And3Membergs:AmortizedCostMember2023-12-310000886982us-gaap:CarryingReportedAmountFairValueDisclosureMember2023-12-310000886982us-gaap:EstimateOfFairValueFairValueDisclosureMemberus-gaap:FairValueInputsLevel2Member2023-12-310000886982us-gaap:EstimateOfFairValueFairValueDisclosureMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982us-gaap:EstimateOfFairValueFairValueDisclosureMemberus-gaap:FairValueInputsLevel12And3Member2023-12-310000886982us-gaap:CarryingReportedAmountFairValueDisclosureMembergs:AmortizedCostMember2022-12-310000886982us-gaap:EstimateOfFairValueFairValueDisclosureMemberus-gaap:FairValueInputsLevel2Membergs:AmortizedCostMember2022-12-310000886982us-gaap:EstimateOfFairValueFairValueDisclosureMemberus-gaap:FairValueInputsLevel3Membergs:AmortizedCostMember2022-12-310000886982us-gaap:EstimateOfFairValueFairValueDisclosureMemberus-gaap:FairValueInputsLevel12And3Membergs:AmortizedCostMember2022-12-310000886982us-gaap:CarryingReportedAmountFairValueDisclosureMember2022-12-310000886982us-gaap:EstimateOfFairValueFairValueDisclosureMemberus-gaap:FairValueInputsLevel2Member2022-12-310000886982us-gaap:EstimateOfFairValueFairValueDisclosureMemberus-gaap:FairValueInputsLevel3Member2022-12-310000886982us-gaap:EstimateOfFairValueFairValueDisclosureMemberus-gaap:FairValueInputsLevel12And3Member2022-12-310000886982gs:UnsecuredShortTermBorrowingsIncludingCurrentPortionOfUnsecuredLongTermBorrowingsAtFairValueMember2023-01-012023-12-310000886982gs:UnsecuredShortTermBorrowingsIncludingCurrentPortionOfUnsecuredLongTermBorrowingsAtFairValueMember2022-01-012022-12-310000886982gs:UnsecuredShortTermBorrowingsIncludingCurrentPortionOfUnsecuredLongTermBorrowingsAtFairValueMember2021-01-012021-12-310000886982gs:UnsecuredLongTermBorrowingsAtFairValueMember2023-01-012023-12-310000886982gs:UnsecuredLongTermBorrowingsAtFairValueMember2022-01-012022-12-310000886982gs:UnsecuredLongTermBorrowingsAtFairValueMember2021-01-012021-12-310000886982gs:FairValueOptionOtherMember2023-01-012023-12-310000886982gs:FairValueOptionOtherMember2022-01-012022-12-310000886982gs:FairValueOptionOtherMember2021-01-012021-12-310000886982gs:SecuredLongTermBorrowingsMember2023-12-310000886982gs:SecuredLongTermBorrowingsMember2022-12-310000886982gs:UnsecuredLongTermBorrowingsAtFairValueMember2023-12-310000886982gs:UnsecuredLongTermBorrowingsAtFairValueMember2022-12-310000886982gs:OtherFinancialLiabilitiesMember2021-01-012021-12-310000886982us-gaap:WrittenLoanCommitmentFairValueOptionMember2023-12-310000886982us-gaap:WrittenLoanCommitmentFairValueOptionMember2022-12-310000886982us-gaap:USTreasuryAndGovernmentMember2023-12-310000886982gs:SecuritiesBackedByCommercialRealEstateMember2023-12-310000886982gs:SecuritiesBackedByResidentialRealEstateMember2023-12-310000886982us-gaap:USStatesAndPoliticalSubdivisionsMember2023-12-310000886982us-gaap:USTreasuryAndGovernmentMember2022-12-310000886982gs:SecuritiesBackedByCommercialRealEstateMember2022-12-310000886982gs:SecuritiesBackedByResidentialRealEstateMember2022-12-310000886982us-gaap:USStatesAndPoliticalSubdivisionsMember2022-12-310000886982us-gaap:MaturityOvernightMember2023-12-310000886982us-gaap:MaturityUpTo30DaysMember2023-12-310000886982us-gaap:Maturity30To90DaysMember2023-12-310000886982gs:Maturity91DaysTo1YearMember2023-12-310000886982gs:MaturityGreaterThan1YearMember2023-12-310000886982us-gaap:NonrecourseMember2023-12-310000886982us-gaap:NonrecourseMember2022-12-310000886982currency:USD2023-12-310000886982srt:OtherCurrencyMember2023-12-310000886982currency:USD2022-12-310000886982srt:OtherCurrencyMember2022-12-310000886982us-gaap:ShortTermDebtMember2023-12-310000886982us-gaap:LongTermDebtMember2023-12-310000886982us-gaap:AssetPledgedAsCollateralWithoutRightMemberus-gaap:SecuritiesSoldUnderAgreementsToRepurchaseMember2023-12-310000886982us-gaap:AssetPledgedAsCollateralWithoutRightMemberus-gaap:SecuritiesSoldUnderAgreementsToRepurchaseMember2022-12-310000886982srt:ScenarioPreviouslyReportedMemberus-gaap:AssetPledgedAsCollateralWithRightMemberus-gaap:SecuritiesSoldUnderAgreementsToRepurchaseMember2022-12-310000886982us-gaap:AssetPledgedAsCollateralWithoutRightMembersrt:ScenarioPreviouslyReportedMemberus-gaap:SecuritiesSoldUnderAgreementsToRepurchaseMember2022-12-310000886982gs:PropertyLeaseholdImprovementsAndEquipmentMembergs:AssetAndWealthManagementMember2023-01-012023-12-310000886982us-gaap:SoftwareAndSoftwareDevelopmentCostsMember2023-01-012023-12-310000886982gs:PropertyLeaseholdImprovementsAndEquipmentMembergs:AssetAndWealthManagementMember2022-01-012022-12-310000886982gs:PropertyLeaseholdImprovementsAndEquipmentMembergs:AssetAndWealthManagementMember2021-01-012021-12-310000886982gs:InvestmentBankingMember2023-12-310000886982gs:InvestmentBankingMember2022-12-310000886982gs:GlobalMarketsFixedIncomeCurrencyAndCommoditiesMember2023-12-310000886982gs:GlobalMarketsFixedIncomeCurrencyAndCommoditiesMember2022-12-310000886982gs:GlobalMarketsEquitiesMember2023-12-310000886982gs:GlobalMarketsEquitiesMember2022-12-310000886982gs:AssetManagementMember2023-12-310000886982gs:AssetManagementMember2022-12-310000886982gs:WealthManagementMember2023-12-310000886982gs:WealthManagementMember2022-12-310000886982gs:ConsumerPlatformsMember2023-12-310000886982gs:ConsumerPlatformsMember2022-12-310000886982gs:TransactionBankingAndOtherMember2023-12-310000886982gs:TransactionBankingAndOtherMember2022-12-310000886982gs:ConsumerPlatformsMember2023-01-012023-03-310000886982gs:ConsumerPlatformsMember2023-04-012023-06-300000886982us-gaap:CustomerListsMember2023-12-310000886982us-gaap:CustomerListsMember2022-12-310000886982us-gaap:OtherIntangibleAssetsMember2023-12-310000886982us-gaap:OtherIntangibleAssetsMember2022-12-310000886982gs:GreenSkyMember2023-12-310000886982us-gaap:OtherIntangibleAssetsMember2023-01-012023-12-310000886982us-gaap:OtherIntangibleAssetsMember2022-01-012022-12-310000886982gs:OperatingLeaseRightOfUseAssetsMember2023-01-012023-12-310000886982gs:OperatingLeaseRightOfUseAssetsMember2022-01-012022-12-310000886982gs:OperatingLeaseRightOfUseAssetsMember2021-01-012021-12-310000886982gs:GreenSkyMember2023-07-012023-09-300000886982gs:FinancingReceivableAfterAllowanceForCreditLossMembergs:GreenSkyMember2023-12-310000886982us-gaap:CashAndCashEquivalentsMembergs:GreenSkyMember2023-12-310000886982gs:IntangibleAssetsNetExcludingGoodwillMembergs:GreenSkyMember2023-12-310000886982gs:OtherAssetsMiscellaneousMembergs:GreenSkyMember2023-12-310000886982gs:AssetAndWealthManagementMember2023-12-310000886982gs:AssetAndWealthManagementMember2022-12-310000886982gs:ConsumerDepositsMember2023-12-310000886982gs:PrivateBankDepositsMember2023-12-310000886982gs:BrokeredCertificatesOfDepositMember2023-12-310000886982gs:DepositSweepProgramsMember2023-12-310000886982gs:TransactionBankingMember2023-12-310000886982gs:OtherDepositsMember2023-12-310000886982gs:ConsumerDepositsMember2022-12-310000886982gs:PrivateBankDepositsMember2022-12-310000886982gs:BrokeredCertificatesOfDepositMember2022-12-310000886982gs:DepositSweepProgramsMember2022-12-310000886982gs:TransactionBankingMember2022-12-310000886982gs:OtherDepositsMember2022-12-310000886982us-gaap:GeographicDistributionDomesticMember2023-12-310000886982us-gaap:GeographicDistributionForeignMember2023-12-310000886982srt:ParentCompanyMember2023-12-310000886982srt:ParentCompanyMember2022-12-310000886982srt:ParentCompanyMembercurrency:USD2023-12-310000886982srt:ParentCompanyMembersrt:OtherCurrencyMember2023-12-310000886982srt:SubsidiariesMembercurrency:USD2023-12-310000886982srt:SubsidiariesMembersrt:OtherCurrencyMember2023-12-310000886982srt:SubsidiariesMember2023-12-310000886982srt:ParentCompanyMembercurrency:USD2022-12-310000886982srt:ParentCompanyMembersrt:OtherCurrencyMember2022-12-310000886982srt:SubsidiariesMembercurrency:USD2022-12-310000886982srt:SubsidiariesMembersrt:OtherCurrencyMember2022-12-310000886982srt:SubsidiariesMember2022-12-310000886982us-gaap:UnsecuredDebtMembercurrency:USDsrt:MinimumMember2023-12-310000886982us-gaap:UnsecuredDebtMembercurrency:USDsrt:MaximumMember2023-12-310000886982us-gaap:UnsecuredDebtMembercurrency:USDsrt:WeightedAverageMember2023-12-310000886982us-gaap:UnsecuredDebtMembercurrency:USDsrt:MinimumMember2022-12-310000886982us-gaap:UnsecuredDebtMembercurrency:USDsrt:MaximumMember2022-12-310000886982us-gaap:UnsecuredDebtMembercurrency:USDsrt:WeightedAverageMember2022-12-310000886982us-gaap:UnsecuredDebtMembersrt:OtherCurrencyMembersrt:MinimumMember2023-12-310000886982us-gaap:UnsecuredDebtMembersrt:OtherCurrencyMembersrt:MaximumMember2023-12-310000886982us-gaap:UnsecuredDebtMembersrt:OtherCurrencyMembersrt:WeightedAverageMember2023-12-310000886982us-gaap:UnsecuredDebtMembersrt:OtherCurrencyMembersrt:MinimumMember2022-12-310000886982us-gaap:UnsecuredDebtMembersrt:OtherCurrencyMembersrt:MaximumMember2022-12-310000886982us-gaap:UnsecuredDebtMembersrt:OtherCurrencyMembersrt:WeightedAverageMember2022-12-310000886982srt:ParentCompanyMemberus-gaap:UnsecuredDebtMember2023-12-310000886982us-gaap:UnsecuredDebtMembersrt:SubsidiariesMember2023-12-310000886982us-gaap:UnsecuredDebtMember2023-12-310000886982us-gaap:EstimateOfFairValueFairValueDisclosureMember2023-12-310000886982us-gaap:EstimateOfFairValueFairValueDisclosureMember2022-12-310000886982us-gaap:SubordinatedDebtMember2023-12-310000886982us-gaap:JuniorSubordinatedDebtMember2023-12-310000886982us-gaap:SubordinatedDebtMember2022-12-310000886982us-gaap:JuniorSubordinatedDebtMember2022-12-310000886982gs:CapitalIMember2004-12-310000886982gs:CapitalIMember2023-12-310000886982gs:CapitalIMember2022-12-310000886982us-gaap:ResidentialMortgageBackedSecuritiesMember2023-12-310000886982us-gaap:ResidentialMortgageBackedSecuritiesMember2022-12-310000886982us-gaap:ResidentialMortgageBackedSecuritiesMember2021-12-310000886982us-gaap:CommercialMortgageBackedSecuritiesMember2023-12-310000886982us-gaap:CommercialMortgageBackedSecuritiesMember2022-12-310000886982us-gaap:CommercialMortgageBackedSecuritiesMember2021-12-310000886982us-gaap:AssetBackedSecuritiesMember2023-12-310000886982us-gaap:AssetBackedSecuritiesMember2022-12-310000886982us-gaap:AssetBackedSecuritiesMember2021-12-310000886982us-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember2023-12-310000886982gs:CorporateDebtAndOtherAssetBackedSecuritiesMember2023-12-310000886982us-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember2022-12-310000886982gs:CorporateDebtAndOtherAssetBackedSecuritiesMember2022-12-310000886982gs:DerivativesAndCommitmentsMember2023-12-310000886982gs:DerivativesAndCommitmentsMember2022-12-310000886982gs:InstallmentMembergs:CorporateDebtAndOtherAssetBackedSecuritiesMember2023-12-310000886982us-gaap:MortgageBackedSecuritiesMember2023-12-310000886982us-gaap:MortgageBackedSecuritiesMember2022-12-310000886982us-gaap:MortgageBackedSecuritiesMember2023-01-012023-12-310000886982us-gaap:MortgageBackedSecuritiesMember2022-01-012022-12-310000886982gs:OtherRetainedInterestsMember2023-12-310000886982gs:OtherRetainedInterestsMember2023-01-012023-12-310000886982gs:OtherRetainedInterestsMember2022-12-310000886982gs:OtherRetainedInterestsMember2022-01-012022-12-310000886982us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2023-12-310000886982us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2022-12-310000886982us-gaap:RetainedInterestMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2023-12-310000886982us-gaap:RetainedInterestMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2022-12-310000886982us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMembergs:PurchasedInterestsMaximumExposureToLossMember2023-12-310000886982us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMembergs:PurchasedInterestsMaximumExposureToLossMember2022-12-310000886982gs:CommitmentsAndGuaranteesMaximumExposureToLossMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2023-12-310000886982gs:CommitmentsAndGuaranteesMaximumExposureToLossMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2022-12-310000886982us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:DerivativeMember2023-12-310000886982us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:DerivativeMember2022-12-310000886982us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMembergs:DebtAndEquityMaximumExposureToLossMember2023-12-310000886982us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMembergs:DebtAndEquityMaximumExposureToLossMember2022-12-310000886982us-gaap:MortgageBackedSecuritiesMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2023-12-310000886982us-gaap:MortgageBackedSecuritiesMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2022-12-310000886982us-gaap:RetainedInterestMemberus-gaap:MortgageBackedSecuritiesMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2023-12-310000886982us-gaap:RetainedInterestMemberus-gaap:MortgageBackedSecuritiesMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2022-12-310000886982us-gaap:MortgageBackedSecuritiesMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMembergs:PurchasedInterestsMaximumExposureToLossMember2023-12-310000886982us-gaap:MortgageBackedSecuritiesMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMembergs:PurchasedInterestsMaximumExposureToLossMember2022-12-310000886982us-gaap:MortgageBackedSecuritiesMembergs:CommitmentsAndGuaranteesMaximumExposureToLossMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2023-12-310000886982us-gaap:MortgageBackedSecuritiesMembergs:CommitmentsAndGuaranteesMaximumExposureToLossMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2022-12-310000886982us-gaap:MortgageBackedSecuritiesMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:DerivativeMember2023-12-310000886982us-gaap:MortgageBackedSecuritiesMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:DerivativeMember2022-12-310000886982us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMembergs:RealEstateCreditAndPowerRelatedAndOtherInvestingMember2023-12-310000886982us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMembergs:RealEstateCreditAndPowerRelatedAndOtherInvestingMember2022-12-310000886982gs:CommitmentsAndGuaranteesMaximumExposureToLossMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMembergs:RealEstateCreditAndPowerRelatedAndOtherInvestingMember2023-12-310000886982gs:CommitmentsAndGuaranteesMaximumExposureToLossMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMembergs:RealEstateCreditAndPowerRelatedAndOtherInvestingMember2022-12-310000886982us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMembergs:DebtAndEquityMaximumExposureToLossMembergs:RealEstateCreditAndPowerRelatedAndOtherInvestingMember2023-12-310000886982us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMembergs:DebtAndEquityMaximumExposureToLossMembergs:RealEstateCreditAndPowerRelatedAndOtherInvestingMember2022-12-310000886982us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMembergs:CorporateDebtAndOtherAssetBackedSecuritiesMember2023-12-310000886982us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMembergs:CorporateDebtAndOtherAssetBackedSecuritiesMember2022-12-310000886982us-gaap:RetainedInterestMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMembergs:CorporateDebtAndOtherAssetBackedSecuritiesMember2023-12-310000886982us-gaap:RetainedInterestMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMembergs:CorporateDebtAndOtherAssetBackedSecuritiesMember2022-12-310000886982us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMembergs:CorporateDebtAndOtherAssetBackedSecuritiesMembergs:PurchasedInterestsMaximumExposureToLossMember2023-12-310000886982us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMembergs:CorporateDebtAndOtherAssetBackedSecuritiesMembergs:PurchasedInterestsMaximumExposureToLossMember2022-12-310000886982gs:CommitmentsAndGuaranteesMaximumExposureToLossMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMembergs:CorporateDebtAndOtherAssetBackedSecuritiesMember2023-12-310000886982gs:CommitmentsAndGuaranteesMaximumExposureToLossMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMembergs:CorporateDebtAndOtherAssetBackedSecuritiesMember2022-12-310000886982us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMembergs:CorporateDebtAndOtherAssetBackedSecuritiesMemberus-gaap:DerivativeMember2023-12-310000886982us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMembergs:CorporateDebtAndOtherAssetBackedSecuritiesMemberus-gaap:DerivativeMember2022-12-310000886982us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMembergs:DebtAndEquityMaximumExposureToLossMembergs:CorporateDebtAndOtherAssetBackedSecuritiesMember2023-12-310000886982us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMembergs:DebtAndEquityMaximumExposureToLossMembergs:CorporateDebtAndOtherAssetBackedSecuritiesMember2022-12-310000886982us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMembergs:InvestmentInFundMember2023-12-310000886982us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMembergs:InvestmentInFundMember2022-12-310000886982gs:CommitmentsAndGuaranteesMaximumExposureToLossMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMembergs:InvestmentInFundMember2023-12-310000886982gs:CommitmentsAndGuaranteesMaximumExposureToLossMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMembergs:InvestmentInFundMember2022-12-310000886982us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMembergs:DebtAndEquityMaximumExposureToLossMembergs:InvestmentInFundMember2023-12-310000886982us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMembergs:DebtAndEquityMaximumExposureToLossMembergs:InvestmentInFundMember2022-12-310000886982us-gaap:VariableInterestEntityPrimaryBeneficiaryMember2023-12-310000886982us-gaap:VariableInterestEntityPrimaryBeneficiaryMember2022-12-310000886982gs:ConsolidatedVariableInterestEntityCarryingAmountMemberus-gaap:VariableInterestEntityPrimaryBeneficiaryMember2023-12-310000886982gs:ConsolidatedVariableInterestEntityCarryingAmountMemberus-gaap:VariableInterestEntityPrimaryBeneficiaryMember2022-12-310000886982gs:RealEstateCreditRelatedAndOtherInvestingMemberus-gaap:VariableInterestEntityPrimaryBeneficiaryMember2023-12-310000886982gs:RealEstateCreditRelatedAndOtherInvestingMemberus-gaap:VariableInterestEntityPrimaryBeneficiaryMember2022-12-310000886982us-gaap:VariableInterestEntityPrimaryBeneficiaryMembergs:CorporateDebtAndOtherAssetBackedMember2023-12-310000886982us-gaap:VariableInterestEntityPrimaryBeneficiaryMembergs:CorporateDebtAndOtherAssetBackedMember2022-12-310000886982us-gaap:VariableInterestEntityPrimaryBeneficiaryMembergs:PrincipalProtectedNotesMember2023-12-310000886982us-gaap:VariableInterestEntityPrimaryBeneficiaryMembergs:PrincipalProtectedNotesMember2022-12-310000886982us-gaap:InternalInvestmentGradeMember2023-12-310000886982us-gaap:InternalInvestmentGradeMember2022-12-310000886982us-gaap:InternalNoninvestmentGradeMember2023-12-310000886982us-gaap:InternalNoninvestmentGradeMember2022-12-310000886982us-gaap:WarehouseAgreementBorrowingsMember2023-12-310000886982us-gaap:WarehouseAgreementBorrowingsMember2022-12-310000886982us-gaap:ConsumerLoanMember2023-12-310000886982us-gaap:ConsumerLoanMember2022-12-310000886982gs:TotalLendingCommitmentsMember2023-12-310000886982gs:TotalLendingCommitmentsMember2022-12-310000886982us-gaap:LoanParticipationsAndAssignmentsMember2023-12-31