FALSE2024December 310000886982Q2FALSEhttp://fasb.org/us-gaap/2024#InterestAndDividendIncomeOperatinghttp://fasb.org/us-gaap/2024#InterestAndDividendIncomeOperatinghttp://fasb.org/us-gaap/2024#InterestAndDividendIncomeOperating http://www.goldmansachs.com/20240630#OtherPrincipalTransactionshttp://fasb.org/us-gaap/2024#InterestAndDividendIncomeOperating http://www.goldmansachs.com/20240630#OtherPrincipalTransactionshttp://www.goldmansachs.com/20240630#TradingAssetsIncludingPledgehttp://www.goldmansachs.com/20240630#TradingAssetsIncludingPledgehttp://www.goldmansachs.com/20240630#TradingAssetsIncludingPledgehttp://www.goldmansachs.com/20240630#TradingAssetsIncludingPledgehttp://fasb.org/us-gaap/2024#TradingLiabilitieshttp://fasb.org/us-gaap/2024#TradingLiabilitieshttp://fasb.org/us-gaap/2024#TradingLiabilitieshttp://fasb.org/us-gaap/2024#TradingLiabilitieshttp://www.goldmansachs.com/20240630#MarketMaking http://www.goldmansachs.com/20240630#OtherPrincipalTransactionshttp://www.goldmansachs.com/20240630#MarketMaking http://www.goldmansachs.com/20240630#OtherPrincipalTransactionshttp://www.goldmansachs.com/20240630#MarketMaking http://www.goldmansachs.com/20240630#OtherPrincipalTransactionshttp://www.goldmansachs.com/20240630#MarketMaking http://www.goldmansachs.com/20240630#OtherPrincipalTransactionshttp://www.goldmansachs.com/20240630#MarketMaking http://www.goldmansachs.com/20240630#OtherPrincipalTransactionshttp://www.goldmansachs.com/20240630#MarketMaking http://www.goldmansachs.com/20240630#OtherPrincipalTransactionshttp://fasb.org/us-gaap/2024#OtherAssetshttp://fasb.org/us-gaap/2024#OtherAssetshttp://fasb.org/us-gaap/2024#OtherLiabilitieshttp://fasb.org/us-gaap/2024#OtherLiabilitiesxbrli:sharesiso4217:USDiso4217:USDxbrli:sharesgs:Segmentxbrli:puregs:yrutr:Y00008869822024-01-012024-06-300000886982us-gaap:CommonStockMember2024-01-012024-06-300000886982gs:SeriesAFloatingRatePreferredStockMember2024-01-012024-06-300000886982gs:SeriesCFloatingRatePreferredStockMember2024-01-012024-06-300000886982gs:SeriesDFloatingRatePreferredStockMember2024-01-012024-06-300000886982gs:FivePointSevenNineThreePercentageFixedToFloatingRateNormalApexMember2024-01-012024-06-300000886982gs:FloatingRateNormalApexMember2024-01-012024-06-300000886982gs:SeriesFMediumTermNotesCallableFixedAndFloatingRateNotesDueMarch2031OfGSFinanceCorpMember2024-01-012024-06-300000886982gs:SeriesFMediumTermNotesCallableFixedAndFloatingRateNotesDueMay2031OfGSFinanceCorpMember2024-01-012024-06-3000008869822024-07-1900008869822024-04-012024-06-3000008869822023-04-012023-06-3000008869822023-01-012023-06-3000008869822024-06-3000008869822023-12-310000886982us-gaap:AssetPledgedAsCollateralWithRightMemberus-gaap:SecuritiesSoldUnderAgreementsToRepurchaseMember2024-06-300000886982us-gaap:AssetPledgedAsCollateralWithRightMemberus-gaap:SecuritiesSoldUnderAgreementsToRepurchaseMember2023-12-310000886982us-gaap:PreferredStockMember2024-03-310000886982us-gaap:PreferredStockMember2023-03-310000886982us-gaap:PreferredStockMember2023-12-310000886982us-gaap:PreferredStockMember2022-12-310000886982us-gaap:PreferredStockMember2024-04-012024-06-300000886982us-gaap:PreferredStockMember2023-04-012023-06-300000886982us-gaap:PreferredStockMember2024-01-012024-06-300000886982us-gaap:PreferredStockMember2023-01-012023-06-300000886982us-gaap:PreferredStockMember2024-06-300000886982us-gaap:PreferredStockMember2023-06-300000886982us-gaap:CommonStockMember2024-03-310000886982us-gaap:CommonStockMember2023-03-310000886982us-gaap:CommonStockMember2023-12-310000886982us-gaap:CommonStockMember2022-12-310000886982us-gaap:CommonStockMember2024-04-012024-06-300000886982us-gaap:CommonStockMember2023-04-012023-06-300000886982us-gaap:CommonStockMember2024-01-012024-06-300000886982us-gaap:CommonStockMember2023-01-012023-06-300000886982us-gaap:CommonStockMember2024-06-300000886982us-gaap:CommonStockMember2023-06-300000886982gs:RestrictedStockUnitsAndEmployeeStockOptionsMember2024-03-310000886982gs:RestrictedStockUnitsAndEmployeeStockOptionsMember2023-03-310000886982gs:RestrictedStockUnitsAndEmployeeStockOptionsMember2023-12-310000886982gs:RestrictedStockUnitsAndEmployeeStockOptionsMember2022-12-310000886982gs:RestrictedStockUnitsAndEmployeeStockOptionsMember2024-04-012024-06-300000886982gs:RestrictedStockUnitsAndEmployeeStockOptionsMember2023-04-012023-06-300000886982gs:RestrictedStockUnitsAndEmployeeStockOptionsMember2024-01-012024-06-300000886982gs:RestrictedStockUnitsAndEmployeeStockOptionsMember2023-01-012023-06-300000886982gs:RestrictedStockUnitsAndEmployeeStockOptionsMember2024-06-300000886982gs:RestrictedStockUnitsAndEmployeeStockOptionsMember2023-06-300000886982us-gaap:AdditionalPaidInCapitalMember2024-03-310000886982us-gaap:AdditionalPaidInCapitalMember2023-03-310000886982us-gaap:AdditionalPaidInCapitalMember2023-12-310000886982us-gaap:AdditionalPaidInCapitalMember2022-12-310000886982us-gaap:AdditionalPaidInCapitalMember2024-04-012024-06-300000886982us-gaap:AdditionalPaidInCapitalMember2023-04-012023-06-300000886982us-gaap:AdditionalPaidInCapitalMember2024-01-012024-06-300000886982us-gaap:AdditionalPaidInCapitalMember2023-01-012023-06-300000886982us-gaap:AdditionalPaidInCapitalMember2024-06-300000886982us-gaap:AdditionalPaidInCapitalMember2023-06-300000886982us-gaap:RetainedEarningsMember2024-03-310000886982us-gaap:RetainedEarningsMember2023-03-310000886982us-gaap:RetainedEarningsMember2023-12-310000886982us-gaap:RetainedEarningsMember2022-12-310000886982us-gaap:RetainedEarningsMember2024-04-012024-06-300000886982us-gaap:RetainedEarningsMember2023-04-012023-06-300000886982us-gaap:RetainedEarningsMember2024-01-012024-06-300000886982us-gaap:RetainedEarningsMember2023-01-012023-06-300000886982us-gaap:RetainedEarningsMember2024-06-300000886982us-gaap:RetainedEarningsMember2023-06-300000886982us-gaap:AccumulatedOtherComprehensiveIncomeMember2024-03-310000886982us-gaap:AccumulatedOtherComprehensiveIncomeMember2023-03-310000886982us-gaap:AccumulatedOtherComprehensiveIncomeMember2023-12-310000886982us-gaap:AccumulatedOtherComprehensiveIncomeMember2022-12-310000886982us-gaap:AccumulatedOtherComprehensiveIncomeMember2024-04-012024-06-300000886982us-gaap:AccumulatedOtherComprehensiveIncomeMember2023-04-012023-06-300000886982us-gaap:AccumulatedOtherComprehensiveIncomeMember2024-01-012024-06-300000886982us-gaap:AccumulatedOtherComprehensiveIncomeMember2023-01-012023-06-300000886982us-gaap:AccumulatedOtherComprehensiveIncomeMember2024-06-300000886982us-gaap:AccumulatedOtherComprehensiveIncomeMember2023-06-300000886982gs:TreasuryStockCommonAndPreferredMember2024-03-310000886982gs:TreasuryStockCommonAndPreferredMember2023-03-310000886982gs:TreasuryStockCommonAndPreferredMember2023-12-310000886982gs:TreasuryStockCommonAndPreferredMember2022-12-310000886982gs:TreasuryStockCommonAndPreferredMember2024-04-012024-06-300000886982gs:TreasuryStockCommonAndPreferredMember2023-04-012023-06-300000886982gs:TreasuryStockCommonAndPreferredMember2024-01-012024-06-300000886982gs:TreasuryStockCommonAndPreferredMember2023-01-012023-06-300000886982gs:TreasuryStockCommonAndPreferredMember2024-06-300000886982gs:TreasuryStockCommonAndPreferredMember2023-06-3000008869822023-06-3000008869822022-12-310000886982srt:MaximumMember2024-01-012024-06-300000886982us-gaap:FairValueInputsLevel1Member2024-06-300000886982us-gaap:FairValueInputsLevel1Member2024-03-310000886982us-gaap:FairValueInputsLevel1Member2023-12-310000886982us-gaap:FairValueInputsLevel2Member2024-06-300000886982us-gaap:FairValueInputsLevel2Member2024-03-310000886982us-gaap:FairValueInputsLevel2Member2023-12-310000886982us-gaap:FairValueInputsLevel3Member2024-06-300000886982us-gaap:FairValueInputsLevel3Member2024-03-310000886982us-gaap:FairValueInputsLevel3Member2023-12-310000886982gs:InvestmentsInFundsMeasuredAtNavMember2024-06-300000886982gs:InvestmentsInFundsMeasuredAtNavMember2024-03-310000886982gs:InvestmentsInFundsMeasuredAtNavMember2023-12-310000886982gs:CounterpartyAndCashCollateralNettingAdjustmentMember2024-06-300000886982gs:CounterpartyAndCashCollateralNettingAdjustmentMember2024-03-310000886982gs:CounterpartyAndCashCollateralNettingAdjustmentMember2023-12-3100008869822024-03-310000886982us-gaap:FairValueInputsLevel3Membergs:TradingCashInstrumentMember2024-06-300000886982us-gaap:FairValueInputsLevel3Membergs:TradingCashInstrumentMember2024-03-310000886982us-gaap:FairValueInputsLevel3Membergs:TradingCashInstrumentMember2023-12-310000886982us-gaap:DerivativeMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982us-gaap:DerivativeMemberus-gaap:FairValueInputsLevel3Member2024-03-310000886982us-gaap:DerivativeMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982us-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982us-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Member2024-03-310000886982us-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982us-gaap:OtherAssetsMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982us-gaap:OtherAssetsMemberus-gaap:FairValueInputsLevel3Member2024-03-310000886982us-gaap:OtherAssetsMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:USTreasuryAndGovernmentMemberus-gaap:FairValueInputsLevel1Member2024-06-300000886982us-gaap:FairValueInputsLevel2Membergs:TradingCashInstrumentsAssetsMemberus-gaap:USTreasuryAndGovernmentMember2024-06-300000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:USTreasuryAndGovernmentMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:USTreasuryAndGovernmentMember2024-06-300000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel1Memberus-gaap:ForeignGovernmentDebtSecuritiesMember2024-06-300000886982us-gaap:FairValueInputsLevel2Membergs:TradingCashInstrumentsAssetsMemberus-gaap:ForeignGovernmentDebtSecuritiesMember2024-06-300000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:ForeignGovernmentDebtSecuritiesMember2024-06-300000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:ForeignGovernmentDebtSecuritiesMember2024-06-300000886982gs:TradingCashInstrumentsAssetsMembergs:LoansAndSecuritiesBackedByCommercialRealEstateMemberus-gaap:FairValueInputsLevel1Member2024-06-300000886982us-gaap:FairValueInputsLevel2Membergs:TradingCashInstrumentsAssetsMembergs:LoansAndSecuritiesBackedByCommercialRealEstateMember2024-06-300000886982gs:TradingCashInstrumentsAssetsMembergs:LoansAndSecuritiesBackedByCommercialRealEstateMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982gs:TradingCashInstrumentsAssetsMembergs:LoansAndSecuritiesBackedByCommercialRealEstateMember2024-06-300000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel1Membergs:LoansAndSecuritiesBackedByResidentialRealEstateMember2024-06-300000886982us-gaap:FairValueInputsLevel2Membergs:TradingCashInstrumentsAssetsMembergs:LoansAndSecuritiesBackedByResidentialRealEstateMember2024-06-300000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel3Membergs:LoansAndSecuritiesBackedByResidentialRealEstateMember2024-06-300000886982gs:TradingCashInstrumentsAssetsMembergs:LoansAndSecuritiesBackedByResidentialRealEstateMember2024-06-300000886982gs:TradingCashInstrumentsAssetsMembergs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel1Member2024-06-300000886982us-gaap:FairValueInputsLevel2Membergs:TradingCashInstrumentsAssetsMembergs:CorporateLoansAndDebtSecuritiesMember2024-06-300000886982gs:TradingCashInstrumentsAssetsMembergs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982gs:TradingCashInstrumentsAssetsMembergs:CorporateLoansAndDebtSecuritiesMember2024-06-300000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:USStatesAndPoliticalSubdivisionsMemberus-gaap:FairValueInputsLevel1Member2024-06-300000886982us-gaap:FairValueInputsLevel2Membergs:TradingCashInstrumentsAssetsMemberus-gaap:USStatesAndPoliticalSubdivisionsMember2024-06-300000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:USStatesAndPoliticalSubdivisionsMember2024-06-300000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:USStatesAndPoliticalSubdivisionsMember2024-06-300000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:OtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel1Member2024-06-300000886982us-gaap:FairValueInputsLevel2Membergs:TradingCashInstrumentsAssetsMemberus-gaap:OtherDebtSecuritiesMember2024-06-300000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:OtherDebtSecuritiesMember2024-06-300000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:OtherDebtSecuritiesMember2024-06-300000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:EquitySecuritiesMemberus-gaap:FairValueInputsLevel1Member2024-06-300000886982us-gaap:FairValueInputsLevel2Membergs:TradingCashInstrumentsAssetsMemberus-gaap:EquitySecuritiesMember2024-06-300000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:EquitySecuritiesMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:EquitySecuritiesMember2024-06-300000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:CommoditiesInvestmentMemberus-gaap:FairValueInputsLevel1Member2024-06-300000886982us-gaap:FairValueInputsLevel2Membergs:TradingCashInstrumentsAssetsMemberus-gaap:CommoditiesInvestmentMember2024-06-300000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CommoditiesInvestmentMember2024-06-300000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:CommoditiesInvestmentMember2024-06-300000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel1Member2024-06-300000886982us-gaap:FairValueInputsLevel2Membergs:TradingCashInstrumentsAssetsMember2024-06-300000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982gs:TradingCashInstrumentsAssetsMember2024-06-300000886982us-gaap:USTreasuryAndGovernmentMembergs:CashInstrumentsLiabilitiesMemberus-gaap:FairValueInputsLevel1Member2024-06-300000886982us-gaap:FairValueInputsLevel2Memberus-gaap:USTreasuryAndGovernmentMembergs:CashInstrumentsLiabilitiesMember2024-06-300000886982us-gaap:USTreasuryAndGovernmentMemberus-gaap:FairValueInputsLevel3Membergs:CashInstrumentsLiabilitiesMember2024-06-300000886982us-gaap:USTreasuryAndGovernmentMembergs:CashInstrumentsLiabilitiesMember2024-06-300000886982gs:CashInstrumentsLiabilitiesMemberus-gaap:FairValueInputsLevel1Memberus-gaap:ForeignGovernmentDebtSecuritiesMember2024-06-300000886982us-gaap:FairValueInputsLevel2Membergs:CashInstrumentsLiabilitiesMemberus-gaap:ForeignGovernmentDebtSecuritiesMember2024-06-300000886982us-gaap:FairValueInputsLevel3Membergs:CashInstrumentsLiabilitiesMemberus-gaap:ForeignGovernmentDebtSecuritiesMember2024-06-300000886982gs:CashInstrumentsLiabilitiesMemberus-gaap:ForeignGovernmentDebtSecuritiesMember2024-06-300000886982gs:LoansAndSecuritiesBackedByCommercialRealEstateMembergs:CashInstrumentsLiabilitiesMemberus-gaap:FairValueInputsLevel1Member2024-06-300000886982us-gaap:FairValueInputsLevel2Membergs:LoansAndSecuritiesBackedByCommercialRealEstateMembergs:CashInstrumentsLiabilitiesMember2024-06-300000886982gs:LoansAndSecuritiesBackedByCommercialRealEstateMemberus-gaap:FairValueInputsLevel3Membergs:CashInstrumentsLiabilitiesMember2024-06-300000886982gs:LoansAndSecuritiesBackedByCommercialRealEstateMembergs:CashInstrumentsLiabilitiesMember2024-06-300000886982gs:CashInstrumentsLiabilitiesMemberus-gaap:FairValueInputsLevel1Membergs:LoansAndSecuritiesBackedByResidentialRealEstateMember2024-06-300000886982us-gaap:FairValueInputsLevel2Membergs:CashInstrumentsLiabilitiesMembergs:LoansAndSecuritiesBackedByResidentialRealEstateMember2024-06-300000886982us-gaap:FairValueInputsLevel3Membergs:CashInstrumentsLiabilitiesMembergs:LoansAndSecuritiesBackedByResidentialRealEstateMember2024-06-300000886982gs:CashInstrumentsLiabilitiesMembergs:LoansAndSecuritiesBackedByResidentialRealEstateMember2024-06-300000886982gs:CorporateLoansAndDebtSecuritiesMembergs:CashInstrumentsLiabilitiesMemberus-gaap:FairValueInputsLevel1Member2024-06-300000886982us-gaap:FairValueInputsLevel2Membergs:CorporateLoansAndDebtSecuritiesMembergs:CashInstrumentsLiabilitiesMember2024-06-300000886982gs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Membergs:CashInstrumentsLiabilitiesMember2024-06-300000886982gs:CorporateLoansAndDebtSecuritiesMembergs:CashInstrumentsLiabilitiesMember2024-06-300000886982gs:CashInstrumentsLiabilitiesMemberus-gaap:OtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel1Member2024-06-300000886982us-gaap:FairValueInputsLevel2Membergs:CashInstrumentsLiabilitiesMemberus-gaap:OtherDebtSecuritiesMember2024-06-300000886982us-gaap:FairValueInputsLevel3Membergs:CashInstrumentsLiabilitiesMemberus-gaap:OtherDebtSecuritiesMember2024-06-300000886982gs:CashInstrumentsLiabilitiesMemberus-gaap:OtherDebtSecuritiesMember2024-06-300000886982us-gaap:EquitySecuritiesMembergs:CashInstrumentsLiabilitiesMemberus-gaap:FairValueInputsLevel1Member2024-06-300000886982us-gaap:FairValueInputsLevel2Memberus-gaap:EquitySecuritiesMembergs:CashInstrumentsLiabilitiesMember2024-06-300000886982us-gaap:EquitySecuritiesMemberus-gaap:FairValueInputsLevel3Membergs:CashInstrumentsLiabilitiesMember2024-06-300000886982us-gaap:EquitySecuritiesMembergs:CashInstrumentsLiabilitiesMember2024-06-300000886982us-gaap:CommoditiesInvestmentMembergs:CashInstrumentsLiabilitiesMemberus-gaap:FairValueInputsLevel1Member2024-06-300000886982us-gaap:FairValueInputsLevel2Memberus-gaap:CommoditiesInvestmentMembergs:CashInstrumentsLiabilitiesMember2024-06-300000886982us-gaap:FairValueInputsLevel3Memberus-gaap:CommoditiesInvestmentMembergs:CashInstrumentsLiabilitiesMember2024-06-300000886982us-gaap:CommoditiesInvestmentMembergs:CashInstrumentsLiabilitiesMember2024-06-300000886982gs:CashInstrumentsLiabilitiesMemberus-gaap:FairValueInputsLevel1Member2024-06-300000886982us-gaap:FairValueInputsLevel2Membergs:CashInstrumentsLiabilitiesMember2024-06-300000886982us-gaap:FairValueInputsLevel3Membergs:CashInstrumentsLiabilitiesMember2024-06-300000886982gs:CashInstrumentsLiabilitiesMember2024-06-300000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:USTreasuryAndGovernmentMemberus-gaap:FairValueInputsLevel1Member2023-12-310000886982us-gaap:FairValueInputsLevel2Membergs:TradingCashInstrumentsAssetsMemberus-gaap:USTreasuryAndGovernmentMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:USTreasuryAndGovernmentMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:USTreasuryAndGovernmentMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel1Memberus-gaap:ForeignGovernmentDebtSecuritiesMember2023-12-310000886982us-gaap:FairValueInputsLevel2Membergs:TradingCashInstrumentsAssetsMemberus-gaap:ForeignGovernmentDebtSecuritiesMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:ForeignGovernmentDebtSecuritiesMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:ForeignGovernmentDebtSecuritiesMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:LoansAndSecuritiesBackedByCommercialRealEstateMemberus-gaap:FairValueInputsLevel1Member2023-12-310000886982us-gaap:FairValueInputsLevel2Membergs:TradingCashInstrumentsAssetsMembergs:LoansAndSecuritiesBackedByCommercialRealEstateMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:LoansAndSecuritiesBackedByCommercialRealEstateMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:LoansAndSecuritiesBackedByCommercialRealEstateMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel1Membergs:LoansAndSecuritiesBackedByResidentialRealEstateMember2023-12-310000886982us-gaap:FairValueInputsLevel2Membergs:TradingCashInstrumentsAssetsMembergs:LoansAndSecuritiesBackedByResidentialRealEstateMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel3Membergs:LoansAndSecuritiesBackedByResidentialRealEstateMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:LoansAndSecuritiesBackedByResidentialRealEstateMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel1Member2023-12-310000886982us-gaap:FairValueInputsLevel2Membergs:TradingCashInstrumentsAssetsMembergs:CorporateLoansAndDebtSecuritiesMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:CorporateLoansAndDebtSecuritiesMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:USStatesAndPoliticalSubdivisionsMemberus-gaap:FairValueInputsLevel1Member2023-12-310000886982us-gaap:FairValueInputsLevel2Membergs:TradingCashInstrumentsAssetsMemberus-gaap:USStatesAndPoliticalSubdivisionsMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:USStatesAndPoliticalSubdivisionsMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:USStatesAndPoliticalSubdivisionsMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:OtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel1Member2023-12-310000886982us-gaap:FairValueInputsLevel2Membergs:TradingCashInstrumentsAssetsMemberus-gaap:OtherDebtSecuritiesMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:OtherDebtSecuritiesMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:OtherDebtSecuritiesMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:EquitySecuritiesMemberus-gaap:FairValueInputsLevel1Member2023-12-310000886982us-gaap:FairValueInputsLevel2Membergs:TradingCashInstrumentsAssetsMemberus-gaap:EquitySecuritiesMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:EquitySecuritiesMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:EquitySecuritiesMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:CommoditiesInvestmentMemberus-gaap:FairValueInputsLevel1Member2023-12-310000886982us-gaap:FairValueInputsLevel2Membergs:TradingCashInstrumentsAssetsMemberus-gaap:CommoditiesInvestmentMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CommoditiesInvestmentMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:CommoditiesInvestmentMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel1Member2023-12-310000886982us-gaap:FairValueInputsLevel2Membergs:TradingCashInstrumentsAssetsMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982gs:TradingCashInstrumentsAssetsMember2023-12-310000886982us-gaap:USTreasuryAndGovernmentMembergs:CashInstrumentsLiabilitiesMemberus-gaap:FairValueInputsLevel1Member2023-12-310000886982us-gaap:FairValueInputsLevel2Memberus-gaap:USTreasuryAndGovernmentMembergs:CashInstrumentsLiabilitiesMember2023-12-310000886982us-gaap:USTreasuryAndGovernmentMemberus-gaap:FairValueInputsLevel3Membergs:CashInstrumentsLiabilitiesMember2023-12-310000886982us-gaap:USTreasuryAndGovernmentMembergs:CashInstrumentsLiabilitiesMember2023-12-310000886982gs:CashInstrumentsLiabilitiesMemberus-gaap:FairValueInputsLevel1Memberus-gaap:ForeignGovernmentDebtSecuritiesMember2023-12-310000886982us-gaap:FairValueInputsLevel2Membergs:CashInstrumentsLiabilitiesMemberus-gaap:ForeignGovernmentDebtSecuritiesMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:CashInstrumentsLiabilitiesMemberus-gaap:ForeignGovernmentDebtSecuritiesMember2023-12-310000886982gs:CashInstrumentsLiabilitiesMemberus-gaap:ForeignGovernmentDebtSecuritiesMember2023-12-310000886982gs:LoansAndSecuritiesBackedByCommercialRealEstateMembergs:CashInstrumentsLiabilitiesMemberus-gaap:FairValueInputsLevel1Member2023-12-310000886982us-gaap:FairValueInputsLevel2Membergs:LoansAndSecuritiesBackedByCommercialRealEstateMembergs:CashInstrumentsLiabilitiesMember2023-12-310000886982gs:LoansAndSecuritiesBackedByCommercialRealEstateMemberus-gaap:FairValueInputsLevel3Membergs:CashInstrumentsLiabilitiesMember2023-12-310000886982gs:LoansAndSecuritiesBackedByCommercialRealEstateMembergs:CashInstrumentsLiabilitiesMember2023-12-310000886982gs:CashInstrumentsLiabilitiesMemberus-gaap:FairValueInputsLevel1Membergs:LoansAndSecuritiesBackedByResidentialRealEstateMember2023-12-310000886982us-gaap:FairValueInputsLevel2Membergs:CashInstrumentsLiabilitiesMembergs:LoansAndSecuritiesBackedByResidentialRealEstateMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:CashInstrumentsLiabilitiesMembergs:LoansAndSecuritiesBackedByResidentialRealEstateMember2023-12-310000886982gs:CashInstrumentsLiabilitiesMembergs:LoansAndSecuritiesBackedByResidentialRealEstateMember2023-12-310000886982gs:CorporateLoansAndDebtSecuritiesMembergs:CashInstrumentsLiabilitiesMemberus-gaap:FairValueInputsLevel1Member2023-12-310000886982us-gaap:FairValueInputsLevel2Membergs:CorporateLoansAndDebtSecuritiesMembergs:CashInstrumentsLiabilitiesMember2023-12-310000886982gs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Membergs:CashInstrumentsLiabilitiesMember2023-12-310000886982gs:CorporateLoansAndDebtSecuritiesMembergs:CashInstrumentsLiabilitiesMember2023-12-310000886982us-gaap:EquitySecuritiesMembergs:CashInstrumentsLiabilitiesMemberus-gaap:FairValueInputsLevel1Member2023-12-310000886982us-gaap:FairValueInputsLevel2Memberus-gaap:EquitySecuritiesMembergs:CashInstrumentsLiabilitiesMember2023-12-310000886982us-gaap:EquitySecuritiesMemberus-gaap:FairValueInputsLevel3Membergs:CashInstrumentsLiabilitiesMember2023-12-310000886982us-gaap:EquitySecuritiesMembergs:CashInstrumentsLiabilitiesMember2023-12-310000886982us-gaap:CommoditiesInvestmentMembergs:CashInstrumentsLiabilitiesMemberus-gaap:FairValueInputsLevel1Member2023-12-310000886982us-gaap:FairValueInputsLevel2Memberus-gaap:CommoditiesInvestmentMembergs:CashInstrumentsLiabilitiesMember2023-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:CommoditiesInvestmentMembergs:CashInstrumentsLiabilitiesMember2023-12-310000886982us-gaap:CommoditiesInvestmentMembergs:CashInstrumentsLiabilitiesMember2023-12-310000886982gs:CashInstrumentsLiabilitiesMemberus-gaap:FairValueInputsLevel1Member2023-12-310000886982us-gaap:FairValueInputsLevel2Membergs:CashInstrumentsLiabilitiesMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:CashInstrumentsLiabilitiesMember2023-12-310000886982gs:CashInstrumentsLiabilitiesMember2023-12-310000886982gs:LoansAndSecuritiesBackedByRealEstateMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982gs:LoansAndSecuritiesBackedByRealEstateMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982gs:LoansAndSecuritiesBackedByRealEstateMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMember2024-06-300000886982gs:LoansAndSecuritiesBackedByRealEstateMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMember2024-06-300000886982gs:LoansAndSecuritiesBackedByRealEstateMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMember2024-06-300000886982gs:LoansAndSecuritiesBackedByRealEstateMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMember2023-12-310000886982gs:LoansAndSecuritiesBackedByRealEstateMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMember2023-12-310000886982gs:LoansAndSecuritiesBackedByRealEstateMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMember2023-12-310000886982gs:LoansAndSecuritiesBackedByRealEstateMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputConstantPrepaymentRateMember2024-06-300000886982gs:LoansAndSecuritiesBackedByRealEstateMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputConstantPrepaymentRateMember2024-06-300000886982gs:LoansAndSecuritiesBackedByRealEstateMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputConstantPrepaymentRateMember2024-06-300000886982gs:LoansAndSecuritiesBackedByRealEstateMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputConstantPrepaymentRateMember2023-12-310000886982gs:LoansAndSecuritiesBackedByRealEstateMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputConstantPrepaymentRateMember2023-12-310000886982gs:LoansAndSecuritiesBackedByRealEstateMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputConstantPrepaymentRateMember2023-12-310000886982us-gaap:MeasurementInputExpectedTermMembergs:LoansAndSecuritiesBackedByRealEstateMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982us-gaap:MeasurementInputExpectedTermMembergs:LoansAndSecuritiesBackedByRealEstateMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982us-gaap:MeasurementInputExpectedTermMembergs:LoansAndSecuritiesBackedByRealEstateMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982us-gaap:MeasurementInputExpectedTermMembergs:LoansAndSecuritiesBackedByRealEstateMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982us-gaap:MeasurementInputExpectedTermMembergs:LoansAndSecuritiesBackedByRealEstateMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982us-gaap:MeasurementInputExpectedTermMembergs:LoansAndSecuritiesBackedByRealEstateMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982gs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982gs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982srt:MinimumMembergs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMember2024-06-300000886982srt:MaximumMembergs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMember2024-06-300000886982srt:WeightedAverageMembergs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMember2024-06-300000886982srt:MinimumMembergs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMember2023-12-310000886982srt:MaximumMembergs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMember2023-12-310000886982srt:WeightedAverageMembergs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMember2023-12-310000886982srt:MinimumMembergs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputConstantPrepaymentRateMember2024-06-300000886982srt:MaximumMembergs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputConstantPrepaymentRateMember2024-06-300000886982srt:WeightedAverageMembergs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputConstantPrepaymentRateMember2024-06-300000886982srt:MinimumMembergs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputConstantPrepaymentRateMember2023-12-310000886982srt:MaximumMembergs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputConstantPrepaymentRateMember2023-12-310000886982srt:WeightedAverageMembergs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputConstantPrepaymentRateMember2023-12-310000886982us-gaap:MeasurementInputExpectedTermMembersrt:MinimumMembergs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982us-gaap:MeasurementInputExpectedTermMembersrt:MaximumMembergs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982us-gaap:MeasurementInputExpectedTermMembersrt:WeightedAverageMembergs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982us-gaap:MeasurementInputExpectedTermMembersrt:MinimumMembergs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982us-gaap:MeasurementInputExpectedTermMembersrt:MaximumMembergs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982us-gaap:MeasurementInputExpectedTermMembersrt:WeightedAverageMembergs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982gs:OtherCashInstrumentsMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982gs:OtherCashInstrumentsMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982gs:OtherCashInstrumentsMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMember2024-06-300000886982gs:OtherCashInstrumentsMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMember2024-06-300000886982gs:OtherCashInstrumentsMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMember2024-06-300000886982gs:OtherCashInstrumentsMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMember2023-12-310000886982gs:OtherCashInstrumentsMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMember2023-12-310000886982gs:OtherCashInstrumentsMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMember2023-12-310000886982gs:OtherCashInstrumentsMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputConstantPrepaymentRateMember2024-06-300000886982gs:OtherCashInstrumentsMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputConstantPrepaymentRateMember2024-06-300000886982gs:OtherCashInstrumentsMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputConstantPrepaymentRateMember2024-06-300000886982gs:OtherCashInstrumentsMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputConstantPrepaymentRateMember2023-12-310000886982gs:OtherCashInstrumentsMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputConstantPrepaymentRateMember2023-12-310000886982gs:OtherCashInstrumentsMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputConstantPrepaymentRateMember2023-12-310000886982us-gaap:MeasurementInputExpectedTermMembergs:OtherCashInstrumentsMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982us-gaap:MeasurementInputExpectedTermMembergs:OtherCashInstrumentsMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982us-gaap:MeasurementInputExpectedTermMembergs:OtherCashInstrumentsMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982us-gaap:MeasurementInputExpectedTermMembergs:OtherCashInstrumentsMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982us-gaap:MeasurementInputExpectedTermMembergs:OtherCashInstrumentsMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982us-gaap:MeasurementInputExpectedTermMembergs:OtherCashInstrumentsMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982gs:TradingCashInstrumentsAssetsMember2024-03-310000886982gs:TradingCashInstrumentsAssetsMember2023-03-310000886982gs:TradingCashInstrumentsAssetsMember2022-12-310000886982gs:TradingCashInstrumentsAssetsMember2024-04-012024-06-300000886982gs:TradingCashInstrumentsAssetsMember2023-04-012023-06-300000886982gs:TradingCashInstrumentsAssetsMember2024-01-012024-06-300000886982gs:TradingCashInstrumentsAssetsMember2023-01-012023-06-300000886982gs:TradingCashInstrumentsAssetsMember2023-06-300000886982gs:TradingCashInstrumentsLiabilitiesMember2024-03-310000886982gs:TradingCashInstrumentsLiabilitiesMember2023-03-310000886982gs:TradingCashInstrumentsLiabilitiesMember2023-12-310000886982gs:TradingCashInstrumentsLiabilitiesMember2022-12-310000886982gs:TradingCashInstrumentsLiabilitiesMember2024-04-012024-06-300000886982gs:TradingCashInstrumentsLiabilitiesMember2023-04-012023-06-300000886982gs:TradingCashInstrumentsLiabilitiesMember2024-01-012024-06-300000886982gs:TradingCashInstrumentsLiabilitiesMember2023-01-012023-06-300000886982gs:TradingCashInstrumentsLiabilitiesMember2024-06-300000886982gs:TradingCashInstrumentsLiabilitiesMember2023-06-300000886982gs:TradingCashInstrumentsAssetsMembergs:LoansAndSecuritiesBackedByRealEstateMember2024-03-310000886982gs:TradingCashInstrumentsAssetsMembergs:LoansAndSecuritiesBackedByRealEstateMember2023-03-310000886982gs:TradingCashInstrumentsAssetsMembergs:LoansAndSecuritiesBackedByRealEstateMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:LoansAndSecuritiesBackedByRealEstateMember2022-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:LoansAndSecuritiesBackedByRealEstateMember2024-04-012024-06-300000886982gs:TradingCashInstrumentsAssetsMembergs:LoansAndSecuritiesBackedByRealEstateMember2023-04-012023-06-300000886982gs:TradingCashInstrumentsAssetsMembergs:LoansAndSecuritiesBackedByRealEstateMember2024-01-012024-06-300000886982gs:TradingCashInstrumentsAssetsMembergs:LoansAndSecuritiesBackedByRealEstateMember2023-01-012023-06-300000886982gs:TradingCashInstrumentsAssetsMembergs:LoansAndSecuritiesBackedByRealEstateMember2024-06-300000886982gs:TradingCashInstrumentsAssetsMembergs:LoansAndSecuritiesBackedByRealEstateMember2023-06-300000886982gs:TradingCashInstrumentsAssetsMembergs:CorporateLoansAndDebtSecuritiesMember2024-03-310000886982gs:TradingCashInstrumentsAssetsMembergs:CorporateLoansAndDebtSecuritiesMember2023-03-310000886982gs:TradingCashInstrumentsAssetsMembergs:CorporateLoansAndDebtSecuritiesMember2022-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:CorporateLoansAndDebtSecuritiesMember2024-04-012024-06-300000886982gs:TradingCashInstrumentsAssetsMembergs:CorporateLoansAndDebtSecuritiesMember2023-04-012023-06-300000886982gs:TradingCashInstrumentsAssetsMembergs:CorporateLoansAndDebtSecuritiesMember2024-01-012024-06-300000886982gs:TradingCashInstrumentsAssetsMembergs:CorporateLoansAndDebtSecuritiesMember2023-01-012023-06-300000886982gs:TradingCashInstrumentsAssetsMembergs:CorporateLoansAndDebtSecuritiesMember2023-06-300000886982gs:TradingCashInstrumentsAssetsMembergs:OtherCashInstrumentsMember2024-03-310000886982gs:TradingCashInstrumentsAssetsMembergs:OtherCashInstrumentsMember2023-03-310000886982gs:TradingCashInstrumentsAssetsMembergs:OtherCashInstrumentsMember2023-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:OtherCashInstrumentsMember2022-12-310000886982gs:TradingCashInstrumentsAssetsMembergs:OtherCashInstrumentsMember2024-04-012024-06-300000886982gs:TradingCashInstrumentsAssetsMembergs:OtherCashInstrumentsMember2023-04-012023-06-300000886982gs:TradingCashInstrumentsAssetsMembergs:OtherCashInstrumentsMember2024-01-012024-06-300000886982gs:TradingCashInstrumentsAssetsMembergs:OtherCashInstrumentsMember2023-01-012023-06-300000886982gs:TradingCashInstrumentsAssetsMembergs:OtherCashInstrumentsMember2024-06-300000886982gs:TradingCashInstrumentsAssetsMembergs:OtherCashInstrumentsMember2023-06-300000886982gs:TradingCashInstrumentsAssetsFairValueDisclosureMember2024-04-012024-06-300000886982gs:MarketMakingMembergs:TradingCashInstrumentsAssetsFairValueDisclosureMember2024-04-012024-06-300000886982us-gaap:InterestIncomeMembergs:TradingCashInstrumentsAssetsFairValueDisclosureMember2024-04-012024-06-300000886982gs:TradingCashInstrumentsAssetsFairValueDisclosureMember2024-01-012024-06-300000886982gs:MarketMakingMembergs:TradingCashInstrumentsAssetsFairValueDisclosureMember2024-01-012024-06-300000886982us-gaap:InterestIncomeMembergs:TradingCashInstrumentsAssetsFairValueDisclosureMember2024-01-012024-06-300000886982gs:TradingCashInstrumentsAssetsFairValueDisclosureMember2023-04-012023-06-300000886982gs:MarketMakingMembergs:TradingCashInstrumentsAssetsFairValueDisclosureMember2023-04-012023-06-300000886982us-gaap:InterestIncomeMembergs:TradingCashInstrumentsAssetsFairValueDisclosureMember2023-04-012023-06-300000886982gs:TradingCashInstrumentsAssetsFairValueDisclosureMember2023-01-012023-06-300000886982gs:MarketMakingMembergs:TradingCashInstrumentsAssetsFairValueDisclosureMember2023-01-012023-06-300000886982us-gaap:InterestIncomeMembergs:TradingCashInstrumentsAssetsFairValueDisclosureMember2023-01-012023-06-300000886982us-gaap:InterestRateContractMemberus-gaap:DerivativeMemberus-gaap:FairValueInputsLevel1Member2024-06-300000886982us-gaap:FairValueInputsLevel2Memberus-gaap:InterestRateContractMemberus-gaap:DerivativeMember2024-06-300000886982us-gaap:InterestRateContractMemberus-gaap:DerivativeMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982us-gaap:InterestRateContractMemberus-gaap:DerivativeMember2024-06-300000886982us-gaap:DerivativeMemberus-gaap:CreditRiskContractMemberus-gaap:FairValueInputsLevel1Member2024-06-300000886982us-gaap:FairValueInputsLevel2Memberus-gaap:DerivativeMemberus-gaap:CreditRiskContractMember2024-06-300000886982us-gaap:DerivativeMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMember2024-06-300000886982us-gaap:DerivativeMemberus-gaap:CreditRiskContractMember2024-06-300000886982us-gaap:DerivativeMemberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel1Member2024-06-300000886982us-gaap:FairValueInputsLevel2Memberus-gaap:DerivativeMemberus-gaap:ForeignExchangeContractMember2024-06-300000886982us-gaap:DerivativeMemberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982us-gaap:DerivativeMemberus-gaap:ForeignExchangeContractMember2024-06-300000886982us-gaap:DerivativeMemberus-gaap:FairValueInputsLevel1Memberus-gaap:CommodityContractMember2024-06-300000886982us-gaap:FairValueInputsLevel2Memberus-gaap:DerivativeMemberus-gaap:CommodityContractMember2024-06-300000886982us-gaap:DerivativeMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CommodityContractMember2024-06-300000886982us-gaap:DerivativeMemberus-gaap:CommodityContractMember2024-06-300000886982us-gaap:DerivativeMemberus-gaap:EquityContractMemberus-gaap:FairValueInputsLevel1Member2024-06-300000886982us-gaap:FairValueInputsLevel2Memberus-gaap:DerivativeMemberus-gaap:EquityContractMember2024-06-300000886982us-gaap:DerivativeMemberus-gaap:FairValueInputsLevel3Memberus-gaap:EquityContractMember2024-06-300000886982us-gaap:DerivativeMemberus-gaap:EquityContractMember2024-06-300000886982gs:GrossFairValueOfDerivativeMemberus-gaap:DerivativeMemberus-gaap:FairValueInputsLevel1Member2024-06-300000886982us-gaap:FairValueInputsLevel2Membergs:GrossFairValueOfDerivativeMemberus-gaap:DerivativeMember2024-06-300000886982gs:GrossFairValueOfDerivativeMemberus-gaap:DerivativeMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982gs:GrossFairValueOfDerivativeMemberus-gaap:DerivativeMember2024-06-300000886982us-gaap:DerivativeMembergs:CounterpartyNettingAdjustmentWithinLevelsMemberus-gaap:FairValueInputsLevel1Member2024-06-300000886982us-gaap:FairValueInputsLevel2Memberus-gaap:DerivativeMembergs:CounterpartyNettingAdjustmentWithinLevelsMember2024-06-300000886982us-gaap:DerivativeMemberus-gaap:FairValueInputsLevel3Membergs:CounterpartyNettingAdjustmentWithinLevelsMember2024-06-300000886982us-gaap:DerivativeMembergs:CounterpartyNettingAdjustmentWithinLevelsMember2024-06-300000886982us-gaap:DerivativeMemberus-gaap:FairValueInputsLevel1Member2024-06-300000886982us-gaap:FairValueInputsLevel2Memberus-gaap:DerivativeMember2024-06-300000886982us-gaap:DerivativeMember2024-06-300000886982us-gaap:DerivativeMembergs:CrossLevelCounterpartyNettingAdjustmentMember2024-06-300000886982us-gaap:DerivativeMembergs:CashCollateralNettingAdjustmentMember2024-06-300000886982us-gaap:InterestRateContractMemberus-gaap:DerivativeMemberus-gaap:FairValueInputsLevel1Member2023-12-310000886982us-gaap:FairValueInputsLevel2Memberus-gaap:InterestRateContractMemberus-gaap:DerivativeMember2023-12-310000886982us-gaap:InterestRateContractMemberus-gaap:DerivativeMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982us-gaap:InterestRateContractMemberus-gaap:DerivativeMember2023-12-310000886982us-gaap:DerivativeMemberus-gaap:CreditRiskContractMemberus-gaap:FairValueInputsLevel1Member2023-12-310000886982us-gaap:FairValueInputsLevel2Memberus-gaap:DerivativeMemberus-gaap:CreditRiskContractMember2023-12-310000886982us-gaap:DerivativeMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMember2023-12-310000886982us-gaap:DerivativeMemberus-gaap:CreditRiskContractMember2023-12-310000886982us-gaap:DerivativeMemberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel1Member2023-12-310000886982us-gaap:FairValueInputsLevel2Memberus-gaap:DerivativeMemberus-gaap:ForeignExchangeContractMember2023-12-310000886982us-gaap:DerivativeMemberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982us-gaap:DerivativeMemberus-gaap:ForeignExchangeContractMember2023-12-310000886982us-gaap:DerivativeMemberus-gaap:FairValueInputsLevel1Memberus-gaap:CommodityContractMember2023-12-310000886982us-gaap:FairValueInputsLevel2Memberus-gaap:DerivativeMemberus-gaap:CommodityContractMember2023-12-310000886982us-gaap:DerivativeMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CommodityContractMember2023-12-310000886982us-gaap:DerivativeMemberus-gaap:CommodityContractMember2023-12-310000886982us-gaap:DerivativeMemberus-gaap:EquityContractMemberus-gaap:FairValueInputsLevel1Member2023-12-310000886982us-gaap:FairValueInputsLevel2Memberus-gaap:DerivativeMemberus-gaap:EquityContractMember2023-12-310000886982us-gaap:DerivativeMemberus-gaap:FairValueInputsLevel3Memberus-gaap:EquityContractMember2023-12-310000886982us-gaap:DerivativeMemberus-gaap:EquityContractMember2023-12-310000886982gs:GrossFairValueOfDerivativeMemberus-gaap:DerivativeMemberus-gaap:FairValueInputsLevel1Member2023-12-310000886982us-gaap:FairValueInputsLevel2Membergs:GrossFairValueOfDerivativeMemberus-gaap:DerivativeMember2023-12-310000886982gs:GrossFairValueOfDerivativeMemberus-gaap:DerivativeMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982gs:GrossFairValueOfDerivativeMemberus-gaap:DerivativeMember2023-12-310000886982us-gaap:DerivativeMembergs:CounterpartyNettingAdjustmentWithinLevelsMemberus-gaap:FairValueInputsLevel1Member2023-12-310000886982us-gaap:FairValueInputsLevel2Memberus-gaap:DerivativeMembergs:CounterpartyNettingAdjustmentWithinLevelsMember2023-12-310000886982us-gaap:DerivativeMemberus-gaap:FairValueInputsLevel3Membergs:CounterpartyNettingAdjustmentWithinLevelsMember2023-12-310000886982us-gaap:DerivativeMembergs:CounterpartyNettingAdjustmentWithinLevelsMember2023-12-310000886982us-gaap:DerivativeMemberus-gaap:FairValueInputsLevel1Member2023-12-310000886982us-gaap:FairValueInputsLevel2Memberus-gaap:DerivativeMember2023-12-310000886982us-gaap:DerivativeMember2023-12-310000886982us-gaap:DerivativeMembergs:CrossLevelCounterpartyNettingAdjustmentMember2023-12-310000886982us-gaap:DerivativeMembergs:CashCollateralNettingAdjustmentMember2023-12-310000886982us-gaap:InterestRateContractMember2024-06-300000886982us-gaap:InterestRateContractMember2023-12-310000886982us-gaap:InterestRateContractMembersrt:MinimumMembergs:MeasurementInputCorrelationMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982us-gaap:InterestRateContractMembersrt:MaximumMembergs:MeasurementInputCorrelationMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982us-gaap:InterestRateContractMembersrt:ArithmeticAverageMembergs:MeasurementInputCorrelationMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982us-gaap:InterestRateContractMembergs:MeasurementInputCorrelationMemberus-gaap:FairValueInputsLevel3Membersrt:MedianMember2024-06-300000886982us-gaap:InterestRateContractMembersrt:MinimumMembergs:MeasurementInputCorrelationMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982us-gaap:InterestRateContractMembersrt:MaximumMembergs:MeasurementInputCorrelationMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982us-gaap:InterestRateContractMembersrt:ArithmeticAverageMembergs:MeasurementInputCorrelationMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982us-gaap:InterestRateContractMembergs:MeasurementInputCorrelationMemberus-gaap:FairValueInputsLevel3Membersrt:MedianMember2023-12-310000886982us-gaap:InterestRateContractMemberus-gaap:MeasurementInputPriceVolatilityMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982us-gaap:InterestRateContractMemberus-gaap:MeasurementInputPriceVolatilityMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982us-gaap:InterestRateContractMembersrt:ArithmeticAverageMemberus-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982us-gaap:InterestRateContractMemberus-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Membersrt:MedianMember2024-06-300000886982us-gaap:InterestRateContractMemberus-gaap:MeasurementInputPriceVolatilityMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982us-gaap:InterestRateContractMemberus-gaap:MeasurementInputPriceVolatilityMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982us-gaap:InterestRateContractMembersrt:ArithmeticAverageMemberus-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982us-gaap:InterestRateContractMemberus-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Membersrt:MedianMember2023-12-310000886982us-gaap:CreditRiskContractMember2024-06-300000886982us-gaap:CreditRiskContractMember2023-12-310000886982srt:MinimumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMemberus-gaap:CreditRiskContractMember2024-06-300000886982srt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMemberus-gaap:CreditRiskContractMember2024-06-300000886982srt:ArithmeticAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMemberus-gaap:CreditRiskContractMember2024-06-300000886982us-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMemberus-gaap:CreditRiskContractMembersrt:MedianMember2024-06-300000886982srt:MinimumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMemberus-gaap:CreditRiskContractMember2023-12-310000886982srt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMemberus-gaap:CreditRiskContractMember2023-12-310000886982srt:ArithmeticAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMemberus-gaap:CreditRiskContractMember2023-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMemberus-gaap:CreditRiskContractMembersrt:MedianMember2023-12-310000886982srt:MinimumMemberus-gaap:FairValueInputsLevel3Membergs:MeasurementInputUpfrontCreditPointsMemberus-gaap:CreditRiskContractMember2024-06-300000886982srt:MaximumMemberus-gaap:FairValueInputsLevel3Membergs:MeasurementInputUpfrontCreditPointsMemberus-gaap:CreditRiskContractMember2024-06-300000886982srt:ArithmeticAverageMemberus-gaap:FairValueInputsLevel3Membergs:MeasurementInputUpfrontCreditPointsMemberus-gaap:CreditRiskContractMember2024-06-300000886982us-gaap:FairValueInputsLevel3Membergs:MeasurementInputUpfrontCreditPointsMemberus-gaap:CreditRiskContractMembersrt:MedianMember2024-06-300000886982srt:MinimumMemberus-gaap:FairValueInputsLevel3Membergs:MeasurementInputUpfrontCreditPointsMemberus-gaap:CreditRiskContractMember2023-12-310000886982srt:MaximumMemberus-gaap:FairValueInputsLevel3Membergs:MeasurementInputUpfrontCreditPointsMemberus-gaap:CreditRiskContractMember2023-12-310000886982srt:ArithmeticAverageMemberus-gaap:FairValueInputsLevel3Membergs:MeasurementInputUpfrontCreditPointsMemberus-gaap:CreditRiskContractMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:MeasurementInputUpfrontCreditPointsMemberus-gaap:CreditRiskContractMembersrt:MedianMember2023-12-310000886982srt:MinimumMembergs:MeasurementInputRecoveryRateMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMember2024-06-300000886982srt:MaximumMembergs:MeasurementInputRecoveryRateMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMember2024-06-300000886982srt:ArithmeticAverageMembergs:MeasurementInputRecoveryRateMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMember2024-06-300000886982gs:MeasurementInputRecoveryRateMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMembersrt:MedianMember2024-06-300000886982srt:MinimumMembergs:MeasurementInputRecoveryRateMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMember2023-12-310000886982srt:MaximumMembergs:MeasurementInputRecoveryRateMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMember2023-12-310000886982srt:ArithmeticAverageMembergs:MeasurementInputRecoveryRateMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMember2023-12-310000886982gs:MeasurementInputRecoveryRateMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMembersrt:MedianMember2023-12-310000886982us-gaap:ForeignExchangeContractMember2024-06-300000886982us-gaap:ForeignExchangeContractMember2023-12-310000886982srt:MinimumMemberus-gaap:ForeignExchangeContractMembergs:MeasurementInputCorrelationMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982srt:MaximumMemberus-gaap:ForeignExchangeContractMembergs:MeasurementInputCorrelationMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982srt:ArithmeticAverageMemberus-gaap:ForeignExchangeContractMembergs:MeasurementInputCorrelationMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982us-gaap:ForeignExchangeContractMembergs:MeasurementInputCorrelationMemberus-gaap:FairValueInputsLevel3Membersrt:MedianMember2024-06-300000886982srt:MinimumMemberus-gaap:ForeignExchangeContractMembergs:MeasurementInputCorrelationMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982srt:MaximumMemberus-gaap:ForeignExchangeContractMembergs:MeasurementInputCorrelationMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982srt:ArithmeticAverageMemberus-gaap:ForeignExchangeContractMembergs:MeasurementInputCorrelationMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982us-gaap:ForeignExchangeContractMembergs:MeasurementInputCorrelationMemberus-gaap:FairValueInputsLevel3Membersrt:MedianMember2023-12-310000886982us-gaap:MeasurementInputPriceVolatilityMembersrt:MinimumMemberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982us-gaap:MeasurementInputPriceVolatilityMembersrt:MaximumMemberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982srt:ArithmeticAverageMemberus-gaap:MeasurementInputPriceVolatilityMemberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982us-gaap:MeasurementInputPriceVolatilityMemberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel3Membersrt:MedianMember2024-06-300000886982us-gaap:MeasurementInputPriceVolatilityMembersrt:MinimumMemberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982us-gaap:MeasurementInputPriceVolatilityMembersrt:MaximumMemberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982srt:ArithmeticAverageMemberus-gaap:MeasurementInputPriceVolatilityMemberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982us-gaap:MeasurementInputPriceVolatilityMemberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel3Membersrt:MedianMember2023-12-310000886982us-gaap:CommodityContractMember2024-06-300000886982us-gaap:CommodityContractMember2023-12-310000886982us-gaap:MeasurementInputPriceVolatilityMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CommodityContractMember2024-06-300000886982us-gaap:MeasurementInputPriceVolatilityMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CommodityContractMember2024-06-300000886982srt:ArithmeticAverageMemberus-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CommodityContractMember2024-06-300000886982us-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Membersrt:MedianMemberus-gaap:CommodityContractMember2024-06-300000886982us-gaap:MeasurementInputPriceVolatilityMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CommodityContractMember2023-12-310000886982us-gaap:MeasurementInputPriceVolatilityMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CommodityContractMember2023-12-310000886982srt:ArithmeticAverageMemberus-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CommodityContractMember2023-12-310000886982us-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Membersrt:MedianMemberus-gaap:CommodityContractMember2023-12-310000886982srt:NaturalGasReservesMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMemberus-gaap:CommodityContractMember2024-06-300000886982srt:NaturalGasReservesMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMemberus-gaap:CommodityContractMember2024-06-300000886982srt:ArithmeticAverageMembersrt:NaturalGasReservesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMemberus-gaap:CommodityContractMember2024-06-300000886982srt:NaturalGasReservesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMembersrt:MedianMemberus-gaap:CommodityContractMember2024-06-300000886982srt:NaturalGasReservesMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMemberus-gaap:CommodityContractMember2023-12-310000886982srt:NaturalGasReservesMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMemberus-gaap:CommodityContractMember2023-12-310000886982srt:ArithmeticAverageMembersrt:NaturalGasReservesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMemberus-gaap:CommodityContractMember2023-12-310000886982srt:NaturalGasReservesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMembersrt:MedianMemberus-gaap:CommodityContractMember2023-12-310000886982srt:OilReservesMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMemberus-gaap:CommodityContractMember2024-06-300000886982srt:OilReservesMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMemberus-gaap:CommodityContractMember2024-06-300000886982srt:ArithmeticAverageMembersrt:OilReservesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMemberus-gaap:CommodityContractMember2024-06-300000886982srt:OilReservesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMembersrt:MedianMemberus-gaap:CommodityContractMember2024-06-300000886982srt:OilReservesMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMemberus-gaap:CommodityContractMember2023-12-310000886982srt:OilReservesMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMemberus-gaap:CommodityContractMember2023-12-310000886982srt:ArithmeticAverageMembersrt:OilReservesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMemberus-gaap:CommodityContractMember2023-12-310000886982srt:OilReservesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCreditSpreadMembersrt:MedianMemberus-gaap:CommodityContractMember2023-12-310000886982us-gaap:ElectricityMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Membergs:MeasurementInputSpreadMemberus-gaap:CommodityContractMember2024-06-300000886982us-gaap:ElectricityMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Membergs:MeasurementInputSpreadMemberus-gaap:CommodityContractMember2024-06-300000886982srt:ArithmeticAverageMemberus-gaap:ElectricityMemberus-gaap:FairValueInputsLevel3Membergs:MeasurementInputSpreadMemberus-gaap:CommodityContractMember2024-06-300000886982us-gaap:ElectricityMemberus-gaap:FairValueInputsLevel3Membergs:MeasurementInputSpreadMembersrt:MedianMemberus-gaap:CommodityContractMember2024-06-300000886982us-gaap:ElectricityMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Membergs:MeasurementInputSpreadMemberus-gaap:CommodityContractMember2023-12-310000886982us-gaap:ElectricityMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Membergs:MeasurementInputSpreadMemberus-gaap:CommodityContractMember2023-12-310000886982srt:ArithmeticAverageMemberus-gaap:ElectricityMemberus-gaap:FairValueInputsLevel3Membergs:MeasurementInputSpreadMemberus-gaap:CommodityContractMember2023-12-310000886982us-gaap:ElectricityMemberus-gaap:FairValueInputsLevel3Membergs:MeasurementInputSpreadMembersrt:MedianMemberus-gaap:CommodityContractMember2023-12-310000886982us-gaap:EquityContractMember2024-06-300000886982us-gaap:EquityContractMember2023-12-310000886982srt:MinimumMembergs:MeasurementInputCorrelationMemberus-gaap:FairValueInputsLevel3Memberus-gaap:EquityContractMember2024-06-300000886982srt:MaximumMembergs:MeasurementInputCorrelationMemberus-gaap:FairValueInputsLevel3Memberus-gaap:EquityContractMember2024-06-300000886982srt:ArithmeticAverageMembergs:MeasurementInputCorrelationMemberus-gaap:FairValueInputsLevel3Memberus-gaap:EquityContractMember2024-06-300000886982gs:MeasurementInputCorrelationMemberus-gaap:FairValueInputsLevel3Memberus-gaap:EquityContractMembersrt:MedianMember2024-06-300000886982srt:MinimumMembergs:MeasurementInputCorrelationMemberus-gaap:FairValueInputsLevel3Memberus-gaap:EquityContractMember2023-12-310000886982srt:MaximumMembergs:MeasurementInputCorrelationMemberus-gaap:FairValueInputsLevel3Memberus-gaap:EquityContractMember2023-12-310000886982srt:ArithmeticAverageMembergs:MeasurementInputCorrelationMemberus-gaap:FairValueInputsLevel3Memberus-gaap:EquityContractMember2023-12-310000886982gs:MeasurementInputCorrelationMemberus-gaap:FairValueInputsLevel3Memberus-gaap:EquityContractMembersrt:MedianMember2023-12-310000886982us-gaap:MeasurementInputPriceVolatilityMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:EquityContractMember2024-06-300000886982us-gaap:MeasurementInputPriceVolatilityMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:EquityContractMember2024-06-300000886982srt:ArithmeticAverageMemberus-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Memberus-gaap:EquityContractMember2024-06-300000886982us-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Memberus-gaap:EquityContractMembersrt:MedianMember2024-06-300000886982us-gaap:MeasurementInputPriceVolatilityMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:EquityContractMember2023-12-310000886982us-gaap:MeasurementInputPriceVolatilityMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:EquityContractMember2023-12-310000886982srt:ArithmeticAverageMemberus-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Memberus-gaap:EquityContractMember2023-12-310000886982us-gaap:MeasurementInputPriceVolatilityMemberus-gaap:FairValueInputsLevel3Memberus-gaap:EquityContractMembersrt:MedianMember2023-12-3100008869822023-03-310000886982us-gaap:InterestRateContractMember2024-03-310000886982us-gaap:InterestRateContractMember2023-03-310000886982us-gaap:InterestRateContractMember2022-12-310000886982us-gaap:InterestRateContractMember2024-04-012024-06-300000886982us-gaap:InterestRateContractMember2023-04-012023-06-300000886982us-gaap:InterestRateContractMember2024-01-012024-06-300000886982us-gaap:InterestRateContractMember2023-01-012023-06-300000886982us-gaap:InterestRateContractMember2023-06-300000886982us-gaap:CreditRiskContractMember2024-03-310000886982us-gaap:CreditRiskContractMember2023-03-310000886982us-gaap:CreditRiskContractMember2022-12-310000886982us-gaap:CreditRiskContractMember2024-04-012024-06-300000886982us-gaap:CreditRiskContractMember2023-04-012023-06-300000886982us-gaap:CreditRiskContractMember2024-01-012024-06-300000886982us-gaap:CreditRiskContractMember2023-01-012023-06-300000886982us-gaap:CreditRiskContractMember2023-06-300000886982us-gaap:ForeignExchangeContractMember2024-03-310000886982us-gaap:ForeignExchangeContractMember2023-03-310000886982us-gaap:ForeignExchangeContractMember2022-12-310000886982us-gaap:ForeignExchangeContractMember2024-04-012024-06-300000886982us-gaap:ForeignExchangeContractMember2023-04-012023-06-300000886982us-gaap:ForeignExchangeContractMember2024-01-012024-06-300000886982us-gaap:ForeignExchangeContractMember2023-01-012023-06-300000886982us-gaap:ForeignExchangeContractMember2023-06-300000886982us-gaap:CommodityContractMember2024-03-310000886982us-gaap:CommodityContractMember2023-03-310000886982us-gaap:CommodityContractMember2022-12-310000886982us-gaap:CommodityContractMember2024-04-012024-06-300000886982us-gaap:CommodityContractMember2023-04-012023-06-300000886982us-gaap:CommodityContractMember2024-01-012024-06-300000886982us-gaap:CommodityContractMember2023-01-012023-06-300000886982us-gaap:CommodityContractMember2023-06-300000886982us-gaap:EquityContractMember2024-03-310000886982us-gaap:EquityContractMember2023-03-310000886982us-gaap:EquityContractMember2022-12-310000886982us-gaap:EquityContractMember2024-04-012024-06-300000886982us-gaap:EquityContractMember2023-04-012023-06-300000886982us-gaap:EquityContractMember2024-01-012024-06-300000886982us-gaap:EquityContractMember2023-01-012023-06-300000886982us-gaap:EquityContractMember2023-06-300000886982gs:MarketMakingMember2024-04-012024-06-300000886982gs:OtherPrincipalTransactionsMember2024-04-012024-06-300000886982gs:MarketMakingMember2024-01-012024-06-300000886982gs:OtherPrincipalTransactionsMember2024-01-012024-06-300000886982gs:MarketMakingMember2023-04-012023-06-300000886982gs:OtherPrincipalTransactionsMember2023-04-012023-06-300000886982gs:MarketMakingMember2023-01-012023-06-300000886982gs:OtherPrincipalTransactionsMember2023-01-012023-06-300000886982us-gaap:USTreasurySecuritiesMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel1Member2024-06-300000886982us-gaap:FairValueInputsLevel2Memberus-gaap:USTreasurySecuritiesMemberus-gaap:InvestmentsMember2024-06-300000886982us-gaap:USTreasurySecuritiesMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982us-gaap:USTreasurySecuritiesMemberus-gaap:InvestmentsMember2024-06-300000886982us-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel1Memberus-gaap:ForeignGovernmentDebtSecuritiesMember2024-06-300000886982us-gaap:FairValueInputsLevel2Memberus-gaap:InvestmentsMemberus-gaap:ForeignGovernmentDebtSecuritiesMember2024-06-300000886982us-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:ForeignGovernmentDebtSecuritiesMember2024-06-300000886982us-gaap:InvestmentsMemberus-gaap:ForeignGovernmentDebtSecuritiesMember2024-06-300000886982us-gaap:InvestmentsMembergs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel1Member2024-06-300000886982us-gaap:FairValueInputsLevel2Memberus-gaap:InvestmentsMembergs:CorporateLoansAndDebtSecuritiesMember2024-06-300000886982us-gaap:InvestmentsMembergs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982us-gaap:InvestmentsMembergs:CorporateLoansAndDebtSecuritiesMember2024-06-300000886982us-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel1Membergs:SecuritiesBackedByRealEstateMember2024-06-300000886982us-gaap:FairValueInputsLevel2Memberus-gaap:InvestmentsMembergs:SecuritiesBackedByRealEstateMember2024-06-300000886982us-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Membergs:SecuritiesBackedByRealEstateMember2024-06-300000886982us-gaap:InvestmentsMembergs:SecuritiesBackedByRealEstateMember2024-06-300000886982us-gaap:FixedIncomeSecuritiesMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel1Member2024-06-300000886982us-gaap:FairValueInputsLevel2Memberus-gaap:FixedIncomeSecuritiesMemberus-gaap:InvestmentsMember2024-06-300000886982us-gaap:FixedIncomeSecuritiesMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982us-gaap:FixedIncomeSecuritiesMemberus-gaap:InvestmentsMember2024-06-300000886982us-gaap:InvestmentsMemberus-gaap:OtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel1Member2024-06-300000886982us-gaap:FairValueInputsLevel2Memberus-gaap:InvestmentsMemberus-gaap:OtherDebtSecuritiesMember2024-06-300000886982us-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:OtherDebtSecuritiesMember2024-06-300000886982us-gaap:InvestmentsMemberus-gaap:OtherDebtSecuritiesMember2024-06-300000886982us-gaap:EquitySecuritiesMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel1Member2024-06-300000886982us-gaap:FairValueInputsLevel2Memberus-gaap:EquitySecuritiesMemberus-gaap:InvestmentsMember2024-06-300000886982us-gaap:EquitySecuritiesMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982us-gaap:EquitySecuritiesMemberus-gaap:InvestmentsMember2024-06-300000886982us-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel1Member2024-06-300000886982us-gaap:FairValueInputsLevel2Memberus-gaap:InvestmentsMember2024-06-300000886982us-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982us-gaap:InvestmentsMember2024-06-300000886982us-gaap:USTreasurySecuritiesMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel1Member2023-12-310000886982us-gaap:FairValueInputsLevel2Memberus-gaap:USTreasurySecuritiesMemberus-gaap:InvestmentsMember2023-12-310000886982us-gaap:USTreasurySecuritiesMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982us-gaap:USTreasurySecuritiesMemberus-gaap:InvestmentsMember2023-12-310000886982us-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel1Memberus-gaap:ForeignGovernmentDebtSecuritiesMember2023-12-310000886982us-gaap:FairValueInputsLevel2Memberus-gaap:InvestmentsMemberus-gaap:ForeignGovernmentDebtSecuritiesMember2023-12-310000886982us-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:ForeignGovernmentDebtSecuritiesMember2023-12-310000886982us-gaap:InvestmentsMemberus-gaap:ForeignGovernmentDebtSecuritiesMember2023-12-310000886982us-gaap:InvestmentsMembergs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel1Member2023-12-310000886982us-gaap:FairValueInputsLevel2Memberus-gaap:InvestmentsMembergs:CorporateLoansAndDebtSecuritiesMember2023-12-310000886982us-gaap:InvestmentsMembergs:CorporateLoansAndDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982us-gaap:InvestmentsMembergs:CorporateLoansAndDebtSecuritiesMember2023-12-310000886982us-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel1Membergs:SecuritiesBackedByRealEstateMember2023-12-310000886982us-gaap:FairValueInputsLevel2Memberus-gaap:InvestmentsMembergs:SecuritiesBackedByRealEstateMember2023-12-310000886982us-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Membergs:SecuritiesBackedByRealEstateMember2023-12-310000886982us-gaap:InvestmentsMembergs:SecuritiesBackedByRealEstateMember2023-12-310000886982us-gaap:FixedIncomeSecuritiesMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel1Member2023-12-310000886982us-gaap:FairValueInputsLevel2Memberus-gaap:FixedIncomeSecuritiesMemberus-gaap:InvestmentsMember2023-12-310000886982us-gaap:FixedIncomeSecuritiesMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982us-gaap:FixedIncomeSecuritiesMemberus-gaap:InvestmentsMember2023-12-310000886982us-gaap:InvestmentsMemberus-gaap:OtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel1Member2023-12-310000886982us-gaap:FairValueInputsLevel2Memberus-gaap:InvestmentsMemberus-gaap:OtherDebtSecuritiesMember2023-12-310000886982us-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:OtherDebtSecuritiesMember2023-12-310000886982us-gaap:InvestmentsMemberus-gaap:OtherDebtSecuritiesMember2023-12-310000886982us-gaap:EquitySecuritiesMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel1Member2023-12-310000886982us-gaap:FairValueInputsLevel2Memberus-gaap:EquitySecuritiesMemberus-gaap:InvestmentsMember2023-12-310000886982us-gaap:EquitySecuritiesMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982us-gaap:EquitySecuritiesMemberus-gaap:InvestmentsMember2023-12-310000886982us-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel1Member2023-12-310000886982us-gaap:FairValueInputsLevel2Memberus-gaap:InvestmentsMember2023-12-310000886982us-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982us-gaap:InvestmentsMember2023-12-310000886982us-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CorporateDebtSecuritiesMember2024-06-300000886982us-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CorporateDebtSecuritiesMember2023-12-310000886982srt:MinimumMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMemberus-gaap:CorporateDebtSecuritiesMember2024-06-300000886982srt:MaximumMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMemberus-gaap:CorporateDebtSecuritiesMember2024-06-300000886982srt:WeightedAverageMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMemberus-gaap:CorporateDebtSecuritiesMember2024-06-300000886982srt:MinimumMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMemberus-gaap:CorporateDebtSecuritiesMember2023-12-310000886982srt:MaximumMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMemberus-gaap:CorporateDebtSecuritiesMember2023-12-310000886982srt:WeightedAverageMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMemberus-gaap:CorporateDebtSecuritiesMember2023-12-310000886982srt:MinimumMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CorporateDebtSecuritiesMemberus-gaap:MeasurementInputConstantPrepaymentRateMember2024-06-300000886982srt:MaximumMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CorporateDebtSecuritiesMemberus-gaap:MeasurementInputConstantPrepaymentRateMember2024-06-300000886982srt:WeightedAverageMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CorporateDebtSecuritiesMemberus-gaap:MeasurementInputConstantPrepaymentRateMember2024-06-300000886982srt:MinimumMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CorporateDebtSecuritiesMemberus-gaap:MeasurementInputConstantPrepaymentRateMember2023-12-310000886982srt:MaximumMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CorporateDebtSecuritiesMemberus-gaap:MeasurementInputConstantPrepaymentRateMember2023-12-310000886982srt:WeightedAverageMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CorporateDebtSecuritiesMemberus-gaap:MeasurementInputConstantPrepaymentRateMember2023-12-310000886982us-gaap:MeasurementInputExpectedTermMembersrt:MinimumMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CorporateDebtSecuritiesMember2024-06-300000886982us-gaap:MeasurementInputExpectedTermMembersrt:MaximumMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CorporateDebtSecuritiesMember2024-06-300000886982us-gaap:MeasurementInputExpectedTermMembersrt:WeightedAverageMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CorporateDebtSecuritiesMember2024-06-300000886982us-gaap:MeasurementInputExpectedTermMembersrt:MinimumMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CorporateDebtSecuritiesMember2023-12-310000886982us-gaap:MeasurementInputExpectedTermMembersrt:MaximumMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CorporateDebtSecuritiesMember2023-12-310000886982us-gaap:MeasurementInputExpectedTermMembersrt:WeightedAverageMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CorporateDebtSecuritiesMember2023-12-310000886982srt:MinimumMemberus-gaap:MeasurementInputRevenueMultipleMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CorporateDebtSecuritiesMember2024-06-300000886982srt:MaximumMemberus-gaap:MeasurementInputRevenueMultipleMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CorporateDebtSecuritiesMember2024-06-300000886982srt:WeightedAverageMemberus-gaap:MeasurementInputRevenueMultipleMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CorporateDebtSecuritiesMember2024-06-300000886982srt:MinimumMemberus-gaap:MeasurementInputRevenueMultipleMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CorporateDebtSecuritiesMember2023-12-310000886982srt:MaximumMemberus-gaap:MeasurementInputRevenueMultipleMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CorporateDebtSecuritiesMember2023-12-310000886982srt:WeightedAverageMemberus-gaap:MeasurementInputRevenueMultipleMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CorporateDebtSecuritiesMember2023-12-310000886982srt:MinimumMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMembergs:SecuritiesBackedByRealEstateMember2024-06-300000886982srt:MaximumMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMembergs:SecuritiesBackedByRealEstateMember2024-06-300000886982srt:WeightedAverageMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMembergs:SecuritiesBackedByRealEstateMember2024-06-300000886982srt:MinimumMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMembergs:SecuritiesBackedByRealEstateMember2023-12-310000886982srt:MaximumMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMembergs:SecuritiesBackedByRealEstateMember2023-12-310000886982srt:WeightedAverageMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMembergs:SecuritiesBackedByRealEstateMember2023-12-310000886982us-gaap:MeasurementInputExpectedTermMembersrt:MinimumMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Membergs:SecuritiesBackedByRealEstateMember2024-06-300000886982us-gaap:MeasurementInputExpectedTermMembersrt:MaximumMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Membergs:SecuritiesBackedByRealEstateMember2024-06-300000886982us-gaap:MeasurementInputExpectedTermMembersrt:WeightedAverageMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Membergs:SecuritiesBackedByRealEstateMember2024-06-300000886982us-gaap:MeasurementInputExpectedTermMembersrt:MinimumMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Membergs:SecuritiesBackedByRealEstateMember2023-12-310000886982us-gaap:MeasurementInputExpectedTermMembersrt:MaximumMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Membergs:SecuritiesBackedByRealEstateMember2023-12-310000886982us-gaap:MeasurementInputExpectedTermMembersrt:WeightedAverageMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Membergs:SecuritiesBackedByRealEstateMember2023-12-310000886982srt:MinimumMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:OtherDebtSecuritiesMemberus-gaap:MeasurementInputExpectedDividendRateMember2024-06-300000886982srt:MaximumMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:OtherDebtSecuritiesMemberus-gaap:MeasurementInputExpectedDividendRateMember2024-06-300000886982srt:WeightedAverageMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:OtherDebtSecuritiesMemberus-gaap:MeasurementInputExpectedDividendRateMember2024-06-300000886982srt:MinimumMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:OtherDebtSecuritiesMemberus-gaap:MeasurementInputExpectedDividendRateMember2023-12-310000886982srt:MaximumMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:OtherDebtSecuritiesMemberus-gaap:MeasurementInputExpectedDividendRateMember2023-12-310000886982srt:WeightedAverageMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:OtherDebtSecuritiesMemberus-gaap:MeasurementInputExpectedDividendRateMember2023-12-310000886982srt:MinimumMemberus-gaap:MeasurementInputRevenueMultipleMemberus-gaap:EquitySecuritiesMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982srt:MaximumMemberus-gaap:MeasurementInputRevenueMultipleMemberus-gaap:EquitySecuritiesMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982srt:WeightedAverageMemberus-gaap:MeasurementInputRevenueMultipleMemberus-gaap:EquitySecuritiesMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982srt:MinimumMemberus-gaap:MeasurementInputRevenueMultipleMemberus-gaap:EquitySecuritiesMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982srt:MaximumMemberus-gaap:MeasurementInputRevenueMultipleMemberus-gaap:EquitySecuritiesMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982srt:WeightedAverageMemberus-gaap:MeasurementInputRevenueMultipleMemberus-gaap:EquitySecuritiesMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982srt:MinimumMemberus-gaap:EquitySecuritiesMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputDiscountRateMember2024-06-300000886982srt:MaximumMemberus-gaap:EquitySecuritiesMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputDiscountRateMember2024-06-300000886982srt:WeightedAverageMemberus-gaap:EquitySecuritiesMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputDiscountRateMember2024-06-300000886982srt:MinimumMemberus-gaap:EquitySecuritiesMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputDiscountRateMember2023-12-310000886982srt:MaximumMemberus-gaap:EquitySecuritiesMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputDiscountRateMember2023-12-310000886982srt:WeightedAverageMemberus-gaap:EquitySecuritiesMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputDiscountRateMember2023-12-310000886982srt:MinimumMemberus-gaap:EquitySecuritiesMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCapRateMember2024-06-300000886982srt:MaximumMemberus-gaap:EquitySecuritiesMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCapRateMember2024-06-300000886982srt:WeightedAverageMemberus-gaap:EquitySecuritiesMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCapRateMember2024-06-300000886982srt:MinimumMemberus-gaap:EquitySecuritiesMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCapRateMember2023-12-310000886982srt:MaximumMemberus-gaap:EquitySecuritiesMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCapRateMember2023-12-310000886982srt:WeightedAverageMemberus-gaap:EquitySecuritiesMemberus-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputCapRateMember2023-12-310000886982us-gaap:InvestmentsMember2024-03-310000886982us-gaap:InvestmentsMember2023-03-310000886982us-gaap:InvestmentsMember2022-12-310000886982us-gaap:InvestmentsMember2024-04-012024-06-300000886982us-gaap:InvestmentsMember2023-04-012023-06-300000886982us-gaap:InvestmentsMember2024-01-012024-06-300000886982us-gaap:InvestmentsMember2023-01-012023-06-300000886982us-gaap:InvestmentsMember2023-06-300000886982us-gaap:InvestmentsMembergs:CorporateLoansAndDebtSecuritiesMember2024-03-310000886982us-gaap:InvestmentsMembergs:CorporateLoansAndDebtSecuritiesMember2023-03-310000886982us-gaap:InvestmentsMembergs:CorporateLoansAndDebtSecuritiesMember2022-12-310000886982us-gaap:InvestmentsMembergs:CorporateLoansAndDebtSecuritiesMember2024-04-012024-06-300000886982us-gaap:InvestmentsMembergs:CorporateLoansAndDebtSecuritiesMember2023-04-012023-06-300000886982us-gaap:InvestmentsMembergs:CorporateLoansAndDebtSecuritiesMember2024-01-012024-06-300000886982us-gaap:InvestmentsMembergs:CorporateLoansAndDebtSecuritiesMember2023-01-012023-06-300000886982us-gaap:InvestmentsMembergs:CorporateLoansAndDebtSecuritiesMember2023-06-300000886982us-gaap:InvestmentsMembergs:SecuritiesBackedByRealEstateMember2024-03-310000886982us-gaap:InvestmentsMembergs:SecuritiesBackedByRealEstateMember2023-03-310000886982us-gaap:InvestmentsMembergs:SecuritiesBackedByRealEstateMember2022-12-310000886982us-gaap:InvestmentsMembergs:SecuritiesBackedByRealEstateMember2024-04-012024-06-300000886982us-gaap:InvestmentsMembergs:SecuritiesBackedByRealEstateMember2023-04-012023-06-300000886982us-gaap:InvestmentsMembergs:SecuritiesBackedByRealEstateMember2024-01-012024-06-300000886982us-gaap:InvestmentsMembergs:SecuritiesBackedByRealEstateMember2023-01-012023-06-300000886982us-gaap:InvestmentsMembergs:SecuritiesBackedByRealEstateMember2023-06-300000886982us-gaap:InvestmentsMemberus-gaap:OtherDebtSecuritiesMember2024-03-310000886982us-gaap:InvestmentsMemberus-gaap:OtherDebtSecuritiesMember2023-03-310000886982us-gaap:InvestmentsMemberus-gaap:OtherDebtSecuritiesMember2022-12-310000886982us-gaap:InvestmentsMemberus-gaap:OtherDebtSecuritiesMember2024-04-012024-06-300000886982us-gaap:InvestmentsMemberus-gaap:OtherDebtSecuritiesMember2023-04-012023-06-300000886982us-gaap:InvestmentsMemberus-gaap:OtherDebtSecuritiesMember2024-01-012024-06-300000886982us-gaap:InvestmentsMemberus-gaap:OtherDebtSecuritiesMember2023-01-012023-06-300000886982us-gaap:InvestmentsMemberus-gaap:OtherDebtSecuritiesMember2023-06-300000886982us-gaap:EquitySecuritiesMemberus-gaap:InvestmentsMember2024-03-310000886982us-gaap:EquitySecuritiesMemberus-gaap:InvestmentsMember2023-03-310000886982us-gaap:EquitySecuritiesMemberus-gaap:InvestmentsMember2022-12-310000886982us-gaap:EquitySecuritiesMemberus-gaap:InvestmentsMember2024-04-012024-06-300000886982us-gaap:EquitySecuritiesMemberus-gaap:InvestmentsMember2023-04-012023-06-300000886982us-gaap:EquitySecuritiesMemberus-gaap:InvestmentsMember2024-01-012024-06-300000886982us-gaap:EquitySecuritiesMemberus-gaap:InvestmentsMember2023-01-012023-06-300000886982us-gaap:EquitySecuritiesMemberus-gaap:InvestmentsMember2023-06-300000886982us-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Member2024-04-012024-06-300000886982us-gaap:OperatingIncomeLossMemberus-gaap:InvestmentsMember2024-04-012024-06-300000886982us-gaap:InvestmentsMemberus-gaap:InterestIncomeMember2024-04-012024-06-300000886982us-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Member2024-01-012024-06-300000886982us-gaap:OperatingIncomeLossMemberus-gaap:InvestmentsMember2024-01-012024-06-300000886982us-gaap:InvestmentsMemberus-gaap:InterestIncomeMember2024-01-012024-06-300000886982us-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Member2023-04-012023-06-300000886982us-gaap:OperatingIncomeLossMemberus-gaap:InvestmentsMember2023-04-012023-06-300000886982us-gaap:InvestmentsMemberus-gaap:InterestIncomeMember2023-04-012023-06-300000886982us-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Member2023-01-012023-06-300000886982us-gaap:OperatingIncomeLossMemberus-gaap:InvestmentsMember2023-01-012023-06-300000886982us-gaap:InvestmentsMemberus-gaap:InterestIncomeMember2023-01-012023-06-300000886982us-gaap:FairValueInputsLevel1Membergs:CorporateLoansMember2024-06-300000886982us-gaap:FairValueInputsLevel2Membergs:CorporateLoansMember2024-06-300000886982us-gaap:FairValueInputsLevel3Membergs:CorporateLoansMember2024-06-300000886982gs:CorporateLoansMember2024-06-300000886982gs:CommercialRealEstateLoansMemberus-gaap:FairValueInputsLevel1Member2024-06-300000886982us-gaap:FairValueInputsLevel2Membergs:CommercialRealEstateLoansMember2024-06-300000886982gs:CommercialRealEstateLoansMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982gs:CommercialRealEstateLoansMember2024-06-300000886982gs:ResidentialRealEstateLoansMemberus-gaap:FairValueInputsLevel1Member2024-06-300000886982us-gaap:FairValueInputsLevel2Membergs:ResidentialRealEstateLoansMember2024-06-300000886982us-gaap:FairValueInputsLevel3Membergs:ResidentialRealEstateLoansMember2024-06-300000886982gs:ResidentialRealEstateLoansMember2024-06-300000886982gs:OtherCollateralizedMemberus-gaap:FairValueInputsLevel1Member2024-06-300000886982us-gaap:FairValueInputsLevel2Membergs:OtherCollateralizedMember2024-06-300000886982gs:OtherCollateralizedMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982gs:OtherCollateralizedMember2024-06-300000886982gs:OtherLoansMemberus-gaap:FairValueInputsLevel1Member2024-06-300000886982us-gaap:FairValueInputsLevel2Membergs:OtherLoansMember2024-06-300000886982us-gaap:FairValueInputsLevel3Membergs:OtherLoansMember2024-06-300000886982gs:OtherLoansMember2024-06-300000886982us-gaap:FairValueInputsLevel1Membergs:CorporateLoansMember2023-12-310000886982us-gaap:FairValueInputsLevel2Membergs:CorporateLoansMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:CorporateLoansMember2023-12-310000886982gs:CorporateLoansMember2023-12-310000886982gs:CommercialRealEstateLoansMemberus-gaap:FairValueInputsLevel1Member2023-12-310000886982us-gaap:FairValueInputsLevel2Membergs:CommercialRealEstateLoansMember2023-12-310000886982gs:CommercialRealEstateLoansMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982gs:CommercialRealEstateLoansMember2023-12-310000886982gs:ResidentialRealEstateLoansMemberus-gaap:FairValueInputsLevel1Member2023-12-310000886982us-gaap:FairValueInputsLevel2Membergs:ResidentialRealEstateLoansMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:ResidentialRealEstateLoansMember2023-12-310000886982gs:ResidentialRealEstateLoansMember2023-12-310000886982gs:OtherCollateralizedMemberus-gaap:FairValueInputsLevel1Member2023-12-310000886982us-gaap:FairValueInputsLevel2Membergs:OtherCollateralizedMember2023-12-310000886982gs:OtherCollateralizedMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982gs:OtherCollateralizedMember2023-12-310000886982gs:OtherLoansMemberus-gaap:FairValueInputsLevel1Member2023-12-310000886982us-gaap:FairValueInputsLevel2Membergs:OtherLoansMember2023-12-310000886982us-gaap:FairValueInputsLevel3Membergs:OtherLoansMember2023-12-310000886982gs:OtherLoansMember2023-12-310000886982gs:OtherPrincipalTransactionsMember2024-04-012024-06-300000886982gs:OtherPrincipalTransactionsMember2023-04-012023-06-300000886982gs:OtherPrincipalTransactionsMember2024-01-012024-06-300000886982gs:OtherPrincipalTransactionsMember2023-01-012023-06-300000886982srt:MinimumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMembergs:CorporateLoansMember2024-06-300000886982srt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMembergs:CorporateLoansMember2024-06-300000886982srt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMembergs:CorporateLoansMember2024-06-300000886982srt:MinimumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMembergs:CorporateLoansMember2023-12-310000886982srt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMembergs:CorporateLoansMember2023-12-310000886982srt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMembergs:CorporateLoansMember2023-12-310000886982srt:MinimumMembergs:MeasurementInputRecoveryRateMemberus-gaap:FairValueInputsLevel3Membergs:CorporateLoansMember2024-06-300000886982srt:MaximumMembergs:MeasurementInputRecoveryRateMemberus-gaap:FairValueInputsLevel3Membergs:CorporateLoansMember2024-06-300000886982srt:WeightedAverageMembergs:MeasurementInputRecoveryRateMemberus-gaap:FairValueInputsLevel3Membergs:CorporateLoansMember2024-06-300000886982srt:MinimumMembergs:MeasurementInputRecoveryRateMemberus-gaap:FairValueInputsLevel3Membergs:CorporateLoansMember2023-12-310000886982srt:MaximumMembergs:MeasurementInputRecoveryRateMemberus-gaap:FairValueInputsLevel3Membergs:CorporateLoansMember2023-12-310000886982srt:WeightedAverageMembergs:MeasurementInputRecoveryRateMemberus-gaap:FairValueInputsLevel3Membergs:CorporateLoansMember2023-12-310000886982us-gaap:MeasurementInputExpectedTermMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Membergs:CorporateLoansMember2023-12-310000886982us-gaap:MeasurementInputExpectedTermMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Membergs:CorporateLoansMember2023-12-310000886982us-gaap:MeasurementInputExpectedTermMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Membergs:CorporateLoansMember2023-12-310000886982us-gaap:FairValueInputsLevel3Memberus-gaap:RealEstateMember2024-06-300000886982us-gaap:FairValueInputsLevel3Memberus-gaap:RealEstateMember2023-12-310000886982srt:MinimumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMemberus-gaap:RealEstateMember2024-06-300000886982srt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMemberus-gaap:RealEstateMember2024-06-300000886982srt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMemberus-gaap:RealEstateMember2024-06-300000886982srt:MinimumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMemberus-gaap:RealEstateMember2023-12-310000886982srt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMemberus-gaap:RealEstateMember2023-12-310000886982srt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMemberus-gaap:RealEstateMember2023-12-310000886982srt:MinimumMembergs:MeasurementInputRecoveryRateMemberus-gaap:FairValueInputsLevel3Memberus-gaap:RealEstateMember2024-06-300000886982srt:MaximumMembergs:MeasurementInputRecoveryRateMemberus-gaap:FairValueInputsLevel3Memberus-gaap:RealEstateMember2024-06-300000886982srt:WeightedAverageMembergs:MeasurementInputRecoveryRateMemberus-gaap:FairValueInputsLevel3Memberus-gaap:RealEstateMember2024-06-300000886982srt:MinimumMembergs:MeasurementInputRecoveryRateMemberus-gaap:FairValueInputsLevel3Memberus-gaap:RealEstateMember2023-12-310000886982srt:MaximumMembergs:MeasurementInputRecoveryRateMemberus-gaap:FairValueInputsLevel3Memberus-gaap:RealEstateMember2023-12-310000886982srt:WeightedAverageMembergs:MeasurementInputRecoveryRateMemberus-gaap:FairValueInputsLevel3Memberus-gaap:RealEstateMember2023-12-310000886982us-gaap:MeasurementInputExpectedTermMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:RealEstateMember2024-06-300000886982us-gaap:MeasurementInputExpectedTermMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:RealEstateMember2024-06-300000886982us-gaap:MeasurementInputExpectedTermMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:RealEstateMember2024-06-300000886982us-gaap:MeasurementInputExpectedTermMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:RealEstateMember2023-12-310000886982us-gaap:MeasurementInputExpectedTermMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:RealEstateMember2023-12-310000886982us-gaap:MeasurementInputExpectedTermMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:RealEstateMember2023-12-310000886982srt:MinimumMembergs:OtherCollateralizedMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMember2024-06-300000886982srt:MaximumMembergs:OtherCollateralizedMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMember2024-06-300000886982srt:WeightedAverageMembergs:OtherCollateralizedMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMember2024-06-300000886982srt:MinimumMembergs:OtherCollateralizedMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMember2023-12-310000886982srt:MaximumMembergs:OtherCollateralizedMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMember2023-12-310000886982srt:WeightedAverageMembergs:OtherCollateralizedMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMember2023-12-310000886982srt:MinimumMemberus-gaap:FairValueInputsLevel3Membergs:OtherLoansMemberus-gaap:MeasurementInputExpectedDividendRateMember2024-06-300000886982srt:MaximumMemberus-gaap:FairValueInputsLevel3Membergs:OtherLoansMemberus-gaap:MeasurementInputExpectedDividendRateMember2024-06-300000886982srt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Membergs:OtherLoansMemberus-gaap:MeasurementInputExpectedDividendRateMember2024-06-300000886982srt:MinimumMemberus-gaap:FairValueInputsLevel3Membergs:OtherLoansMemberus-gaap:MeasurementInputExpectedDividendRateMember2023-12-310000886982srt:MaximumMemberus-gaap:FairValueInputsLevel3Membergs:OtherLoansMemberus-gaap:MeasurementInputExpectedDividendRateMember2023-12-310000886982srt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Membergs:OtherLoansMemberus-gaap:MeasurementInputExpectedDividendRateMember2023-12-310000886982us-gaap:MeasurementInputExpectedTermMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Membergs:OtherLoansMember2024-06-300000886982us-gaap:MeasurementInputExpectedTermMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Membergs:OtherLoansMember2024-06-300000886982us-gaap:MeasurementInputExpectedTermMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Membergs:OtherLoansMember2024-06-300000886982us-gaap:MeasurementInputExpectedTermMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Membergs:OtherLoansMember2023-12-310000886982us-gaap:MeasurementInputExpectedTermMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Membergs:OtherLoansMember2023-12-310000886982us-gaap:MeasurementInputExpectedTermMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Membergs:OtherLoansMember2023-12-310000886982us-gaap:LoansReceivableMember2024-03-310000886982us-gaap:LoansReceivableMember2023-03-310000886982us-gaap:LoansReceivableMember2023-12-310000886982us-gaap:LoansReceivableMember2022-12-310000886982us-gaap:LoansReceivableMember2024-04-012024-06-300000886982us-gaap:LoansReceivableMember2023-04-012023-06-300000886982us-gaap:LoansReceivableMember2024-01-012024-06-300000886982us-gaap:LoansReceivableMember2023-01-012023-06-300000886982us-gaap:LoansReceivableMember2024-06-300000886982us-gaap:LoansReceivableMember2023-06-300000886982gs:CorporateLoansMember2024-03-310000886982gs:CorporateLoansMember2023-03-310000886982gs:CorporateLoansMember2022-12-310000886982gs:CorporateLoansMember2024-04-012024-06-300000886982gs:CorporateLoansMember2023-04-012023-06-300000886982gs:CorporateLoansMember2024-01-012024-06-300000886982gs:CorporateLoansMember2023-01-012023-06-300000886982gs:CorporateLoansMember2023-06-300000886982us-gaap:RealEstateMember2024-03-310000886982us-gaap:RealEstateMember2023-03-310000886982us-gaap:RealEstateMember2023-12-310000886982us-gaap:RealEstateMember2022-12-310000886982us-gaap:RealEstateMember2024-04-012024-06-300000886982us-gaap:RealEstateMember2023-04-012023-06-300000886982us-gaap:RealEstateMember2024-01-012024-06-300000886982us-gaap:RealEstateMember2023-01-012023-06-300000886982us-gaap:RealEstateMember2024-06-300000886982us-gaap:RealEstateMember2023-06-300000886982gs:OtherCollateralizedMember2024-03-310000886982gs:OtherCollateralizedMember2023-03-310000886982gs:OtherCollateralizedMember2022-12-310000886982gs:OtherCollateralizedMember2024-04-012024-06-300000886982gs:OtherCollateralizedMember2023-04-012023-06-300000886982gs:OtherCollateralizedMember2024-01-012024-06-300000886982gs:OtherCollateralizedMember2023-01-012023-06-300000886982gs:OtherCollateralizedMember2023-06-300000886982gs:OtherLoansMember2024-03-310000886982gs:OtherLoansMember2023-03-310000886982gs:OtherLoansMember2022-12-310000886982gs:OtherLoansMember2024-04-012024-06-300000886982gs:OtherLoansMember2023-04-012023-06-300000886982gs:OtherLoansMember2024-01-012024-06-300000886982gs:OtherLoansMember2023-01-012023-06-300000886982gs:OtherLoansMember2023-06-300000886982us-gaap:FairValueInputsLevel3Member2024-04-012024-06-300000886982gs:OtherPrincipalTransactionsMemberus-gaap:FairValueInputsLevel3Member2024-04-012024-06-300000886982us-gaap:InterestIncomeMemberus-gaap:FairValueInputsLevel3Member2024-04-012024-06-300000886982us-gaap:FairValueInputsLevel3Member2024-01-012024-06-300000886982gs:OtherPrincipalTransactionsMemberus-gaap:FairValueInputsLevel3Member2024-01-012024-06-300000886982us-gaap:InterestIncomeMemberus-gaap:FairValueInputsLevel3Member2024-01-012024-06-300000886982us-gaap:FairValueInputsLevel3Member2023-04-012023-06-300000886982gs:OtherPrincipalTransactionsMemberus-gaap:FairValueInputsLevel3Member2023-04-012023-06-300000886982us-gaap:InterestIncomeMemberus-gaap:FairValueInputsLevel3Member2023-04-012023-06-300000886982us-gaap:FairValueInputsLevel3Member2023-01-012023-06-300000886982gs:OtherPrincipalTransactionsMemberus-gaap:FairValueInputsLevel3Member2023-01-012023-06-300000886982us-gaap:InterestIncomeMemberus-gaap:FairValueInputsLevel3Member2023-01-012023-06-300000886982srt:MinimumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMembergs:OtherSecuredFinancingsAtFairValueMember2024-06-300000886982srt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMembergs:OtherSecuredFinancingsAtFairValueMember2024-06-300000886982srt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMembergs:OtherSecuredFinancingsAtFairValueMember2024-06-300000886982us-gaap:MeasurementInputExpectedTermMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Membergs:OtherSecuredFinancingsAtFairValueMember2024-06-300000886982us-gaap:MeasurementInputExpectedTermMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Membergs:OtherSecuredFinancingsAtFairValueMember2024-06-300000886982us-gaap:MeasurementInputExpectedTermMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Membergs:OtherSecuredFinancingsAtFairValueMember2024-06-300000886982srt:MinimumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMembergs:OtherSecuredFinancingsAtFairValueMember2023-12-310000886982srt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMembergs:OtherSecuredFinancingsAtFairValueMember2023-12-310000886982srt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputExpectedDividendRateMembergs:OtherSecuredFinancingsAtFairValueMember2023-12-310000886982us-gaap:MeasurementInputExpectedTermMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Membergs:OtherSecuredFinancingsAtFairValueMember2023-12-310000886982us-gaap:MeasurementInputExpectedTermMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Membergs:OtherSecuredFinancingsAtFairValueMember2023-12-310000886982us-gaap:MeasurementInputExpectedTermMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Membergs:OtherSecuredFinancingsAtFairValueMember2023-12-310000886982gs:OtherFinancialLiabilitiesMember2024-03-310000886982gs:OtherFinancialLiabilitiesMember2023-03-310000886982gs:OtherFinancialLiabilitiesMember2023-12-310000886982gs:OtherFinancialLiabilitiesMember2022-12-310000886982gs:OtherFinancialLiabilitiesMember2024-04-012024-06-300000886982gs:OtherFinancialLiabilitiesMember2023-04-012023-06-300000886982gs:OtherFinancialLiabilitiesMember2024-01-012024-06-300000886982gs:OtherFinancialLiabilitiesMember2023-01-012023-06-300000886982gs:OtherFinancialLiabilitiesMember2024-06-300000886982gs:OtherFinancialLiabilitiesMember2023-06-300000886982gs:OtherFinancialLiabilitiesMemberus-gaap:DepositsMember2024-03-310000886982gs:OtherFinancialLiabilitiesMemberus-gaap:DepositsMember2023-03-310000886982gs:OtherFinancialLiabilitiesMemberus-gaap:DepositsMember2023-12-310000886982gs:OtherFinancialLiabilitiesMemberus-gaap:DepositsMember2022-12-310000886982gs:OtherFinancialLiabilitiesMemberus-gaap:DepositsMember2024-04-012024-06-300000886982gs:OtherFinancialLiabilitiesMemberus-gaap:DepositsMember2023-04-012023-06-300000886982gs:OtherFinancialLiabilitiesMemberus-gaap:DepositsMember2024-01-012024-06-300000886982gs:OtherFinancialLiabilitiesMemberus-gaap:DepositsMember2023-01-012023-06-300000886982gs:OtherFinancialLiabilitiesMemberus-gaap:DepositsMember2024-06-300000886982gs:OtherFinancialLiabilitiesMemberus-gaap:DepositsMember2023-06-300000886982gs:OtherFinancialLiabilitiesMembergs:OtherSecuredFinancingsAtFairValueMember2024-03-310000886982gs:OtherFinancialLiabilitiesMembergs:OtherSecuredFinancingsAtFairValueMember2023-03-310000886982gs:OtherFinancialLiabilitiesMembergs:OtherSecuredFinancingsAtFairValueMember2023-12-310000886982gs:OtherFinancialLiabilitiesMembergs:OtherSecuredFinancingsAtFairValueMember2022-12-310000886982gs:OtherFinancialLiabilitiesMembergs:OtherSecuredFinancingsAtFairValueMember2024-04-012024-06-300000886982gs:OtherFinancialLiabilitiesMembergs:OtherSecuredFinancingsAtFairValueMember2023-04-012023-06-300000886982gs:OtherFinancialLiabilitiesMembergs:OtherSecuredFinancingsAtFairValueMember2024-01-012024-06-300000886982gs:OtherFinancialLiabilitiesMembergs:OtherSecuredFinancingsAtFairValueMember2023-01-012023-06-300000886982gs:OtherFinancialLiabilitiesMembergs:OtherSecuredFinancingsAtFairValueMember2024-06-300000886982gs:OtherFinancialLiabilitiesMembergs:OtherSecuredFinancingsAtFairValueMember2023-06-300000886982gs:OtherFinancialLiabilitiesMembergs:UnsecuredShortTermBorrowingsIncludingCurrentPortionOfUnsecuredLongTermBorrowingsAtFairValueMember2024-03-310000886982gs:OtherFinancialLiabilitiesMembergs:UnsecuredShortTermBorrowingsIncludingCurrentPortionOfUnsecuredLongTermBorrowingsAtFairValueMember2023-03-310000886982gs:OtherFinancialLiabilitiesMembergs:UnsecuredShortTermBorrowingsIncludingCurrentPortionOfUnsecuredLongTermBorrowingsAtFairValueMember2023-12-310000886982gs:OtherFinancialLiabilitiesMembergs:UnsecuredShortTermBorrowingsIncludingCurrentPortionOfUnsecuredLongTermBorrowingsAtFairValueMember2022-12-310000886982gs:OtherFinancialLiabilitiesMembergs:UnsecuredShortTermBorrowingsIncludingCurrentPortionOfUnsecuredLongTermBorrowingsAtFairValueMember2024-04-012024-06-300000886982gs:OtherFinancialLiabilitiesMembergs:UnsecuredShortTermBorrowingsIncludingCurrentPortionOfUnsecuredLongTermBorrowingsAtFairValueMember2023-04-012023-06-300000886982gs:OtherFinancialLiabilitiesMembergs:UnsecuredShortTermBorrowingsIncludingCurrentPortionOfUnsecuredLongTermBorrowingsAtFairValueMember2024-01-012024-06-300000886982gs:OtherFinancialLiabilitiesMembergs:UnsecuredShortTermBorrowingsIncludingCurrentPortionOfUnsecuredLongTermBorrowingsAtFairValueMember2023-01-012023-06-300000886982gs:OtherFinancialLiabilitiesMembergs:UnsecuredShortTermBorrowingsIncludingCurrentPortionOfUnsecuredLongTermBorrowingsAtFairValueMember2024-06-300000886982gs:OtherFinancialLiabilitiesMembergs:UnsecuredShortTermBorrowingsIncludingCurrentPortionOfUnsecuredLongTermBorrowingsAtFairValueMember2023-06-300000886982gs:UnsecuredLongTermBorrowingsAtFairValueMembergs:OtherFinancialLiabilitiesMember2024-03-310000886982gs:UnsecuredLongTermBorrowingsAtFairValueMembergs:OtherFinancialLiabilitiesMember2023-03-310000886982gs:UnsecuredLongTermBorrowingsAtFairValueMembergs:OtherFinancialLiabilitiesMember2023-12-310000886982gs:UnsecuredLongTermBorrowingsAtFairValueMembergs:OtherFinancialLiabilitiesMember2022-12-310000886982gs:UnsecuredLongTermBorrowingsAtFairValueMembergs:OtherFinancialLiabilitiesMember2024-04-012024-06-300000886982gs:UnsecuredLongTermBorrowingsAtFairValueMembergs:OtherFinancialLiabilitiesMember2023-04-012023-06-300000886982gs:UnsecuredLongTermBorrowingsAtFairValueMembergs:OtherFinancialLiabilitiesMember2024-01-012024-06-300000886982gs:UnsecuredLongTermBorrowingsAtFairValueMembergs:OtherFinancialLiabilitiesMember2023-01-012023-06-300000886982gs:UnsecuredLongTermBorrowingsAtFairValueMembergs:OtherFinancialLiabilitiesMember2024-06-300000886982gs:UnsecuredLongTermBorrowingsAtFairValueMembergs:OtherFinancialLiabilitiesMember2023-06-300000886982us-gaap:OtherLiabilitiesMembergs:OtherFinancialLiabilitiesMember2024-03-310000886982us-gaap:OtherLiabilitiesMembergs:OtherFinancialLiabilitiesMember2023-03-310000886982us-gaap:OtherLiabilitiesMembergs:OtherFinancialLiabilitiesMember2023-12-310000886982us-gaap:OtherLiabilitiesMembergs:OtherFinancialLiabilitiesMember2022-12-310000886982us-gaap:OtherLiabilitiesMembergs:OtherFinancialLiabilitiesMember2024-04-012024-06-300000886982us-gaap:OtherLiabilitiesMembergs:OtherFinancialLiabilitiesMember2023-04-012023-06-300000886982us-gaap:OtherLiabilitiesMembergs:OtherFinancialLiabilitiesMember2024-01-012024-06-300000886982us-gaap:OtherLiabilitiesMembergs:OtherFinancialLiabilitiesMember2023-01-012023-06-300000886982us-gaap:OtherLiabilitiesMembergs:OtherFinancialLiabilitiesMember2024-06-300000886982us-gaap:OtherLiabilitiesMembergs:OtherFinancialLiabilitiesMember2023-06-300000886982gs:OtherFinancialLiabilitiesMembergs:MarketMakingMember2024-04-012024-06-300000886982gs:OtherPrincipalTransactionsMembergs:OtherFinancialLiabilitiesMember2024-04-012024-06-300000886982gs:OtherFinancialLiabilitiesMemberus-gaap:InterestExpenseMember2024-04-012024-06-300000886982gs:OtherFinancialLiabilitiesMembergs:DebtValuationAdjustmentMember2024-04-012024-06-300000886982gs:OtherFinancialLiabilitiesMembergs:MarketMakingMember2024-01-012024-06-300000886982gs:OtherPrincipalTransactionsMembergs:OtherFinancialLiabilitiesMember2024-01-012024-06-300000886982gs:OtherFinancialLiabilitiesMemberus-gaap:InterestExpenseMember2024-01-012024-06-300000886982gs:OtherFinancialLiabilitiesMembergs:DebtValuationAdjustmentMember2024-01-012024-06-300000886982gs:OtherFinancialLiabilitiesMembergs:MarketMakingMember2023-04-012023-06-300000886982gs:OtherPrincipalTransactionsMembergs:OtherFinancialLiabilitiesMember2023-04-012023-06-300000886982gs:OtherFinancialLiabilitiesMemberus-gaap:InterestExpenseMember2023-04-012023-06-300000886982gs:OtherFinancialLiabilitiesMembergs:DebtValuationAdjustmentMember2023-04-012023-06-300000886982gs:OtherFinancialLiabilitiesMembergs:MarketMakingMember2023-01-012023-06-300000886982gs:OtherPrincipalTransactionsMembergs:OtherFinancialLiabilitiesMember2023-01-012023-06-300000886982gs:OtherFinancialLiabilitiesMemberus-gaap:InterestExpenseMember2023-01-012023-06-300000886982gs:OtherFinancialLiabilitiesMembergs:DebtValuationAdjustmentMember2023-01-012023-06-300000886982gs:TradingCashInstrumentsFairValueDisclosureMember2024-06-300000886982gs:TradingCashInstrumentsFairValueDisclosureMember2023-12-310000886982us-gaap:FixedIncomeInterestRateMember2024-04-012024-06-300000886982us-gaap:FixedIncomeInterestRateMember2023-04-012023-06-300000886982us-gaap:FixedIncomeInterestRateMember2024-01-012024-06-300000886982us-gaap:FixedIncomeInterestRateMember2023-01-012023-06-300000886982us-gaap:CreditMember2024-04-012024-06-300000886982us-gaap:CreditMember2023-04-012023-06-300000886982us-gaap:CreditMember2024-01-012024-06-300000886982us-gaap:CreditMember2023-01-012023-06-300000886982us-gaap:ForeignExchangeMember2024-04-012024-06-300000886982us-gaap:ForeignExchangeMember2023-04-012023-06-300000886982us-gaap:ForeignExchangeMember2024-01-012024-06-300000886982us-gaap:ForeignExchangeMember2023-01-012023-06-300000886982us-gaap:EquityMember2024-04-012024-06-300000886982us-gaap:EquityMember2023-04-012023-06-300000886982us-gaap:EquityMember2024-01-012024-06-300000886982us-gaap:EquityMember2023-01-012023-06-300000886982us-gaap:CommodityMember2024-04-012024-06-300000886982us-gaap:CommodityMember2023-04-012023-06-300000886982us-gaap:CommodityMember2024-01-012024-06-300000886982us-gaap:CommodityMember2023-01-012023-06-300000886982us-gaap:InterestRateContractMemberus-gaap:NondesignatedMemberus-gaap:ExchangeTradedMember2024-06-300000886982us-gaap:InterestRateContractMemberus-gaap:NondesignatedMemberus-gaap:ExchangeTradedMember2023-12-310000886982us-gaap:InterestRateContractMemberus-gaap:ExchangeClearedMemberus-gaap:NondesignatedMember2024-06-300000886982us-gaap:InterestRateContractMemberus-gaap:ExchangeClearedMemberus-gaap:NondesignatedMember2023-12-310000886982us-gaap:InterestRateContractMembergs:BilateralOtcMemberus-gaap:NondesignatedMember2024-06-300000886982us-gaap:InterestRateContractMembergs:BilateralOtcMemberus-gaap:NondesignatedMember2023-12-310000886982us-gaap:InterestRateContractMemberus-gaap:NondesignatedMember2024-06-300000886982us-gaap:InterestRateContractMemberus-gaap:NondesignatedMember2023-12-310000886982us-gaap:CreditRiskContractMemberus-gaap:ExchangeClearedMemberus-gaap:NondesignatedMember2024-06-300000886982us-gaap:CreditRiskContractMemberus-gaap:ExchangeClearedMemberus-gaap:NondesignatedMember2023-12-310000886982gs:BilateralOtcMemberus-gaap:CreditRiskContractMemberus-gaap:NondesignatedMember2024-06-300000886982gs:BilateralOtcMemberus-gaap:CreditRiskContractMemberus-gaap:NondesignatedMember2023-12-310000886982us-gaap:CreditRiskContractMemberus-gaap:NondesignatedMember2024-06-300000886982us-gaap:CreditRiskContractMemberus-gaap:NondesignatedMember2023-12-310000886982us-gaap:ForeignExchangeContractMemberus-gaap:NondesignatedMemberus-gaap:ExchangeTradedMember2024-06-300000886982us-gaap:ForeignExchangeContractMemberus-gaap:NondesignatedMemberus-gaap:ExchangeTradedMember2023-12-310000886982us-gaap:ForeignExchangeContractMemberus-gaap:ExchangeClearedMemberus-gaap:NondesignatedMember2024-06-300000886982us-gaap:ForeignExchangeContractMemberus-gaap:ExchangeClearedMemberus-gaap:NondesignatedMember2023-12-310000886982gs:BilateralOtcMemberus-gaap:ForeignExchangeContractMemberus-gaap:NondesignatedMember2024-06-300000886982gs:BilateralOtcMemberus-gaap:ForeignExchangeContractMemberus-gaap:NondesignatedMember2023-12-310000886982us-gaap:ForeignExchangeContractMemberus-gaap:NondesignatedMember2024-06-300000886982us-gaap:ForeignExchangeContractMemberus-gaap:NondesignatedMember2023-12-310000886982us-gaap:CommodityContractMemberus-gaap:NondesignatedMemberus-gaap:ExchangeTradedMember2024-06-300000886982us-gaap:CommodityContractMemberus-gaap:NondesignatedMemberus-gaap:ExchangeTradedMember2023-12-310000886982us-gaap:ExchangeClearedMemberus-gaap:CommodityContractMemberus-gaap:NondesignatedMember2024-06-300000886982us-gaap:ExchangeClearedMemberus-gaap:CommodityContractMemberus-gaap:NondesignatedMember2023-12-310000886982gs:BilateralOtcMemberus-gaap:CommodityContractMemberus-gaap:NondesignatedMember2024-06-300000886982gs:BilateralOtcMemberus-gaap:CommodityContractMemberus-gaap:NondesignatedMember2023-12-310000886982us-gaap:CommodityContractMemberus-gaap:NondesignatedMember2024-06-300000886982us-gaap:CommodityContractMemberus-gaap:NondesignatedMember2023-12-310000886982us-gaap:EquityContractMemberus-gaap:NondesignatedMemberus-gaap:ExchangeTradedMember2024-06-300000886982us-gaap:EquityContractMemberus-gaap:NondesignatedMemberus-gaap:ExchangeTradedMember2023-12-310000886982us-gaap:EquityContractMemberus-gaap:ExchangeClearedMemberus-gaap:NondesignatedMember2024-06-300000886982us-gaap:EquityContractMemberus-gaap:ExchangeClearedMemberus-gaap:NondesignatedMember2023-12-310000886982gs:BilateralOtcMemberus-gaap:EquityContractMemberus-gaap:NondesignatedMember2024-06-300000886982gs:BilateralOtcMemberus-gaap:EquityContractMemberus-gaap:NondesignatedMember2023-12-310000886982us-gaap:EquityContractMemberus-gaap:NondesignatedMember2024-06-300000886982us-gaap:EquityContractMemberus-gaap:NondesignatedMember2023-12-310000886982us-gaap:NondesignatedMember2024-06-300000886982us-gaap:NondesignatedMember2023-12-310000886982us-gaap:InterestRateContractMembergs:BilateralOtcMemberus-gaap:DesignatedAsHedgingInstrumentMember2024-06-300000886982us-gaap:InterestRateContractMembergs:BilateralOtcMemberus-gaap:DesignatedAsHedgingInstrumentMember2023-12-310000886982us-gaap:InterestRateContractMemberus-gaap:DesignatedAsHedgingInstrumentMember2024-06-300000886982us-gaap:InterestRateContractMemberus-gaap:DesignatedAsHedgingInstrumentMember2023-12-310000886982us-gaap:ForeignExchangeContractMemberus-gaap:ExchangeClearedMemberus-gaap:DesignatedAsHedgingInstrumentMember2024-06-300000886982us-gaap:ForeignExchangeContractMemberus-gaap:ExchangeClearedMemberus-gaap:DesignatedAsHedgingInstrumentMember2023-12-310000886982gs:BilateralOtcMemberus-gaap:ForeignExchangeContractMemberus-gaap:DesignatedAsHedgingInstrumentMember2024-06-300000886982gs:BilateralOtcMemberus-gaap:ForeignExchangeContractMemberus-gaap:DesignatedAsHedgingInstrumentMember2023-12-310000886982us-gaap:ForeignExchangeContractMemberus-gaap:DesignatedAsHedgingInstrumentMember2024-06-300000886982us-gaap:ForeignExchangeContractMemberus-gaap:DesignatedAsHedgingInstrumentMember2023-12-310000886982us-gaap:DesignatedAsHedgingInstrumentMember2024-06-300000886982us-gaap:DesignatedAsHedgingInstrumentMember2023-12-310000886982gs:CounterpartyNettingMemberus-gaap:ExchangeTradedMember2024-06-300000886982gs:CounterpartyNettingMemberus-gaap:ExchangeTradedMember2023-12-310000886982gs:CounterpartyNettingMemberus-gaap:ExchangeClearedMember2024-06-300000886982gs:CounterpartyNettingMemberus-gaap:ExchangeClearedMember2023-12-310000886982gs:CounterpartyNettingMembergs:BilateralOtcMember2024-06-300000886982gs:CounterpartyNettingMembergs:BilateralOtcMember2023-12-310000886982gs:CounterpartyNettingMember2024-06-300000886982gs:CounterpartyNettingMember2023-12-310000886982gs:CashCollateralNettingAdjustmentMemberus-gaap:ExchangeClearedMember2024-06-300000886982gs:CashCollateralNettingAdjustmentMemberus-gaap:ExchangeClearedMember2023-12-310000886982gs:BilateralOtcMembergs:CashCollateralNettingAdjustmentMember2024-06-300000886982gs:BilateralOtcMembergs:CashCollateralNettingAdjustmentMember2023-12-310000886982gs:CashCollateralNettingAdjustmentMember2024-06-300000886982gs:CashCollateralNettingAdjustmentMember2023-12-310000886982us-gaap:ExchangeTradedMember2024-06-300000886982us-gaap:ExchangeTradedMember2023-12-310000886982us-gaap:ExchangeClearedMember2024-06-300000886982us-gaap:ExchangeClearedMember2023-12-310000886982gs:BilateralOtcMember2024-06-300000886982gs:BilateralOtcMember2023-12-310000886982us-gaap:CreditRiskContractMemberus-gaap:NondesignatedMemberus-gaap:ExchangeTradedMember2024-06-300000886982us-gaap:CreditRiskContractMemberus-gaap:NondesignatedMemberus-gaap:ExchangeTradedMember2023-12-310000886982us-gaap:InterestRateContractMemberus-gaap:ExchangeClearedMemberus-gaap:DesignatedAsHedgingInstrumentMember2024-06-300000886982us-gaap:InterestRateContractMemberus-gaap:ExchangeClearedMemberus-gaap:DesignatedAsHedgingInstrumentMember2023-12-3100008869822023-01-012023-12-310000886982us-gaap:InterestRateContractMembergs:DerivativesByTenorOneMemberus-gaap:OverTheCounterMember2024-06-300000886982us-gaap:InterestRateContractMembergs:DerivativesByTenorTwoMemberus-gaap:OverTheCounterMember2024-06-300000886982gs:DerivativesByTenorThreeMemberus-gaap:InterestRateContractMemberus-gaap:OverTheCounterMember2024-06-300000886982us-gaap:InterestRateContractMemberus-gaap:OverTheCounterMember2024-06-300000886982gs:DerivativesByTenorOneMemberus-gaap:CreditRiskContractMemberus-gaap:OverTheCounterMember2024-06-300000886982gs:DerivativesByTenorTwoMemberus-gaap:CreditRiskContractMemberus-gaap:OverTheCounterMember2024-06-300000886982gs:DerivativesByTenorThreeMemberus-gaap:CreditRiskContractMemberus-gaap:OverTheCounterMember2024-06-300000886982us-gaap:CreditRiskContractMemberus-gaap:OverTheCounterMember2024-06-300000886982gs:DerivativesByTenorOneMemberus-gaap:ForeignExchangeContractMemberus-gaap:OverTheCounterMember2024-06-300000886982gs:DerivativesByTenorTwoMemberus-gaap:ForeignExchangeContractMemberus-gaap:OverTheCounterMember2024-06-300000886982gs:DerivativesByTenorThreeMemberus-gaap:ForeignExchangeContractMemberus-gaap:OverTheCounterMember2024-06-300000886982us-gaap:ForeignExchangeContractMemberus-gaap:OverTheCounterMember2024-06-300000886982gs:DerivativesByTenorOneMemberus-gaap:OverTheCounterMemberus-gaap:CommodityContractMember2024-06-300000886982gs:DerivativesByTenorTwoMemberus-gaap:OverTheCounterMemberus-gaap:CommodityContractMember2024-06-300000886982gs:DerivativesByTenorThreeMemberus-gaap:OverTheCounterMemberus-gaap:CommodityContractMember2024-06-300000886982us-gaap:OverTheCounterMemberus-gaap:CommodityContractMember2024-06-300000886982gs:DerivativesByTenorOneMemberus-gaap:EquityContractMemberus-gaap:OverTheCounterMember2024-06-300000886982gs:DerivativesByTenorTwoMemberus-gaap:EquityContractMemberus-gaap:OverTheCounterMember2024-06-300000886982gs:DerivativesByTenorThreeMemberus-gaap:EquityContractMemberus-gaap:OverTheCounterMember2024-06-300000886982us-gaap:EquityContractMemberus-gaap:OverTheCounterMember2024-06-300000886982gs:CounterpartyNettingAdjustmentWithinTenorsMembergs:DerivativesByTenorOneMemberus-gaap:OverTheCounterMember2024-06-300000886982gs:CounterpartyNettingAdjustmentWithinTenorsMembergs:DerivativesByTenorTwoMemberus-gaap:OverTheCounterMember2024-06-300000886982gs:DerivativesByTenorThreeMembergs:CounterpartyNettingAdjustmentWithinTenorsMemberus-gaap:OverTheCounterMember2024-06-300000886982gs:CounterpartyNettingAdjustmentWithinTenorsMemberus-gaap:OverTheCounterMember2024-06-300000886982gs:DerivativesByTenorOneMemberus-gaap:OverTheCounterMember2024-06-300000886982gs:DerivativesByTenorTwoMemberus-gaap:OverTheCounterMember2024-06-300000886982gs:DerivativesByTenorThreeMemberus-gaap:OverTheCounterMember2024-06-300000886982us-gaap:OverTheCounterMember2024-06-300000886982gs:CrossMaturityNettingAdjustmentMemberus-gaap:OverTheCounterMember2024-06-300000886982gs:CashCollateralNettingAdjustmentMemberus-gaap:OverTheCounterMember2024-06-300000886982gs:CounterpartyAndCashCollateralNettingAdjustmentMemberus-gaap:OverTheCounterMember2024-06-300000886982us-gaap:InterestRateContractMembergs:DerivativesByTenorOneMemberus-gaap:OverTheCounterMember2023-12-310000886982us-gaap:InterestRateContractMembergs:DerivativesByTenorTwoMemberus-gaap:OverTheCounterMember2023-12-310000886982gs:DerivativesByTenorThreeMemberus-gaap:InterestRateContractMemberus-gaap:OverTheCounterMember2023-12-310000886982us-gaap:InterestRateContractMemberus-gaap:OverTheCounterMember2023-12-310000886982gs:DerivativesByTenorOneMemberus-gaap:CreditRiskContractMemberus-gaap:OverTheCounterMember2023-12-310000886982gs:DerivativesByTenorTwoMemberus-gaap:CreditRiskContractMemberus-gaap:OverTheCounterMember2023-12-310000886982gs:DerivativesByTenorThreeMemberus-gaap:CreditRiskContractMemberus-gaap:OverTheCounterMember2023-12-310000886982us-gaap:CreditRiskContractMemberus-gaap:OverTheCounterMember2023-12-310000886982gs:DerivativesByTenorOneMemberus-gaap:ForeignExchangeContractMemberus-gaap:OverTheCounterMember2023-12-310000886982gs:DerivativesByTenorTwoMemberus-gaap:ForeignExchangeContractMemberus-gaap:OverTheCounterMember2023-12-310000886982gs:DerivativesByTenorThreeMemberus-gaap:ForeignExchangeContractMemberus-gaap:OverTheCounterMember2023-12-310000886982us-gaap:ForeignExchangeContractMemberus-gaap:OverTheCounterMember2023-12-310000886982gs:DerivativesByTenorOneMemberus-gaap:OverTheCounterMemberus-gaap:CommodityContractMember2023-12-310000886982gs:DerivativesByTenorTwoMemberus-gaap:OverTheCounterMemberus-gaap:CommodityContractMember2023-12-310000886982gs:DerivativesByTenorThreeMemberus-gaap:OverTheCounterMemberus-gaap:CommodityContractMember2023-12-310000886982us-gaap:OverTheCounterMemberus-gaap:CommodityContractMember2023-12-310000886982gs:DerivativesByTenorOneMemberus-gaap:EquityContractMemberus-gaap:OverTheCounterMember2023-12-310000886982gs:DerivativesByTenorTwoMemberus-gaap:EquityContractMemberus-gaap:OverTheCounterMember2023-12-310000886982gs:DerivativesByTenorThreeMemberus-gaap:EquityContractMemberus-gaap:OverTheCounterMember2023-12-310000886982us-gaap:EquityContractMemberus-gaap:OverTheCounterMember2023-12-310000886982gs:CounterpartyNettingAdjustmentWithinTenorsMembergs:DerivativesByTenorOneMemberus-gaap:OverTheCounterMember2023-12-310000886982gs:CounterpartyNettingAdjustmentWithinTenorsMembergs:DerivativesByTenorTwoMemberus-gaap:OverTheCounterMember2023-12-310000886982gs:DerivativesByTenorThreeMembergs:CounterpartyNettingAdjustmentWithinTenorsMemberus-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:CreditSpreadOnUnderlyingBasisPointsOneMembergs:DerivativesByTenorOneMember2024-06-300000886982gs:CreditSpreadOnUnderlyingBasisPointsTwoMembergs:DerivativesByTenorOneMember2024-06-300000886982gs:DerivativesByTenorOneMembergs:CreditSpreadOnUnderlyingBasisPointsThreeMember2024-06-300000886982gs:CreditSpreadOnUnderlyingBasisPointsFourMembergs:DerivativesByTenorOneMember2024-06-300000886982gs:DerivativesByTenorOneMember2024-06-300000886982gs:CreditSpreadOnUnderlyingBasisPointsOneMembergs:DerivativesByTenorTwoMember2024-06-300000886982gs:CreditSpreadOnUnderlyingBasisPointsTwoMembergs:DerivativesByTenorTwoMember2024-06-300000886982gs:CreditSpreadOnUnderlyingBasisPointsThreeMembergs:DerivativesByTenorTwoMember2024-06-300000886982gs:CreditSpreadOnUnderlyingBasisPointsFourMembergs:DerivativesByTenorTwoMember2024-06-300000886982gs:DerivativesByTenorTwoMember2024-06-300000886982gs:DerivativesByTenorThreeMembergs:CreditSpreadOnUnderlyingBasisPointsOneMember2024-06-300000886982gs:DerivativesByTenorThreeMembergs:CreditSpreadOnUnderlyingBasisPointsTwoMember2024-06-300000886982gs:DerivativesByTenorThreeMembergs:CreditSpreadOnUnderlyingBasisPointsThreeMember2024-06-300000886982gs:DerivativesByTenorThreeMembergs:CreditSpreadOnUnderlyingBasisPointsFourMember2024-06-300000886982gs:DerivativesByTenorThreeMember2024-06-300000886982gs:CreditSpreadOnUnderlyingBasisPointsOneMember2024-06-300000886982gs:CreditSpreadOnUnderlyingBasisPointsTwoMember2024-06-300000886982gs:CreditSpreadOnUnderlyingBasisPointsThreeMember2024-06-300000886982gs:CreditSpreadOnUnderlyingBasisPointsFourMember2024-06-300000886982gs:CreditSpreadOnUnderlyingBasisPointsOneMembergs:OffsettingPurchasedCreditDerivativesMember2024-01-012024-06-300000886982gs:CreditSpreadOnUnderlyingBasisPointsTwoMembergs:OffsettingPurchasedCreditDerivativesMember2024-01-012024-06-300000886982gs:CreditSpreadOnUnderlyingBasisPointsThreeMembergs:OffsettingPurchasedCreditDerivativesMember2024-01-012024-06-300000886982gs:CreditSpreadOnUnderlyingBasisPointsFourMembergs:OffsettingPurchasedCreditDerivativesMember2024-01-012024-06-300000886982gs:OffsettingPurchasedCreditDerivativesMember2024-01-012024-06-300000886982gs:CreditSpreadOnUnderlyingBasisPointsOneMembergs:OtherPurchasedCreditDerivativesMember2024-01-012024-06-300000886982gs:CreditSpreadOnUnderlyingBasisPointsTwoMembergs:OtherPurchasedCreditDerivativesMember2024-01-012024-06-300000886982gs:CreditSpreadOnUnderlyingBasisPointsThreeMembergs:OtherPurchasedCreditDerivativesMember2024-01-012024-06-300000886982gs:CreditSpreadOnUnderlyingBasisPointsFourMembergs:OtherPurchasedCreditDerivativesMember2024-01-012024-06-300000886982gs:OtherPurchasedCreditDerivativesMember2024-01-012024-06-300000886982gs:CreditSpreadOnUnderlyingBasisPointsOneMember2024-01-012024-06-300000886982gs:CreditSpreadOnUnderlyingBasisPointsTwoMember2024-01-012024-06-300000886982gs:CreditSpreadOnUnderlyingBasisPointsThreeMember2024-01-012024-06-300000886982gs:CreditSpreadOnUnderlyingBasisPointsFourMember2024-01-012024-06-300000886982gs:CreditSpreadOnUnderlyingBasisPointsOneMembergs:WrittenCreditDerivativeMember2024-06-300000886982gs:CreditSpreadOnUnderlyingBasisPointsTwoMembergs:WrittenCreditDerivativeMember2024-06-300000886982gs:CreditSpreadOnUnderlyingBasisPointsThreeMembergs:WrittenCreditDerivativeMember2024-06-300000886982gs:CreditSpreadOnUnderlyingBasisPointsFourMembergs:WrittenCreditDerivativeMember2024-06-300000886982gs:WrittenCreditDerivativeMember2024-06-300000886982gs:CreditSpreadOnUnderlyingBasisPointsOneMembergs:DerivativesByTenorOneMember2023-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsTwoMembergs:DerivativesByTenorOneMember2023-12-310000886982gs:DerivativesByTenorOneMembergs:CreditSpreadOnUnderlyingBasisPointsThreeMember2023-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsFourMembergs:DerivativesByTenorOneMember2023-12-310000886982gs:DerivativesByTenorOneMember2023-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsOneMembergs:DerivativesByTenorTwoMember2023-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsTwoMembergs:DerivativesByTenorTwoMember2023-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsThreeMembergs:DerivativesByTenorTwoMember2023-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsFourMembergs:DerivativesByTenorTwoMember2023-12-310000886982gs:DerivativesByTenorTwoMember2023-12-310000886982gs:DerivativesByTenorThreeMembergs:CreditSpreadOnUnderlyingBasisPointsOneMember2023-12-310000886982gs:DerivativesByTenorThreeMembergs:CreditSpreadOnUnderlyingBasisPointsTwoMember2023-12-310000886982gs:DerivativesByTenorThreeMembergs:CreditSpreadOnUnderlyingBasisPointsThreeMember2023-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:CreditSpreadOnUnderlyingBasisPointsOneMembergs:OtherPurchasedCreditDerivativesMember2023-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:CreditSpreadOnUnderlyingBasisPointsOneMembergs:WrittenCreditDerivativeMember2023-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsTwoMembergs:WrittenCreditDerivativeMember2023-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsThreeMembergs:WrittenCreditDerivativeMember2023-12-310000886982gs:CreditSpreadOnUnderlyingBasisPointsFourMembergs:WrittenCreditDerivativeMember2023-12-310000886982gs:WrittenCreditDerivativeMember2023-12-310000886982us-gaap:EmbeddedDerivativeFinancialInstrumentsMember2024-06-300000886982us-gaap:EmbeddedDerivativeFinancialInstrumentsMember2023-12-310000886982gs:OneNotchReductionMember2024-06-300000886982gs:OneNotchReductionMember2023-12-310000886982gs:TwoNotchReductionMember2024-06-300000886982gs:TwoNotchReductionMember2023-12-310000886982us-gaap:InterestRateContractMemberus-gaap:FairValueHedgingMemberus-gaap:DesignatedAsHedgingInstrumentMember2024-04-012024-06-300000886982us-gaap:InterestRateContractMemberus-gaap:FairValueHedgingMemberus-gaap:DesignatedAsHedgingInstrumentMember2023-04-012023-06-300000886982us-gaap:InterestRateContractMemberus-gaap:FairValueHedgingMemberus-gaap:DesignatedAsHedgingInstrumentMember2024-01-012024-06-300000886982us-gaap:InterestRateContractMemberus-gaap:FairValueHedgingMemberus-gaap:DesignatedAsHedgingInstrumentMember2023-01-012023-06-300000886982gs:HedgedInvestmentsMemberus-gaap:FairValueHedgingMemberus-gaap:DesignatedAsHedgingInstrumentMember2024-04-012024-06-300000886982gs:HedgedInvestmentsMemberus-gaap:FairValueHedgingMemberus-gaap:DesignatedAsHedgingInstrumentMember2023-04-012023-06-300000886982gs:HedgedInvestmentsMemberus-gaap:FairValueHedgingMemberus-gaap:DesignatedAsHedgingInstrumentMember2024-01-012024-06-300000886982gs:HedgedInvestmentsMemberus-gaap:FairValueHedgingMemberus-gaap:DesignatedAsHedgingInstrumentMember2023-01-012023-06-300000886982us-gaap:FairValueHedgingMemberus-gaap:DesignatedAsHedgingInstrumentMember2024-04-012024-06-300000886982us-gaap:FairValueHedgingMemberus-gaap:DesignatedAsHedgingInstrumentMember2023-04-012023-06-300000886982us-gaap:FairValueHedgingMemberus-gaap:DesignatedAsHedgingInstrumentMember2024-01-012024-06-300000886982us-gaap:FairValueHedgingMemberus-gaap:DesignatedAsHedgingInstrumentMember2023-01-012023-06-300000886982us-gaap:FairValueHedgingMembergs:HedgedBorrowingsAndDepositsMemberus-gaap:DesignatedAsHedgingInstrumentMember2024-04-012024-06-300000886982us-gaap:FairValueHedgingMembergs:HedgedBorrowingsAndDepositsMemberus-gaap:DesignatedAsHedgingInstrumentMember2023-04-012023-06-300000886982us-gaap:FairValueHedgingMembergs:HedgedBorrowingsAndDepositsMemberus-gaap:DesignatedAsHedgingInstrumentMember2024-01-012024-06-300000886982us-gaap:FairValueHedgingMembergs:HedgedBorrowingsAndDepositsMemberus-gaap:DesignatedAsHedgingInstrumentMember2023-01-012023-06-300000886982us-gaap:InvestmentsMemberus-gaap:DesignatedAsHedgingInstrumentMember2024-06-300000886982us-gaap:DepositsMemberus-gaap:DesignatedAsHedgingInstrumentMember2024-06-300000886982gs:UnsecuredShortTermBorrowingsMemberus-gaap:DesignatedAsHedgingInstrumentMember2024-06-300000886982gs:UnsecuredLongTermBorrowingsMemberus-gaap:DesignatedAsHedgingInstrumentMember2024-06-300000886982us-gaap:InvestmentsMemberus-gaap:DesignatedAsHedgingInstrumentMember2023-12-310000886982us-gaap:DepositsMemberus-gaap:DesignatedAsHedgingInstrumentMember2023-12-310000886982gs:UnsecuredShortTermBorrowingsMemberus-gaap:DesignatedAsHedgingInstrumentMember2023-12-310000886982gs:UnsecuredLongTermBorrowingsMemberus-gaap:DesignatedAsHedgingInstrumentMember2023-12-310000886982us-gaap:NetInvestmentHedgingMemberus-gaap:ForeignExchangeContractMember2024-04-012024-06-300000886982us-gaap:NetInvestmentHedgingMemberus-gaap:ForeignExchangeContractMember2023-04-012023-06-300000886982us-gaap:NetInvestmentHedgingMemberus-gaap:ForeignExchangeContractMember2024-01-012024-06-300000886982us-gaap:NetInvestmentHedgingMemberus-gaap:ForeignExchangeContractMember2023-01-012023-06-300000886982us-gaap:NetInvestmentHedgingMemberus-gaap:AccumulatedTranslationAdjustmentMember2024-04-012024-06-300000886982us-gaap:NetInvestmentHedgingMemberus-gaap:AccumulatedTranslationAdjustmentMember2023-04-012023-06-300000886982us-gaap:NetInvestmentHedgingMemberus-gaap:AccumulatedTranslationAdjustmentMember2024-01-012024-06-300000886982us-gaap:NetInvestmentHedgingMemberus-gaap:AccumulatedTranslationAdjustmentMember2023-01-012023-06-300000886982gs:PublicEquityMember2024-06-300000886982gs:PublicEquityMember2023-12-310000886982gs:PrivateEquityMember2024-06-300000886982gs:PrivateEquityMember2023-12-310000886982gs:PublicAndPrivateEquityMember2024-06-300000886982gs:PublicAndPrivateEquityMember2023-12-310000886982gs:CorporateEquitySecuritiesMember2024-06-300000886982gs:CorporateEquitySecuritiesMember2023-12-310000886982us-gaap:RealEstateSectorMember2024-06-300000886982us-gaap:RealEstateSectorMember2023-12-310000886982gs:CorporateAndRealEstateMember2024-06-300000886982gs:CorporateAndRealEstateMember2023-12-310000886982us-gaap:EquitySecuritiesMember2024-06-300000886982us-gaap:EquitySecuritiesMember2023-12-310000886982us-gaap:FairValueOptionOtherEligibleItemsMember2024-04-012024-06-300000886982us-gaap:FairValueOptionOtherEligibleItemsMember2023-04-012023-06-300000886982us-gaap:FairValueOptionOtherEligibleItemsMember2024-01-012024-06-300000886982us-gaap:FairValueOptionOtherEligibleItemsMember2023-01-012023-06-300000886982us-gaap:InvestmentsMember2024-06-300000886982us-gaap:InvestmentsMember2023-12-310000886982us-gaap:CorporateDebtSecuritiesMember2024-06-300000886982us-gaap:CorporateDebtSecuritiesMember2023-12-310000886982gs:SecuritiesBackedByRealEstateMember2024-06-300000886982gs:SecuritiesBackedByRealEstateMember2023-12-310000886982gs:MoneyMarketInstrumentsMember2024-06-300000886982gs:MoneyMarketInstrumentsMember2023-12-310000886982us-gaap:OtherDebtSecuritiesMember2024-06-300000886982us-gaap:OtherDebtSecuritiesMember2023-12-310000886982us-gaap:PrivateEquityFundsMember2024-06-300000886982gs:CreditFundsMember2024-06-300000886982us-gaap:HedgeFundsMember2024-06-300000886982us-gaap:RealEstateFundsMember2024-06-300000886982us-gaap:PrivateEquityFundsMember2023-12-310000886982gs:CreditFundsMember2023-12-310000886982us-gaap:HedgeFundsMember2023-12-310000886982us-gaap:RealEstateFundsMember2023-12-310000886982us-gaap:USTreasurySecuritiesMember2024-06-300000886982us-gaap:ForeignGovernmentDebtSecuritiesMember2024-06-300000886982us-gaap:USTreasurySecuritiesMember2023-12-310000886982us-gaap:ForeignGovernmentDebtSecuritiesMember2023-12-310000886982us-gaap:USGovernmentDebtSecuritiesMember2024-06-300000886982us-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember2024-06-300000886982us-gaap:AssetBackedSecuritiesMember2024-06-300000886982us-gaap:USGovernmentDebtSecuritiesMember2023-12-310000886982us-gaap:AssetBackedSecuritiesMember2023-12-310000886982gs:AmortizedCostMembergs:CorporateLoansMember2024-06-300000886982gs:FairValueMembergs:CorporateLoansMember2024-06-300000886982gs:HeldForSaleMembergs:CorporateLoansMember2024-06-300000886982gs:AmortizedCostMembergs:CommercialRealEstateLoansMember2024-06-300000886982gs:CommercialRealEstateLoansMembergs:FairValueMember2024-06-300000886982gs:CommercialRealEstateLoansMembergs:HeldForSaleMember2024-06-300000886982gs:AmortizedCostMembergs:ResidentialRealEstateLoansMember2024-06-300000886982gs:ResidentialRealEstateLoansMembergs:FairValueMember2024-06-300000886982gs:HeldForSaleMembergs:ResidentialRealEstateLoansMember2024-06-300000886982gs:SecuritiesBasedMembergs:AmortizedCostMember2024-06-300000886982gs:SecuritiesBasedMembergs:FairValueMember2024-06-300000886982gs:SecuritiesBasedMembergs:HeldForSaleMember2024-06-300000886982gs:SecuritiesBasedMember2024-06-300000886982gs:AmortizedCostMembergs:OtherCollateralizedMember2024-06-300000886982gs:OtherCollateralizedMembergs:FairValueMember2024-06-300000886982gs:OtherCollateralizedMembergs:HeldForSaleMember2024-06-300000886982gs:AmortizedCostMembergs:InstallmentMember2024-06-300000886982gs:InstallmentMembergs:FairValueMember2024-06-300000886982gs:HeldForSaleMembergs:InstallmentMember2024-06-300000886982gs:InstallmentMember2024-06-300000886982us-gaap:CreditCardReceivablesMembergs:AmortizedCostMember2024-06-300000886982us-gaap:CreditCardReceivablesMembergs:FairValueMember2024-06-300000886982us-gaap:CreditCardReceivablesMembergs:HeldForSaleMember2024-06-300000886982us-gaap:CreditCardReceivablesMember2024-06-300000886982gs:AmortizedCostMembergs:OtherLoansMember2024-06-300000886982gs:OtherLoansMembergs:FairValueMember2024-06-300000886982gs:HeldForSaleMembergs:OtherLoansMember2024-06-300000886982gs:AmortizedCostMember2024-06-300000886982gs:FairValueMember2024-06-300000886982gs:HeldForSaleMember2024-06-300000886982gs:AmortizedCostMembergs:CorporateLoansMember2023-12-310000886982gs:FairValueMembergs:CorporateLoansMember2023-12-310000886982gs:HeldForSaleMembergs:CorporateLoansMember2023-12-310000886982gs:AmortizedCostMembergs:CommercialRealEstateLoansMember2023-12-310000886982gs:CommercialRealEstateLoansMembergs:FairValueMember2023-12-310000886982gs:CommercialRealEstateLoansMembergs:HeldForSaleMember2023-12-310000886982gs:AmortizedCostMembergs:ResidentialRealEstateLoansMember2023-12-310000886982gs:ResidentialRealEstateLoansMembergs:FairValueMember2023-12-310000886982gs:HeldForSaleMembergs:ResidentialRealEstateLoansMember2023-12-310000886982gs:SecuritiesBasedMembergs:AmortizedCostMember2023-12-310000886982gs:SecuritiesBasedMembergs:FairValueMember2023-12-310000886982gs:SecuritiesBasedMembergs:HeldForSaleMember2023-12-310000886982gs:SecuritiesBasedMember2023-12-310000886982gs:AmortizedCostMembergs:OtherCollateralizedMember2023-12-310000886982gs:OtherCollateralizedMembergs:FairValueMember2023-12-310000886982gs:OtherCollateralizedMembergs:HeldForSaleMember2023-12-310000886982gs:AmortizedCostMembergs:InstallmentMember2023-12-310000886982gs:InstallmentMembergs:FairValueMember2023-12-310000886982gs:HeldForSaleMembergs:InstallmentMember2023-12-310000886982gs:InstallmentMember2023-12-310000886982us-gaap:CreditCardReceivablesMembergs:AmortizedCostMember2023-12-310000886982us-gaap:CreditCardReceivablesMembergs:FairValueMember2023-12-310000886982us-gaap:CreditCardReceivablesMembergs:HeldForSaleMember2023-12-310000886982us-gaap:CreditCardReceivablesMember2023-12-310000886982gs:AmortizedCostMembergs:OtherLoansMember2023-12-310000886982gs:OtherLoansMembergs:FairValueMember2023-12-310000886982gs:HeldForSaleMembergs:OtherLoansMember2023-12-310000886982gs:AmortizedCostMember2023-12-310000886982gs:FairValueMember2023-12-310000886982gs:HeldForSaleMember2023-12-310000886982gs:MarcusMember2023-01-012023-12-310000886982gs:GreenSkyMember2023-01-012023-12-310000886982gs:GreenSkyMember2024-01-012024-03-310000886982gs:GMMember2023-01-012023-12-310000886982gs:PrivateEquityCapitalCallFacilitiesMember2023-01-012023-12-310000886982gs:FundedLoansMember2023-01-012023-12-310000886982gs:AmortizedCostMemberus-gaap:InternalInvestmentGradeMember2024-06-300000886982gs:AmortizedCostMemberus-gaap:InternalNoninvestmentGradeMember2024-06-300000886982gs:AmortizedCostMembergs:OtherMetricsUnratedMember2024-06-300000886982us-gaap:InternalInvestmentGradeMember2024-06-300000886982us-gaap:InternalNoninvestmentGradeMember2024-06-300000886982gs:OtherMetricsUnratedMember2024-06-300000886982us-gaap:InternalInvestmentGradeMembergs:CorporateLoansMember2024-06-300000886982gs:CorporateLoansMemberus-gaap:InternalNoninvestmentGradeMember2024-06-300000886982gs:OtherMetricsUnratedMembergs:CorporateLoansMember2024-06-300000886982gs:CommercialRealEstateLoansMemberus-gaap:InternalInvestmentGradeMember2024-06-300000886982gs:CommercialRealEstateLoansMemberus-gaap:InternalNoninvestmentGradeMember2024-06-300000886982gs:CommercialRealEstateLoansMembergs:OtherMetricsUnratedMember2024-06-300000886982us-gaap:InternalInvestmentGradeMembergs:ResidentialRealEstateLoansMember2024-06-300000886982gs:ResidentialRealEstateLoansMemberus-gaap:InternalNoninvestmentGradeMember2024-06-300000886982gs:OtherMetricsUnratedMembergs:ResidentialRealEstateLoansMember2024-06-300000886982gs:SecuritiesBasedMemberus-gaap:InternalInvestmentGradeMember2024-06-300000886982gs:SecuritiesBasedMemberus-gaap:InternalNoninvestmentGradeMember2024-06-300000886982gs:SecuritiesBasedMembergs:OtherMetricsUnratedMember2024-06-300000886982gs:OtherCollateralizedMemberus-gaap:InternalInvestmentGradeMember2024-06-300000886982gs:OtherCollateralizedMemberus-gaap:InternalNoninvestmentGradeMember2024-06-300000886982gs:OtherCollateralizedMembergs:OtherMetricsUnratedMember2024-06-300000886982gs:InstallmentLoansMemberus-gaap:InternalInvestmentGradeMember2024-06-300000886982gs:InstallmentLoansMemberus-gaap:InternalNoninvestmentGradeMember2024-06-300000886982gs:InstallmentLoansMembergs:OtherMetricsUnratedMember2024-06-300000886982gs:InstallmentLoansMember2024-06-300000886982us-gaap:CreditCardReceivablesMemberus-gaap:InternalInvestmentGradeMember2024-06-300000886982us-gaap:CreditCardReceivablesMemberus-gaap:InternalNoninvestmentGradeMember2024-06-300000886982us-gaap:CreditCardReceivablesMembergs:OtherMetricsUnratedMember2024-06-300000886982us-gaap:InternalInvestmentGradeMembergs:OtherLoansMember2024-06-300000886982gs:OtherLoansMemberus-gaap:InternalNoninvestmentGradeMember2024-06-300000886982gs:OtherMetricsUnratedMembergs:OtherLoansMember2024-06-300000886982gs:SecuredLoansAndLeasesReceivableMemberus-gaap:InternalInvestmentGradeMember2024-06-300000886982gs:SecuredLoansAndLeasesReceivableMemberus-gaap:InternalNoninvestmentGradeMember2024-06-300000886982gs:SecuredLoansAndLeasesReceivableMembergs:OtherMetricsUnratedMember2024-06-300000886982gs:SecuredLoansAndLeasesReceivableMember2024-06-300000886982gs:UnsecuredLoansAndLeasesReceivableMemberus-gaap:InternalInvestmentGradeMember2024-06-300000886982gs:UnsecuredLoansAndLeasesReceivableMemberus-gaap:InternalNoninvestmentGradeMember2024-06-300000886982gs:OtherMetricsUnratedMembergs:UnsecuredLoansAndLeasesReceivableMember2024-06-300000886982gs:UnsecuredLoansAndLeasesReceivableMember2024-06-300000886982gs:AmortizedCostMemberus-gaap:InternalInvestmentGradeMember2023-12-310000886982gs:AmortizedCostMemberus-gaap:InternalNoninvestmentGradeMember2023-12-310000886982gs:AmortizedCostMembergs:OtherMetricsUnratedMember2023-12-310000886982us-gaap:InternalInvestmentGradeMember2023-12-310000886982us-gaap:InternalNoninvestmentGradeMember2023-12-310000886982gs:OtherMetricsUnratedMember2023-12-310000886982us-gaap:InternalInvestmentGradeMembergs:CorporateLoansMember2023-12-310000886982gs:CorporateLoansMemberus-gaap:InternalNoninvestmentGradeMember2023-12-310000886982gs:OtherMetricsUnratedMembergs:CorporateLoansMember2023-12-310000886982gs:CommercialRealEstateLoansMemberus-gaap:InternalInvestmentGradeMember2023-12-310000886982gs:CommercialRealEstateLoansMemberus-gaap:InternalNoninvestmentGradeMember2023-12-310000886982gs:CommercialRealEstateLoansMembergs:OtherMetricsUnratedMember2023-12-310000886982us-gaap:InternalInvestmentGradeMembergs:ResidentialRealEstateLoansMember2023-12-310000886982gs:ResidentialRealEstateLoansMemberus-gaap:InternalNoninvestmentGradeMember2023-12-310000886982gs:OtherMetricsUnratedMembergs:ResidentialRealEstateLoansMember2023-12-310000886982gs:SecuritiesBasedMemberus-gaap:InternalInvestmentGradeMember2023-12-310000886982gs:SecuritiesBasedMemberus-gaap:InternalNoninvestmentGradeMember2023-12-310000886982gs:SecuritiesBasedMembergs:OtherMetricsUnratedMember2023-12-310000886982gs:OtherCollateralizedMemberus-gaap:InternalInvestmentGradeMember2023-12-310000886982gs:OtherCollateralizedMemberus-gaap:InternalNoninvestmentGradeMember2023-12-310000886982gs:OtherCollateralizedMembergs:OtherMetricsUnratedMember2023-12-310000886982gs:InstallmentLoansMemberus-gaap:InternalInvestmentGradeMember2023-12-310000886982gs:InstallmentLoansMemberus-gaap:InternalNoninvestmentGradeMember2023-12-310000886982gs:InstallmentLoansMembergs:OtherMetricsUnratedMember2023-12-310000886982gs:InstallmentLoansMember2023-12-310000886982us-gaap:CreditCardReceivablesMemberus-gaap:InternalInvestmentGradeMember2023-12-310000886982us-gaap:CreditCardReceivablesMemberus-gaap:InternalNoninvestmentGradeMember2023-12-310000886982us-gaap:CreditCardReceivablesMembergs:OtherMetricsUnratedMember2023-12-310000886982us-gaap:InternalInvestmentGradeMembergs:OtherLoansMember2023-12-310000886982gs:OtherLoansMemberus-gaap:InternalNoninvestmentGradeMember2023-12-310000886982gs:OtherMetricsUnratedMembergs:OtherLoansMember2023-12-310000886982gs:SecuredLoansAndLeasesReceivableMemberus-gaap:InternalInvestmentGradeMember2023-12-310000886982gs:SecuredLoansAndLeasesReceivableMemberus-gaap:InternalNoninvestmentGradeMember2023-12-310000886982gs:SecuredLoansAndLeasesReceivableMembergs:OtherMetricsUnratedMember2023-12-310000886982gs:SecuredLoansAndLeasesReceivableMember2023-12-310000886982gs:UnsecuredLoansAndLeasesReceivableMemberus-gaap:InternalInvestmentGradeMember2023-12-310000886982gs:UnsecuredLoansAndLeasesReceivableMemberus-gaap:InternalNoninvestmentGradeMember2023-12-310000886982gs:OtherMetricsUnratedMembergs:UnsecuredLoansAndLeasesReceivableMember2023-12-310000886982gs:UnsecuredLoansAndLeasesReceivableMember2023-12-310000886982gs:FICOCreditScoreGreaterThan740Membergs:ResidentialRealEstateLoansMember2023-12-310000886982gs:FICOCreditScoreGreaterThan740Membergs:ResidentialRealEstateLoansMember2024-06-300000886982gs:CorporateLoansMemberus-gaap:InternalInvestmentGradeMember2024-06-300000886982gs:CorporateLoansMemberus-gaap:InternalNoninvestmentGradeMember2024-06-300000886982gs:UnratedMembergs:CorporateLoansMember2024-06-300000886982gs:CorporateLoansMember2024-06-300000886982us-gaap:InternalInvestmentGradeMembergs:CommercialRealEstateLoansMember2024-06-300000886982gs:CommercialRealEstateLoansMemberus-gaap:InternalNoninvestmentGradeMember2024-06-300000886982gs:UnratedMembergs:CommercialRealEstateLoansMember2024-06-300000886982gs:CommercialRealEstateLoansMember2024-06-300000886982gs:ResidentialRealEstateLoansMemberus-gaap:InternalInvestmentGradeMember2024-06-300000886982gs:ResidentialRealEstateLoansMemberus-gaap:InternalNoninvestmentGradeMember2024-06-300000886982gs:UnratedMembergs:ResidentialRealEstateLoansMember2024-06-300000886982gs:ResidentialRealEstateLoansMember2024-06-300000886982us-gaap:InternalInvestmentGradeMembergs:SecuritiesBasedMember2024-06-300000886982gs:SecuritiesBasedMemberus-gaap:InternalNoninvestmentGradeMember2024-06-300000886982gs:UnratedMembergs:SecuritiesBasedMember2024-06-300000886982gs:SecuritiesBasedMember2024-06-300000886982us-gaap:InternalInvestmentGradeMembergs:OtherCollateralizedMember2024-06-300000886982gs:OtherCollateralizedMemberus-gaap:InternalNoninvestmentGradeMember2024-06-300000886982gs:UnratedMembergs:OtherCollateralizedMember2024-06-300000886982gs:OtherCollateralizedMember2024-06-300000886982gs:OtherLoansMemberus-gaap:InternalInvestmentGradeMember2024-06-300000886982gs:OtherLoansMemberus-gaap:InternalNoninvestmentGradeMember2024-06-300000886982gs:UnratedMembergs:OtherLoansMember2024-06-300000886982gs:OtherLoansMember2024-06-300000886982us-gaap:InternalInvestmentGradeMembergs:AllClassesExceptConsumerMember2024-06-300000886982gs:AllClassesExceptConsumerMemberus-gaap:InternalNoninvestmentGradeMember2024-06-300000886982gs:UnratedMembergs:AllClassesExceptConsumerMember2024-06-300000886982gs:AllClassesExceptConsumerMember2024-06-300000886982gs:UnratedMember2024-06-300000886982gs:CorporateLoansMemberus-gaap:InternalInvestmentGradeMember2023-12-310000886982gs:CorporateLoansMemberus-gaap:InternalNoninvestmentGradeMember2023-12-310000886982gs:UnratedMembergs:CorporateLoansMember2023-12-310000886982gs:CorporateLoansMember2023-12-310000886982us-gaap:InternalInvestmentGradeMembergs:CommercialRealEstateLoansMember2023-12-310000886982gs:CommercialRealEstateLoansMemberus-gaap:InternalNoninvestmentGradeMember2023-12-310000886982gs:UnratedMembergs:CommercialRealEstateLoansMember2023-12-310000886982gs:CommercialRealEstateLoansMember2023-12-310000886982gs:ResidentialRealEstateLoansMemberus-gaap:InternalInvestmentGradeMember2023-12-310000886982gs:ResidentialRealEstateLoansMemberus-gaap:InternalNoninvestmentGradeMember2023-12-310000886982gs:UnratedMembergs:ResidentialRealEstateLoansMember2023-12-310000886982gs:ResidentialRealEstateLoansMember2023-12-310000886982us-gaap:InternalInvestmentGradeMembergs:SecuritiesBasedMember2023-12-310000886982gs:SecuritiesBasedMemberus-gaap:InternalNoninvestmentGradeMember2023-12-310000886982gs:UnratedMembergs:SecuritiesBasedMember2023-12-310000886982gs:SecuritiesBasedMember2023-12-310000886982us-gaap:InternalInvestmentGradeMembergs:OtherCollateralizedMember2023-12-310000886982gs:OtherCollateralizedMemberus-gaap:InternalNoninvestmentGradeMember2023-12-310000886982gs:UnratedMembergs:OtherCollateralizedMember2023-12-310000886982gs:OtherCollateralizedMember2023-12-310000886982gs:OtherLoansMemberus-gaap:InternalInvestmentGradeMember2023-12-310000886982gs:OtherLoansMemberus-gaap:InternalNoninvestmentGradeMember2023-12-310000886982gs:UnratedMembergs:OtherLoansMember2023-12-310000886982gs:OtherLoansMember2023-12-310000886982us-gaap:InternalInvestmentGradeMembergs:AllClassesExceptConsumerMember2023-12-310000886982gs:AllClassesExceptConsumerMemberus-gaap:InternalNoninvestmentGradeMember2023-12-310000886982gs:UnratedMembergs:AllClassesExceptConsumerMember2023-12-310000886982gs:AllClassesExceptConsumerMember2023-12-310000886982gs:UnratedMember2023-12-310000886982exch:FICOgs:InstallmentLoansMembergs:FicoScoreGreaterThan660Member2024-06-300000886982exch:FICOgs:InstallmentLoansMembergs:FicoScoreLessThan600Member2024-06-300000886982exch:FICOgs:InstallmentLoansMember2024-06-300000886982exch:FICOus-gaap:CreditCardReceivablesMembergs:FicoScoreGreaterThan660Member2024-06-300000886982exch:FICOus-gaap:CreditCardReceivablesMembergs:FicoScoreLessThan600Member2024-06-300000886982exch:FICOus-gaap:CreditCardReceivablesMember2024-06-300000886982exch:FICOgs:FicoScoreGreaterThan660Member2024-06-300000886982exch:FICOgs:FicoScoreLessThan600Member2024-06-300000886982exch:FICO2024-06-300000886982exch:FICOgs:InstallmentLoansMembergs:FicoScoreGreaterThan660Member2023-12-310000886982exch:FICOgs:InstallmentLoansMembergs:FicoScoreLessThan600Member2023-12-310000886982exch:FICOgs:InstallmentLoansMember2023-12-310000886982exch:FICOus-gaap:CreditCardReceivablesMembergs:FicoScoreGreaterThan660Member2023-12-310000886982exch:FICOus-gaap:CreditCardReceivablesMembergs:FicoScoreLessThan600Member2023-12-310000886982exch:FICOus-gaap:CreditCardReceivablesMember2023-12-310000886982exch:FICOgs:FicoScoreGreaterThan660Member2023-12-310000886982exch:FICOgs:FicoScoreLessThan600Member2023-12-310000886982exch:FICO2023-12-310000886982srt:AmericasMembergs:CorporateLoansMember2024-06-300000886982us-gaap:EMEAMembergs:CorporateLoansMember2024-06-300000886982srt:AsiaMembergs:CorporateLoansMember2024-06-300000886982gs:CommercialRealEstateLoansMembersrt:AmericasMember2024-06-300000886982gs:CommercialRealEstateLoansMemberus-gaap:EMEAMember2024-06-300000886982gs:CommercialRealEstateLoansMembersrt:AsiaMember2024-06-300000886982srt:AmericasMembergs:ResidentialRealEstateLoansMember2024-06-300000886982us-gaap:EMEAMembergs:ResidentialRealEstateLoansMember2024-06-300000886982gs:ResidentialRealEstateLoansMembersrt:AsiaMember2024-06-300000886982gs:SecuritiesBasedMembersrt:AmericasMember2024-06-300000886982gs:SecuritiesBasedMemberus-gaap:EMEAMember2024-06-300000886982gs:SecuritiesBasedMembersrt:AsiaMember2024-06-300000886982gs:OtherCollateralizedMembersrt:AmericasMember2024-06-300000886982gs:OtherCollateralizedMemberus-gaap:EMEAMember2024-06-300000886982gs:OtherCollateralizedMembersrt:AsiaMember2024-06-300000886982gs:InstallmentLoansMembersrt:AmericasMember2024-06-300000886982gs:InstallmentLoansMemberus-gaap:EMEAMember2024-06-300000886982gs:InstallmentLoansMembersrt:AsiaMember2024-06-300000886982us-gaap:CreditCardReceivablesMembersrt:AmericasMember2024-06-300000886982us-gaap:CreditCardReceivablesMemberus-gaap:EMEAMember2024-06-300000886982us-gaap:CreditCardReceivablesMembersrt:AsiaMember2024-06-300000886982srt:AmericasMembergs:OtherLoansMember2024-06-300000886982us-gaap:EMEAMembergs:OtherLoansMember2024-06-300000886982gs:OtherLoansMembersrt:AsiaMember2024-06-300000886982srt:AmericasMember2024-06-300000886982us-gaap:EMEAMember2024-06-300000886982srt:AsiaMember2024-06-300000886982srt:AmericasMembergs:CorporateLoansMember2023-12-310000886982us-gaap:EMEAMembergs:CorporateLoansMember2023-12-310000886982srt:AsiaMembergs:CorporateLoansMember2023-12-310000886982gs:CommercialRealEstateLoansMembersrt:AmericasMember2023-12-310000886982gs:CommercialRealEstateLoansMemberus-gaap:EMEAMember2023-12-310000886982gs:CommercialRealEstateLoansMembersrt:AsiaMember2023-12-310000886982srt:AmericasMembergs:ResidentialRealEstateLoansMember2023-12-310000886982us-gaap:EMEAMembergs:ResidentialRealEstateLoansMember2023-12-310000886982gs:ResidentialRealEstateLoansMembersrt:AsiaMember2023-12-310000886982gs:SecuritiesBasedMembersrt:AmericasMember2023-12-310000886982gs:SecuritiesBasedMemberus-gaap:EMEAMember2023-12-310000886982gs:SecuritiesBasedMembersrt:AsiaMember2023-12-310000886982gs:OtherCollateralizedMembersrt:AmericasMember2023-12-310000886982gs:OtherCollateralizedMemberus-gaap:EMEAMember2023-12-310000886982gs:OtherCollateralizedMembersrt:AsiaMember2023-12-310000886982gs:InstallmentLoansMembersrt:AmericasMember2023-12-310000886982gs:InstallmentLoansMemberus-gaap:EMEAMember2023-12-310000886982gs:InstallmentLoansMembersrt:AsiaMember2023-12-310000886982us-gaap:CreditCardReceivablesMembersrt:AmericasMember2023-12-310000886982us-gaap:CreditCardReceivablesMemberus-gaap:EMEAMember2023-12-310000886982us-gaap:CreditCardReceivablesMembersrt:AsiaMember2023-12-310000886982srt:AmericasMembergs:OtherLoansMember2023-12-310000886982us-gaap:EMEAMembergs:OtherLoansMember2023-12-310000886982gs:OtherLoansMembersrt:AsiaMember2023-12-310000886982srt:AmericasMember2023-12-310000886982us-gaap:EMEAMember2023-12-310000886982srt:AsiaMember2023-12-310000886982gs:TechnologyMediaTelecommunicationsMember2024-06-300000886982gs:DiversifiedIndustrialsMember2024-06-300000886982gs:ConsumerAndRetailMember2024-06-300000886982us-gaap:HealthCareMember2024-06-300000886982gs:TechnologyMediaTelecommunicationsMember2023-12-310000886982gs:DiversifiedIndustrialsMember2023-12-310000886982gs:ConsumerAndRetailMember2023-12-310000886982us-gaap:HealthCareMember2023-12-310000886982us-gaap:Maturity30To90DaysMembergs:CorporateLoansMember2024-06-300000886982us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMembergs:CorporateLoansMember2024-06-300000886982gs:CorporateLoansMemberus-gaap:FinancialAssetPastDueMember2024-06-300000886982gs:CommercialRealEstateLoansMemberus-gaap:Maturity30To90DaysMember2024-06-300000886982us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMembergs:CommercialRealEstateLoansMember2024-06-300000886982gs:CommercialRealEstateLoansMemberus-gaap:FinancialAssetPastDueMember2024-06-300000886982us-gaap:Maturity30To90DaysMembergs:ResidentialRealEstateLoansMember2024-06-300000886982us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMembergs:ResidentialRealEstateLoansMember2024-06-300000886982gs:ResidentialRealEstateLoansMemberus-gaap:FinancialAssetPastDueMember2024-06-300000886982gs:SecuritiesBasedMemberus-gaap:Maturity30To90DaysMember2024-06-300000886982us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMembergs:SecuritiesBasedMember2024-06-300000886982gs:SecuritiesBasedMemberus-gaap:FinancialAssetPastDueMember2024-06-300000886982gs:OtherCollateralizedMemberus-gaap:Maturity30To90DaysMember2024-06-300000886982us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMembergs:OtherCollateralizedMember2024-06-300000886982gs:OtherCollateralizedMemberus-gaap:FinancialAssetPastDueMember2024-06-300000886982gs:InstallmentLoansMemberus-gaap:Maturity30To90DaysMember2024-06-300000886982gs:InstallmentLoansMemberus-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember2024-06-300000886982gs:InstallmentLoansMemberus-gaap:FinancialAssetPastDueMember2024-06-300000886982us-gaap:CreditCardReceivablesMemberus-gaap:Maturity30To90DaysMember2024-06-300000886982us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMemberus-gaap:CreditCardReceivablesMember2024-06-300000886982us-gaap:CreditCardReceivablesMemberus-gaap:FinancialAssetPastDueMember2024-06-300000886982us-gaap:Maturity30To90DaysMembergs:OtherLoansMember2024-06-300000886982us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMembergs:OtherLoansMember2024-06-300000886982gs:OtherLoansMemberus-gaap:FinancialAssetPastDueMember2024-06-300000886982us-gaap:Maturity30To90DaysMember2024-06-300000886982us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember2024-06-300000886982us-gaap:FinancialAssetPastDueMember2024-06-300000886982us-gaap:Maturity30To90DaysMembergs:CorporateLoansMember2023-12-310000886982us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMembergs:CorporateLoansMember2023-12-310000886982gs:CorporateLoansMemberus-gaap:FinancialAssetPastDueMember2023-12-310000886982gs:CommercialRealEstateLoansMemberus-gaap:Maturity30To90DaysMember2023-12-310000886982us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMembergs:CommercialRealEstateLoansMember2023-12-310000886982gs:CommercialRealEstateLoansMemberus-gaap:FinancialAssetPastDueMember2023-12-310000886982us-gaap:Maturity30To90DaysMembergs:ResidentialRealEstateLoansMember2023-12-310000886982us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMembergs:ResidentialRealEstateLoansMember2023-12-310000886982gs:ResidentialRealEstateLoansMemberus-gaap:FinancialAssetPastDueMember2023-12-310000886982gs:SecuritiesBasedMemberus-gaap:Maturity30To90DaysMember2023-12-310000886982us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMembergs:SecuritiesBasedMember2023-12-310000886982gs:SecuritiesBasedMemberus-gaap:FinancialAssetPastDueMember2023-12-310000886982gs:OtherCollateralizedMemberus-gaap:Maturity30To90DaysMember2023-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:CommercialPortfolioSegmentMembergs:CorporateLoansMember2024-06-300000886982us-gaap:CommercialPortfolioSegmentMembergs:AmortizedCostMembergs:CorporateLoansMember2024-06-300000886982us-gaap:CommercialPortfolioSegmentMembergs:CorporateLoansMember2023-12-310000886982us-gaap:CommercialPortfolioSegmentMembergs:AmortizedCostMembergs:CorporateLoansMember2023-12-310000886982gs:CommercialRealEstateLoansMemberus-gaap:CommercialPortfolioSegmentMember2024-06-300000886982gs:CommercialRealEstateLoansMemberus-gaap:CommercialPortfolioSegmentMembergs:AmortizedCostMember2024-06-300000886982gs:CommercialRealEstateLoansMemberus-gaap:CommercialPortfolioSegmentMember2023-12-310000886982gs:CommercialRealEstateLoansMemberus-gaap:CommercialPortfolioSegmentMembergs:AmortizedCostMember2023-12-310000886982us-gaap:CommercialPortfolioSegmentMembergs:ResidentialRealEstateLoansMember2024-06-300000886982us-gaap:CommercialPortfolioSegmentMembergs:ResidentialRealEstateLoansMembergs:AmortizedCostMember2024-06-300000886982us-gaap:CommercialPortfolioSegmentMembergs:ResidentialRealEstateLoansMember2023-12-310000886982us-gaap:CommercialPortfolioSegmentMembergs:ResidentialRealEstateLoansMembergs:AmortizedCostMember2023-12-310000886982gs:SecuritiesBasedMemberus-gaap:CommercialPortfolioSegmentMember2024-06-300000886982gs:SecuritiesBasedMemberus-gaap:CommercialPortfolioSegmentMembergs:AmortizedCostMember2024-06-300000886982gs:SecuritiesBasedMemberus-gaap:CommercialPortfolioSegmentMember2023-12-310000886982gs:SecuritiesBasedMemberus-gaap:CommercialPortfolioSegmentMembergs:AmortizedCostMember2023-12-310000886982gs:OtherCollateralizedMemberus-gaap:CommercialPortfolioSegmentMember2024-06-300000886982gs:OtherCollateralizedMemberus-gaap:CommercialPortfolioSegmentMembergs:AmortizedCostMember2024-06-300000886982gs:OtherCollateralizedMemberus-gaap:CommercialPortfolioSegmentMember2023-12-310000886982gs:OtherCollateralizedMemberus-gaap:CommercialPortfolioSegmentMembergs:AmortizedCostMember2023-12-310000886982us-gaap:CommercialPortfolioSegmentMembergs:OtherLoansMember2024-06-300000886982us-gaap:CommercialPortfolioSegmentMembergs:OtherLoansMembergs:AmortizedCostMember2024-06-300000886982us-gaap:CommercialPortfolioSegmentMembergs:OtherLoansMember2023-12-310000886982us-gaap:CommercialPortfolioSegmentMembergs:OtherLoansMembergs:AmortizedCostMember2023-12-310000886982gs:InstallmentLoansMemberus-gaap:ConsumerPortfolioSegmentMember2024-06-300000886982gs:InstallmentLoansMemberus-gaap:ConsumerPortfolioSegmentMembergs:AmortizedCostMember2024-06-300000886982gs:InstallmentLoansMemberus-gaap:ConsumerPortfolioSegmentMember2023-12-310000886982gs:InstallmentLoansMemberus-gaap:ConsumerPortfolioSegmentMembergs:AmortizedCostMember2023-12-310000886982us-gaap:CreditCardReceivablesMemberus-gaap:ConsumerPortfolioSegmentMember2024-06-300000886982us-gaap:CreditCardReceivablesMemberus-gaap:ConsumerPortfolioSegmentMembergs:AmortizedCostMember2024-06-300000886982us-gaap:CreditCardReceivablesMemberus-gaap:ConsumerPortfolioSegmentMember2023-12-310000886982us-gaap:CreditCardReceivablesMemberus-gaap:ConsumerPortfolioSegmentMembergs:AmortizedCostMember2023-12-310000886982gs:CommercialAndConsumerPortfolioSegmentMember2024-06-300000886982gs:CommercialAndConsumerPortfolioSegmentMembergs:AmortizedCostMember2024-06-300000886982gs:CommercialAndConsumerPortfolioSegmentMember2023-12-310000886982gs:CommercialAndConsumerPortfolioSegmentMembergs:AmortizedCostMember2023-12-310000886982us-gaap:CommercialPortfolioSegmentMember2024-06-300000886982us-gaap:CommercialPortfolioSegmentMember2023-12-310000886982us-gaap:CommercialPortfolioSegmentMember2024-03-310000886982us-gaap:ConsumerPortfolioSegmentMember2024-03-310000886982us-gaap:CommercialPortfolioSegmentMember2024-04-012024-06-300000886982us-gaap:ConsumerPortfolioSegmentMember2024-04-012024-06-300000886982us-gaap:ConsumerPortfolioSegmentMember2024-06-300000886982us-gaap:CommercialPortfolioSegmentMember2023-03-310000886982us-gaap:ConsumerPortfolioSegmentMember2023-03-310000886982us-gaap:CommercialPortfolioSegmentMember2023-04-012023-06-300000886982us-gaap:ConsumerPortfolioSegmentMember2023-04-012023-06-300000886982us-gaap:CommercialPortfolioSegmentMember2023-06-300000886982us-gaap:ConsumerPortfolioSegmentMember2023-06-300000886982us-gaap:ConsumerPortfolioSegmentMember2023-12-310000886982us-gaap:CommercialPortfolioSegmentMember2024-01-012024-06-300000886982us-gaap:ConsumerPortfolioSegmentMember2024-01-012024-06-300000886982us-gaap:CommercialPortfolioSegmentMember2022-12-310000886982us-gaap:ConsumerPortfolioSegmentMember2022-12-310000886982us-gaap:CommercialPortfolioSegmentMember2023-01-012023-06-300000886982us-gaap:ConsumerPortfolioSegmentMember2023-01-012023-06-300000886982gs:UnemploymentRateMembersrt:ScenarioForecastMembercountry:US2024-12-310000886982gs:UnemploymentRateMembersrt:ScenarioForecastMembercountry:US2025-06-300000886982gs:UnemploymentRateMembersrt:ScenarioForecastMembercountry:US2025-12-310000886982gs:GdpMembersrt:ScenarioForecastMembercountry:US2024-12-310000886982gs:GdpMembersrt:ScenarioForecastMembercountry:US2025-12-310000886982gs:GdpMembersrt:ScenarioForecastMembercountry:US2026-12-310000886982srt:ScenarioForecastMembercountry:US2025-09-300000886982srt:ScenarioForecastMembercountry:US2025-06-300000886982gs:MarcusMember2023-01-012023-06-300000886982gs:AmortizedCostMemberus-gaap:CarryingReportedAmountFairValueDisclosureMember2024-06-300000886982us-gaap:FairValueInputsLevel2Memberus-gaap:EstimateOfFairValueFairValueDisclosureMembergs:AmortizedCostMember2024-06-300000886982us-gaap:EstimateOfFairValueFairValueDisclosureMembergs:AmortizedCostMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982us-gaap:EstimateOfFairValueFairValueDisclosureMemberus-gaap:FairValueInputsLevel12And3Membergs:AmortizedCostMember2024-06-300000886982us-gaap:CarryingReportedAmountFairValueDisclosureMember2024-06-300000886982us-gaap:FairValueInputsLevel2Memberus-gaap:EstimateOfFairValueFairValueDisclosureMember2024-06-300000886982us-gaap:EstimateOfFairValueFairValueDisclosureMemberus-gaap:FairValueInputsLevel3Member2024-06-300000886982us-gaap:EstimateOfFairValueFairValueDisclosureMemberus-gaap:FairValueInputsLevel12And3Member2024-06-300000886982gs:AmortizedCostMemberus-gaap:CarryingReportedAmountFairValueDisclosureMember2023-12-310000886982us-gaap:FairValueInputsLevel2Memberus-gaap:EstimateOfFairValueFairValueDisclosureMembergs:AmortizedCostMember2023-12-310000886982us-gaap:EstimateOfFairValueFairValueDisclosureMembergs:AmortizedCostMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982us-gaap:EstimateOfFairValueFairValueDisclosureMemberus-gaap:FairValueInputsLevel12And3Membergs:AmortizedCostMember2023-12-310000886982us-gaap:CarryingReportedAmountFairValueDisclosureMember2023-12-310000886982us-gaap:FairValueInputsLevel2Memberus-gaap:EstimateOfFairValueFairValueDisclosureMember2023-12-310000886982us-gaap:EstimateOfFairValueFairValueDisclosureMemberus-gaap:FairValueInputsLevel3Member2023-12-310000886982us-gaap:EstimateOfFairValueFairValueDisclosureMemberus-gaap:FairValueInputsLevel12And3Member2023-12-310000886982gs:UnsecuredShortTermBorrowingsIncludingCurrentPortionOfUnsecuredLongTermBorrowingsAtFairValueMember2024-04-012024-06-300000886982gs:UnsecuredShortTermBorrowingsIncludingCurrentPortionOfUnsecuredLongTermBorrowingsAtFairValueMember2023-04-012023-06-300000886982gs:UnsecuredShortTermBorrowingsIncludingCurrentPortionOfUnsecuredLongTermBorrowingsAtFairValueMember2024-01-012024-06-300000886982gs:UnsecuredShortTermBorrowingsIncludingCurrentPortionOfUnsecuredLongTermBorrowingsAtFairValueMember2023-01-012023-06-300000886982gs:UnsecuredLongTermBorrowingsAtFairValueMember2024-04-012024-06-300000886982gs:UnsecuredLongTermBorrowingsAtFairValueMember2023-04-012023-06-300000886982gs:UnsecuredLongTermBorrowingsAtFairValueMember2024-01-012024-06-300000886982gs:UnsecuredLongTermBorrowingsAtFairValueMember2023-01-012023-06-300000886982gs:FairValueOptionOtherMember2024-04-012024-06-300000886982gs:FairValueOptionOtherMember2023-04-012023-06-300000886982gs:FairValueOptionOtherMember2024-01-012024-06-300000886982gs:FairValueOptionOtherMember2023-01-012023-06-300000886982gs:SecuredLongTermBorrowingsMember2024-06-300000886982gs:SecuredLongTermBorrowingsMember2023-12-310000886982gs:UnsecuredLongTermBorrowingsAtFairValueMember2024-06-300000886982gs:UnsecuredLongTermBorrowingsAtFairValueMember2023-12-310000886982us-gaap:WrittenLoanCommitmentFairValueOptionMember2024-06-300000886982us-gaap:WrittenLoanCommitmentFairValueOptionMember2023-12-310000886982us-gaap:USTreasuryAndGovernmentMember2024-06-300000886982gs:SecuritiesBackedByCommercialRealEstateMember2024-06-300000886982gs:SecuritiesBackedByResidentialRealEstateMember2024-06-300000886982us-gaap:USStatesAndPoliticalSubdivisionsMember2024-06-300000886982us-gaap:USTreasuryAndGovernmentMember2023-12-310000886982gs:SecuritiesBackedByCommercialRealEstateMember2023-12-310000886982gs:SecuritiesBackedByResidentialRealEstateMember2023-12-310000886982us-gaap:USStatesAndPoliticalSubdivisionsMember2023-12-310000886982us-gaap:MaturityOvernightMember2024-06-300000886982us-gaap:MaturityUpTo30DaysMember2024-06-300000886982us-gaap:Maturity30To90DaysMember2024-06-300000886982gs:Maturity91DaysTo1YearMember2024-06-300000886982gs:MaturityGreaterThan1YearMember2024-06-300000886982us-gaap:NonrecourseMember2024-06-300000886982us-gaap:NonrecourseMember2023-12-310000886982currency:USD2024-06-300000886982srt:OtherCurrencyMember2024-06-300000886982currency:USD2023-12-310000886982srt:OtherCurrencyMember2023-12-310000886982us-gaap:ShortTermDebtMember2024-06-300000886982us-gaap:LongTermDebtMember2024-06-300000886982us-gaap:AssetPledgedAsCollateralWithoutRightMemberus-gaap:SecuritiesSoldUnderAgreementsToRepurchaseMember2024-06-300000886982us-gaap:AssetPledgedAsCollateralWithoutRightMemberus-gaap:SecuritiesSoldUnderAgreementsToRepurchaseMember2023-12-310000886982gs:PropertyLeaseholdImprovementsAndEquipmentMembergs:AssetAndWealthManagementMember2024-04-012024-06-300000886982gs:PropertyLeaseholdImprovementsAndEquipmentMembergs:AssetAndWealthManagementMember2023-04-012023-06-300000886982gs:PropertyLeaseholdImprovementsAndEquipmentMembergs:AssetAndWealthManagementMember2024-01-012024-06-300000886982gs:PropertyLeaseholdImprovementsAndEquipmentMembergs:AssetAndWealthManagementMember2023-01-012023-06-300000886982us-gaap:SoftwareAndSoftwareDevelopmentCostsMember2023-01-012023-06-300000886982gs:InvestmentBankingMember2024-06-300000886982gs:InvestmentBankingMember2023-12-310000886982gs:GlobalMarketsFixedIncomeCurrencyAndCommoditiesMember2024-06-300000886982gs:GlobalMarketsFixedIncomeCurrencyAndCommoditiesMember2023-12-310000886982gs:GlobalMarketsEquitiesMember2024-06-300000886982gs:GlobalMarketsEquitiesMember2023-12-310000886982gs:AssetManagementMember2024-06-300000886982gs:AssetManagementMember2023-12-310000886982gs:WealthManagementMember2024-06-300000886982gs:WealthManagementMember2023-12-310000886982gs:TransactionBankingAndOtherMember2024-06-300000886982gs:TransactionBankingAndOtherMember2023-12-310000886982us-gaap:CustomerListsMember2024-06-300000886982us-gaap:CustomerListsMember2023-12-310000886982us-gaap:OtherIntangibleAssetsMember2024-06-300000886982us-gaap:OtherIntangibleAssetsMember2023-12-310000886982gs:AssetAndWealthManagementMember2024-06-300000886982gs:AssetAndWealthManagementMember2023-12-310000886982gs:GreenSkyMember2023-12-310000886982gs:GreenSkyMembergs:FinancingReceivableAfterAllowanceForCreditLossMember2023-12-310000886982gs:GreenSkyMemberus-gaap:CashAndCashEquivalentsMember2023-12-310000886982gs:GreenSkyMembergs:IntangibleAssetsNetExcludingGoodwillMember2023-12-310000886982gs:GreenSkyMembergs:OtherAssetsMiscellaneousMember2023-12-310000886982us-gaap:GeographicDistributionDomesticMember2024-06-300000886982us-gaap:GeographicDistributionForeignMember2024-06-300000886982us-gaap:EstimateOfFairValueFairValueDisclosureMember2024-06-300000886982us-gaap:EstimateOfFairValueFairValueDisclosureMember2023-12-310000886982srt:MinimumMemberus-gaap:UnsecuredDebtMembercurrency:USD2024-06-300000886982srt:MaximumMemberus-gaap:UnsecuredDebtMembercurrency:USD2024-06-300000886982srt:WeightedAverageMemberus-gaap:UnsecuredDebtMembercurrency:USD2024-06-300000886982srt:MinimumMemberus-gaap:UnsecuredDebtMembercurrency:USD2023-12-310000886982srt:MaximumMemberus-gaap:UnsecuredDebtMembercurrency:USD2023-12-310000886982srt:WeightedAverageMemberus-gaap:UnsecuredDebtMembercurrency:USD2023-12-310000886982srt:MinimumMemberus-gaap:UnsecuredDebtMembersrt:OtherCurrencyMember2024-06-300000886982srt:MaximumMemberus-gaap:UnsecuredDebtMembersrt:OtherCurrencyMember2024-06-300000886982srt:WeightedAverageMemberus-gaap:UnsecuredDebtMembersrt:OtherCurrencyMember2024-06-300000886982srt:MinimumMemberus-gaap:UnsecuredDebtMembersrt:OtherCurrencyMember2023-12-310000886982srt:MaximumMemberus-gaap:UnsecuredDebtMembersrt:OtherCurrencyMember2023-12-310000886982srt:WeightedAverageMemberus-gaap:UnsecuredDebtMembersrt:OtherCurrencyMember2023-12-310000886982us-gaap:UnsecuredDebtMember2024-06-300000886982gs:FixedRateObligationsMember2024-06-300000886982gs:FixedRateObligationsMember2023-12-310000886982gs:FloatingRateObligationsMember2024-06-300000886982gs:FloatingRateObligationsMember2023-12-310000886982us-gaap:SubordinatedDebtMember2024-06-300000886982us-gaap:JuniorSubordinatedDebtMember2024-06-300000886982us-gaap:SubordinatedDebtMember2023-12-310000886982us-gaap:JuniorSubordinatedDebtMember2023-12-310000886982gs:CapitalIMember2004-12-310000886982gs:CapitalIMember2023-12-310000886982gs:CapitalIMember2024-06-300000886982us-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember2024-06-300000886982us-gaap:ResidentialMortgageBackedSecuritiesMember2024-06-300000886982us-gaap:CommercialMortgageBackedSecuritiesMember2024-06-300000886982gs:CorporateDebtAndOtherAssetBackedSecuritiesMember2024-06-300000886982us-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember2023-12-310000886982us-gaap:ResidentialMortgageBackedSecuritiesMember2023-12-310000886982us-gaap:CommercialMortgageBackedSecuritiesMember2023-12-310000886982gs:CorporateDebtAndOtherAssetBackedSecuritiesMember2023-12-310000886982gs:DerivativesAndCommitmentsMember2024-06-300000886982gs:DerivativesAndCommitmentsMember2023-12-310000886982gs:GreenSkyMember2024-01-012024-06-300000886982gs:CorporateDebtAndOtherAssetBackedSecuritiesMembergs:InstallmentMember2024-06-300000886982gs:CorporateDebtAndOtherAssetBackedSecuritiesMembergs:InstallmentMember2023-12-310000886982us-gaap:MortgageBackedSecuritiesMember2024-06-300000886982us-gaap:MortgageBackedSecuritiesMember2023-12-310000886982us-gaap:MortgageBackedSecuritiesMember2024-01-012024-06-300000886982us-gaap:MortgageBackedSecuritiesMember2023-01-012023-06-300000886982gs:OtherRetainedInterestsMember2024-06-300000886982gs:OtherRetainedInterestsMember2024-01-012024-06-300000886982gs:OtherRetainedInterestsMember2023-12-310000886982gs:OtherRetainedInterestsMember2023-01-012023-12-310000886982us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2024-06-300000886982us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2023-12-310000886982us-gaap:RetainedInterestMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2024-06-300000886982us-gaap:RetainedInterestMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2023-12-310000886982us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMembergs:PurchasedInterestsMaximumExposureToLossMember2024-06-300000886982us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMembergs:PurchasedInterestsMaximumExposureToLossMember2023-12-310000886982us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMembergs:CommitmentsAndGuaranteesMaximumExposureToLossMember2024-06-300000886982us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMembergs:CommitmentsAndGuaranteesMaximumExposureToLossMember2023-12-310000886982us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:DerivativeMember2024-06-300000886982us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:DerivativeMember2023-12-310000886982us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMembergs:DebtAndEquityMaximumExposureToLossMember2024-06-300000886982us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMembergs:DebtAndEquityMaximumExposureToLossMember2023-12-31