false2023FYMORGAN STANLEY0000895421truefalsehttp://fasb.org/us-gaap/2023#OtherComprehensiveIncomeLossNetOfTaxhttp://fasb.org/us-gaap/2023#OtherComprehensiveIncomeLossNetOfTaxhttp://fasb.org/us-gaap/2023#OtherComprehensiveIncomeLossNetOfTaxhttp://fasb.org/us-gaap/2023#FinancialInstrumentsSoldNotYetPurchasedAtFairValuehttp://fasb.org/us-gaap/2023#FinancialInstrumentsSoldNotYetPurchasedAtFairValuehttp://fasb.org/us-gaap/2023#AssetPledgedAsCollateralMemberhttp://fasb.org/us-gaap/2023#AssetPledgedAsCollateralMemberhttp://fasb.org/us-gaap/2023#OtherAssetshttp://fasb.org/us-gaap/2023#OtherAssetshttp://fasb.org/us-gaap/2023#AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrenthttp://fasb.org/us-gaap/2023#AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrentP1Y00008954212023-01-012023-12-310000895421us-gaap:CommonClassAMember2023-01-012023-12-310000895421us-gaap:SeriesAPreferredStockMember2023-01-012023-12-310000895421us-gaap:SeriesEPreferredStockMember2023-01-012023-12-310000895421us-gaap:SeriesFPreferredStockMember2023-01-012023-12-310000895421ms:SeriesIPreferredStockMember2023-01-012023-12-310000895421ms:SeriesKPreferredStockMember2023-01-012023-12-310000895421ms:SeriesLPreferredStockMember2023-01-012023-12-310000895421ms:SeriesOPreferredStockMember2023-01-012023-12-310000895421ms:SeriesPPreferredStockMember2023-01-012023-12-310000895421ms:GlobalMediumTermNotesSeriesAFixedRateStepUpSeniorNotesDue2026ofMorganStanleyFinanceLLCMember2023-01-012023-12-310000895421ms:GlobalMediumTermNotesSeriesAFloatingRateNotesDue2029OfMorganStanleyFinanceLLCMember2023-01-012023-12-3100008954212023-06-30iso4217:USD00008954212024-01-31xbrli:shares00008954212022-01-012022-12-3100008954212021-01-012021-12-31iso4217:USDxbrli:shares00008954212023-12-3100008954212022-12-310000895421us-gaap:PreferredStockMember2022-12-310000895421us-gaap:PreferredStockMember2021-12-310000895421us-gaap:PreferredStockMember2020-12-310000895421us-gaap:PreferredStockMember2023-01-012023-12-310000895421us-gaap:PreferredStockMember2022-01-012022-12-310000895421us-gaap:PreferredStockMember2021-01-012021-12-310000895421us-gaap:PreferredStockMember2023-12-310000895421us-gaap:CommonStockMember2022-12-310000895421us-gaap:CommonStockMember2023-12-310000895421us-gaap:CommonStockMember2021-12-310000895421us-gaap:CommonStockMember2020-12-310000895421us-gaap:AdditionalPaidInCapitalMember2022-12-310000895421us-gaap:AdditionalPaidInCapitalMember2021-12-310000895421us-gaap:AdditionalPaidInCapitalMember2020-12-310000895421us-gaap:AdditionalPaidInCapitalMember2023-01-012023-12-310000895421us-gaap:AdditionalPaidInCapitalMember2022-01-012022-12-310000895421us-gaap:AdditionalPaidInCapitalMember2021-01-012021-12-310000895421us-gaap:AdditionalPaidInCapitalMember2023-12-310000895421us-gaap:RetainedEarningsMember2022-12-310000895421us-gaap:RetainedEarningsMember2021-12-310000895421us-gaap:RetainedEarningsMember2020-12-310000895421us-gaap:RetainedEarningsMember2023-01-012023-12-310000895421us-gaap:RetainedEarningsMember2022-01-012022-12-310000895421us-gaap:RetainedEarningsMember2021-01-012021-12-310000895421us-gaap:RetainedEarningsMember2023-12-310000895421us-gaap:TrustForBenefitOfEmployeesMember2022-12-310000895421us-gaap:TrustForBenefitOfEmployeesMember2021-12-310000895421us-gaap:TrustForBenefitOfEmployeesMember2020-12-310000895421us-gaap:TrustForBenefitOfEmployeesMember2023-01-012023-12-310000895421us-gaap:TrustForBenefitOfEmployeesMember2022-01-012022-12-310000895421us-gaap:TrustForBenefitOfEmployeesMember2021-01-012021-12-310000895421us-gaap:TrustForBenefitOfEmployeesMember2023-12-310000895421us-gaap:AccumulatedOtherComprehensiveIncomeMember2022-12-310000895421us-gaap:AccumulatedOtherComprehensiveIncomeMember2021-12-310000895421us-gaap:AccumulatedOtherComprehensiveIncomeMember2020-12-310000895421us-gaap:AccumulatedOtherComprehensiveIncomeMember2023-01-012023-12-310000895421us-gaap:AccumulatedOtherComprehensiveIncomeMember2022-01-012022-12-310000895421us-gaap:AccumulatedOtherComprehensiveIncomeMember2021-01-012021-12-310000895421us-gaap:AccumulatedOtherComprehensiveIncomeMember2023-12-310000895421us-gaap:TreasuryStockCommonMember2022-12-310000895421us-gaap:TreasuryStockCommonMember2021-12-310000895421us-gaap:TreasuryStockCommonMember2020-12-310000895421us-gaap:TreasuryStockCommonMember2023-01-012023-12-310000895421us-gaap:TreasuryStockCommonMember2022-01-012022-12-310000895421us-gaap:TreasuryStockCommonMember2021-01-012021-12-310000895421us-gaap:TreasuryStockCommonMember2023-12-310000895421ms:CommonStockIssuedToEmployeeTrustMember2022-12-310000895421ms:CommonStockIssuedToEmployeeTrustMember2021-12-310000895421ms:CommonStockIssuedToEmployeeTrustMember2020-12-310000895421ms:CommonStockIssuedToEmployeeTrustMember2023-01-012023-12-310000895421ms:CommonStockIssuedToEmployeeTrustMember2022-01-012022-12-310000895421ms:CommonStockIssuedToEmployeeTrustMember2021-01-012021-12-310000895421ms:CommonStockIssuedToEmployeeTrustMember2023-12-310000895421us-gaap:NoncontrollingInterestMember2022-12-310000895421us-gaap:NoncontrollingInterestMember2021-12-310000895421us-gaap:NoncontrollingInterestMember2020-12-310000895421us-gaap:NoncontrollingInterestMember2023-01-012023-12-310000895421us-gaap:NoncontrollingInterestMember2022-01-012022-12-310000895421us-gaap:NoncontrollingInterestMember2021-01-012021-12-310000895421us-gaap:NoncontrollingInterestMember2023-12-3100008954212021-12-3100008954212020-12-310000895421srt:MinimumMember2023-01-012023-12-31xbrli:pure0000895421srt:MaximumMember2023-01-012023-12-310000895421us-gaap:BuildingMember2023-12-310000895421srt:MaximumMemberms:LeaseholdImprovementsBuildingMember2023-12-310000895421srt:MaximumMemberms:LeaseholdImprovementsOtherAssetsMember2023-12-310000895421us-gaap:FurnitureAndFixturesMember2023-12-310000895421us-gaap:EquipmentMembersrt:MinimumMember2023-12-310000895421srt:MaximumMemberus-gaap:EquipmentMember2023-12-310000895421us-gaap:ElectricityGenerationPlantNonNuclearMembersrt:MinimumMember2023-12-310000895421us-gaap:ElectricityGenerationPlantNonNuclearMembersrt:MaximumMember2023-12-310000895421us-gaap:ComputerSoftwareIntangibleAssetMembersrt:MinimumMember2023-12-310000895421us-gaap:ComputerSoftwareIntangibleAssetMembersrt:MaximumMember2023-12-310000895421us-gaap:FairValueInputsLevel1Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:USTreasuryAndGovernmentMember2023-12-310000895421us-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:USTreasuryAndGovernmentMember2023-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:USTreasuryAndGovernmentMember2023-12-310000895421us-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:USTreasuryAndGovernmentMember2023-12-310000895421us-gaap:FairValueInputsLevel1Memberus-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueInputsLevel2Memberus-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueInputsLevel12And3Memberus-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueInputsLevel1Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:USStatesAndPoliticalSubdivisionsMember2023-12-310000895421us-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:USStatesAndPoliticalSubdivisionsMember2023-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:USStatesAndPoliticalSubdivisionsMember2023-12-310000895421us-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:USStatesAndPoliticalSubdivisionsMember2023-12-310000895421ms:MortgageAndAssetBackedSecuritiesMemberus-gaap:FairValueInputsLevel1Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:MortgageAndAssetBackedSecuritiesMemberus-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:MortgageAndAssetBackedSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:MortgageAndAssetBackedSecuritiesMemberus-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueInputsLevel1Memberus-gaap:SeniorDebtObligationsMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueInputsLevel2Memberus-gaap:SeniorDebtObligationsMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:SeniorDebtObligationsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueInputsLevel12And3Memberus-gaap:SeniorDebtObligationsMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueInputsLevel1Memberms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueInputsLevel2Memberms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueInputsLevel3Memberms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueInputsLevel12And3Memberms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueInputsLevel1Memberms:CorporateEquitiesMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueInputsLevel2Memberms:CorporateEquitiesMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:CorporateEquitiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueInputsLevel12And3Memberms:CorporateEquitiesMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueInputsLevel1Memberus-gaap:InterestRateContractMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueInputsLevel2Memberus-gaap:InterestRateContractMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:InterestRateContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueInputsLevel12And3Memberus-gaap:InterestRateContractMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueInputsLevel1Memberus-gaap:CreditRiskContractMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueInputsLevel2Memberus-gaap:CreditRiskContractMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:CreditRiskContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueInputsLevel12And3Memberus-gaap:CreditRiskContractMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel1Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:EquityContractMemberus-gaap:FairValueInputsLevel1Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueInputsLevel2Memberus-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:EquityContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:EquityContractMemberus-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueInputsLevel1Memberms:CommodityAndOtherContractsMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueInputsLevel2Memberms:CommodityAndOtherContractsMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueInputsLevel3Memberms:CommodityAndOtherContractsMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueInputsLevel12And3Memberms:CommodityAndOtherContractsMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueInputsLevel1Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:USTreasuryAndGovernmentMemberus-gaap:FairValueInputsLevel1Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueInputsLevel2Memberus-gaap:USTreasuryAndGovernmentMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:USTreasuryAndGovernmentMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:USTreasuryAndGovernmentMemberus-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueInputsLevel1Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel1Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueInputsLevel1Memberms:CorporateEquitiesMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueInputsLevel2Memberms:CorporateEquitiesMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueInputsLevel3Memberms:CorporateEquitiesMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueInputsLevel12And3Memberms:CorporateEquitiesMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueInputsLevel1Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:USTreasuryAndGovernmentMember2022-12-310000895421us-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:USTreasuryAndGovernmentMember2022-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:USTreasuryAndGovernmentMember2022-12-310000895421us-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:USTreasuryAndGovernmentMember2022-12-310000895421us-gaap:FairValueInputsLevel1Memberus-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:FairValueInputsLevel2Memberus-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:FairValueInputsLevel12And3Memberus-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:FairValueInputsLevel1Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:USStatesAndPoliticalSubdivisionsMember2022-12-310000895421us-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:USStatesAndPoliticalSubdivisionsMember2022-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:USStatesAndPoliticalSubdivisionsMember2022-12-310000895421us-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:USStatesAndPoliticalSubdivisionsMember2022-12-310000895421ms:MortgageAndAssetBackedSecuritiesMemberus-gaap:FairValueInputsLevel1Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:MortgageAndAssetBackedSecuritiesMemberus-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:MortgageAndAssetBackedSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:MortgageAndAssetBackedSecuritiesMemberus-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:FairValueInputsLevel1Memberus-gaap:SeniorDebtObligationsMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:FairValueInputsLevel2Memberus-gaap:SeniorDebtObligationsMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:SeniorDebtObligationsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:FairValueInputsLevel12And3Memberus-gaap:SeniorDebtObligationsMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:FairValueInputsLevel1Memberms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:FairValueInputsLevel2Memberms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:FairValueInputsLevel3Memberms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:FairValueInputsLevel12And3Memberms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:FairValueInputsLevel1Memberms:CorporateEquitiesMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:FairValueInputsLevel2Memberms:CorporateEquitiesMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:CorporateEquitiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:FairValueInputsLevel12And3Memberms:CorporateEquitiesMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:FairValueInputsLevel1Memberus-gaap:InterestRateContractMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:FairValueInputsLevel2Memberus-gaap:InterestRateContractMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:InterestRateContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:FairValueInputsLevel12And3Memberus-gaap:InterestRateContractMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:FairValueInputsLevel1Memberus-gaap:CreditRiskContractMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:FairValueInputsLevel2Memberus-gaap:CreditRiskContractMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:CreditRiskContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:FairValueInputsLevel12And3Memberus-gaap:CreditRiskContractMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel1Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:EquityContractMemberus-gaap:FairValueInputsLevel1Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:FairValueInputsLevel2Memberus-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:EquityContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:EquityContractMemberus-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:FairValueInputsLevel1Memberms:CommodityAndOtherContractsMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:FairValueInputsLevel2Memberms:CommodityAndOtherContractsMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:FairValueInputsLevel3Memberms:CommodityAndOtherContractsMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:FairValueInputsLevel12And3Memberms:CommodityAndOtherContractsMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:FairValueInputsLevel1Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:USTreasuryAndGovernmentMemberus-gaap:FairValueInputsLevel1Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:FairValueInputsLevel2Memberus-gaap:USTreasuryAndGovernmentMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:USTreasuryAndGovernmentMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:USTreasuryAndGovernmentMemberus-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueInputsLevel1Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel1Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:FairValueInputsLevel1Memberms:CorporateEquitiesMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:FairValueInputsLevel2Memberms:CorporateEquitiesMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:FairValueInputsLevel3Memberms:CorporateEquitiesMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:FairValueInputsLevel12And3Memberms:CorporateEquitiesMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:SeniorDebtObligationsMemberms:SecuredLendingFacilitiesMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:SeniorDebtObligationsMemberms:SecuredLendingFacilitiesMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:CommercialRealEstatePortfolioSegmentMemberus-gaap:SeniorDebtObligationsMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:CommercialRealEstatePortfolioSegmentMemberus-gaap:SeniorDebtObligationsMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:ResidentialPortfolioSegmentMemberus-gaap:SeniorDebtObligationsMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:ResidentialPortfolioSegmentMemberus-gaap:SeniorDebtObligationsMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:SecuritiesBasedLendingandOtherLoansMemberus-gaap:SeniorDebtObligationsMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:SecuritiesBasedLendingandOtherLoansMemberus-gaap:SeniorDebtObligationsMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:SeniorDebtObligationsMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:SeniorDebtObligationsMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:AccountsReceivableAndOtherReceivablesNetMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FutureMember2023-12-310000895421ms:AccountsReceivableAndOtherReceivablesNetMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FutureMember2022-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:USTreasuryAndGovernmentMember2021-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:USTreasuryAndGovernmentMember2020-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:USTreasuryAndGovernmentMember2023-01-012023-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:USTreasuryAndGovernmentMember2022-01-012022-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:USTreasuryAndGovernmentMember2021-01-012021-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMember2021-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMember2020-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMember2023-01-012023-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMember2022-01-012022-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMember2021-01-012021-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:USStatesAndPoliticalSubdivisionsMember2021-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:USStatesAndPoliticalSubdivisionsMember2020-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:USStatesAndPoliticalSubdivisionsMember2023-01-012023-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:USStatesAndPoliticalSubdivisionsMember2022-01-012022-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:USStatesAndPoliticalSubdivisionsMember2021-01-012021-12-310000895421ms:MortgageAndAssetBackedSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2021-12-310000895421ms:MortgageAndAssetBackedSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2020-12-310000895421ms:MortgageAndAssetBackedSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-01-012023-12-310000895421ms:MortgageAndAssetBackedSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-01-012022-12-310000895421ms:MortgageAndAssetBackedSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2021-01-012021-12-310000895421us-gaap:SeniorDebtObligationsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2021-12-310000895421us-gaap:SeniorDebtObligationsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2020-12-310000895421us-gaap:SeniorDebtObligationsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-01-012023-12-310000895421us-gaap:SeniorDebtObligationsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-01-012022-12-310000895421us-gaap:SeniorDebtObligationsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2021-01-012021-12-310000895421us-gaap:FairValueInputsLevel3Memberms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMember2021-12-310000895421us-gaap:FairValueInputsLevel3Memberms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMember2020-12-310000895421us-gaap:FairValueInputsLevel3Memberms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMember2023-01-012023-12-310000895421us-gaap:FairValueInputsLevel3Memberms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMember2022-01-012022-12-310000895421us-gaap:FairValueInputsLevel3Memberms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMember2021-01-012021-12-310000895421ms:CorporateEquitiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2021-12-310000895421ms:CorporateEquitiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2020-12-310000895421ms:CorporateEquitiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-01-012023-12-310000895421ms:CorporateEquitiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-01-012022-12-310000895421ms:CorporateEquitiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2021-01-012021-12-310000895421us-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2021-12-310000895421us-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2020-12-310000895421us-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-01-012023-12-310000895421us-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-01-012022-12-310000895421us-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2021-01-012021-12-310000895421us-gaap:InvestmentsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:DebtSecuritiesAvailableForSaleMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:DebtSecuritiesAvailableForSaleMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2021-12-310000895421ms:DebtSecuritiesAvailableForSaleMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2020-12-310000895421ms:DebtSecuritiesAvailableForSaleMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-01-012023-12-310000895421ms:DebtSecuritiesAvailableForSaleMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-01-012022-12-310000895421ms:DebtSecuritiesAvailableForSaleMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2021-01-012021-12-310000895421ms:DebtSecuritiesAvailableForSaleMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:FederalFundsSoldAndSecuritiesBorrowedOrPurchasedUnderAgreementsToResellMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:FederalFundsSoldAndSecuritiesBorrowedOrPurchasedUnderAgreementsToResellMemberus-gaap:FairValueMeasurementsRecurringMember2021-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:FederalFundsSoldAndSecuritiesBorrowedOrPurchasedUnderAgreementsToResellMemberus-gaap:FairValueMeasurementsRecurringMember2020-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:FederalFundsSoldAndSecuritiesBorrowedOrPurchasedUnderAgreementsToResellMemberus-gaap:FairValueMeasurementsRecurringMember2023-01-012023-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:FederalFundsSoldAndSecuritiesBorrowedOrPurchasedUnderAgreementsToResellMemberus-gaap:FairValueMeasurementsRecurringMember2022-01-012022-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:FederalFundsSoldAndSecuritiesBorrowedOrPurchasedUnderAgreementsToResellMemberus-gaap:FairValueMeasurementsRecurringMember2021-01-012021-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:FederalFundsSoldAndSecuritiesBorrowedOrPurchasedUnderAgreementsToResellMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:InterestRateContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2021-12-310000895421us-gaap:InterestRateContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2020-12-310000895421us-gaap:InterestRateContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-01-012023-12-310000895421us-gaap:InterestRateContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-01-012022-12-310000895421us-gaap:InterestRateContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2021-01-012021-12-310000895421us-gaap:CreditRiskContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2021-12-310000895421us-gaap:CreditRiskContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2020-12-310000895421us-gaap:CreditRiskContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-01-012023-12-310000895421us-gaap:CreditRiskContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-01-012022-12-310000895421us-gaap:CreditRiskContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2021-01-012021-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2021-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2020-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-01-012023-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-01-012022-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2021-01-012021-12-310000895421us-gaap:EquityContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2021-12-310000895421us-gaap:EquityContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2020-12-310000895421us-gaap:EquityContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-01-012023-12-310000895421us-gaap:EquityContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-01-012022-12-310000895421us-gaap:EquityContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2021-01-012021-12-310000895421us-gaap:FairValueInputsLevel3Memberms:CommodityAndOtherContractsMemberus-gaap:FairValueMeasurementsRecurringMember2021-12-310000895421us-gaap:FairValueInputsLevel3Memberms:CommodityAndOtherContractsMemberus-gaap:FairValueMeasurementsRecurringMember2020-12-310000895421us-gaap:FairValueInputsLevel3Memberms:CommodityAndOtherContractsMemberus-gaap:FairValueMeasurementsRecurringMember2023-01-012023-12-310000895421us-gaap:FairValueInputsLevel3Memberms:CommodityAndOtherContractsMemberus-gaap:FairValueMeasurementsRecurringMember2022-01-012022-12-310000895421us-gaap:FairValueInputsLevel3Memberms:CommodityAndOtherContractsMemberus-gaap:FairValueMeasurementsRecurringMember2021-01-012021-12-310000895421us-gaap:DepositsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:DepositsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2021-12-310000895421us-gaap:DepositsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2020-12-310000895421us-gaap:DepositsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-01-012023-12-310000895421us-gaap:DepositsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-01-012022-12-310000895421us-gaap:DepositsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2021-01-012021-12-310000895421us-gaap:DepositsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMemberms:NonderivativeTradingLiabilitiesMember2022-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMemberms:NonderivativeTradingLiabilitiesMember2021-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMemberms:NonderivativeTradingLiabilitiesMember2020-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMemberms:NonderivativeTradingLiabilitiesMember2023-01-012023-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMemberms:NonderivativeTradingLiabilitiesMember2022-01-012022-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMemberms:NonderivativeTradingLiabilitiesMember2021-01-012021-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMemberms:NonderivativeTradingLiabilitiesMember2023-12-310000895421us-gaap:SecuritiesLoanedOrSoldUnderAgreementsToRepurchaseMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:SecuritiesLoanedOrSoldUnderAgreementsToRepurchaseMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2021-12-310000895421us-gaap:SecuritiesLoanedOrSoldUnderAgreementsToRepurchaseMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2020-12-310000895421us-gaap:SecuritiesLoanedOrSoldUnderAgreementsToRepurchaseMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-01-012023-12-310000895421us-gaap:SecuritiesLoanedOrSoldUnderAgreementsToRepurchaseMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-01-012022-12-310000895421us-gaap:SecuritiesLoanedOrSoldUnderAgreementsToRepurchaseMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2021-01-012021-12-310000895421us-gaap:SecuritiesLoanedOrSoldUnderAgreementsToRepurchaseMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:OtherSecuredFinancingsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:OtherSecuredFinancingsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2021-12-310000895421ms:OtherSecuredFinancingsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2020-12-310000895421ms:OtherSecuredFinancingsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-01-012023-12-310000895421ms:OtherSecuredFinancingsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-01-012022-12-310000895421ms:OtherSecuredFinancingsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2021-01-012021-12-310000895421ms:OtherSecuredFinancingsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:BorrowingsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:BorrowingsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2021-12-310000895421us-gaap:BorrowingsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2020-12-310000895421us-gaap:BorrowingsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-01-012023-12-310000895421us-gaap:BorrowingsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-01-012022-12-310000895421us-gaap:BorrowingsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2021-01-012021-12-310000895421us-gaap:BorrowingsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-01-012023-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-01-012022-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2021-01-012021-12-310000895421us-gaap:SeniorDebtObligationsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2021-07-012021-09-300000895421us-gaap:FairValueInputsLevel3Memberms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMember2021-04-012021-06-300000895421us-gaap:EquityContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2021-01-012021-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:BorrowingsMemberus-gaap:FairValueMeasurementsRecurringMember2021-01-012021-12-310000895421ms:DebtSecuritiesAvailableForSaleMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2021-01-012021-03-310000895421ms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueInputsLevel3Memberus-gaap:ForeignGovernmentDebtSecuritiesMemberms:MeasurementInputBondPriceMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2023-12-310000895421ms:ValuationTechniqueComparablePricingMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:ForeignGovernmentDebtSecuritiesMemberms:MeasurementInputBondPriceMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:ValuationTechniqueComparablePricingMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:ForeignGovernmentDebtSecuritiesMemberms:MeasurementInputBondPriceMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueInputsLevel3Memberus-gaap:ForeignGovernmentDebtSecuritiesMemberms:MeasurementInputBondPriceMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:ValuationTechniqueComparablePricingMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:ForeignGovernmentDebtSecuritiesMemberms:MeasurementInputBondPriceMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:ValuationTechniqueComparablePricingMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:ForeignGovernmentDebtSecuritiesMemberms:MeasurementInputBondPriceMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueInputsLevel3Memberus-gaap:USStatesAndPoliticalSubdivisionsMemberms:MeasurementInputBondPriceMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2022-12-310000895421ms:ValuationTechniqueComparablePricingMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:USStatesAndPoliticalSubdivisionsMemberms:MeasurementInputBondPriceMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:ValuationTechniqueComparablePricingMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:USStatesAndPoliticalSubdivisionsMemberms:MeasurementInputBondPriceMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:ValuationTechniqueComparablePricingMemberms:MortgageAndAssetBackedSecuritiesMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputBondPriceMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2023-12-310000895421ms:ValuationTechniqueComparablePricingMemberms:MortgageAndAssetBackedSecuritiesMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputBondPriceMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:ValuationTechniqueComparablePricingMemberms:MortgageAndAssetBackedSecuritiesMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputBondPriceMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:ValuationTechniqueComparablePricingMemberms:MortgageAndAssetBackedSecuritiesMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputBondPriceMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2022-12-310000895421ms:ValuationTechniqueComparablePricingMemberms:MortgageAndAssetBackedSecuritiesMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputBondPriceMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:ValuationTechniqueComparablePricingMemberms:MortgageAndAssetBackedSecuritiesMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputBondPriceMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:MeasurementInputMarginLoanMemberms:ValuationTechniqueMarginLoanMemberus-gaap:SeniorDebtObligationsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2023-12-310000895421ms:MeasurementInputMarginLoanMemberms:ValuationTechniqueMarginLoanMembersrt:MaximumMemberus-gaap:SeniorDebtObligationsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:MeasurementInputMarginLoanMemberms:ValuationTechniqueMarginLoanMemberus-gaap:SeniorDebtObligationsMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:MeasurementInputMarginLoanMemberms:ValuationTechniqueMarginLoanMemberus-gaap:SeniorDebtObligationsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2022-12-310000895421ms:MeasurementInputMarginLoanMemberms:ValuationTechniqueMarginLoanMembersrt:MaximumMemberus-gaap:SeniorDebtObligationsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:MeasurementInputMarginLoanMemberms:ValuationTechniqueMarginLoanMemberus-gaap:SeniorDebtObligationsMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:MeasurementInputLoanPriceMemberms:ValuationTechniqueComparablePricingMemberus-gaap:SeniorDebtObligationsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2023-12-310000895421ms:MeasurementInputLoanPriceMemberms:ValuationTechniqueComparablePricingMembersrt:MaximumMemberus-gaap:SeniorDebtObligationsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:MeasurementInputLoanPriceMemberms:ValuationTechniqueComparablePricingMemberus-gaap:SeniorDebtObligationsMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:MeasurementInputLoanPriceMemberms:ValuationTechniqueComparablePricingMemberus-gaap:SeniorDebtObligationsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2022-12-310000895421ms:MeasurementInputLoanPriceMemberms:ValuationTechniqueComparablePricingMembersrt:MaximumMemberus-gaap:SeniorDebtObligationsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:MeasurementInputLoanPriceMemberms:ValuationTechniqueComparablePricingMemberus-gaap:SeniorDebtObligationsMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:ValuationTechniqueComparablePricingMemberms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputBondPriceMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2023-12-310000895421ms:ValuationTechniqueComparablePricingMembersrt:MaximumMemberms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputBondPriceMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:ValuationTechniqueComparablePricingMembersrt:WeightedAverageMemberms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputBondPriceMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:ValuationTechniqueComparablePricingMemberms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputBondPriceMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2022-12-310000895421ms:ValuationTechniqueComparablePricingMembersrt:MaximumMemberms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputBondPriceMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:ValuationTechniqueComparablePricingMembersrt:WeightedAverageMemberms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputBondPriceMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:ValuationTechniqueDiscountedCashFlowMemberms:MeasurementInputLossGivenDefaultMemberms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2023-12-310000895421us-gaap:ValuationTechniqueDiscountedCashFlowMembersrt:MaximumMemberms:MeasurementInputLossGivenDefaultMemberms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:ValuationTechniqueDiscountedCashFlowMemberms:MeasurementInputLossGivenDefaultMemberms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:ArithmeticAverageMember2023-12-310000895421us-gaap:ValuationTechniqueDiscountedCashFlowMemberms:MeasurementInputLossGivenDefaultMembersrt:MedianMemberms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:ValuationTechniqueDiscountedCashFlowMemberms:MeasurementInputLossGivenDefaultMemberms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2022-12-310000895421us-gaap:ValuationTechniqueDiscountedCashFlowMembersrt:MaximumMemberms:MeasurementInputLossGivenDefaultMemberms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:ValuationTechniqueDiscountedCashFlowMemberms:MeasurementInputLossGivenDefaultMemberms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:ArithmeticAverageMember2022-12-310000895421us-gaap:ValuationTechniqueDiscountedCashFlowMemberms:MeasurementInputLossGivenDefaultMembersrt:MedianMemberms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:ValuationTechniqueComparablePricingMemberus-gaap:MeasurementInputSharePriceMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:ValuationTechniqueComparablePricingMemberus-gaap:MeasurementInputSharePriceMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:ValuationTechniqueDiscountedCashFlowMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputWeightedAverageCostOfCapitalMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2023-12-310000895421us-gaap:ValuationTechniqueDiscountedCashFlowMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputWeightedAverageCostOfCapitalMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:ValuationTechniqueDiscountedCashFlowMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputWeightedAverageCostOfCapitalMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:ValuationTechniqueDiscountedCashFlowMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputWeightedAverageCostOfCapitalMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2022-12-310000895421us-gaap:ValuationTechniqueDiscountedCashFlowMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputWeightedAverageCostOfCapitalMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:ValuationTechniqueDiscountedCashFlowMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputWeightedAverageCostOfCapitalMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:MeasurementInputExitMultipleMemberus-gaap:ValuationTechniqueDiscountedCashFlowMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2023-12-310000895421ms:MeasurementInputExitMultipleMemberus-gaap:ValuationTechniqueDiscountedCashFlowMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:MeasurementInputExitMultipleMemberus-gaap:ValuationTechniqueDiscountedCashFlowMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:MeasurementInputExitMultipleMemberus-gaap:ValuationTechniqueDiscountedCashFlowMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2022-12-310000895421ms:MeasurementInputExitMultipleMemberus-gaap:ValuationTechniqueDiscountedCashFlowMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:MeasurementInputExitMultipleMemberus-gaap:ValuationTechniqueDiscountedCashFlowMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:MarketApproachValuationTechniqueMemberus-gaap:MeasurementInputEbitdaMultipleMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2023-12-310000895421us-gaap:MarketApproachValuationTechniqueMemberus-gaap:MeasurementInputEbitdaMultipleMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2022-12-310000895421us-gaap:MarketApproachValuationTechniqueMembersrt:MaximumMemberus-gaap:MeasurementInputEbitdaMultipleMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:MarketApproachValuationTechniqueMemberus-gaap:MeasurementInputEbitdaMultipleMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:ValuationTechniqueComparablePricingMemberus-gaap:MeasurementInputSharePriceMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2023-12-310000895421ms:ValuationTechniqueComparablePricingMembersrt:MaximumMemberus-gaap:MeasurementInputSharePriceMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:ValuationTechniqueComparablePricingMemberus-gaap:MeasurementInputSharePriceMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:ValuationTechniqueComparablePricingMemberus-gaap:MeasurementInputSharePriceMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2022-12-310000895421ms:ValuationTechniqueComparablePricingMembersrt:MaximumMemberus-gaap:MeasurementInputSharePriceMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:ValuationTechniqueComparablePricingMemberus-gaap:MeasurementInputSharePriceMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:InterestRateContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:InterestRateContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:InterestRateContractMemberus-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputInterestRateVolatilitySkewMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2023-12-310000895421us-gaap:InterestRateContractMemberus-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberms:MeasurementInputInterestRateVolatilitySkewMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:InterestRateContractMemberus-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputInterestRateVolatilitySkewMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:ArithmeticAverageMember2023-12-310000895421us-gaap:InterestRateContractMemberus-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputInterestRateVolatilitySkewMembersrt:MedianMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:InterestRateContractMemberus-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputInterestRateVolatilitySkewMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2022-12-310000895421us-gaap:InterestRateContractMemberus-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberms:MeasurementInputInterestRateVolatilitySkewMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:InterestRateContractMemberus-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputInterestRateVolatilitySkewMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:ArithmeticAverageMember2022-12-310000895421us-gaap:InterestRateContractMemberus-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputInterestRateVolatilitySkewMembersrt:MedianMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:InterestRateContractMemberus-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputInterestRateCurveCorrelationMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2023-12-310000895421us-gaap:InterestRateContractMemberus-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberms:MeasurementInputInterestRateCurveCorrelationMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:InterestRateContractMemberus-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputInterestRateCurveCorrelationMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:ArithmeticAverageMember2023-12-310000895421us-gaap:InterestRateContractMemberus-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputInterestRateCurveCorrelationMembersrt:MedianMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:InterestRateContractMemberus-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputInterestRateCurveCorrelationMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2022-12-310000895421us-gaap:InterestRateContractMemberus-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberms:MeasurementInputInterestRateCurveCorrelationMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:InterestRateContractMemberus-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputInterestRateCurveCorrelationMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:ArithmeticAverageMember2022-12-310000895421us-gaap:InterestRateContractMemberus-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputInterestRateCurveCorrelationMembersrt:MedianMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:InterestRateContractMemberus-gaap:ValuationTechniqueOptionPricingModelMemberms:BondVolatilityMeasurementInputMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2023-12-310000895421us-gaap:InterestRateContractMemberus-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberms:BondVolatilityMeasurementInputMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:InterestRateContractMemberus-gaap:ValuationTechniqueOptionPricingModelMemberms:BondVolatilityMeasurementInputMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:ArithmeticAverageMember2023-12-310000895421us-gaap:InterestRateContractMemberus-gaap:ValuationTechniqueOptionPricingModelMemberms:BondVolatilityMeasurementInputMembersrt:MedianMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:InterestRateContractMemberus-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputInflationVolatilityMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2023-12-310000895421us-gaap:InterestRateContractMemberus-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberms:MeasurementInputInflationVolatilityMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:InterestRateContractMemberus-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputInflationVolatilityMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:ArithmeticAverageMember2023-12-310000895421us-gaap:InterestRateContractMemberus-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputInflationVolatilityMembersrt:MedianMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:InterestRateContractMemberus-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputInflationVolatilityMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2022-12-310000895421us-gaap:InterestRateContractMemberus-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberms:MeasurementInputInflationVolatilityMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:InterestRateContractMemberus-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputInflationVolatilityMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:ArithmeticAverageMember2022-12-310000895421us-gaap:InterestRateContractMemberus-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputInflationVolatilityMembersrt:MedianMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:MeasurementInputInterestRateCurveMemberus-gaap:InterestRateContractMemberus-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2022-12-310000895421ms:MeasurementInputInterestRateCurveMemberus-gaap:InterestRateContractMemberus-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:MeasurementInputInterestRateCurveMemberus-gaap:InterestRateContractMemberus-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:ArithmeticAverageMember2022-12-310000895421ms:MeasurementInputInterestRateCurveMemberus-gaap:InterestRateContractMemberus-gaap:ValuationTechniqueOptionPricingModelMembersrt:MedianMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:CreditRiskContractMember2023-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:CreditRiskContractMember2022-12-310000895421ms:MeasurementInputCashSyntheticBasisMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMemberus-gaap:FairValueMeasurementsRecurringMemberms:CreditDefaultSwapModelMember2023-12-310000895421ms:MeasurementInputCashSyntheticBasisMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMemberus-gaap:FairValueMeasurementsRecurringMemberms:CreditDefaultSwapModelMember2022-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMemberms:MeasurementInputBondPriceMemberus-gaap:FairValueMeasurementsRecurringMemberms:CreditDefaultSwapModelMembersrt:MinimumMember2023-12-310000895421srt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMemberms:MeasurementInputBondPriceMemberus-gaap:FairValueMeasurementsRecurringMemberms:CreditDefaultSwapModelMember2023-12-310000895421srt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMemberms:MeasurementInputBondPriceMemberus-gaap:FairValueMeasurementsRecurringMemberms:CreditDefaultSwapModelMember2023-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMemberms:MeasurementInputBondPriceMemberus-gaap:FairValueMeasurementsRecurringMemberms:CreditDefaultSwapModelMembersrt:MinimumMember2022-12-310000895421srt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMemberms:MeasurementInputBondPriceMemberus-gaap:FairValueMeasurementsRecurringMemberms:CreditDefaultSwapModelMember2022-12-310000895421srt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMemberms:MeasurementInputBondPriceMemberus-gaap:FairValueMeasurementsRecurringMemberms:CreditDefaultSwapModelMember2022-12-310000895421us-gaap:MeasurementInputCreditSpreadMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMemberus-gaap:FairValueMeasurementsRecurringMemberms:CreditDefaultSwapModelMembersrt:MinimumMember2023-12-310000895421srt:MaximumMemberus-gaap:MeasurementInputCreditSpreadMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMemberus-gaap:FairValueMeasurementsRecurringMemberms:CreditDefaultSwapModelMember2023-12-310000895421us-gaap:MeasurementInputCreditSpreadMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMemberus-gaap:FairValueMeasurementsRecurringMemberms:CreditDefaultSwapModelMember2023-12-310000895421us-gaap:MeasurementInputCreditSpreadMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMemberus-gaap:FairValueMeasurementsRecurringMemberms:CreditDefaultSwapModelMembersrt:MinimumMember2022-12-310000895421srt:MaximumMemberus-gaap:MeasurementInputCreditSpreadMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMemberus-gaap:FairValueMeasurementsRecurringMemberms:CreditDefaultSwapModelMember2022-12-310000895421us-gaap:MeasurementInputCreditSpreadMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMemberus-gaap:FairValueMeasurementsRecurringMemberms:CreditDefaultSwapModelMember2022-12-310000895421us-gaap:FairValueInputsLevel3Memberms:MeasurementInputFundingSpreadMemberus-gaap:CreditRiskContractMemberus-gaap:FairValueMeasurementsRecurringMemberms:CreditDefaultSwapModelMembersrt:MinimumMember2023-12-310000895421srt:MaximumMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputFundingSpreadMemberus-gaap:CreditRiskContractMemberus-gaap:FairValueMeasurementsRecurringMemberms:CreditDefaultSwapModelMember2023-12-310000895421srt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputFundingSpreadMemberus-gaap:CreditRiskContractMemberus-gaap:FairValueMeasurementsRecurringMemberms:CreditDefaultSwapModelMember2023-12-310000895421us-gaap:FairValueInputsLevel3Memberms:MeasurementInputFundingSpreadMemberus-gaap:CreditRiskContractMemberus-gaap:FairValueMeasurementsRecurringMemberms:CreditDefaultSwapModelMembersrt:MinimumMember2022-12-310000895421srt:MaximumMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputFundingSpreadMemberus-gaap:CreditRiskContractMemberus-gaap:FairValueMeasurementsRecurringMemberms:CreditDefaultSwapModelMember2022-12-310000895421srt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputFundingSpreadMemberus-gaap:CreditRiskContractMemberus-gaap:FairValueMeasurementsRecurringMemberms:CreditDefaultSwapModelMember2022-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:ForeignExchangeContractMember2023-12-310000895421us-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:ForeignExchangeContractMember2022-12-310000895421ms:MeasurementInputInterestRateCurveMemberus-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:FairValueInputsLevel3Memberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2023-12-310000895421ms:MeasurementInputInterestRateCurveMemberus-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:MeasurementInputInterestRateCurveMemberus-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:FairValueInputsLevel3Memberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueMeasurementsRecurringMembersrt:ArithmeticAverageMember2023-12-310000895421ms:MeasurementInputInterestRateCurveMemberus-gaap:ValuationTechniqueOptionPricingModelMembersrt:MedianMemberus-gaap:FairValueInputsLevel3Memberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:MeasurementInputInterestRateCurveMemberus-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:FairValueInputsLevel3Memberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2022-12-310000895421ms:MeasurementInputInterestRateCurveMemberus-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:MeasurementInputInterestRateCurveMemberus-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:FairValueInputsLevel3Memberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueMeasurementsRecurringMembersrt:ArithmeticAverageMember2022-12-310000895421ms:MeasurementInputInterestRateCurveMemberus-gaap:ValuationTechniqueOptionPricingModelMembersrt:MedianMemberus-gaap:FairValueInputsLevel3Memberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:FairValueInputsLevel3Memberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberms:MeasurementInputForeignExchangeVolatilitySkewMember2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputForeignExchangeVolatilitySkewMember2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:FairValueInputsLevel3Memberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueMeasurementsRecurringMembersrt:ArithmeticAverageMemberms:MeasurementInputForeignExchangeVolatilitySkewMember2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MedianMemberus-gaap:FairValueInputsLevel3Memberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputForeignExchangeVolatilitySkewMember2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:FairValueInputsLevel3Memberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberms:MeasurementInputForeignExchangeVolatilitySkewMember2022-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputForeignExchangeVolatilitySkewMember2022-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:FairValueInputsLevel3Memberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueMeasurementsRecurringMembersrt:ArithmeticAverageMemberms:MeasurementInputForeignExchangeVolatilitySkewMember2022-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MedianMemberus-gaap:FairValueInputsLevel3Memberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputForeignExchangeVolatilitySkewMember2022-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MedianMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputContingencyProbabilityMemberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputContingencyProbabilityMemberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2022-12-310000895421us-gaap:EquityContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:EquityContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:EquityContractMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputEquityVolatilityMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:EquityContractMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputEquityVolatilityMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:EquityContractMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputEquityVolatilityMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:EquityContractMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputEquityVolatilityMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2022-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:EquityContractMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputEquityVolatilityMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:EquityContractMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputEquityVolatilityMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:MeasurementInputEquityVolatilitySkewMemberus-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:EquityContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2023-12-310000895421ms:MeasurementInputEquityVolatilitySkewMemberus-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:EquityContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:MeasurementInputEquityVolatilitySkewMemberus-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:EquityContractMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:MeasurementInputEquityVolatilitySkewMemberus-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:EquityContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2022-12-310000895421ms:MeasurementInputEquityVolatilitySkewMemberus-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:EquityContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:MeasurementInputEquityVolatilitySkewMemberus-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:EquityContractMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:EquityContractMemberms:MeasurementInputEquityCorrelationMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:EquityContractMemberms:MeasurementInputEquityCorrelationMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:EquityContractMemberms:MeasurementInputEquityCorrelationMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:EquityContractMemberms:MeasurementInputEquityCorrelationMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2022-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:EquityContractMemberms:MeasurementInputEquityCorrelationMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:EquityContractMemberms:MeasurementInputEquityCorrelationMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:EquityContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberms:MeasurementInputForeignExchangeCorrelationMember2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:EquityContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputForeignExchangeCorrelationMember2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:EquityContractMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputForeignExchangeCorrelationMember2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:EquityContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberms:MeasurementInputForeignExchangeCorrelationMember2022-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:EquityContractMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputForeignExchangeCorrelationMember2022-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:EquityContractMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputForeignExchangeCorrelationMember2022-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:EquityContractMemberms:MeasurementInputInterestRateCorrelationMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:EquityContractMemberms:MeasurementInputInterestRateCorrelationMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:EquityContractMemberms:MeasurementInputInterestRateCorrelationMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:ArithmeticAverageMember2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:EquityContractMemberms:MeasurementInputInterestRateCorrelationMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2022-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:EquityContractMemberms:MeasurementInputInterestRateCorrelationMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:EquityContractMemberms:MeasurementInputInterestRateCorrelationMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:ArithmeticAverageMember2022-12-310000895421ms:CommodityAndOtherContractsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:CommodityAndOtherContractsMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:MeasurementInputForwardPowerPriceMemberms:CommodityAndOtherContractsMemberus-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2023-12-31iso4217:USDms:MWh0000895421ms:MeasurementInputForwardPowerPriceMemberms:CommodityAndOtherContractsMemberus-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:MeasurementInputForwardPowerPriceMemberms:CommodityAndOtherContractsMemberus-gaap:ValuationTechniqueOptionPricingModelMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:MeasurementInputForwardPowerPriceMemberms:CommodityAndOtherContractsMemberus-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2022-12-310000895421ms:MeasurementInputForwardPowerPriceMemberms:CommodityAndOtherContractsMemberus-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:MeasurementInputForwardPowerPriceMemberms:CommodityAndOtherContractsMemberus-gaap:ValuationTechniqueOptionPricingModelMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:CommodityAndOtherContractsMemberus-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberms:MeasurementInputCommodityVolatilityMember2023-12-310000895421ms:CommodityAndOtherContractsMemberus-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputCommodityVolatilityMember2023-12-310000895421ms:CommodityAndOtherContractsMemberus-gaap:ValuationTechniqueOptionPricingModelMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputCommodityVolatilityMember2023-12-310000895421ms:CommodityAndOtherContractsMemberus-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberms:MeasurementInputCommodityVolatilityMember2022-12-310000895421ms:CommodityAndOtherContractsMemberus-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputCommodityVolatilityMember2022-12-310000895421ms:CommodityAndOtherContractsMemberus-gaap:ValuationTechniqueOptionPricingModelMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputCommodityVolatilityMember2022-12-310000895421ms:CommodityAndOtherContractsMemberus-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputCrossCommodityCorrelationMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2023-12-310000895421ms:CommodityAndOtherContractsMemberus-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputCrossCommodityCorrelationMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:CommodityAndOtherContractsMemberus-gaap:ValuationTechniqueOptionPricingModelMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputCrossCommodityCorrelationMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:CommodityAndOtherContractsMemberus-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputCrossCommodityCorrelationMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2022-12-310000895421ms:CommodityAndOtherContractsMemberus-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputCrossCommodityCorrelationMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:CommodityAndOtherContractsMemberus-gaap:ValuationTechniqueOptionPricingModelMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputCrossCommodityCorrelationMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:ValuationTechniqueDiscountedCashFlowMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputFundingSpreadMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2023-12-310000895421us-gaap:ValuationTechniqueDiscountedCashFlowMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputFundingSpreadMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:ValuationTechniqueDiscountedCashFlowMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputFundingSpreadMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:ValuationTechniqueDiscountedCashFlowMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputFundingSpreadMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2022-12-310000895421us-gaap:ValuationTechniqueDiscountedCashFlowMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputFundingSpreadMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:ValuationTechniqueDiscountedCashFlowMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputFundingSpreadMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:MeasurementInputLoanPriceMemberms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2023-12-310000895421ms:MeasurementInputLoanPriceMemberms:ValuationTechniqueComparablePricingMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:MeasurementInputLoanPriceMemberms:ValuationTechniqueComparablePricingMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:MeasurementInputLoanPriceMemberms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2022-12-310000895421ms:MeasurementInputLoanPriceMemberms:ValuationTechniqueComparablePricingMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:MeasurementInputLoanPriceMemberms:ValuationTechniqueComparablePricingMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputEquityVolatilityMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputEquityVolatilityMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputEquityVolatilityMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputEquityVolatilityMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2022-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputEquityVolatilityMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputEquityVolatilityMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:MeasurementInputEquityVolatilitySkewMemberus-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2023-12-310000895421ms:MeasurementInputEquityVolatilitySkewMemberus-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:MeasurementInputEquityVolatilitySkewMemberus-gaap:ValuationTechniqueOptionPricingModelMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:MeasurementInputEquityVolatilitySkewMemberus-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2022-12-310000895421ms:MeasurementInputEquityVolatilitySkewMemberus-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:MeasurementInputEquityVolatilitySkewMemberus-gaap:ValuationTechniqueOptionPricingModelMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputEquityCorrelationMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberms:MeasurementInputEquityCorrelationMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputEquityCorrelationMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputEquityCorrelationMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2022-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberms:MeasurementInputEquityCorrelationMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputEquityCorrelationMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputEquityForeignExchangeCorrelationMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberms:MeasurementInputEquityForeignExchangeCorrelationMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputEquityForeignExchangeCorrelationMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputEquityForeignExchangeCorrelationMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2022-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberms:MeasurementInputEquityForeignExchangeCorrelationMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputEquityForeignExchangeCorrelationMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputInterestRateCurveCorrelationMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberms:MeasurementInputInterestRateCurveCorrelationMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputInterestRateCurveCorrelationMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:ArithmeticAverageMember2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputInterestRateCurveCorrelationMembersrt:MedianMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputInterestRateVolatilitySkewMemberms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMember2022-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberms:MeasurementInputInterestRateVolatilitySkewMemberms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputInterestRateVolatilitySkewMemberms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMembersrt:ArithmeticAverageMember2022-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputInterestRateVolatilitySkewMembersrt:MedianMemberms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:FairValueInputsLevel3Member2022-12-310000895421us-gaap:FairValueMeasurementsNonrecurringMemberms:ValuationTechniqueCorporateLoanModelMemberus-gaap:MeasurementInputCreditSpreadMemberus-gaap:FairValueInputsLevel3Membersrt:MinimumMember2023-12-310000895421us-gaap:FairValueMeasurementsNonrecurringMembersrt:MaximumMemberms:ValuationTechniqueCorporateLoanModelMemberus-gaap:MeasurementInputCreditSpreadMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:FairValueMeasurementsNonrecurringMemberms:ValuationTechniqueCorporateLoanModelMemberus-gaap:MeasurementInputCreditSpreadMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:FairValueMeasurementsNonrecurringMemberms:ValuationTechniqueCorporateLoanModelMemberus-gaap:MeasurementInputCreditSpreadMemberus-gaap:FairValueInputsLevel3Membersrt:MinimumMember2022-12-310000895421us-gaap:FairValueMeasurementsNonrecurringMembersrt:MaximumMemberms:ValuationTechniqueCorporateLoanModelMemberus-gaap:MeasurementInputCreditSpreadMemberus-gaap:FairValueInputsLevel3Member2022-12-310000895421us-gaap:FairValueMeasurementsNonrecurringMemberms:ValuationTechniqueCorporateLoanModelMemberus-gaap:MeasurementInputCreditSpreadMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Member2022-12-310000895421ms:MeasurementInputLoanPriceMemberms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:FairValueInputsLevel3Membersrt:MinimumMember2023-12-310000895421ms:MeasurementInputLoanPriceMemberms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsNonrecurringMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421ms:MeasurementInputLoanPriceMemberms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsNonrecurringMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421ms:MeasurementInputLoanPriceMemberms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:FairValueInputsLevel3Membersrt:MinimumMember2022-12-310000895421ms:MeasurementInputLoanPriceMemberms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsNonrecurringMembersrt:MaximumMemberus-gaap:FairValueInputsLevel3Member2022-12-310000895421ms:MeasurementInputLoanPriceMemberms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsNonrecurringMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Member2022-12-310000895421us-gaap:FairValueMeasurementsNonrecurringMemberms:ValuationTechniqueWarehouseModelMemberus-gaap:MeasurementInputCreditSpreadMemberus-gaap:FairValueInputsLevel3Membersrt:MinimumMember2023-12-310000895421us-gaap:FairValueMeasurementsNonrecurringMembersrt:MaximumMemberms:ValuationTechniqueWarehouseModelMemberus-gaap:MeasurementInputCreditSpreadMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:FairValueMeasurementsNonrecurringMemberms:ValuationTechniqueWarehouseModelMemberus-gaap:MeasurementInputCreditSpreadMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:FairValueMeasurementsNonrecurringMemberms:ValuationTechniqueWarehouseModelMemberus-gaap:MeasurementInputCreditSpreadMemberus-gaap:FairValueInputsLevel3Membersrt:MinimumMember2022-12-310000895421us-gaap:FairValueMeasurementsNonrecurringMembersrt:MaximumMemberms:ValuationTechniqueWarehouseModelMemberus-gaap:MeasurementInputCreditSpreadMemberus-gaap:FairValueInputsLevel3Member2022-12-310000895421us-gaap:FairValueMeasurementsNonrecurringMemberms:ValuationTechniqueWarehouseModelMemberus-gaap:MeasurementInputCreditSpreadMembersrt:WeightedAverageMemberus-gaap:FairValueInputsLevel3Member2022-12-310000895421us-gaap:PrivateEquityFundsMember2023-12-310000895421us-gaap:PrivateEquityFundsMember2022-12-310000895421us-gaap:RealEstateFundsMember2023-12-310000895421us-gaap:RealEstateFundsMember2022-12-310000895421us-gaap:HedgeFundsMember2023-12-310000895421us-gaap:HedgeFundsMember2022-12-310000895421us-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:FairValueInputsLevel2Member2023-12-310000895421us-gaap:FairValueMeasurementsNonrecurringMember2023-12-310000895421us-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:FairValueInputsLevel2Member2022-12-310000895421us-gaap:FairValueMeasurementsNonrecurringMember2022-12-310000895421us-gaap:FairValueMeasurementsNonrecurringMemberms:LendingCommitmentMember2023-01-012023-12-310000895421us-gaap:FairValueMeasurementsNonrecurringMemberms:LendingCommitmentMember2022-01-012022-12-310000895421us-gaap:FairValueMeasurementsNonrecurringMemberms:LendingCommitmentMember2021-01-012021-12-310000895421us-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:GoodwillMember2023-01-012023-12-310000895421us-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:GoodwillMember2022-01-012022-12-310000895421us-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:GoodwillMember2021-01-012021-12-310000895421us-gaap:FairValueMeasurementsNonrecurringMemberms:IntangibleAssetsMember2023-01-012023-12-310000895421us-gaap:FairValueMeasurementsNonrecurringMemberms:IntangibleAssetsMember2022-01-012022-12-310000895421us-gaap:FairValueMeasurementsNonrecurringMemberms:IntangibleAssetsMember2021-01-012021-12-310000895421us-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:OtherInvestmentsMember2023-01-012023-12-310000895421us-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:OtherInvestmentsMember2022-01-012022-12-310000895421us-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:OtherInvestmentsMember2021-01-012021-12-310000895421us-gaap:FairValueMeasurementsNonrecurringMemberms:PropertyPlantAndEquipmentAndCapitalizedSoftwareCostsMember2023-01-012023-12-310000895421us-gaap:FairValueMeasurementsNonrecurringMemberms:PropertyPlantAndEquipmentAndCapitalizedSoftwareCostsMember2022-01-012022-12-310000895421us-gaap:FairValueMeasurementsNonrecurringMemberms:PropertyPlantAndEquipmentAndCapitalizedSoftwareCostsMember2021-01-012021-12-310000895421ms:RightOfUseAssetsMemberus-gaap:FairValueMeasurementsNonrecurringMember2023-01-012023-12-310000895421ms:RightOfUseAssetsMemberus-gaap:FairValueMeasurementsNonrecurringMember2022-01-012022-12-310000895421ms:RightOfUseAssetsMemberus-gaap:FairValueMeasurementsNonrecurringMember2021-01-012021-12-310000895421us-gaap:AssetsMemberus-gaap:FairValueMeasurementsNonrecurringMember2023-01-012023-12-310000895421us-gaap:AssetsMemberus-gaap:FairValueMeasurementsNonrecurringMember2022-01-012022-12-310000895421us-gaap:AssetsMemberus-gaap:FairValueMeasurementsNonrecurringMember2021-01-012021-12-310000895421us-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:OtherLiabilitiesMember2023-01-012023-12-310000895421us-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:OtherLiabilitiesMember2022-01-012022-12-310000895421us-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:OtherLiabilitiesMember2021-01-012021-12-310000895421us-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:LiabilityMember2023-01-012023-12-310000895421us-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:LiabilityMember2022-01-012022-12-310000895421us-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:LiabilityMember2021-01-012021-12-310000895421us-gaap:PortionAtOtherThanFairValueFairValueDisclosureMember2023-12-310000895421us-gaap:EstimateOfFairValueFairValueDisclosureMemberus-gaap:FairValueInputsLevel1Member2023-12-310000895421us-gaap:EstimateOfFairValueFairValueDisclosureMemberus-gaap:FairValueInputsLevel2Member2023-12-310000895421us-gaap:EstimateOfFairValueFairValueDisclosureMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:EstimateOfFairValueFairValueDisclosureMember2023-12-310000895421us-gaap:PortionAtOtherThanFairValueFairValueDisclosureMember2022-12-310000895421us-gaap:EstimateOfFairValueFairValueDisclosureMemberus-gaap:FairValueInputsLevel1Member2022-12-310000895421us-gaap:EstimateOfFairValueFairValueDisclosureMemberus-gaap:FairValueInputsLevel2Member2022-12-310000895421us-gaap:EstimateOfFairValueFairValueDisclosureMemberus-gaap:FairValueInputsLevel3Member2022-12-310000895421us-gaap:EstimateOfFairValueFairValueDisclosureMember2022-12-310000895421us-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:InterestRateContractMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:InterestRateContractMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421ms:CommodityAndOtherContractsMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:CommodityAndOtherContractsMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:CreditRiskContractMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:CreditRiskContractMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000895421us-gaap:TradingRevenueMemberus-gaap:DebtMember2023-01-012023-12-310000895421us-gaap:TradingRevenueMemberus-gaap:DebtMember2022-01-012022-12-310000895421us-gaap:TradingRevenueMemberus-gaap:DebtMember2021-01-012021-12-310000895421us-gaap:InterestExpenseMemberus-gaap:DebtMember2023-01-012023-12-310000895421us-gaap:InterestExpenseMemberus-gaap:DebtMember2022-01-012022-12-310000895421us-gaap:InterestExpenseMemberus-gaap:DebtMember2021-01-012021-12-310000895421us-gaap:DebtMember2023-01-012023-12-310000895421us-gaap:DebtMember2022-01-012022-12-310000895421us-gaap:DebtMember2021-01-012021-12-310000895421us-gaap:TradingRevenueMemberms:LoansAndOtherReceivablesMember2023-01-012023-12-310000895421us-gaap:OtherComprehensiveIncomeMemberms:LoansAndOtherReceivablesMember2023-01-012023-12-310000895421us-gaap:WrittenLoanCommitmentFairValueOptionMemberus-gaap:TradingRevenueMember2023-01-012023-12-310000895421us-gaap:WrittenLoanCommitmentFairValueOptionMemberus-gaap:OtherComprehensiveIncomeMember2023-01-012023-12-310000895421us-gaap:TradingRevenueMemberus-gaap:DepositsMember2023-01-012023-12-310000895421us-gaap:OtherComprehensiveIncomeMemberus-gaap:DepositsMember2023-01-012023-12-310000895421us-gaap:OtherComprehensiveIncomeMemberus-gaap:DebtMember2023-01-012023-12-310000895421us-gaap:TradingRevenueMemberms:LoansAndOtherReceivablesMember2022-01-012022-12-310000895421us-gaap:OtherComprehensiveIncomeMemberms:LoansAndOtherReceivablesMember2022-01-012022-12-310000895421us-gaap:WrittenLoanCommitmentFairValueOptionMemberus-gaap:TradingRevenueMember2022-01-012022-12-310000895421us-gaap:WrittenLoanCommitmentFairValueOptionMemberus-gaap:OtherComprehensiveIncomeMember2022-01-012022-12-310000895421us-gaap:TradingRevenueMemberus-gaap:DepositsMember2022-01-012022-12-310000895421us-gaap:OtherComprehensiveIncomeMemberus-gaap:DepositsMember2022-01-012022-12-310000895421us-gaap:OtherComprehensiveIncomeMemberus-gaap:DebtMember2022-01-012022-12-310000895421us-gaap:TradingRevenueMemberms:LoansAndOtherReceivablesMember2021-01-012021-12-310000895421us-gaap:OtherComprehensiveIncomeMemberms:LoansAndOtherReceivablesMember2021-01-012021-12-310000895421us-gaap:WrittenLoanCommitmentFairValueOptionMemberus-gaap:TradingRevenueMember2021-01-012021-12-310000895421us-gaap:WrittenLoanCommitmentFairValueOptionMemberus-gaap:OtherComprehensiveIncomeMember2021-01-012021-12-310000895421us-gaap:TradingRevenueMemberus-gaap:DepositsMember2021-01-012021-12-310000895421us-gaap:OtherComprehensiveIncomeMemberus-gaap:DepositsMember2021-01-012021-12-310000895421us-gaap:OtherComprehensiveIncomeMemberus-gaap:DebtMember2021-01-012021-12-310000895421us-gaap:DesignatedAsHedgingInstrumentMemberus-gaap:InterestRateContractMemberus-gaap:OverTheCounterMember2023-12-310000895421us-gaap:DesignatedAsHedgingInstrumentMemberus-gaap:InterestRateContractMemberus-gaap:ExchangeClearedMember2023-12-310000895421us-gaap:DesignatedAsHedgingInstrumentMemberus-gaap:InterestRateContractMemberus-gaap:ExchangeTradedMember2023-12-310000895421us-gaap:DesignatedAsHedgingInstrumentMemberus-gaap:InterestRateContractMember2023-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:DesignatedAsHedgingInstrumentMemberus-gaap:OverTheCounterMember2023-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:DesignatedAsHedgingInstrumentMemberus-gaap:ExchangeClearedMember2023-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:DesignatedAsHedgingInstrumentMemberus-gaap:ExchangeTradedMember2023-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:DesignatedAsHedgingInstrumentMember2023-12-310000895421us-gaap:DesignatedAsHedgingInstrumentMemberus-gaap:OverTheCounterMember2023-12-310000895421us-gaap:DesignatedAsHedgingInstrumentMemberus-gaap:ExchangeClearedMember2023-12-310000895421us-gaap:DesignatedAsHedgingInstrumentMemberus-gaap:ExchangeTradedMember2023-12-310000895421us-gaap:DesignatedAsHedgingInstrumentMember2023-12-310000895421us-gaap:NotDesignatedAsHedgingInstrumentEconomicHedgeMemberus-gaap:CreditRiskContractMemberus-gaap:OverTheCounterMember2023-12-310000895421us-gaap:NotDesignatedAsHedgingInstrumentEconomicHedgeMemberus-gaap:ExchangeClearedMemberus-gaap:CreditRiskContractMember2023-12-310000895421us-gaap:NotDesignatedAsHedgingInstrumentEconomicHedgeMemberus-gaap:CreditRiskContractMemberus-gaap:ExchangeTradedMember2023-12-310000895421us-gaap:NotDesignatedAsHedgingInstrumentEconomicHedgeMemberus-gaap:CreditRiskContractMember2023-12-310000895421us-gaap:InterestRateContractMemberus-gaap:OverTheCounterMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2023-12-310000895421us-gaap:InterestRateContractMemberus-gaap:ExchangeClearedMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2023-12-310000895421us-gaap:InterestRateContractMemberus-gaap:ExchangeTradedMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2023-12-310000895421us-gaap:InterestRateContractMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2023-12-310000895421us-gaap:CreditRiskContractMemberus-gaap:OverTheCounterMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2023-12-310000895421us-gaap:ExchangeClearedMemberus-gaap:CreditRiskContractMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2023-12-310000895421us-gaap:CreditRiskContractMemberus-gaap:ExchangeTradedMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2023-12-310000895421us-gaap:CreditRiskContractMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2023-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:OverTheCounterMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2023-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:ExchangeClearedMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2023-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:ExchangeTradedMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2023-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2023-12-310000895421us-gaap:EquityContractMemberus-gaap:OverTheCounterMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2023-12-310000895421us-gaap:EquityContractMemberus-gaap:ExchangeClearedMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2023-12-310000895421us-gaap:EquityContractMemberus-gaap:ExchangeTradedMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2023-12-310000895421us-gaap:EquityContractMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2023-12-310000895421ms:CommodityAndOtherContractsMemberus-gaap:OverTheCounterMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2023-12-310000895421us-gaap:ExchangeClearedMemberms:CommodityAndOtherContractsMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2023-12-310000895421ms:CommodityAndOtherContractsMemberus-gaap:ExchangeTradedMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2023-12-310000895421ms:CommodityAndOtherContractsMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2023-12-310000895421us-gaap:OverTheCounterMemberus-gaap:NondesignatedMember2023-12-310000895421us-gaap:ExchangeClearedMemberus-gaap:NondesignatedMember2023-12-310000895421us-gaap:ExchangeTradedMemberus-gaap:NondesignatedMember2023-12-310000895421us-gaap:NondesignatedMember2023-12-310000895421us-gaap:OverTheCounterMember2023-12-310000895421us-gaap:ExchangeClearedMember2023-12-310000895421us-gaap:ExchangeTradedMember2023-12-310000895421us-gaap:DesignatedAsHedgingInstrumentMemberus-gaap:InterestRateContractMemberus-gaap:OverTheCounterMember2022-12-310000895421us-gaap:DesignatedAsHedgingInstrumentMemberus-gaap:InterestRateContractMemberus-gaap:ExchangeClearedMember2022-12-310000895421us-gaap:DesignatedAsHedgingInstrumentMemberus-gaap:InterestRateContractMemberus-gaap:ExchangeTradedMember2022-12-310000895421us-gaap:DesignatedAsHedgingInstrumentMemberus-gaap:InterestRateContractMember2022-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:DesignatedAsHedgingInstrumentMemberus-gaap:OverTheCounterMember2022-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:DesignatedAsHedgingInstrumentMemberus-gaap:ExchangeClearedMember2022-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:DesignatedAsHedgingInstrumentMemberus-gaap:ExchangeTradedMember2022-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:DesignatedAsHedgingInstrumentMember2022-12-310000895421us-gaap:DesignatedAsHedgingInstrumentMemberus-gaap:OverTheCounterMember2022-12-310000895421us-gaap:DesignatedAsHedgingInstrumentMemberus-gaap:ExchangeClearedMember2022-12-310000895421us-gaap:DesignatedAsHedgingInstrumentMemberus-gaap:ExchangeTradedMember2022-12-310000895421us-gaap:DesignatedAsHedgingInstrumentMember2022-12-310000895421us-gaap:NotDesignatedAsHedgingInstrumentEconomicHedgeMemberus-gaap:CreditRiskContractMemberus-gaap:OverTheCounterMember2022-12-310000895421us-gaap:NotDesignatedAsHedgingInstrumentEconomicHedgeMemberus-gaap:ExchangeClearedMemberus-gaap:CreditRiskContractMember2022-12-310000895421us-gaap:NotDesignatedAsHedgingInstrumentEconomicHedgeMemberus-gaap:CreditRiskContractMemberus-gaap:ExchangeTradedMember2022-12-310000895421us-gaap:NotDesignatedAsHedgingInstrumentEconomicHedgeMemberus-gaap:CreditRiskContractMember2022-12-310000895421us-gaap:InterestRateContractMemberus-gaap:OverTheCounterMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2022-12-310000895421us-gaap:InterestRateContractMemberus-gaap:ExchangeClearedMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2022-12-310000895421us-gaap:InterestRateContractMemberus-gaap:ExchangeTradedMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2022-12-310000895421us-gaap:InterestRateContractMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2022-12-310000895421us-gaap:CreditRiskContractMemberus-gaap:OverTheCounterMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2022-12-310000895421us-gaap:ExchangeClearedMemberus-gaap:CreditRiskContractMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2022-12-310000895421us-gaap:CreditRiskContractMemberus-gaap:ExchangeTradedMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2022-12-310000895421us-gaap:CreditRiskContractMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2022-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:OverTheCounterMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2022-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:ExchangeClearedMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2022-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:ExchangeTradedMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2022-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2022-12-310000895421us-gaap:EquityContractMemberus-gaap:OverTheCounterMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2022-12-310000895421us-gaap:EquityContractMemberus-gaap:ExchangeClearedMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2022-12-310000895421us-gaap:EquityContractMemberus-gaap:ExchangeTradedMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2022-12-310000895421us-gaap:EquityContractMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2022-12-310000895421ms:CommodityAndOtherContractsMemberus-gaap:OverTheCounterMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2022-12-310000895421us-gaap:ExchangeClearedMemberms:CommodityAndOtherContractsMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2022-12-310000895421ms:CommodityAndOtherContractsMemberus-gaap:ExchangeTradedMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2022-12-310000895421ms:CommodityAndOtherContractsMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2022-12-310000895421us-gaap:OverTheCounterMemberus-gaap:NondesignatedMember2022-12-310000895421us-gaap:ExchangeClearedMemberus-gaap:NondesignatedMember2022-12-310000895421us-gaap:ExchangeTradedMemberus-gaap:NondesignatedMember2022-12-310000895421us-gaap:NondesignatedMember2022-12-310000895421us-gaap:OverTheCounterMember2022-12-310000895421us-gaap:ExchangeClearedMember2022-12-310000895421us-gaap:ExchangeTradedMember2022-12-310000895421us-gaap:InterestRateContractMemberus-gaap:FairValueHedgingMemberus-gaap:InterestIncomeMember2023-01-012023-12-310000895421us-gaap:InterestRateContractMemberus-gaap:FairValueHedgingMemberus-gaap:InterestIncomeMember2022-01-012022-12-310000895421us-gaap:InterestRateContractMemberus-gaap:FairValueHedgingMemberus-gaap:InterestIncomeMember2021-01-012021-12-310000895421us-gaap:FairValueHedgingMemberms:DebtSecuritiesAvailableForSaleMemberus-gaap:InterestIncomeMember2023-01-012023-12-310000895421us-gaap:FairValueHedgingMemberms:DebtSecuritiesAvailableForSaleMemberus-gaap:InterestIncomeMember2022-01-012022-12-310000895421us-gaap:FairValueHedgingMemberms:DebtSecuritiesAvailableForSaleMemberus-gaap:InterestIncomeMember2021-01-012021-12-310000895421us-gaap:InterestRateContractMemberus-gaap:FairValueHedgingMemberus-gaap:InterestExpenseMember2023-01-012023-12-310000895421us-gaap:InterestRateContractMemberus-gaap:FairValueHedgingMemberus-gaap:InterestExpenseMember2022-01-012022-12-310000895421us-gaap:InterestRateContractMemberus-gaap:FairValueHedgingMemberus-gaap:InterestExpenseMember2021-01-012021-12-310000895421us-gaap:DepositsMemberus-gaap:FairValueHedgingMemberus-gaap:InterestExpenseMember2023-01-012023-12-310000895421us-gaap:DepositsMemberus-gaap:FairValueHedgingMemberus-gaap:InterestExpenseMember2022-01-012022-12-310000895421us-gaap:DepositsMemberus-gaap:FairValueHedgingMemberus-gaap:InterestExpenseMember2021-01-012021-12-310000895421us-gaap:BorrowingsMemberus-gaap:FairValueHedgingMemberus-gaap:InterestExpenseMember2023-01-012023-12-310000895421us-gaap:BorrowingsMemberus-gaap:FairValueHedgingMemberus-gaap:InterestExpenseMember2022-01-012022-12-310000895421us-gaap:BorrowingsMemberus-gaap:FairValueHedgingMemberus-gaap:InterestExpenseMember2021-01-012021-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:NetInvestmentHedgingMember2023-01-012023-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:NetInvestmentHedgingMember2022-01-012022-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:NetInvestmentHedgingMember2021-01-012021-12-310000895421us-gaap:InterestRateContractMember2023-01-012023-12-310000895421ms:DebtSecuritiesAvailableForSaleMember2023-12-310000895421ms:DebtSecuritiesAvailableForSaleMember2022-12-310000895421us-gaap:DepositsMember2023-12-310000895421us-gaap:DepositsMember2022-12-310000895421us-gaap:BorrowingsMember2023-12-310000895421us-gaap:BorrowingsMember2022-12-310000895421us-gaap:NotDesignatedAsHedgingInstrumentEconomicHedgeMemberus-gaap:CreditRiskContractMember2023-01-012023-12-310000895421us-gaap:NotDesignatedAsHedgingInstrumentEconomicHedgeMemberus-gaap:CreditRiskContractMember2022-01-012022-12-310000895421us-gaap:NotDesignatedAsHedgingInstrumentEconomicHedgeMemberus-gaap:CreditRiskContractMember2021-01-012021-12-310000895421ms:DerivativeCreditRiskRelatedContingentFeaturesTriggeringCircumstancesOneNotchCreditRatingDowngradeMember2023-12-310000895421ms:DerivativeCreditRiskRelatedContingentFeaturestriggeringCircumstancesTwoNotchCreditRatingDowngradeMember2023-12-310000895421us-gaap:CollaborativeArrangementMember2023-12-310000895421us-gaap:InternalInvestmentGradeMemberms:CreditDerivativesSellingProtectionMemberms:LessThanTwelveMonthsFromBalanceSheetDateMemberms:SingleNameCreditDefaultSwapMember2023-12-310000895421us-gaap:InternalInvestmentGradeMemberms:CreditDerivativesSellingProtectionMemberms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMemberms:SingleNameCreditDefaultSwapMember2023-12-310000895421us-gaap:InternalInvestmentGradeMemberms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberms:SingleNameCreditDefaultSwapMember2023-12-310000895421us-gaap:InternalInvestmentGradeMemberms:CreditDerivativesSellingProtectionMemberms:SingleNameCreditDefaultSwapMemberms:MoreThanFiveYearsFromBalanceSheetDateMember2023-12-310000895421us-gaap:InternalInvestmentGradeMemberms:CreditDerivativesSellingProtectionMemberms:SingleNameCreditDefaultSwapMember2023-12-310000895421us-gaap:InternalNoninvestmentGradeMemberms:CreditDerivativesSellingProtectionMemberms:LessThanTwelveMonthsFromBalanceSheetDateMemberms:SingleNameCreditDefaultSwapMember2023-12-310000895421us-gaap:InternalNoninvestmentGradeMemberms:CreditDerivativesSellingProtectionMemberms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMemberms:SingleNameCreditDefaultSwapMember2023-12-310000895421us-gaap:InternalNoninvestmentGradeMemberms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberms:SingleNameCreditDefaultSwapMember2023-12-310000895421us-gaap:InternalNoninvestmentGradeMemberms:CreditDerivativesSellingProtectionMemberms:SingleNameCreditDefaultSwapMemberms:MoreThanFiveYearsFromBalanceSheetDateMember2023-12-310000895421us-gaap:InternalNoninvestmentGradeMemberms:CreditDerivativesSellingProtectionMemberms:SingleNameCreditDefaultSwapMember2023-12-310000895421ms:CreditDerivativesSellingProtectionMemberms:LessThanTwelveMonthsFromBalanceSheetDateMemberms:SingleNameCreditDefaultSwapMember2023-12-310000895421ms:CreditDerivativesSellingProtectionMemberms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMemberms:SingleNameCreditDefaultSwapMember2023-12-310000895421ms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberms:SingleNameCreditDefaultSwapMember2023-12-310000895421ms:CreditDerivativesSellingProtectionMemberms:SingleNameCreditDefaultSwapMemberms:MoreThanFiveYearsFromBalanceSheetDateMember2023-12-310000895421ms:CreditDerivativesSellingProtectionMemberms:SingleNameCreditDefaultSwapMember2023-12-310000895421us-gaap:InternalInvestmentGradeMemberms:CreditDerivativesSellingProtectionMemberms:LessThanTwelveMonthsFromBalanceSheetDateMemberms:TotalIndexAndBasketCreditDefaultSwapsMember2023-12-310000895421us-gaap:InternalInvestmentGradeMemberms:CreditDerivativesSellingProtectionMemberms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMemberms:TotalIndexAndBasketCreditDefaultSwapsMember2023-12-310000895421us-gaap:InternalInvestmentGradeMemberms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberms:TotalIndexAndBasketCreditDefaultSwapsMember2023-12-310000895421us-gaap:InternalInvestmentGradeMemberms:CreditDerivativesSellingProtectionMemberms:TotalIndexAndBasketCreditDefaultSwapsMemberms:MoreThanFiveYearsFromBalanceSheetDateMember2023-12-310000895421us-gaap:InternalInvestmentGradeMemberms:CreditDerivativesSellingProtectionMemberms:TotalIndexAndBasketCreditDefaultSwapsMember2023-12-310000895421us-gaap:InternalNoninvestmentGradeMemberms:CreditDerivativesSellingProtectionMemberms:LessThanTwelveMonthsFromBalanceSheetDateMemberms:TotalIndexAndBasketCreditDefaultSwapsMember2023-12-310000895421us-gaap:InternalNoninvestmentGradeMemberms:CreditDerivativesSellingProtectionMemberms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMemberms:TotalIndexAndBasketCreditDefaultSwapsMember2023-12-310000895421us-gaap:InternalNoninvestmentGradeMemberms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberms:TotalIndexAndBasketCreditDefaultSwapsMember2023-12-310000895421us-gaap:InternalNoninvestmentGradeMemberms:CreditDerivativesSellingProtectionMemberms:TotalIndexAndBasketCreditDefaultSwapsMemberms:MoreThanFiveYearsFromBalanceSheetDateMember2023-12-310000895421us-gaap:InternalNoninvestmentGradeMemberms:CreditDerivativesSellingProtectionMemberms:TotalIndexAndBasketCreditDefaultSwapsMember2023-12-310000895421ms:CreditDerivativesSellingProtectionMemberms:LessThanTwelveMonthsFromBalanceSheetDateMemberms:TotalIndexAndBasketCreditDefaultSwapsMember2023-12-310000895421ms:CreditDerivativesSellingProtectionMemberms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMemberms:TotalIndexAndBasketCreditDefaultSwapsMember2023-12-310000895421ms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberms:TotalIndexAndBasketCreditDefaultSwapsMember2023-12-310000895421ms:CreditDerivativesSellingProtectionMemberms:TotalIndexAndBasketCreditDefaultSwapsMemberms:MoreThanFiveYearsFromBalanceSheetDateMember2023-12-310000895421ms:CreditDerivativesSellingProtectionMemberms:TotalIndexAndBasketCreditDefaultSwapsMember2023-12-310000895421ms:CreditDerivativesSellingProtectionMemberms:LessThanTwelveMonthsFromBalanceSheetDateMemberus-gaap:CreditDefaultSwapMember2023-12-310000895421ms:CreditDerivativesSellingProtectionMemberms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMemberus-gaap:CreditDefaultSwapMember2023-12-310000895421ms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberus-gaap:CreditDefaultSwapMember2023-12-310000895421ms:CreditDerivativesSellingProtectionMemberus-gaap:CreditDefaultSwapMemberms:MoreThanFiveYearsFromBalanceSheetDateMember2023-12-310000895421ms:CreditDerivativesSellingProtectionMemberus-gaap:CreditDefaultSwapMember2023-12-310000895421ms:CreditDerivativesSellingProtectionMemberus-gaap:OtherCreditDerivativesMemberms:LessThanTwelveMonthsFromBalanceSheetDateMember2023-12-310000895421ms:CreditDerivativesSellingProtectionMemberus-gaap:OtherCreditDerivativesMemberms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMember2023-12-310000895421ms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberus-gaap:OtherCreditDerivativesMember2023-12-310000895421ms:CreditDerivativesSellingProtectionMemberus-gaap:OtherCreditDerivativesMemberms:MoreThanFiveYearsFromBalanceSheetDateMember2023-12-310000895421ms:CreditDerivativesSellingProtectionMemberus-gaap:OtherCreditDerivativesMember2023-12-310000895421ms:CreditDerivativesSellingProtectionMemberms:LessThanTwelveMonthsFromBalanceSheetDateMember2023-12-310000895421ms:CreditDerivativesSellingProtectionMemberms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMember2023-12-310000895421ms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMember2023-12-310000895421ms:CreditDerivativesSellingProtectionMemberms:MoreThanFiveYearsFromBalanceSheetDateMember2023-12-310000895421ms:CreditDerivativesSellingProtectionMember2023-12-310000895421us-gaap:InternalInvestmentGradeMemberms:CreditDerivativesSellingProtectionMemberms:LessThanTwelveMonthsFromBalanceSheetDateMemberms:SingleNameCreditDefaultSwapMember2022-12-310000895421us-gaap:InternalInvestmentGradeMemberms:CreditDerivativesSellingProtectionMemberms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMemberms:SingleNameCreditDefaultSwapMember2022-12-310000895421us-gaap:InternalInvestmentGradeMemberms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberms:SingleNameCreditDefaultSwapMember2022-12-310000895421us-gaap:InternalInvestmentGradeMemberms:CreditDerivativesSellingProtectionMemberms:SingleNameCreditDefaultSwapMemberms:MoreThanFiveYearsFromBalanceSheetDateMember2022-12-310000895421us-gaap:InternalInvestmentGradeMemberms:CreditDerivativesSellingProtectionMemberms:SingleNameCreditDefaultSwapMember2022-12-310000895421us-gaap:InternalNoninvestmentGradeMemberms:CreditDerivativesSellingProtectionMemberms:LessThanTwelveMonthsFromBalanceSheetDateMemberms:SingleNameCreditDefaultSwapMember2022-12-310000895421us-gaap:InternalNoninvestmentGradeMemberms:CreditDerivativesSellingProtectionMemberms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMemberms:SingleNameCreditDefaultSwapMember2022-12-310000895421us-gaap:InternalNoninvestmentGradeMemberms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberms:SingleNameCreditDefaultSwapMember2022-12-310000895421us-gaap:InternalNoninvestmentGradeMemberms:CreditDerivativesSellingProtectionMemberms:SingleNameCreditDefaultSwapMemberms:MoreThanFiveYearsFromBalanceSheetDateMember2022-12-310000895421us-gaap:InternalNoninvestmentGradeMemberms:CreditDerivativesSellingProtectionMemberms:SingleNameCreditDefaultSwapMember2022-12-310000895421ms:CreditDerivativesSellingProtectionMemberms:LessThanTwelveMonthsFromBalanceSheetDateMemberms:SingleNameCreditDefaultSwapMember2022-12-310000895421ms:CreditDerivativesSellingProtectionMemberms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMemberms:SingleNameCreditDefaultSwapMember2022-12-310000895421ms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberms:SingleNameCreditDefaultSwapMember2022-12-310000895421ms:CreditDerivativesSellingProtectionMemberms:SingleNameCreditDefaultSwapMemberms:MoreThanFiveYearsFromBalanceSheetDateMember2022-12-310000895421ms:CreditDerivativesSellingProtectionMemberms:SingleNameCreditDefaultSwapMember2022-12-310000895421us-gaap:InternalInvestmentGradeMemberms:CreditDerivativesSellingProtectionMemberms:LessThanTwelveMonthsFromBalanceSheetDateMemberms:TotalIndexAndBasketCreditDefaultSwapsMember2022-12-310000895421us-gaap:InternalInvestmentGradeMemberms:CreditDerivativesSellingProtectionMemberms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMemberms:TotalIndexAndBasketCreditDefaultSwapsMember2022-12-310000895421us-gaap:InternalInvestmentGradeMemberms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberms:TotalIndexAndBasketCreditDefaultSwapsMember2022-12-310000895421us-gaap:InternalInvestmentGradeMemberms:CreditDerivativesSellingProtectionMemberms:TotalIndexAndBasketCreditDefaultSwapsMemberms:MoreThanFiveYearsFromBalanceSheetDateMember2022-12-310000895421us-gaap:InternalInvestmentGradeMemberms:CreditDerivativesSellingProtectionMemberms:TotalIndexAndBasketCreditDefaultSwapsMember2022-12-310000895421us-gaap:InternalNoninvestmentGradeMemberms:CreditDerivativesSellingProtectionMemberms:LessThanTwelveMonthsFromBalanceSheetDateMemberms:TotalIndexAndBasketCreditDefaultSwapsMember2022-12-310000895421us-gaap:InternalNoninvestmentGradeMemberms:CreditDerivativesSellingProtectionMemberms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMemberms:TotalIndexAndBasketCreditDefaultSwapsMember2022-12-310000895421us-gaap:InternalNoninvestmentGradeMemberms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberms:TotalIndexAndBasketCreditDefaultSwapsMember2022-12-310000895421us-gaap:InternalNoninvestmentGradeMemberms:CreditDerivativesSellingProtectionMemberms:TotalIndexAndBasketCreditDefaultSwapsMemberms:MoreThanFiveYearsFromBalanceSheetDateMember2022-12-310000895421us-gaap:InternalNoninvestmentGradeMemberms:CreditDerivativesSellingProtectionMemberms:TotalIndexAndBasketCreditDefaultSwapsMember2022-12-310000895421ms:CreditDerivativesSellingProtectionMemberms:LessThanTwelveMonthsFromBalanceSheetDateMemberms:TotalIndexAndBasketCreditDefaultSwapsMember2022-12-310000895421ms:CreditDerivativesSellingProtectionMemberms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMemberms:TotalIndexAndBasketCreditDefaultSwapsMember2022-12-310000895421ms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberms:TotalIndexAndBasketCreditDefaultSwapsMember2022-12-310000895421ms:CreditDerivativesSellingProtectionMemberms:TotalIndexAndBasketCreditDefaultSwapsMemberms:MoreThanFiveYearsFromBalanceSheetDateMember2022-12-310000895421ms:CreditDerivativesSellingProtectionMemberms:TotalIndexAndBasketCreditDefaultSwapsMember2022-12-310000895421ms:CreditDerivativesSellingProtectionMemberms:LessThanTwelveMonthsFromBalanceSheetDateMemberus-gaap:CreditDefaultSwapMember2022-12-310000895421ms:CreditDerivativesSellingProtectionMemberms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMemberus-gaap:CreditDefaultSwapMember2022-12-310000895421ms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberus-gaap:CreditDefaultSwapMember2022-12-310000895421ms:CreditDerivativesSellingProtectionMemberus-gaap:CreditDefaultSwapMemberms:MoreThanFiveYearsFromBalanceSheetDateMember2022-12-310000895421ms:CreditDerivativesSellingProtectionMemberus-gaap:CreditDefaultSwapMember2022-12-310000895421ms:CreditDerivativesSellingProtectionMemberus-gaap:OtherCreditDerivativesMemberms:LessThanTwelveMonthsFromBalanceSheetDateMember2022-12-310000895421ms:CreditDerivativesSellingProtectionMemberus-gaap:OtherCreditDerivativesMemberms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMember2022-12-310000895421ms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberus-gaap:OtherCreditDerivativesMember2022-12-310000895421ms:CreditDerivativesSellingProtectionMemberus-gaap:OtherCreditDerivativesMemberms:MoreThanFiveYearsFromBalanceSheetDateMember2022-12-310000895421ms:CreditDerivativesSellingProtectionMemberus-gaap:OtherCreditDerivativesMember2022-12-310000895421ms:CreditDerivativesSellingProtectionMemberms:LessThanTwelveMonthsFromBalanceSheetDateMember2022-12-310000895421ms:CreditDerivativesSellingProtectionMemberms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMember2022-12-310000895421ms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMember2022-12-310000895421ms:CreditDerivativesSellingProtectionMemberms:MoreThanFiveYearsFromBalanceSheetDateMember2022-12-310000895421ms:CreditDerivativesSellingProtectionMember2022-12-310000895421us-gaap:CreditDefaultSwapBuyingProtectionMemberms:SingleNameCreditDefaultSwapMember2023-12-310000895421us-gaap:CreditDefaultSwapBuyingProtectionMemberms:SingleNameCreditDefaultSwapMember2022-12-310000895421us-gaap:CreditDefaultSwapBuyingProtectionMemberms:IndexAndBasketCreditDefaultSwapMember2023-12-310000895421us-gaap:CreditDefaultSwapBuyingProtectionMemberms:IndexAndBasketCreditDefaultSwapMember2022-12-310000895421us-gaap:CreditDefaultSwapBuyingProtectionMemberms:TranchedIndexAndBasketCreditDefaultSwapMember2023-12-310000895421us-gaap:CreditDefaultSwapBuyingProtectionMemberms:TranchedIndexAndBasketCreditDefaultSwapMember2022-12-310000895421us-gaap:CreditDefaultSwapBuyingProtectionMemberus-gaap:CreditDefaultSwapMember2023-12-310000895421us-gaap:CreditDefaultSwapBuyingProtectionMemberus-gaap:CreditDefaultSwapMember2022-12-310000895421us-gaap:USTreasurySecuritiesMember2023-12-310000895421us-gaap:USGovernmentAgenciesDebtSecuritiesMember2023-12-310000895421us-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember2023-12-310000895421us-gaap:USStatesAndPoliticalSubdivisionsMember2023-12-310000895421ms:AssetBackedSecuritiesFederalFamilyEducationLoanProgramMember2023-12-310000895421us-gaap:MortgageBackedSecuritiesIssuedByPrivateEnterprisesMember2023-12-310000895421us-gaap:USTreasurySecuritiesMember2022-12-310000895421us-gaap:USGovernmentAgenciesDebtSecuritiesMember2022-12-310000895421us-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember2022-12-310000895421us-gaap:USStatesAndPoliticalSubdivisionsMember2022-12-310000895421ms:AssetBackedSecuritiesFederalFamilyEducationLoanProgramMember2022-12-310000895421us-gaap:MortgageBackedSecuritiesIssuedByPrivateEnterprisesMember2022-12-310000895421us-gaap:USTreasurySecuritiesMember2023-01-012023-12-310000895421us-gaap:USGovernmentAgenciesDebtSecuritiesMember2023-01-012023-12-310000895421us-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember2023-01-012023-12-310000895421us-gaap:USStatesAndPoliticalSubdivisionsMember2023-01-012023-12-310000895421ms:AssetBackedSecuritiesFederalFamilyEducationLoanProgramMember2023-01-012023-12-310000895421us-gaap:MortgageBackedSecuritiesIssuedByPrivateEnterprisesMember2023-01-012023-12-310000895421us-gaap:MaturityOvernightMember2023-12-310000895421us-gaap:MaturityUpTo30DaysMember2023-12-310000895421us-gaap:Maturity30To90DaysMember2023-12-310000895421us-gaap:MaturityOver90DaysMember2023-12-310000895421us-gaap:MaturityOvernightMember2022-12-310000895421us-gaap:MaturityUpTo30DaysMember2022-12-310000895421us-gaap:Maturity30To90DaysMember2022-12-310000895421us-gaap:MaturityOver90DaysMember2022-12-310000895421us-gaap:USTreasuryAndGovernmentMember2023-12-310000895421us-gaap:USTreasuryAndGovernmentMember2022-12-310000895421us-gaap:ForeignGovernmentDebtSecuritiesMember2023-12-310000895421us-gaap:ForeignGovernmentDebtSecuritiesMember2022-12-310000895421ms:CorporateEquitiesMember2023-12-310000895421ms:CorporateEquitiesMember2022-12-310000895421us-gaap:CollateralizedSecuritiesOtherMember2023-12-310000895421us-gaap:CollateralizedSecuritiesOtherMember2022-12-310000895421us-gaap:AssetPledgedAsCollateralWithoutRightMember2023-12-310000895421us-gaap:AssetPledgedAsCollateralWithoutRightMember2022-12-310000895421us-gaap:ProductConcentrationRiskMemberms:UsTreasuryAndGovernmentAndForeignGovernmentDebtSecuritiesMemberms:TradingAssetsToTotalAssetsRatioMember2023-01-012023-12-310000895421us-gaap:ProductConcentrationRiskMemberms:UsTreasuryAndGovernmentAndForeignGovernmentDebtSecuritiesMemberms:TradingAssetsToTotalAssetsRatioMember2022-01-012022-12-310000895421us-gaap:ProductConcentrationRiskMemberms:UsTreasuryAndGovernmentAndForeignGovernmentDebtSecuritiesMemberms:CollateralReceivedToTotalAssetsRatioMember2023-01-012023-12-310000895421us-gaap:ProductConcentrationRiskMemberms:UsTreasuryAndGovernmentAndForeignGovernmentDebtSecuritiesMemberms:CollateralReceivedToTotalAssetsRatioMember2022-01-012022-12-310000895421us-gaap:CommercialPortfolioSegmentMember2023-12-310000895421ms:SecuredLendingFacilitiesMember2023-12-310000895421us-gaap:CommercialRealEstatePortfolioSegmentMember2023-12-310000895421us-gaap:ResidentialPortfolioSegmentMember2023-12-310000895421ms:SecuritiesBasedLendingandOtherLoansMember2023-12-310000895421us-gaap:GeographicDistributionForeignMember2023-12-310000895421us-gaap:CommercialPortfolioSegmentMember2022-12-310000895421ms:SecuredLendingFacilitiesMember2022-12-310000895421us-gaap:CommercialRealEstatePortfolioSegmentMember2022-12-310000895421us-gaap:ResidentialPortfolioSegmentMember2022-12-310000895421ms:SecuritiesBasedLendingandOtherLoansMember2022-12-310000895421us-gaap:GeographicDistributionForeignMember2022-12-310000895421us-gaap:InternalInvestmentGradeMemberus-gaap:CommercialPortfolioSegmentMember2023-12-310000895421us-gaap:CommercialPortfolioSegmentMemberus-gaap:InternalNoninvestmentGradeMember2023-12-310000895421us-gaap:InternalInvestmentGradeMemberus-gaap:CommercialPortfolioSegmentMember2022-12-310000895421us-gaap:CommercialPortfolioSegmentMemberus-gaap:InternalNoninvestmentGradeMember2022-12-310000895421us-gaap:InternalInvestmentGradeMemberms:SecuredLendingFacilitiesMember2023-12-310000895421us-gaap:InternalNoninvestmentGradeMemberms:SecuredLendingFacilitiesMember2023-12-310000895421us-gaap:InternalInvestmentGradeMemberms:SecuredLendingFacilitiesMember2022-12-310000895421us-gaap:InternalNoninvestmentGradeMemberms:SecuredLendingFacilitiesMember2022-12-310000895421us-gaap:InternalInvestmentGradeMemberus-gaap:CommercialRealEstatePortfolioSegmentMember2023-12-310000895421us-gaap:CommercialRealEstatePortfolioSegmentMemberus-gaap:InternalNoninvestmentGradeMember2023-12-310000895421us-gaap:InternalInvestmentGradeMemberus-gaap:CommercialRealEstatePortfolioSegmentMember2022-12-310000895421us-gaap:CommercialRealEstatePortfolioSegmentMemberus-gaap:InternalNoninvestmentGradeMember2022-12-310000895421us-gaap:ResidentialPortfolioSegmentMemberms:FICOScoreGreaterthanorEqualto740Member2023-12-310000895421us-gaap:ResidentialPortfolioSegmentMemberms:FICOScoreBetween680and739Member2023-12-310000895421us-gaap:ResidentialPortfolioSegmentMemberms:FICOScoreLessthan680Member2023-12-310000895421us-gaap:ResidentialPortfolioSegmentMemberms:DebttoValueRatioLessthanorEqualto80PercentMember2023-12-310000895421us-gaap:ResidentialPortfolioSegmentMemberms:DebttoValueRatioGreaterthan80PercentMember2023-12-310000895421us-gaap:ResidentialPortfolioSegmentMemberms:FICOScoreGreaterthanorEqualto740Member2022-12-310000895421us-gaap:ResidentialPortfolioSegmentMemberms:FICOScoreBetween680and739Member2022-12-310000895421us-gaap:ResidentialPortfolioSegmentMemberms:FICOScoreLessthan680Member2022-12-310000895421us-gaap:ResidentialPortfolioSegmentMemberms:DebttoValueRatioLessthanorEqualto80PercentMember2022-12-310000895421us-gaap:ResidentialPortfolioSegmentMemberms:DebttoValueRatioGreaterthan80PercentMember2022-12-310000895421ms:SecuritiesBasedLendingMember2023-12-310000895421us-gaap:InternalInvestmentGradeMemberms:OtherLoansMember2023-12-310000895421us-gaap:InternalNoninvestmentGradeMemberms:OtherLoansMember2023-12-310000895421ms:SecuritiesBasedLendingMember2022-12-310000895421us-gaap:InternalInvestmentGradeMemberms:OtherLoansMember2022-12-310000895421us-gaap:InternalNoninvestmentGradeMemberms:OtherLoansMember2022-12-310000895421us-gaap:CommercialPortfolioSegmentMemberms:FinancialAssetPastDueMinusCurrentMember2023-12-310000895421us-gaap:CommercialPortfolioSegmentMemberms:FinancialAssetPastDueMinusCurrentMember2022-12-310000895421ms:FinancialAssetPastDueMinusCurrentMemberms:SecuredLendingFacilitiesMember2023-12-310000895421ms:FinancialAssetPastDueMinusCurrentMemberms:SecuredLendingFacilitiesMember2022-12-310000895421us-gaap:CommercialRealEstatePortfolioSegmentMemberms:FinancialAssetPastDueMinusCurrentMember2023-12-310000895421us-gaap:CommercialRealEstatePortfolioSegmentMemberms:FinancialAssetPastDueMinusCurrentMember2022-12-310000895421us-gaap:ResidentialPortfolioSegmentMemberms:FinancialAssetPastDueMinusCurrentMember2023-12-310000895421us-gaap:ResidentialPortfolioSegmentMemberms:FinancialAssetPastDueMinusCurrentMember2022-12-310000895421ms:SecuritiesBasedLendingandOtherLoansMemberms:FinancialAssetPastDueMinusCurrentMember2023-12-310000895421ms:SecuritiesBasedLendingandOtherLoansMemberms:FinancialAssetPastDueMinusCurrentMember2022-12-310000895421ms:FinancialAssetPastDueMinusCurrentMember2023-12-310000895421ms:FinancialAssetPastDueMinusCurrentMember2022-12-310000895421us-gaap:CommercialPortfolioSegmentMemberus-gaap:ExtendedMaturityMember2023-01-012023-12-310000895421us-gaap:CommercialRealEstatePortfolioSegmentMemberus-gaap:ExtendedMaturityMember2023-01-012023-12-310000895421us-gaap:ResidentialPortfolioSegmentMemberus-gaap:ExtendedMaturityMember2023-01-012023-12-310000895421ms:SecuritiesBasedLendingandOtherLoansMemberus-gaap:ExtendedMaturityMember2023-01-012023-12-310000895421us-gaap:ExtendedMaturityMember2023-01-012023-12-310000895421ms:SecuritiesBasedLendingandOtherLoansMemberus-gaap:PaymentDeferralMember2023-01-012023-12-310000895421us-gaap:PaymentDeferralMember2023-01-012023-12-310000895421ms:ExtendedMaturityAndPaymentDeferralMemberus-gaap:CommercialRealEstatePortfolioSegmentMember2023-01-012023-12-310000895421ms:ExtendedMaturityAndPaymentDeferralMemberus-gaap:ResidentialPortfolioSegmentMember2023-01-012023-12-310000895421ms:ExtendedMaturityAndPaymentDeferralMember2023-01-012023-12-310000895421us-gaap:CommercialPortfolioSegmentMemberus-gaap:ExtendedMaturityMember2023-10-012023-12-310000895421us-gaap:CommercialRealEstatePortfolioSegmentMemberms:MultipleLoanModificationsExtendedMaturityMember2023-01-012023-12-310000895421us-gaap:CommercialRealEstatePortfolioSegmentMemberms:MultipleLoanModificationsPaymentDeferralMember2023-01-012023-12-310000895421us-gaap:ResidentialPortfolioSegmentMemberms:MultipleLoanModificationsExtendedMaturityMember2023-01-012023-12-310000895421us-gaap:CommercialRealEstatePortfolioSegmentMemberms:FinancialAsset30To89DaysPastDueMember2023-12-310000895421us-gaap:CommercialRealEstatePortfolioSegmentMemberms:FinancialAsset90DaysPastDueMember2023-12-310000895421us-gaap:CommercialRealEstatePortfolioSegmentMemberus-gaap:FinancialAssetPastDueMember2023-12-310000895421us-gaap:ResidentialPortfolioSegmentMemberms:FinancialAsset30To89DaysPastDueMember2023-12-310000895421us-gaap:ResidentialPortfolioSegmentMemberms:FinancialAsset90DaysPastDueMember2023-12-310000895421us-gaap:ResidentialPortfolioSegmentMemberus-gaap:FinancialAssetPastDueMember2023-12-310000895421ms:FinancialAsset30To89DaysPastDueMember2023-12-310000895421ms:FinancialAsset90DaysPastDueMember2023-12-310000895421us-gaap:FinancialAssetPastDueMember2023-12-310000895421us-gaap:CommercialPortfolioSegmentMember2023-01-012023-12-310000895421ms:SecuredLendingFacilitiesMember2023-01-012023-12-310000895421us-gaap:CommercialRealEstatePortfolioSegmentMember2023-01-012023-12-310000895421us-gaap:ResidentialPortfolioSegmentMember2023-01-012023-12-310000895421ms:SecuritiesBasedLendingandOtherLoansMember2023-01-012023-12-310000895421us-gaap:CommercialPortfolioSegmentMember2021-12-310000895421ms:SecuredLendingFacilitiesMember2021-12-310000895421us-gaap:CommercialRealEstatePortfolioSegmentMember2021-12-310000895421us-gaap:ResidentialPortfolioSegmentMember2021-12-310000895421ms:SecuritiesBasedLendingandOtherLoansMember2021-12-310000895421us-gaap:CommercialPortfolioSegmentMember2022-01-012022-12-310000895421ms:SecuredLendingFacilitiesMember2022-01-012022-12-310000895421us-gaap:CommercialRealEstatePortfolioSegmentMember2022-01-012022-12-310000895421us-gaap:ResidentialPortfolioSegmentMember2022-01-012022-12-310000895421ms:SecuritiesBasedLendingandOtherLoansMember2022-01-012022-12-310000895421us-gaap:CommercialPortfolioSegmentMember2020-12-310000895421ms:SecuredLendingFacilitiesMember2020-12-310000895421us-gaap:CommercialRealEstatePortfolioSegmentMember2020-12-310000895421us-gaap:ResidentialPortfolioSegmentMember2020-12-310000895421ms:SecuritiesBasedLendingandOtherLoansMember2020-12-310000895421us-gaap:CommercialPortfolioSegmentMember2021-01-012021-12-310000895421ms:SecuredLendingFacilitiesMember2021-01-012021-12-310000895421us-gaap:CommercialRealEstatePortfolioSegmentMember2021-01-012021-12-310000895421us-gaap:ResidentialPortfolioSegmentMember2021-01-012021-12-310000895421ms:SecuritiesBasedLendingandOtherLoansMember2021-01-012021-12-310000895421ms:CurrentlyEmployedbytheFirmMemberus-gaap:RelatedPartyMember2023-12-310000895421ms:CurrentlyEmployedbytheFirmMemberus-gaap:RelatedPartyMember2022-12-310000895421ms:NoLongerEmployedbytheFirmMemberus-gaap:RelatedPartyMember2023-12-310000895421ms:NoLongerEmployedbytheFirmMemberus-gaap:RelatedPartyMember2022-12-310000895421ms:InstitutionalSecuritiesSegmentMember2021-12-310000895421ms:GlobalWealthManagementGroupMember2021-12-310000895421ms:AssetManagementSegmentMember2021-12-310000895421ms:InstitutionalSecuritiesSegmentMember2022-01-012022-12-310000895421ms:GlobalWealthManagementGroupMember2022-01-012022-12-310000895421ms:AssetManagementSegmentMember2022-01-012022-12-310000895421ms:InstitutionalSecuritiesSegmentMember2022-12-310000895421ms:GlobalWealthManagementGroupMember2022-12-310000895421ms:AssetManagementSegmentMember2022-12-310000895421ms:InstitutionalSecuritiesSegmentMember2023-01-012023-12-310000895421ms:GlobalWealthManagementGroupMember2023-01-012023-12-310000895421ms:AssetManagementSegmentMember2023-01-012023-12-310000895421ms:InstitutionalSecuritiesSegmentMember2023-12-310000895421ms:GlobalWealthManagementGroupMember2023-12-310000895421ms:AssetManagementSegmentMember2023-12-310000895421us-gaap:EmploymentContractsMember2023-12-310000895421us-gaap:CustomerRelationshipsMember2023-12-310000895421us-gaap:TradeNamesMember2023-12-310000895421us-gaap:OtherIntangibleAssetsMember2023-12-310000895421us-gaap:EmploymentContractsMember2022-12-310000895421us-gaap:CustomerRelationshipsMember2022-12-310000895421us-gaap:TradeNamesMember2022-12-310000895421us-gaap:OtherIntangibleAssetsMember2022-12-310000895421ms:InvestmentManagementSegmentMember2023-12-310000895421ms:InvestmentManagementSegmentMember2022-12-310000895421ms:InvestmentManagementSegmentMember2023-01-012023-12-310000895421ms:InvestmentManagementSegmentMember2022-01-012022-12-310000895421ms:InvestmentManagementSegmentMember2021-01-012021-12-310000895421ms:MitsubishiUfjMorganStanleySecuritiesCoLtdMember2023-01-012023-12-310000895421ms:MitsubishiUfjMorganStanleySecuritiesCoLtdMember2022-01-012022-12-310000895421ms:MitsubishiUfjMorganStanleySecuritiesCoLtdMember2021-01-012021-12-310000895421ms:MorganStanleyMufgSecuritiesCoLtdMember2023-12-310000895421ms:MorganStanleyMufgSecuritiesCoLtdMemberms:MitsubishiUfjFinancialGroupIncMember2023-12-310000895421ms:MitsubishiUfjMorganStanleySecuritiesCoLtdMember2023-12-310000895421ms:MorganStanleyMufgSecuritiesCoLtdMemberms:InstitutionalSecuritiesSegmentMember2023-12-310000895421us-gaap:NonUsMember2023-12-310000895421srt:ParentCompanyMemberms:LongTermDebtFixedRateMember2023-12-310000895421srt:ParentCompanyMemberms:LongTermDebtVariableRateMember2023-12-310000895421srt:SubsidiariesMemberms:LongTermDebtFixedRateMember2023-12-310000895421srt:SubsidiariesMemberms:LongTermDebtVariableRateMember2023-12-310000895421us-gaap:SeniorNotesMember2023-12-310000895421us-gaap:SeniorNotesMember2022-12-310000895421us-gaap:SubordinatedDebtMember2023-01-012023-12-310000895421us-gaap:SubordinatedDebtMember2022-01-012022-12-310000895421ms:FixedRateDebtMemberus-gaap:SecuredDebtMember2023-12-310000895421ms:VariableRateMemberus-gaap:SecuredDebtMember2023-12-310000895421us-gaap:SecuredDebtMember2023-12-310000895421us-gaap:SecuredDebtMember2022-12-310000895421us-gaap:CommercialLoanMember2023-12-310000895421ms:SecuredLendingFacilitiesMember2023-12-310000895421us-gaap:RealEstateMember2023-12-310000895421ms:SecuritiesBasedLendingandOtherLoansMember2023-12-310000895421ms:CommitmentsForwardStartingReverseRepurchaseAgreementsMember2023-12-310000895421ms:CentralCounterpartyCommitmentMember2023-12-310000895421ms:CommitmentsInvestmentActivitiesMember2023-12-310000895421ms:CommitmentsLettersOfCreditAndOtherFinancialGuaranteesObtainedToSatisfyCollateralRequirementsMember2023-12-310000895421ms:LessThanTwelveMonthsFromBalanceSheetDateMemberus-gaap:DerivativeMember2023-12-310000895421ms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMemberus-gaap:DerivativeMember2023-12-310000895421ms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberus-gaap:DerivativeMember2023-12-310000895421us-gaap:DerivativeMemberms:MoreThanFiveYearsFromBalanceSheetDateMember2023-12-310000895421us-gaap:DerivativeMember2023-12-310000895421us-gaap:StandbyLettersOfCreditMemberms:LessThanTwelveMonthsFromBalanceSheetDateMember2023-12-310000895421us-gaap:StandbyLettersOfCreditMemberms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMember2023-12-310000895421ms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberus-gaap:StandbyLettersOfCreditMember2023-12-310000895421us-gaap:StandbyLettersOfCreditMemberms:MoreThanFiveYearsFromBalanceSheetDateMember2023-12-310000895421us-gaap:StandbyLettersOfCreditMember2023-12-310000895421us-gaap:MarketValueGuaranteeMemberms:LessThanTwelveMonthsFromBalanceSheetDateMember2023-12-310000895421us-gaap:MarketValueGuaranteeMemberms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMember2023-12-310000895421us-gaap:MarketValueGuaranteeMemberms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMember2023-12-310000895421us-gaap:MarketValueGuaranteeMemberms:MoreThanFiveYearsFromBalanceSheetDateMember2023-12-310000895421us-gaap:MarketValueGuaranteeMember2023-12-310000895421ms:LiquidityFacilitiesGuaranteeMemberms:LessThanTwelveMonthsFromBalanceSheetDateMember2023-12-310000895421ms:LiquidityFacilitiesGuaranteeMemberms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMember2023-12-310000895421ms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberms:LiquidityFacilitiesGuaranteeMember2023-12-310000895421ms:LiquidityFacilitiesGuaranteeMemberms:MoreThanFiveYearsFromBalanceSheetDateMember2023-12-310000895421ms:LiquidityFacilitiesGuaranteeMember2023-12-310000895421ms:LessThanTwelveMonthsFromBalanceSheetDateMemberms:WholeLoanSalesRepresentationsAndWarrantiesMember2023-12-310000895421ms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMemberms:WholeLoanSalesRepresentationsAndWarrantiesMember2023-12-310000895421ms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberms:WholeLoanSalesRepresentationsAndWarrantiesMember2023-12-310000895421ms:WholeLoanSalesRepresentationsAndWarrantiesMemberms:MoreThanFiveYearsFromBalanceSheetDateMember2023-12-310000895421ms:WholeLoanSalesRepresentationsAndWarrantiesMember2023-12-310000895421ms:SecuritizationsRepresentationsAndGuaranteesMemberms:LessThanTwelveMonthsFromBalanceSheetDateMember2023-12-310000895421ms:SecuritizationsRepresentationsAndGuaranteesMemberms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMember2023-12-310000895421ms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberms:SecuritizationsRepresentationsAndGuaranteesMember2023-12-310000895421ms:SecuritizationsRepresentationsAndGuaranteesMemberms:MoreThanFiveYearsFromBalanceSheetDateMember2023-12-310000895421ms:SecuritizationsRepresentationsAndGuaranteesMember2023-12-310000895421ms:LessThanTwelveMonthsFromBalanceSheetDateMemberms:GeneralPartnerGuaranteeMember2023-12-310000895421ms:GeneralPartnerGuaranteeMemberms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMember2023-12-310000895421ms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberms:GeneralPartnerGuaranteeMember2023-12-310000895421ms:GeneralPartnerGuaranteeMemberms:MoreThanFiveYearsFromBalanceSheetDateMember2023-12-310000895421ms:GeneralPartnerGuaranteeMember2023-12-310000895421ms:LessThanTwelveMonthsFromBalanceSheetDateMemberms:ClearingMemberGuaranteeMember2023-12-310000895421ms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMemberms:ClearingMemberGuaranteeMember2023-12-310000895421ms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberms:ClearingMemberGuaranteeMember2023-12-310000895421ms:ClearingMemberGuaranteeMemberms:MoreThanFiveYearsFromBalanceSheetDateMember2023-12-310000895421ms:ClearingMemberGuaranteeMember2023-12-310000895421us-gaap:SettledLitigationMemberms:BlockTradingMatterMemberus-gaap:SubsequentEventMember2024-01-120000895421us-gaap:SettledLitigationMemberms:BlockTradingMatterMemberus-gaap:SubsequentEventMember2024-01-122024-01-120000895421us-gaap:SettledLitigationMemberms:RelatorsRogerHayesAndC.TalbotHeppenstallJr.FiledAQuiTamActionInNewJerseyStateCourtStyledStateOfNewJerseyEx.Rel.HayesV.BankOfAmericaCorp.EtAl.Member2017-11-170000895421us-gaap:SettledLitigationMemberms:RelatorsRogerHayesAndC.TalbotHeppenstallJr.FiledAQuiTamActionInNewJerseyStateCourtStyledStateOfNewJerseyEx.Rel.HayesV.BankOfAmericaCorp.EtAl.Member2021-10-130000895421us-gaap:PendingLitigationMemberms:CaseNumber153637AndCaseNumber154353Member2023-12-31iso4217:EUR0000895421us-gaap:PendingLitigationMemberms:CaseNumberB80318PreviouslyBS9969982017Member2017-10-052017-10-05iso4217:DKK0000895421us-gaap:PendingLitigationMemberms:CaseNumberB207316Member2017-11-292017-11-290000895421ms:ViacomMemberus-gaap:CommonClassBMember2021-03-012021-03-310000895421us-gaap:ConvertiblePreferredStockSubjectToMandatoryRedemptionMemberms:ViacomMember2021-03-012021-03-310000895421ms:IKBInternationalS.A.InLiquidationEtAl.V.MorganStanleyEtAl.Memberus-gaap:PendingLitigationMember2013-05-170000895421ms:IKBInternationalS.A.InLiquidationEtAl.V.MorganStanleyEtAl.Memberus-gaap:PendingLitigationMember2014-10-290000895421us-gaap:VariableInterestEntityPrimaryBeneficiaryMemberms:MortgageAndAssetBackedSecuritiesMember2023-12-310000895421us-gaap:VariableInterestEntityPrimaryBeneficiaryMemberms:MortgageAndAssetBackedSecuritiesMember2022-12-310000895421us-gaap:VariableInterestEntityPrimaryBeneficiaryMemberms:InvestmentVehiclesMember2023-12-310000895421us-gaap:VariableInterestEntityPrimaryBeneficiaryMemberms:InvestmentVehiclesMember2022-12-310000895421us-gaap:VariableInterestEntityPrimaryBeneficiaryMemberms:MunicipalTenderOptionBondsMember2023-12-310000895421us-gaap:VariableInterestEntityPrimaryBeneficiaryMemberms:MunicipalTenderOptionBondsMember2022-12-310000895421us-gaap:VariableInterestEntityPrimaryBeneficiaryMemberms:OtherVariableInterestsMember2023-12-310000895421us-gaap:VariableInterestEntityPrimaryBeneficiaryMemberms:OtherVariableInterestsMember2022-12-310000895421us-gaap:VariableInterestEntityPrimaryBeneficiaryMember2023-12-310000895421us-gaap:VariableInterestEntityPrimaryBeneficiaryMember2022-12-310000895421ms:MortgageAndAssetBackedSecuritiesMember2023-12-310000895421us-gaap:CollateralizedDebtObligationsMember2023-12-310000895421ms:MunicipalTenderOptionBondsMember2023-12-310000895421us-gaap:StructuredFinanceMember2023-12-310000895421ms:OtherVariableInterestsMember2023-12-310000895421ms:DebtandEquityInterestsMemberms:MortgageAndAssetBackedSecuritiesMember2023-12-310000895421ms:DebtandEquityInterestsMemberus-gaap:CollateralizedDebtObligationsMember2023-12-310000895421ms:DebtandEquityInterestsMemberms:MunicipalTenderOptionBondsMember2023-12-310000895421us-gaap:StructuredFinanceMemberms:DebtandEquityInterestsMember2023-12-310000895421ms:DebtandEquityInterestsMemberms:OtherVariableInterestsMember2023-12-310000895421us-gaap:DerivativeFinancialInstrumentsAssetsMemberms:MortgageAndAssetBackedSecuritiesMember2023-12-310000895421us-gaap:DerivativeFinancialInstrumentsAssetsMemberus-gaap:CollateralizedDebtObligationsMember2023-12-310000895421us-gaap:DerivativeFinancialInstrumentsAssetsMemberms:MunicipalTenderOptionBondsMember2023-12-310000895421us-gaap:DerivativeFinancialInstrumentsAssetsMemberus-gaap:StructuredFinanceMember2023-12-310000895421us-gaap:DerivativeFinancialInstrumentsAssetsMemberms:OtherVariableInterestsMember2023-12-310000895421ms:CommitmentsGuaranteesAndOtherMemberms:MortgageAndAssetBackedSecuritiesMember2023-12-310000895421ms:CommitmentsGuaranteesAndOtherMemberus-gaap:CollateralizedDebtObligationsMember2023-12-310000895421ms:CommitmentsGuaranteesAndOtherMemberms:MunicipalTenderOptionBondsMember2023-12-310000895421us-gaap:StructuredFinanceMemberms:CommitmentsGuaranteesAndOtherMember2023-12-310000895421ms:CommitmentsGuaranteesAndOtherMemberms:OtherVariableInterestsMember2023-12-310000895421ms:DebtandEquityInterestsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberms:MortgageAndAssetBackedSecuritiesMember2023-12-310000895421ms:DebtandEquityInterestsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:CollateralizedDebtObligationsMember2023-12-310000895421ms:DebtandEquityInterestsMemberms:MunicipalTenderOptionBondsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2023-12-310000895421us-gaap:StructuredFinanceMemberms:DebtandEquityInterestsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2023-12-310000895421ms:DebtandEquityInterestsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberms:OtherVariableInterestsMember2023-12-310000895421us-gaap:DerivativeFinancialInstrumentsAssetsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberms:MortgageAndAssetBackedSecuritiesMember2023-12-310000895421us-gaap:DerivativeFinancialInstrumentsAssetsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:CollateralizedDebtObligationsMember2023-12-310000895421us-gaap:DerivativeFinancialInstrumentsAssetsMemberms:MunicipalTenderOptionBondsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2023-12-310000895421us-gaap:DerivativeFinancialInstrumentsAssetsMemberus-gaap:StructuredFinanceMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2023-12-310000895421us-gaap:DerivativeFinancialInstrumentsAssetsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberms:OtherVariableInterestsMember2023-12-310000895421us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberms:MortgageAndAssetBackedSecuritiesMember2023-12-310000895421us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:CollateralizedDebtObligationsMember2023-12-310000895421ms:MunicipalTenderOptionBondsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2023-12-310000895421us-gaap:StructuredFinanceMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2023-12-310000895421us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberms:OtherVariableInterestsMember2023-12-310000895421ms:MortgageAndAssetBackedSecuritiesMember2022-12-310000895421us-gaap:CollateralizedDebtObligationsMember2022-12-310000895421ms:MunicipalTenderOptionBondsMember2022-12-310000895421us-gaap:StructuredFinanceMember2022-12-310000895421ms:OtherVariableInterestsMember2022-12-310000895421ms:DebtandEquityInterestsMemberms:MortgageAndAssetBackedSecuritiesMember2022-12-310000895421ms:DebtandEquityInterestsMemberus-gaap:CollateralizedDebtObligationsMember2022-12-310000895421ms:DebtandEquityInterestsMemberms:MunicipalTenderOptionBondsMember2022-12-310000895421us-gaap:StructuredFinanceMemberms:DebtandEquityInterestsMember2022-12-310000895421ms:DebtandEquityInterestsMemberms:OtherVariableInterestsMember2022-12-310000895421us-gaap:DerivativeFinancialInstrumentsAssetsMemberms:MortgageAndAssetBackedSecuritiesMember2022-12-310000895421us-gaap:DerivativeFinancialInstrumentsAssetsMemberus-gaap:CollateralizedDebtObligationsMember2022-12-310000895421us-gaap:DerivativeFinancialInstrumentsAssetsMemberms:MunicipalTenderOptionBondsMember2022-12-310000895421us-gaap:DerivativeFinancialInstrumentsAssetsMemberus-gaap:StructuredFinanceMember2022-12-310000895421us-gaap:DerivativeFinancialInstrumentsAssetsMemberms:OtherVariableInterestsMember2022-12-310000895421ms:CommitmentsGuaranteesAndOtherMemberms:MortgageAndAssetBackedSecuritiesMember2022-12-310000895421ms:CommitmentsGuaranteesAndOtherMemberus-gaap:CollateralizedDebtObligationsMember2022-12-310000895421ms:CommitmentsGuaranteesAndOtherMemberms:MunicipalTenderOptionBondsMember2022-12-310000895421us-gaap:StructuredFinanceMemberms:CommitmentsGuaranteesAndOtherMember2022-12-310000895421ms:CommitmentsGuaranteesAndOtherMemberms:OtherVariableInterestsMember2022-12-310000895421ms:DebtandEquityInterestsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberms:MortgageAndAssetBackedSecuritiesMember2022-12-310000895421ms:DebtandEquityInterestsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:CollateralizedDebtObligationsMember2022-12-310000895421ms:DebtandEquityInterestsMemberms:MunicipalTenderOptionBondsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2022-12-310000895421us-gaap:StructuredFinanceMemberms:DebtandEquityInterestsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2022-12-310000895421ms:DebtandEquityInterestsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberms:OtherVariableInterestsMember2022-12-310000895421us-gaap:DerivativeFinancialInstrumentsAssetsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberms:MortgageAndAssetBackedSecuritiesMember2022-12-310000895421us-gaap:DerivativeFinancialInstrumentsAssetsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:CollateralizedDebtObligationsMember2022-12-310000895421us-gaap:DerivativeFinancialInstrumentsAssetsMemberms:MunicipalTenderOptionBondsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2022-12-310000895421us-gaap:DerivativeFinancialInstrumentsAssetsMemberus-gaap:StructuredFinanceMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2022-12-310000895421us-gaap:DerivativeFinancialInstrumentsAssetsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberms:OtherVariableInterestsMember2022-12-310000895421us-gaap:AssetsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberms:MortgageAndAssetBackedSecuritiesMember2022-12-310000895421us-gaap:AssetsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:CollateralizedDebtObligationsMember2022-12-310000895421us-gaap:AssetsMemberms:MunicipalTenderOptionBondsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2022-12-310000895421us-gaap:StructuredFinanceMemberus-gaap:AssetsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2022-12-310000895421us-gaap:AssetsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberms:OtherVariableInterestsMember2022-12-310000895421us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:DerivativeFinancialInstrumentsLiabilitiesMemberms:MortgageAndAssetBackedSecuritiesMember2022-12-310000895421us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:DerivativeFinancialInstrumentsLiabilitiesMemberus-gaap:CollateralizedDebtObligationsMember2022-12-310000895421ms:MunicipalTenderOptionBondsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:DerivativeFinancialInstrumentsLiabilitiesMember2022-12-310000895421us-gaap:StructuredFinanceMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:DerivativeFinancialInstrumentsLiabilitiesMember2022-12-310000895421us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:DerivativeFinancialInstrumentsLiabilitiesMemberms:OtherVariableInterestsMember2022-12-310000895421us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:ResidentialMortgageBackedSecuritiesMember2023-12-310000895421us-gaap:SecuritiesAssetsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:ResidentialMortgageBackedSecuritiesMember2023-12-310000895421us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:ResidentialMortgageBackedSecuritiesMember2022-12-310000895421us-gaap:SecuritiesAssetsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:ResidentialMortgageBackedSecuritiesMember2022-12-310000895421us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:CommercialMortgageBackedSecuritiesMember2023-12-310000895421us-gaap:SecuritiesAssetsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:CommercialMortgageBackedSecuritiesMember2023-12-310000895421us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:CommercialMortgageBackedSecuritiesMember2022-12-310000895421us-gaap:SecuritiesAssetsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:CommercialMortgageBackedSecuritiesMember2022-12-310000895421us-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2023-12-310000895421us-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMemberus-gaap:SecuritiesAssetsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2023-12-310000895421us-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2022-12-310000895421us-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMemberus-gaap:SecuritiesAssetsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2022-12-310000895421us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberms:OtherConsumerAndCommercialLoansMember2023-12-310000895421us-gaap:SecuritiesAssetsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberms:OtherConsumerAndCommercialLoansMember2023-12-310000895421us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberms:OtherConsumerAndCommercialLoansMember2022-12-310000895421us-gaap:SecuritiesAssetsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberms:OtherConsumerAndCommercialLoansMember2022-12-310000895421us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2023-12-310000895421us-gaap:SecuritiesAssetsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2023-12-310000895421us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2022-12-310000895421us-gaap:SecuritiesAssetsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2022-12-310000895421us-gaap:ResidentialMortgageMemberms:SpecialPurposeEntitiesMember2023-12-310000895421us-gaap:CommercialMortgageBackedSecuritiesMemberms:SpecialPurposeEntitiesMember2023-12-310000895421us-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMemberms:SpecialPurposeEntitiesMember2023-12-310000895421ms:CreditLinkedNotesAndOtherMemberms:SpecialPurposeEntitiesMember2023-12-310000895421us-gaap:InternalInvestmentGradeMemberus-gaap:ResidentialMortgageMemberms:SpecialPurposeEntitiesMember2023-12-310000895421us-gaap:InternalInvestmentGradeMemberus-gaap:CommercialMortgageBackedSecuritiesMemberms:SpecialPurposeEntitiesMember2023-12-310000895421us-gaap:InternalInvestmentGradeMemberus-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMemberms:SpecialPurposeEntitiesMember2023-12-310000895421us-gaap:InternalInvestmentGradeMemberms:CreditLinkedNotesAndOtherMemberms:SpecialPurposeEntitiesMember2023-12-310000895421us-gaap:InternalNoninvestmentGradeMemberus-gaap:ResidentialMortgageMemberms:SpecialPurposeEntitiesMember2023-12-310000895421us-gaap:InternalNoninvestmentGradeMemberus-gaap:CommercialMortgageBackedSecuritiesMemberms:SpecialPurposeEntitiesMember2023-12-310000895421us-gaap:InternalNoninvestmentGradeMemberus-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMemberms:SpecialPurposeEntitiesMember2023-12-310000895421us-gaap:InternalNoninvestmentGradeMemberms:CreditLinkedNotesAndOtherMemberms:SpecialPurposeEntitiesMember2023-12-310000895421us-gaap:ResidentialMortgageMemberms:SpecialPurposeEntitiesMember2022-12-310000895421us-gaap:CommercialMortgageBackedSecuritiesMemberms:SpecialPurposeEntitiesMember2022-12-310000895421us-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMemberms:SpecialPurposeEntitiesMember2022-12-310000895421ms:CreditLinkedNotesAndOtherMemberms:SpecialPurposeEntitiesMember2022-12-310000895421us-gaap:InternalInvestmentGradeMemberus-gaap:ResidentialMortgageMemberms:SpecialPurposeEntitiesMember2022-12-310000895421us-gaap:InternalInvestmentGradeMemberus-gaap:CommercialMortgageBackedSecuritiesMemberms:SpecialPurposeEntitiesMember2022-12-310000895421us-gaap:InternalInvestmentGradeMemberus-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMemberms:SpecialPurposeEntitiesMember2022-12-310000895421us-gaap:InternalInvestmentGradeMemberms:CreditLinkedNotesAndOtherMemberms:SpecialPurposeEntitiesMember2022-12-310000895421us-gaap:InternalNoninvestmentGradeMemberus-gaap:ResidentialMortgageMemberms:SpecialPurposeEntitiesMember2022-12-310000895421us-gaap:InternalNoninvestmentGradeMemberus-gaap:CommercialMortgageBackedSecuritiesMemberms:SpecialPurposeEntitiesMember2022-12-310000895421us-gaap:InternalNoninvestmentGradeMemberus-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMemberms:SpecialPurposeEntitiesMember2022-12-310000895421us-gaap:InternalNoninvestmentGradeMemberms:CreditLinkedNotesAndOtherMemberms:SpecialPurposeEntitiesMember2022-12-310000895421us-gaap:InternalInvestmentGradeMemberus-gaap:FairValueInputsLevel2Memberms:SpecialPurposeEntitiesMember2023-12-310000895421us-gaap:InternalInvestmentGradeMemberus-gaap:FairValueInputsLevel3Memberms:SpecialPurposeEntitiesMember2023-12-310000895421us-gaap:InternalInvestmentGradeMemberms:SpecialPurposeEntitiesMember2023-12-310000895421us-gaap:InternalNoninvestmentGradeMemberus-gaap:FairValueInputsLevel2Memberms:SpecialPurposeEntitiesMember2023-12-310000895421us-gaap:InternalNoninvestmentGradeMemberus-gaap:FairValueInputsLevel3Memberms:SpecialPurposeEntitiesMember2023-12-310000895421us-gaap:InternalNoninvestmentGradeMemberms:SpecialPurposeEntitiesMember2023-12-310000895421us-gaap:FairValueInputsLevel2Memberms:SpecialPurposeEntitiesMember2023-12-310000895421us-gaap:FairValueInputsLevel3Memberms:SpecialPurposeEntitiesMember2023-12-310000895421ms:SpecialPurposeEntitiesMember2023-12-310000895421us-gaap:InternalInvestmentGradeMemberus-gaap:FairValueInputsLevel2Memberms:SpecialPurposeEntitiesMember2022-12-310000895421us-gaap:InternalInvestmentGradeMemberus-gaap:FairValueInputsLevel3Memberms:SpecialPurposeEntitiesMember2022-12-310000895421us-gaap:InternalInvestmentGradeMemberms:SpecialPurposeEntitiesMember2022-12-310000895421us-gaap:InternalNoninvestmentGradeMemberus-gaap:FairValueInputsLevel2Memberms:SpecialPurposeEntitiesMember2022-12-310000895421us-gaap:InternalNoninvestmentGradeMemberus-gaap:FairValueInputsLevel3Memberms:SpecialPurposeEntitiesMember2022-12-310000895421us-gaap:InternalNoninvestmentGradeMemberms:SpecialPurposeEntitiesMember2022-12-310000895421us-gaap:FairValueInputsLevel2Memberms:SpecialPurposeEntitiesMember2022-12-310000895421us-gaap:FairValueInputsLevel3Memberms:SpecialPurposeEntitiesMember2022-12-310000895421ms:SpecialPurposeEntitiesMember2022-12-310000895421ms:CollateralizedLoanObligationsEntitiesSponsoredByNonAffiliatesMemberus-gaap:CommercialLoanMember2023-01-012023-12-310000895421ms:CollateralizedLoanObligationsEntitiesSponsoredByNonAffiliatesMemberus-gaap:CommercialLoanMember2022-01-012022-12-310000895421ms:CollateralizedLoanObligationsEntitiesSponsoredByNonAffiliatesMemberus-gaap:CommercialLoanMember2021-01-012021-12-310000895421us-gaap:EquityContractMemberus-gaap:OverTheCounterMember2023-12-310000895421us-gaap:EquityContractMemberus-gaap:OverTheCounterMember2022-12-310000895421srt:MaximumMember2023-12-310000895421ms:MorganStanleyBankNationalAssociationMember2023-01-012023-12-310000895421ms:MorganStanleyBankNationalAssociationMember2023-12-310000895421ms:MorganStanleyBankNationalAssociationMember2022-12-310000895421ms:MorganStanleyPrivateBankNationalAssociationMember2023-01-012023-12-310000895421ms:MorganStanleyPrivateBankNationalAssociationMember2023-12-310000895421ms:MorganStanleyPrivateBankNationalAssociationMember2022-12-310000895421ms:MSAndCoMember2023-01-012023-12-310000895421ms:MSAndCoMember2023-12-310000895421ms:MSAndCoMember2022-12-310000895421us-gaap:SeriesAPreferredStockMember2023-12-310000895421us-gaap:SeriesAPreferredStockMember2022-12-310000895421us-gaap:SeriesCPreferredStockMember2023-12-310000895421us-gaap:SeriesCPreferredStockMember2022-12-310000895421us-gaap:SeriesEPreferredStockMember2023-12-310000895421us-gaap:SeriesEPreferredStockMember2022-12-310000895421us-gaap:SeriesFPreferredStockMember2023-12-310000895421us-gaap:SeriesFPreferredStockMember2022-12-310000895421ms:SeriesIPreferredStockMember2023-12-310000895421ms:SeriesIPreferredStockMember2022-12-310000895421ms:SeriesKPreferredStockMember2023-12-310000895421ms:SeriesKPreferredStockMember2022-12-310000895421ms:SeriesLPreferredStockMember2023-12-310000895421ms:SeriesLPreferredStockMember2022-12-310000895421ms:SeriesMPreferredStockMember2023-12-310000895421ms:SeriesMPreferredStockMember2022-12-310000895421ms:SeriesNPreferredStockMember2023-12-310000895421ms:SeriesNPreferredStockMember2022-12-310000895421ms:SeriesOPreferredStockMember2023-12-310000895421ms:SeriesOPreferredStockMember2022-12-310000895421ms:SeriesPPreferredStockMember2023-12-310000895421ms:SeriesPPreferredStockMember2022-12-310000895421us-gaap:SeriesAPreferredStockMember2022-01-012022-12-310000895421us-gaap:SeriesAPreferredStockMember2021-01-012021-12-310000895421us-gaap:SeriesCPreferredStockMember2023-01-012023-12-310000895421us-gaap:SeriesCPreferredStockMember2022-01-012022-12-310000895421us-gaap:SeriesCPreferredStockMember2021-01-012021-12-310000895421us-gaap:SeriesEPreferredStockMember2022-01-012022-12-310000895421us-gaap:SeriesEPreferredStockMember2021-01-012021-12-310000895421us-gaap:SeriesFPreferredStockMember2022-01-012022-12-310000895421us-gaap:SeriesFPreferredStockMember2021-01-012021-12-310000895421us-gaap:SeriesHPreferredStockMember2023-01-012023-12-310000895421us-gaap:SeriesHPreferredStockMember2022-01-012022-12-310000895421us-gaap:SeriesHPreferredStockMember2021-01-012021-12-310000895421ms:SeriesIPreferredStockMember2022-01-012022-12-310000895421ms:SeriesIPreferredStockMember2021-01-012021-12-310000895421ms:SeriesJPreferredStockMember2023-01-012023-12-310000895421ms:SeriesJPreferredStockMember2022-01-012022-12-310000895421ms:SeriesJPreferredStockMember2021-01-012021-12-310000895421ms:SeriesKPreferredStockMember2022-01-012022-12-310000895421ms:SeriesKPreferredStockMember2021-01-012021-12-310000895421ms:SeriesLPreferredStockMember2022-01-012022-12-310000895421ms:SeriesLPreferredStockMember2021-01-012021-12-310000895421ms:SeriesMPreferredStockMember2023-01-012023-12-310000895421ms:SeriesMPreferredStockMember2022-01-012022-12-310000895421ms:SeriesMPreferredStockMember2021-01-012021-12-310000895421ms:SeriesNPreferredStockMember2023-01-012023-12-310000895421ms:SeriesNPreferredStockMember2022-01-012022-12-310000895421ms:SeriesNPreferredStockMember2021-01-012021-12-310000895421ms:SeriesOPreferredStockMember2022-01-012022-12-310000895421ms:SeriesOPreferredStockMember2021-01-012021-12-310000895421ms:SeriesPPreferredStockMember2022-01-012022-12-310000895421ms:SeriesPPreferredStockMember2021-01-012021-12-310000895421us-gaap:AccumulatedTranslationAdjustmentMember2020-12-310000895421us-gaap:AccumulatedNetUnrealizedInvestmentGainLossMember2020-12-310000895421us-gaap:AccumulatedDefinedBenefitPlansAdjustmentMember2020-12-310000895421ms:AOCIDebtValuationAdjustmentParentMember2020-12-310000895421us-gaap:AociDerivativeQualifyingAsHedgeExcludedComponentParentMember2020-12-310000895421us-gaap:AccumulatedTranslationAdjustmentMember2021-01-012021-12-310000895421us-gaap:AccumulatedNetUnrealizedInvestmentGainLossMember2021-01-012021-12-310000895421us-gaap:AccumulatedDefinedBenefitPlansAdjustmentMember2021-01-012021-12-310000895421ms:AOCIDebtValuationAdjustmentParentMember2021-01-012021-12-310000895421us-gaap:AociDerivativeQualifyingAsHedgeExcludedComponentParentMember2021-01-012021-12-310000895421us-gaap:AccumulatedTranslationAdjustmentMember2021-12-310000895421us-gaap:AccumulatedNetUnrealizedInvestmentGainLossMember2021-12-310000895421us-gaap:AccumulatedDefinedBenefitPlansAdjustmentMember2021-12-310000895421ms:AOCIDebtValuationAdjustmentParentMember2021-12-310000895421us-gaap:AociDerivativeQualifyingAsHedgeExcludedComponentParentMember2021-12-310000895421us-gaap:AccumulatedTranslationAdjustmentMember2022-01-012022-12-310000895421us-gaap:AccumulatedNetUnrealizedInvestmentGainLossMember2022-01-012022-12-310000895421us-gaap:AccumulatedDefinedBenefitPlansAdjustmentMember2022-01-012022-12-310000895421ms:AOCIDebtValuationAdjustmentParentMember2022-01-012022-12-310000895421us-gaap:AociDerivativeQualifyingAsHedgeExcludedComponentParentMember2022-01-012022-12-310000895421us-gaap:AccumulatedTranslationAdjustmentMember2022-12-310000895421us-gaap:AccumulatedNetUnrealizedInvestmentGainLossMember2022-12-310000895421us-gaap:AccumulatedDefinedBenefitPlansAdjustmentMember2022-12-310000895421ms:AOCIDebtValuationAdjustmentParentMember2022-12-310000895421us-gaap:AociDerivativeQualifyingAsHedgeExcludedComponentParentMember2022-12-310000895421us-gaap:AccumulatedTranslationAdjustmentMember2023-01-012023-12-310000895421us-gaap:AccumulatedNetUnrealizedInvestmentGainLossMember2023-01-012023-12-310000895421us-gaap:AccumulatedDefinedBenefitPlansAdjustmentMember2023-01-012023-12-310000895421ms:AOCIDebtValuationAdjustmentParentMember2023-01-012023-12-310000895421us-gaap:AociDerivativeQualifyingAsHedgeExcludedComponentParentMember2023-01-012023-12-310000895421us-gaap:AccumulatedTranslationAdjustmentMember2023-12-310000895421us-gaap:AccumulatedNetUnrealizedInvestmentGainLossMember2023-12-310000895421us-gaap:AccumulatedDefinedBenefitPlansAdjustmentMember2023-12-310000895421ms:AOCIDebtValuationAdjustmentParentMember2023-12-310000895421us-gaap:AociDerivativeQualifyingAsHedgeExcludedComponentParentMember2023-12-310000895421us-gaap:AccumulatedForeignCurrencyAdjustmentIncludingPortionAttributableToNoncontrollingInterestMember2023-01-012023-12-310000895421us-gaap:AccumulatedForeignCurrencyAdjustmentAttributableToNoncontrollingInterestMember2023-01-012023-12-310000895421us-gaap:AccumulatedNetInvestmentGainLossIncludingPortionAttributableToNoncontrollingInterestMember2023-01-012023-12-310000895421us-gaap:AccumulatedNetInvestmentGainLossAttributableToNoncontrollingInterestMember2023-01-012023-12-310000895421us-gaap:AccumulatedDefinedBenefitPlansAdjustmentIncludingPortionAttributableToNoncontrollingInterestMember2023-01-012023-12-310000895421us-gaap:AccumulatedDefinedBenefitPlansAdjustmentAttributableToNoncontrollingInterestMember2023-01-012023-12-310000895421ms:AOCIDebtValuationAdjustmentIncludingNoncontrollingInterestMember2023-01-012023-12-310000895421ms:AOCIDebtValuationAdjustmentNoncontrollingInterestMember2023-01-012023-12-310000895421us-gaap:AccumulatedOtherComprehensiveIncomeLossDerivativeQualifyingAsHedgeExcludedComponentIncludingPortionAttributableToNoncontrollingInterestMember2023-01-012023-12-310000895421us-gaap:AociDerivativeQualifyingAsHedgeExcludedComponentNoncontrollingInterestMember2023-01-012023-12-310000895421us-gaap:AccumulatedForeignCurrencyAdjustmentIncludingPortionAttributableToNoncontrollingInterestMember2022-01-012022-12-310000895421us-gaap:AccumulatedForeignCurrencyAdjustmentAttributableToNoncontrollingInterestMember2022-01-012022-12-310000895421us-gaap:AccumulatedNetInvestmentGainLossIncludingPortionAttributableToNoncontrollingInterestMember2022-01-012022-12-310000895421us-gaap:AccumulatedNetInvestmentGainLossAttributableToNoncontrollingInterestMember2022-01-012022-12-310000895421us-gaap:AccumulatedDefinedBenefitPlansAdjustmentIncludingPortionAttributableToNoncontrollingInterestMember2022-01-012022-12-310000895421us-gaap:AccumulatedDefinedBenefitPlansAdjustmentAttributableToNoncontrollingInterestMember2022-01-012022-12-310000895421ms:AOCIDebtValuationAdjustmentIncludingNoncontrollingInterestMember2022-01-012022-12-310000895421ms:AOCIDebtValuationAdjustmentNoncontrollingInterestMember2022-01-012022-12-310000895421us-gaap:AccumulatedOtherComprehensiveIncomeLossDerivativeQualifyingAsHedgeExcludedComponentIncludingPortionAttributableToNoncontrollingInterestMember2022-01-012022-12-310000895421us-gaap:AociDerivativeQualifyingAsHedgeExcludedComponentNoncontrollingInterestMember2022-01-012022-12-310000895421us-gaap:AccumulatedForeignCurrencyAdjustmentIncludingPortionAttributableToNoncontrollingInterestMember2021-01-012021-12-310000895421us-gaap:AccumulatedForeignCurrencyAdjustmentAttributableToNoncontrollingInterestMember2021-01-012021-12-310000895421us-gaap:AccumulatedNetInvestmentGainLossIncludingPortionAttributableToNoncontrollingInterestMember2021-01-012021-12-310000895421us-gaap:AccumulatedNetInvestmentGainLossAttributableToNoncontrollingInterestMember2021-01-012021-12-310000895421us-gaap:AccumulatedDefinedBenefitPlansAdjustmentIncludingPortionAttributableToNoncontrollingInterestMember2021-01-012021-12-310000895421us-gaap:AccumulatedDefinedBenefitPlansAdjustmentAttributableToNoncontrollingInterestMember2021-01-012021-12-310000895421ms:AOCIDebtValuationAdjustmentIncludingNoncontrollingInterestMember2021-01-012021-12-310000895421ms:AOCIDebtValuationAdjustmentNoncontrollingInterestMember2021-01-012021-12-310000895421us-gaap:RestrictedStockUnitsRSUMember2023-01-012023-12-310000895421us-gaap:RestrictedStockUnitsRSUMember2022-01-012022-12-310000895421us-gaap:RestrictedStockUnitsRSUMember2021-01-012021-12-310000895421us-gaap:PerformanceSharesMember2023-01-012023-12-310000895421us-gaap:PerformanceSharesMember2022-01-012022-12-310000895421us-gaap:PerformanceSharesMember2021-01-012021-12-310000895421us-gaap:EmployeeStockOptionMember2023-01-012023-12-310000895421us-gaap:EmployeeStockOptionMember2022-01-012022-12-310000895421us-gaap:EmployeeStockOptionMember2021-01-012021-12-310000895421us-gaap:RestrictedStockUnitsRSUMembersrt:MinimumMember2023-01-012023-12-310000895421srt:MaximumMemberus-gaap:RestrictedStockUnitsRSUMember2023-01-012023-12-310000895421us-gaap:RestrictedStockUnitsRSUMember2022-12-310000895421us-gaap:RestrictedStockUnitsRSUMember2023-12-310000895421srt:MinimumMemberus-gaap:PerformanceSharesMember2023-01-012023-12-310000895421srt:MaximumMemberus-gaap:PerformanceSharesMember2023-01-012023-12-310000895421us-gaap:PerformanceSharesMember2023-12-310000895421ms:MorganStanleyAverageReturnOnEquityExcludingCertainAdjustmentsMemberus-gaap:PerformanceSharesMember2023-01-012023-12-310000895421ms:MorganStanleyAverageReturnOnEquityExcludingCertainAdjustmentsMemberus-gaap:PerformanceSharesMember2022-01-012022-12-310000895421ms:MorganStanleyAverageReturnOnEquityExcludingCertainAdjustmentsMemberus-gaap:PerformanceSharesMember2021-01-012021-12-310000895421ms:MorganStanleyTotalShareholderReturnRelativeToTotalShareholderReturnOfStandardPoors500FinancialsSectorIndexMemberus-gaap:PerformanceSharesMember2023-01-012023-12-310000895421ms:MorganStanleyTotalShareholderReturnRelativeToTotalShareholderReturnOfStandardPoors500FinancialsSectorIndexMemberus-gaap:PerformanceSharesMember2022-01-012022-12-310000895421ms:MorganStanleyTotalShareholderReturnRelativeToTotalShareholderReturnOfStandardPoors500FinancialsSectorIndexMemberus-gaap:PerformanceSharesMember2021-01-012021-12-310000895421us-gaap:PensionPlansDefinedBenefitMember2023-01-012023-12-310000895421us-gaap:PensionPlansDefinedBenefitMember2022-01-012022-12-310000895421us-gaap:PensionPlansDefinedBenefitMember2021-01-012021-12-310000895421us-gaap:PensionPlansDefinedBenefitMember2022-12-310000895421us-gaap:PensionPlansDefinedBenefitMember2021-12-310000895421us-gaap:PensionPlansDefinedBenefitMember2020-12-310000895421us-gaap:PensionPlansDefinedBenefitMember2023-12-310000895421us-gaap:CashAndCashEquivalentsMemberus-gaap:FairValueInputsLevel1Memberus-gaap:PensionPlansDefinedBenefitMember2023-12-310000895421us-gaap:CashAndCashEquivalentsMemberus-gaap:FairValueInputsLevel2Memberus-gaap:PensionPlansDefinedBenefitMember2023-12-310000895421us-gaap:CashAndCashEquivalentsMemberus-gaap:PensionPlansDefinedBenefitMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:CashAndCashEquivalentsMemberus-gaap:PensionPlansDefinedBenefitMember2023-12-310000895421us-gaap:FairValueInputsLevel1Memberus-gaap:PensionPlansDefinedBenefitMemberus-gaap:USTreasuryAndGovernmentMember2023-12-310000895421us-gaap:FairValueInputsLevel2Memberus-gaap:PensionPlansDefinedBenefitMemberus-gaap:USTreasuryAndGovernmentMember2023-12-310000895421us-gaap:PensionPlansDefinedBenefitMemberus-gaap:FairValueInputsLevel3Memberus-gaap:USTreasuryAndGovernmentMember2023-12-310000895421us-gaap:PensionPlansDefinedBenefitMemberus-gaap:USTreasuryAndGovernmentMember2023-12-310000895421us-gaap:FairValueInputsLevel1Memberus-gaap:PensionPlansDefinedBenefitMemberus-gaap:CollateralizedDebtObligationsMember2023-12-310000895421us-gaap:FairValueInputsLevel2Memberus-gaap:PensionPlansDefinedBenefitMemberus-gaap:CollateralizedDebtObligationsMember2023-12-310000895421us-gaap:PensionPlansDefinedBenefitMemberus-gaap:CollateralizedDebtObligationsMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:PensionPlansDefinedBenefitMemberus-gaap:CollateralizedDebtObligationsMember2023-12-310000895421us-gaap:DerivativeMemberus-gaap:FairValueInputsLevel1Memberus-gaap:PensionPlansDefinedBenefitMember2023-12-310000895421us-gaap:DerivativeMemberus-gaap:FairValueInputsLevel2Memberus-gaap:PensionPlansDefinedBenefitMember2023-12-310000895421us-gaap:DerivativeMemberus-gaap:PensionPlansDefinedBenefitMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:DerivativeMemberus-gaap:PensionPlansDefinedBenefitMember2023-12-310000895421us-gaap:FairValueInputsLevel1Memberus-gaap:PensionPlansDefinedBenefitMemberus-gaap:OtherInvestmentsMember2023-12-310000895421us-gaap:FairValueInputsLevel2Memberus-gaap:PensionPlansDefinedBenefitMemberus-gaap:OtherInvestmentsMember2023-12-310000895421us-gaap:PensionPlansDefinedBenefitMemberus-gaap:FairValueInputsLevel3Memberus-gaap:OtherInvestmentsMember2023-12-310000895421us-gaap:PensionPlansDefinedBenefitMemberus-gaap:OtherInvestmentsMember2023-12-310000895421us-gaap:FairValueInputsLevel1Memberus-gaap:PensionPlansDefinedBenefitMemberms:OtherReceivablesMember2023-12-310000895421us-gaap:FairValueInputsLevel2Memberus-gaap:PensionPlansDefinedBenefitMemberms:OtherReceivablesMember2023-12-310000895421us-gaap:PensionPlansDefinedBenefitMemberms:OtherReceivablesMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:PensionPlansDefinedBenefitMemberms:OtherReceivablesMember2023-12-310000895421us-gaap:FairValueInputsLevel1Memberus-gaap:PensionPlansDefinedBenefitMemberus-gaap:AssetsMember2023-12-310000895421us-gaap:FairValueInputsLevel2Memberus-gaap:PensionPlansDefinedBenefitMemberus-gaap:AssetsMember2023-12-310000895421us-gaap:PensionPlansDefinedBenefitMemberus-gaap:FairValueInputsLevel3Memberus-gaap:AssetsMember2023-12-310000895421us-gaap:PensionPlansDefinedBenefitMemberus-gaap:AssetsMember2023-12-310000895421us-gaap:FairValueMeasuredAtNetAssetValuePerShareMemberus-gaap:MoneyMarketFundsMemberus-gaap:PensionPlansDefinedBenefitMember2023-12-310000895421us-gaap:FairValueMeasuredAtNetAssetValuePerShareMemberus-gaap:PensionPlansDefinedBenefitMemberms:ForeignFixedIncomeFundsMember2023-12-310000895421us-gaap:FairValueMeasuredAtNetAssetValuePerShareMemberms:ForeignMoneyMarketFundsMemberus-gaap:PensionPlansDefinedBenefitMember2023-12-310000895421us-gaap:FairValueMeasuredAtNetAssetValuePerShareMemberus-gaap:PensionPlansDefinedBenefitMemberms:ForeignTargetedCashFlowFundsMember2023-12-310000895421us-gaap:FairValueMeasuredAtNetAssetValuePerShareMemberus-gaap:PensionPlansDefinedBenefitMember2023-12-310000895421ms:OtherPayablesMemberus-gaap:FairValueInputsLevel1Member2023-12-310000895421ms:OtherPayablesMemberus-gaap:FairValueInputsLevel2Member2023-12-310000895421ms:OtherPayablesMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421ms:OtherPayablesMember2023-12-310000895421us-gaap:FairValueInputsLevel1Member2023-12-310000895421us-gaap:FairValueInputsLevel2Member2023-12-310000895421us-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:CashAndCashEquivalentsMemberus-gaap:FairValueInputsLevel1Memberus-gaap:PensionPlansDefinedBenefitMember2022-12-310000895421us-gaap:CashAndCashEquivalentsMemberus-gaap:FairValueInputsLevel2Memberus-gaap:PensionPlansDefinedBenefitMember2022-12-310000895421us-gaap:CashAndCashEquivalentsMemberus-gaap:PensionPlansDefinedBenefitMemberus-gaap:FairValueInputsLevel3Member2022-12-310000895421us-gaap:CashAndCashEquivalentsMemberus-gaap:PensionPlansDefinedBenefitMember2022-12-310000895421us-gaap:FairValueInputsLevel1Memberus-gaap:PensionPlansDefinedBenefitMemberus-gaap:USTreasuryAndGovernmentMember2022-12-310000895421us-gaap:FairValueInputsLevel2Memberus-gaap:PensionPlansDefinedBenefitMemberus-gaap:USTreasuryAndGovernmentMember2022-12-310000895421us-gaap:PensionPlansDefinedBenefitMemberus-gaap:FairValueInputsLevel3Memberus-gaap:USTreasuryAndGovernmentMember2022-12-310000895421us-gaap:PensionPlansDefinedBenefitMemberus-gaap:USTreasuryAndGovernmentMember2022-12-310000895421us-gaap:FairValueInputsLevel1Memberus-gaap:PensionPlansDefinedBenefitMemberus-gaap:CollateralizedDebtObligationsMember2022-12-310000895421us-gaap:FairValueInputsLevel2Memberus-gaap:PensionPlansDefinedBenefitMemberus-gaap:CollateralizedDebtObligationsMember2022-12-310000895421us-gaap:PensionPlansDefinedBenefitMemberus-gaap:CollateralizedDebtObligationsMemberus-gaap:FairValueInputsLevel3Member2022-12-310000895421us-gaap:PensionPlansDefinedBenefitMemberus-gaap:CollateralizedDebtObligationsMember2022-12-310000895421us-gaap:DerivativeMemberus-gaap:FairValueInputsLevel1Memberus-gaap:PensionPlansDefinedBenefitMember2022-12-310000895421us-gaap:DerivativeMemberus-gaap:FairValueInputsLevel2Memberus-gaap:PensionPlansDefinedBenefitMember2022-12-310000895421us-gaap:DerivativeMemberus-gaap:PensionPlansDefinedBenefitMemberus-gaap:FairValueInputsLevel3Member2022-12-310000895421us-gaap:DerivativeMemberus-gaap:PensionPlansDefinedBenefitMember2022-12-310000895421us-gaap:FairValueInputsLevel1Memberus-gaap:PensionPlansDefinedBenefitMemberus-gaap:OtherInvestmentsMember2022-12-310000895421us-gaap:FairValueInputsLevel2Memberus-gaap:PensionPlansDefinedBenefitMemberus-gaap:OtherInvestmentsMember2022-12-310000895421us-gaap:PensionPlansDefinedBenefitMemberus-gaap:FairValueInputsLevel3Memberus-gaap:OtherInvestmentsMember2022-12-310000895421us-gaap:PensionPlansDefinedBenefitMemberus-gaap:OtherInvestmentsMember2022-12-310000895421us-gaap:FairValueInputsLevel1Memberus-gaap:PensionPlansDefinedBenefitMemberms:OtherReceivablesMember2022-12-310000895421us-gaap:FairValueInputsLevel2Memberus-gaap:PensionPlansDefinedBenefitMemberms:OtherReceivablesMember2022-12-310000895421us-gaap:PensionPlansDefinedBenefitMemberms:OtherReceivablesMemberus-gaap:FairValueInputsLevel3Member2022-12-310000895421us-gaap:PensionPlansDefinedBenefitMemberms:OtherReceivablesMember2022-12-310000895421us-gaap:FairValueInputsLevel1Memberus-gaap:PensionPlansDefinedBenefitMemberus-gaap:AssetsMember2022-12-310000895421us-gaap:FairValueInputsLevel2Memberus-gaap:PensionPlansDefinedBenefitMemberus-gaap:AssetsMember2022-12-310000895421us-gaap:PensionPlansDefinedBenefitMemberus-gaap:FairValueInputsLevel3Memberus-gaap:AssetsMember2022-12-310000895421us-gaap:PensionPlansDefinedBenefitMemberus-gaap:AssetsMember2022-12-310000895421us-gaap:FairValueMeasuredAtNetAssetValuePerShareMemberus-gaap:MoneyMarketFundsMemberus-gaap:PensionPlansDefinedBenefitMember2022-12-310000895421us-gaap:FairValueMeasuredAtNetAssetValuePerShareMemberus-gaap:PensionPlansDefinedBenefitMemberms:ForeignFixedIncomeFundsMember2022-12-310000895421us-gaap:FairValueMeasuredAtNetAssetValuePerShareMemberms:ForeignMoneyMarketFundsMemberus-gaap:PensionPlansDefinedBenefitMember2022-12-310000895421us-gaap:FairValueMeasuredAtNetAssetValuePerShareMemberus-gaap:PensionPlansDefinedBenefitMemberms:ForeignTargetedCashFlowFundsMember2022-12-310000895421us-gaap:FairValueMeasuredAtNetAssetValuePerShareMemberus-gaap:PensionPlansDefinedBenefitMember2022-12-310000895421ms:OtherPayablesMemberus-gaap:FairValueInputsLevel1Member2022-12-310000895421ms:OtherPayablesMemberus-gaap:FairValueInputsLevel2Member2022-12-310000895421ms:OtherPayablesMemberus-gaap:FairValueInputsLevel3Member2022-12-310000895421ms:OtherPayablesMember2022-12-310000895421us-gaap:FairValueInputsLevel1Member2022-12-310000895421us-gaap:FairValueInputsLevel2Member2022-12-310000895421us-gaap:FairValueInputsLevel3Member2022-12-310000895421us-gaap:PensionPlansDefinedBenefitMemberus-gaap:FairValueInputsLevel3Member2022-12-310000895421us-gaap:PensionPlansDefinedBenefitMemberus-gaap:FairValueInputsLevel3Member2021-12-310000895421us-gaap:PensionPlansDefinedBenefitMemberus-gaap:FairValueInputsLevel3Member2023-01-012023-12-310000895421us-gaap:PensionPlansDefinedBenefitMemberus-gaap:FairValueInputsLevel3Member2022-01-012022-12-310000895421us-gaap:PensionPlansDefinedBenefitMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421ms:MorganStanley401kPlanMember2023-01-012023-12-310000895421ms:MorganStanley401kPlanMember2022-01-012022-12-310000895421ms:MorganStanley401kPlanMember2021-01-012021-12-310000895421ms:MorganStanley401kPlanMemberms:ParticipantsOfACertainCompensationLevelMember2022-01-012022-12-310000895421ms:MorganStanley401kPlanMemberms:ParticipantsOfACertainCompensationLevelMember2023-01-012023-12-310000895421ms:MorganStanley401kPlanMemberms:EligibleUsEmployeesWithEligiblePayLessThanOrEqualToOneHundredThousandsDollarsMember2023-01-012023-12-310000895421us-gaap:ForeignPlanMember2023-01-012023-12-310000895421us-gaap:ForeignPlanMember2022-01-012022-12-310000895421us-gaap:ForeignPlanMember2021-01-012021-12-310000895421country:BR2023-01-012023-12-310000895421country:BR2022-01-012022-12-310000895421country:BR2021-01-012021-12-310000895421country:GB2023-01-012023-12-310000895421country:GB2022-01-012022-12-310000895421country:GB2021-01-012021-12-310000895421country:JP2023-01-012023-12-310000895421country:JP2022-01-012022-12-310000895421country:JP2021-01-012021-12-310000895421country:HK2023-01-012023-12-310000895421country:HK2022-01-012022-12-310000895421country:HK2021-01-012021-12-310000895421ms:OtherCountriesMember2023-01-012023-12-310000895421ms:OtherCountriesMember2022-01-012022-12-310000895421ms:OtherCountriesMember2021-01-012021-12-310000895421us-gaap:OperatingSegmentsMemberms:InstitutionalSecuritiesSegmentMember2023-01-012023-12-310000895421us-gaap:OperatingSegmentsMemberms:WealthManagementSegmentMember2023-01-012023-12-310000895421us-gaap:OperatingSegmentsMemberms:InvestmentManagementSegmentMember2023-01-012023-12-310000895421us-gaap:IntersegmentEliminationMember2023-01-012023-12-310000895421us-gaap:OperatingSegmentsMemberms:InstitutionalSecuritiesSegmentMember2022-01-012022-12-310000895421us-gaap:OperatingSegmentsMemberms:WealthManagementSegmentMember2022-01-012022-12-310000895421us-gaap:OperatingSegmentsMemberms:InvestmentManagementSegmentMember2022-01-012022-12-310000895421us-gaap:IntersegmentEliminationMember2022-01-012022-12-310000895421us-gaap:OperatingSegmentsMemberms:InstitutionalSecuritiesSegmentMember2021-01-012021-12-310000895421us-gaap:OperatingSegmentsMemberms:WealthManagementSegmentMember2021-01-012021-12-310000895421us-gaap:OperatingSegmentsMemberms:InvestmentManagementSegmentMember2021-01-012021-12-310000895421us-gaap:IntersegmentEliminationMember2021-01-012021-12-310000895421us-gaap:OperatingSegmentsMemberms:InstitutionalSecuritiesSegmentMemberus-gaap:InvestmentAdviceMember2023-01-012023-12-310000895421us-gaap:OperatingSegmentsMemberms:InstitutionalSecuritiesSegmentMemberus-gaap:InvestmentAdviceMember2022-01-012022-12-310000895421us-gaap:OperatingSegmentsMemberms:InstitutionalSecuritiesSegmentMemberus-gaap:InvestmentAdviceMember2021-01-012021-12-310000895421us-gaap:OperatingSegmentsMemberms:UnderwritingMemberms:InstitutionalSecuritiesSegmentMember2023-01-012023-12-310000895421us-gaap:OperatingSegmentsMemberms:UnderwritingMemberms:InstitutionalSecuritiesSegmentMember2022-01-012022-12-310000895421us-gaap:OperatingSegmentsMemberms:UnderwritingMemberms:InstitutionalSecuritiesSegmentMember2021-01-012021-12-310000895421us-gaap:InterestRateContractMember2022-01-012022-12-310000895421us-gaap:InterestRateContractMember2021-01-012021-12-310000895421us-gaap:ForeignExchangeContractMember2023-01-012023-12-310000895421us-gaap:ForeignExchangeContractMember2022-01-012022-12-310000895421us-gaap:ForeignExchangeContractMember2021-01-012021-12-310000895421ms:EquityAndIndexContractMember2023-01-012023-12-310000895421ms:EquityAndIndexContractMember2022-01-012022-12-310000895421ms:EquityAndIndexContractMember2021-01-012021-12-310000895421ms:CommodityAndOtherContractsMember2023-01-012023-12-310000895421ms:CommodityAndOtherContractsMember2022-01-012022-12-310000895421ms:CommodityAndOtherContractsMember2021-01-012021-12-310000895421us-gaap:CreditRiskContractMember2023-01-012023-12-310000895421us-gaap:CreditRiskContractMember2022-01-012022-12-310000895421us-gaap:CreditRiskContractMember2021-01-012021-12-310000895421srt:AmericasMember2023-01-012023-12-310000895421srt:AmericasMember2022-01-012022-12-310000895421srt:AmericasMember2021-01-012021-12-310000895421us-gaap:EMEAMember2023-01-012023-12-310000895421us-gaap:EMEAMember2022-01-012022-12-310000895421us-gaap:EMEAMember2021-01-012021-12-310000895421srt:AsiaMember2023-01-012023-12-310000895421srt:AsiaMember2022-01-012022-12-310000895421srt:AsiaMember2021-01-012021-12-310000895421country:US2023-01-012023-12-310000895421country:US2022-01-012022-12-310000895421country:US2021-01-012021-12-310000895421us-gaap:NonUsMember2023-01-012023-12-310000895421us-gaap:NonUsMember2022-01-012022-12-310000895421us-gaap:NonUsMember2021-01-012021-12-310000895421ms:WealthManagementSegmentMember2023-12-310000895421ms:WealthManagementSegmentMember2022-12-310000895421srt:AmericasMember2023-12-310000895421srt:AmericasMember2022-12-310000895421us-gaap:EMEAMember2023-12-310000895421us-gaap:EMEAMember2022-12-310000895421srt:AsiaMember2023-12-310000895421srt:AsiaMember2022-12-310000895421srt:ParentCompanyMember2023-01-012023-12-310000895421srt:ParentCompanyMember2022-01-012022-12-310000895421srt:ParentCompanyMember2021-01-012021-12-310000895421srt:ParentCompanyMember2023-12-310000895421srt:ParentCompanyMember2022-12-310000895421srt:ParentCompanyMemberus-gaap:AssetPledgedAsCollateralMember2023-12-310000895421srt:ParentCompanyMemberus-gaap:AssetPledgedAsCollateralMember2022-12-310000895421srt:ParentCompanyMemberus-gaap:RelatedPartyMember2023-12-310000895421srt:ParentCompanyMemberus-gaap:RelatedPartyMember2022-12-310000895421srt:ParentCompanyMember2021-12-310000895421srt:ParentCompanyMember2020-12-310000895421srt:ParentCompanyMemberus-gaap:WarrantMember2023-12-310000895421srt:ParentCompanyMemberus-gaap:WarrantMember2022-12-310000895421srt:ParentCompanyMemberus-gaap:PropertyLeaseGuaranteeMember2023-12-310000895421srt:ParentCompanyMemberus-gaap:PropertyLeaseGuaranteeMember2022-12-31
 
UNITED STATES SECURITIES AND EXCHANGE COMMISSION
Washington, D.C. 20549
FORM 10-K
ANNUAL REPORT PURSUANT TO SECTION 13 OR 15(d) OF THE SECURITIES EXCHANGE ACT OF 1934
For the year ended December 31, 2023
Commission File Number 1-11758
mslogo3q20.jpg
(Exact name of Registrant as specified in its charter)
Delaware1585 Broadway36-3145972(212)761-4000
(State or other jurisdiction of incorporation or organization)New York,NY10036
(I.R.S. Employer Identification No.)

(Registrant’s telephone number,
including area code)

(Address of principal executive offices, including Zip Code)
Securities registered pursuant to Section 12(b) of the Act:
Title of each classTrading
Symbol(s)
Name of exchange on
which registered
Common Stock, $0.01 par valueMSNew York Stock Exchange
Depositary Shares, each representing 1/1,000th interest in a share of Floating RateMS/PANew York Stock Exchange
Non-Cumulative Preferred Stock, Series A, $0.01 par value
Depositary Shares, each representing 1/1,000th interest in a share of Fixed-to-Floating RateMS/PENew York Stock Exchange
Non-Cumulative Preferred Stock, Series E, $0.01 par value
Depositary Shares, each representing 1/1,000th interest in a share of Fixed-to-Floating RateMS/PFNew York Stock Exchange
Non-Cumulative Preferred Stock, Series F, $0.01 par value
Depositary Shares, each representing 1/1,000th interest in a share of Fixed-to-Floating RateMS/PINew York Stock Exchange
Non-Cumulative Preferred Stock, Series I, $0.01 par value
Depositary Shares, each representing 1/1,000th interest in a share of Fixed-to-Floating RateMS/PKNew York Stock Exchange
Non-Cumulative Preferred Stock, Series K, $0.01 par value
Depositary Shares, each representing 1/1,000th interest in a share of 4.875%MS/PLNew York Stock Exchange
Non-Cumulative Preferred Stock, Series L, $0.01 par value
Depositary Shares, each representing 1/1,000th interest in a share of 4.250%MS/PONew York Stock Exchange
Non-Cumulative Preferred Stock, Series O, $0.01 par value
Depositary Shares, each representing 1/1,000th interest in a share of 6.500%MS/PPNew York Stock Exchange
Non-Cumulative Preferred Stock, Series P, $0.01 par value
Global Medium-Term Notes, Series A, Fixed Rate Step-Up Senior Notes Due 2026MS/26CNew York Stock Exchange
of Morgan Stanley Finance LLC (and Registrant’s guarantee with respect thereto)
Global Medium-Term Notes, Series A, Floating Rate Notes Due 2029MS/29New York Stock Exchange
of Morgan Stanley Finance LLC (and Registrant’s guarantee with respect thereto)
Indicate by check mark if the Registrant is a well-known seasoned issuer, as defined in Rule 405 of the Securities Act.  Yes  ☐  No 
Indicate by check mark if the Registrant is not required to file reports pursuant to Section 13 or 15(d) of the Act.  Yes  ☐  No
Indicate by check mark whether the Registrant (1) has filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that the Registrant was required to file such reports), and (2) has been subject to such filing requirements for the past 90 days.  Yes  ☒  No  ☐
Indicate by check mark whether the Registrant has submitted electronically every Interactive Data File required to be submitted pursuant to Rule 405 of Regulation S-T (§ 232.405 of this chapter) during the preceding 12 months (or for such shorter period that the Registrant was required to submit such files).  Yes    No  ☐
Indicate by check mark whether the Registrant is a large accelerated filer, an accelerated filer, a non-accelerated filer, a smaller reporting company or an emerging growth company. See the definitions of “large accelerated filer,” “accelerated filer,” “smaller reporting company” and “emerging growth company” in Rule 12b-2 of the Exchange Act. (Check one):
Large accelerated filerAccelerated filer
Non-accelerated filer
<