ms-20240630false2024Q20000895421--12-31MORGAN STANLEYtruefalsehttp://fasb.org/us-gaap/2024#AssetPledgedAsCollateralMemberxbrli:sharesiso4217:USDiso4217:USDxbrli:sharesxbrli:pureiso4217:USDms:MWhiso4217:EURiso4217:DKK00008954212024-01-012024-06-300000895421us-gaap:CommonClassAMember2024-01-012024-06-300000895421us-gaap:SeriesAPreferredStockMember2024-01-012024-06-300000895421us-gaap:SeriesEPreferredStockMember2024-01-012024-06-300000895421us-gaap:SeriesFPreferredStockMember2024-01-012024-06-300000895421ms:SeriesIPreferredStockMember2024-01-012024-06-300000895421ms:SeriesKPreferredStockMember2024-01-012024-06-300000895421ms:SeriesLPreferredStockMember2024-01-012024-06-300000895421ms:SeriesOPreferredStockMember2024-01-012024-06-300000895421ms:SeriesPPreferredStockMember2024-01-012024-06-300000895421ms:SeriesQPreferredStockMember2024-01-012024-06-300000895421ms:GlobalMediumTermNotesSeriesAFixedRateStepUpSeniorNotesDue2026ofMorganStanleyFinanceLLCMember2024-01-012024-06-300000895421ms:GlobalMediumTermNotesSeriesAFloatingRateNotesDue2029OfMorganStanleyFinanceLLCMember2024-01-012024-06-3000008954212024-07-3100008954212024-04-012024-06-3000008954212023-04-012023-06-3000008954212023-01-012023-06-3000008954212024-06-3000008954212023-12-310000895421us-gaap:PreferredStockMember2024-06-300000895421us-gaap:PreferredStockMember2024-03-310000895421us-gaap:PreferredStockMember2023-06-300000895421us-gaap:PreferredStockMember2023-03-310000895421us-gaap:PreferredStockMember2023-12-310000895421us-gaap:PreferredStockMember2022-12-310000895421us-gaap:CommonStockMember2024-06-300000895421us-gaap:CommonStockMember2024-03-310000895421us-gaap:CommonStockMember2023-03-310000895421us-gaap:CommonStockMember2023-06-300000895421us-gaap:CommonStockMember2023-12-310000895421us-gaap:CommonStockMember2022-12-310000895421us-gaap:AdditionalPaidInCapitalMember2024-03-310000895421us-gaap:AdditionalPaidInCapitalMember2023-03-310000895421us-gaap:AdditionalPaidInCapitalMember2023-12-310000895421us-gaap:AdditionalPaidInCapitalMember2022-12-310000895421us-gaap:AdditionalPaidInCapitalMember2024-04-012024-06-300000895421us-gaap:AdditionalPaidInCapitalMember2023-04-012023-06-300000895421us-gaap:AdditionalPaidInCapitalMember2024-01-012024-06-300000895421us-gaap:AdditionalPaidInCapitalMember2023-01-012023-06-300000895421us-gaap:AdditionalPaidInCapitalMember2024-06-300000895421us-gaap:AdditionalPaidInCapitalMember2023-06-300000895421us-gaap:RetainedEarningsMember2024-03-310000895421us-gaap:RetainedEarningsMember2023-03-310000895421us-gaap:RetainedEarningsMember2023-12-310000895421us-gaap:RetainedEarningsMember2022-12-310000895421us-gaap:RetainedEarningsMembersrt:CumulativeEffectPeriodOfAdoptionAdjustmentMember2024-03-310000895421us-gaap:RetainedEarningsMembersrt:CumulativeEffectPeriodOfAdoptionAdjustmentMember2023-03-310000895421us-gaap:RetainedEarningsMembersrt:CumulativeEffectPeriodOfAdoptionAdjustmentMember2023-12-310000895421us-gaap:RetainedEarningsMembersrt:CumulativeEffectPeriodOfAdoptionAdjustmentMember2022-12-310000895421us-gaap:RetainedEarningsMember2024-04-012024-06-300000895421us-gaap:RetainedEarningsMember2023-04-012023-06-300000895421us-gaap:RetainedEarningsMember2024-01-012024-06-300000895421us-gaap:RetainedEarningsMember2023-01-012023-06-300000895421us-gaap:RetainedEarningsMember2024-06-300000895421us-gaap:RetainedEarningsMember2023-06-300000895421us-gaap:TrustForBenefitOfEmployeesMember2024-03-310000895421us-gaap:TrustForBenefitOfEmployeesMember2023-03-310000895421us-gaap:TrustForBenefitOfEmployeesMember2023-12-310000895421us-gaap:TrustForBenefitOfEmployeesMember2022-12-310000895421us-gaap:TrustForBenefitOfEmployeesMember2024-04-012024-06-300000895421us-gaap:TrustForBenefitOfEmployeesMember2023-04-012023-06-300000895421us-gaap:TrustForBenefitOfEmployeesMember2024-01-012024-06-300000895421us-gaap:TrustForBenefitOfEmployeesMember2023-01-012023-06-300000895421us-gaap:TrustForBenefitOfEmployeesMember2024-06-300000895421us-gaap:TrustForBenefitOfEmployeesMember2023-06-300000895421us-gaap:AccumulatedOtherComprehensiveIncomeMember2024-03-310000895421us-gaap:AccumulatedOtherComprehensiveIncomeMember2023-03-310000895421us-gaap:AccumulatedOtherComprehensiveIncomeMember2023-12-310000895421us-gaap:AccumulatedOtherComprehensiveIncomeMember2022-12-310000895421us-gaap:AccumulatedOtherComprehensiveIncomeMember2024-04-012024-06-300000895421us-gaap:AccumulatedOtherComprehensiveIncomeMember2023-04-012023-06-300000895421us-gaap:AccumulatedOtherComprehensiveIncomeMember2024-01-012024-06-300000895421us-gaap:AccumulatedOtherComprehensiveIncomeMember2023-01-012023-06-300000895421us-gaap:AccumulatedOtherComprehensiveIncomeMember2024-06-300000895421us-gaap:AccumulatedOtherComprehensiveIncomeMember2023-06-300000895421us-gaap:TreasuryStockCommonMember2024-03-310000895421us-gaap:TreasuryStockCommonMember2023-03-310000895421us-gaap:TreasuryStockCommonMember2023-12-310000895421us-gaap:TreasuryStockCommonMember2022-12-310000895421us-gaap:TreasuryStockCommonMember2024-04-012024-06-300000895421us-gaap:TreasuryStockCommonMember2023-04-012023-06-300000895421us-gaap:TreasuryStockCommonMember2024-01-012024-06-300000895421us-gaap:TreasuryStockCommonMember2023-01-012023-06-300000895421us-gaap:TreasuryStockCommonMember2024-06-300000895421us-gaap:TreasuryStockCommonMember2023-06-300000895421ms:CommonStockIssuedToEmployeeTrustMember2024-03-310000895421ms:CommonStockIssuedToEmployeeTrustMember2023-03-310000895421ms:CommonStockIssuedToEmployeeTrustMember2023-12-310000895421ms:CommonStockIssuedToEmployeeTrustMember2022-12-310000895421ms:CommonStockIssuedToEmployeeTrustMember2024-04-012024-06-300000895421ms:CommonStockIssuedToEmployeeTrustMember2023-04-012023-06-300000895421ms:CommonStockIssuedToEmployeeTrustMember2024-01-012024-06-300000895421ms:CommonStockIssuedToEmployeeTrustMember2023-01-012023-06-300000895421ms:CommonStockIssuedToEmployeeTrustMember2024-06-300000895421ms:CommonStockIssuedToEmployeeTrustMember2023-06-300000895421us-gaap:NoncontrollingInterestMember2024-03-310000895421us-gaap:NoncontrollingInterestMember2023-03-310000895421us-gaap:NoncontrollingInterestMember2023-12-310000895421us-gaap:NoncontrollingInterestMember2022-12-310000895421us-gaap:NoncontrollingInterestMember2024-04-012024-06-300000895421us-gaap:NoncontrollingInterestMember2023-04-012023-06-300000895421us-gaap:NoncontrollingInterestMember2024-01-012024-06-300000895421us-gaap:NoncontrollingInterestMember2023-01-012023-06-300000895421us-gaap:NoncontrollingInterestMember2024-06-300000895421us-gaap:NoncontrollingInterestMember2023-06-3000008954212023-06-3000008954212022-12-310000895421srt:CumulativeEffectPeriodOfAdoptionAdjustmentMember2024-01-010000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:USTreasuryAndGovernmentMemberus-gaap:FairValueInputsLevel1Member2024-06-300000895421us-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:USTreasuryAndGovernmentMember2024-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:USTreasuryAndGovernmentMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:USTreasuryAndGovernmentMember2024-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueInputsLevel1Member2024-06-300000895421us-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:ForeignGovernmentDebtSecuritiesMember2024-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:ForeignGovernmentDebtSecuritiesMember2024-06-300000895421us-gaap:USStatesAndPoliticalSubdivisionsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel1Member2024-06-300000895421us-gaap:USStatesAndPoliticalSubdivisionsMemberus-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMember2024-06-300000895421us-gaap:USStatesAndPoliticalSubdivisionsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:USStatesAndPoliticalSubdivisionsMemberus-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMember2024-06-300000895421ms:MortgageAndAssetBackedSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel1Member2024-06-300000895421ms:MortgageAndAssetBackedSecuritiesMemberus-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMember2024-06-300000895421ms:MortgageAndAssetBackedSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421ms:MortgageAndAssetBackedSecuritiesMemberus-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMember2024-06-300000895421us-gaap:SeniorDebtObligationsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel1Member2024-06-300000895421us-gaap:SeniorDebtObligationsMemberus-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMember2024-06-300000895421us-gaap:SeniorDebtObligationsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:SeniorDebtObligationsMemberus-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMember2024-06-300000895421ms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel1Member2024-06-300000895421ms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMember2024-06-300000895421ms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421ms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMember2024-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel1Memberms:CorporateEquitiesMember2024-06-300000895421us-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMemberms:CorporateEquitiesMember2024-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberms:CorporateEquitiesMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMemberms:CorporateEquitiesMember2024-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:InterestRateContractMemberus-gaap:FairValueInputsLevel1Member2024-06-300000895421us-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:InterestRateContractMember2024-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:InterestRateContractMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:InterestRateContractMember2024-06-300000895421us-gaap:CreditRiskContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel1Member2024-06-300000895421us-gaap:FairValueInputsLevel2Memberus-gaap:CreditRiskContractMemberus-gaap:FairValueMeasurementsRecurringMember2024-06-300000895421us-gaap:CreditRiskContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:FairValueInputsLevel12And3Memberus-gaap:CreditRiskContractMemberus-gaap:FairValueMeasurementsRecurringMember2024-06-300000895421us-gaap:ForeignExchangeContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel1Member2024-06-300000895421us-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMember2024-06-300000895421us-gaap:ForeignExchangeContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMember2024-06-300000895421us-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel1Member2024-06-300000895421us-gaap:EquityContractMemberus-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMember2024-06-300000895421us-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:EquityContractMemberus-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMember2024-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberms:CommodityAndOtherContractsMemberus-gaap:FairValueInputsLevel1Member2024-06-300000895421us-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMemberms:CommodityAndOtherContractsMember2024-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberms:CommodityAndOtherContractsMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMemberms:CommodityAndOtherContractsMember2024-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel1Member2024-06-300000895421us-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMember2024-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:FairValueMeasurementsRecurringMember2024-06-300000895421us-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMember2024-06-300000895421us-gaap:USTreasuryAndGovernmentMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel1Member2024-06-300000895421us-gaap:USTreasuryAndGovernmentMemberus-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMember2024-06-300000895421us-gaap:USTreasuryAndGovernmentMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:FairValueInputsLevel12And3Memberus-gaap:USTreasuryAndGovernmentMemberus-gaap:FairValueMeasurementsRecurringMember2024-06-300000895421us-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel1Member2024-06-300000895421us-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMember2024-06-300000895421us-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:FairValueInputsLevel12And3Memberus-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMember2024-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel1Member2024-06-300000895421us-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMemberms:CorporateandOtherDebtSecuritiesMember2024-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMemberms:CorporateandOtherDebtSecuritiesMember2024-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberms:CorporateEquitiesMemberus-gaap:FairValueInputsLevel1Member2024-06-300000895421us-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMemberms:CorporateEquitiesMember2024-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberms:CorporateEquitiesMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMemberms:CorporateEquitiesMember2024-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:USTreasuryAndGovernmentMemberus-gaap:FairValueInputsLevel1Member2023-12-310000895421us-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:USTreasuryAndGovernmentMember2023-12-310000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:USTreasuryAndGovernmentMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:USTreasuryAndGovernmentMember2023-12-310000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueInputsLevel1Member2023-12-310000895421us-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:ForeignGovernmentDebtSecuritiesMember2023-12-310000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:ForeignGovernmentDebtSecuritiesMember2023-12-310000895421us-gaap:USStatesAndPoliticalSubdivisionsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel1Member2023-12-310000895421us-gaap:USStatesAndPoliticalSubdivisionsMemberus-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:USStatesAndPoliticalSubdivisionsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:USStatesAndPoliticalSubdivisionsMemberus-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:MortgageAndAssetBackedSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel1Member2023-12-310000895421ms:MortgageAndAssetBackedSecuritiesMemberus-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:MortgageAndAssetBackedSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421ms:MortgageAndAssetBackedSecuritiesMemberus-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:SeniorDebtObligationsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel1Member2023-12-310000895421us-gaap:SeniorDebtObligationsMemberus-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:SeniorDebtObligationsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:SeniorDebtObligationsMemberus-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel1Member2023-12-310000895421ms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421ms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421ms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel1Memberms:CorporateEquitiesMember2023-12-310000895421us-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMemberms:CorporateEquitiesMember2023-12-310000895421us-gaap:FairValueMeasurementsRecurringMemberms:CorporateEquitiesMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMemberms:CorporateEquitiesMember2023-12-310000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:InterestRateContractMemberus-gaap:FairValueInputsLevel1Member2023-12-310000895421us-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:InterestRateContractMember2023-12-310000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:InterestRateContractMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:InterestRateContractMember2023-12-310000895421us-gaap:CreditRiskContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel1Member2023-12-310000895421us-gaap:FairValueInputsLevel2Memberus-gaap:CreditRiskContractMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:CreditRiskContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:FairValueInputsLevel12And3Memberus-gaap:CreditRiskContractMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel1Member2023-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel1Member2023-12-310000895421us-gaap:EquityContractMemberus-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:EquityContractMemberus-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueMeasurementsRecurringMemberms:CommodityAndOtherContractsMemberus-gaap:FairValueInputsLevel1Member2023-12-310000895421us-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMemberms:CommodityAndOtherContractsMember2023-12-310000895421us-gaap:FairValueMeasurementsRecurringMemberms:CommodityAndOtherContractsMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMemberms:CommodityAndOtherContractsMember2023-12-310000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel1Member2023-12-310000895421us-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:USTreasuryAndGovernmentMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel1Member2023-12-310000895421us-gaap:USTreasuryAndGovernmentMemberus-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:USTreasuryAndGovernmentMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:FairValueInputsLevel12And3Memberus-gaap:USTreasuryAndGovernmentMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel1Member2023-12-310000895421us-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:FairValueInputsLevel12And3Memberus-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueMeasurementsRecurringMemberms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel1Member2023-12-310000895421us-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMemberms:CorporateandOtherDebtSecuritiesMember2023-12-310000895421us-gaap:FairValueMeasurementsRecurringMemberms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMemberms:CorporateandOtherDebtSecuritiesMember2023-12-310000895421us-gaap:FairValueMeasurementsRecurringMemberms:CorporateEquitiesMemberus-gaap:FairValueInputsLevel1Member2023-12-310000895421us-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsRecurringMemberms:CorporateEquitiesMember2023-12-310000895421us-gaap:FairValueMeasurementsRecurringMemberms:CorporateEquitiesMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:FairValueInputsLevel12And3Memberus-gaap:FairValueMeasurementsRecurringMemberms:CorporateEquitiesMember2023-12-310000895421us-gaap:SeniorDebtObligationsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:CommercialRealEstatePortfolioSegmentMember2024-06-300000895421us-gaap:SeniorDebtObligationsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:CommercialRealEstatePortfolioSegmentMember2023-12-310000895421us-gaap:SeniorDebtObligationsMemberus-gaap:ResidentialPortfolioSegmentMemberus-gaap:FairValueMeasurementsRecurringMember2024-06-300000895421us-gaap:SeniorDebtObligationsMemberus-gaap:ResidentialPortfolioSegmentMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:SeniorDebtObligationsMemberms:SecuritiesBasedLendingandOtherLoansMemberus-gaap:FairValueMeasurementsRecurringMember2024-06-300000895421us-gaap:SeniorDebtObligationsMemberms:SecuritiesBasedLendingandOtherLoansMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:SeniorDebtObligationsMemberus-gaap:FairValueMeasurementsRecurringMember2024-06-300000895421us-gaap:SeniorDebtObligationsMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FutureMemberus-gaap:FairValueMeasurementsRecurringMember2024-06-300000895421us-gaap:FutureMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:USTreasuryAndGovernmentMemberus-gaap:FairValueInputsLevel3Member2024-03-310000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:USTreasuryAndGovernmentMemberus-gaap:FairValueInputsLevel3Member2023-03-310000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:USTreasuryAndGovernmentMemberus-gaap:FairValueInputsLevel3Member2022-12-310000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:USTreasuryAndGovernmentMemberus-gaap:FairValueInputsLevel3Member2024-04-012024-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:USTreasuryAndGovernmentMemberus-gaap:FairValueInputsLevel3Member2023-04-012023-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:USTreasuryAndGovernmentMemberus-gaap:FairValueInputsLevel3Member2024-01-012024-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:USTreasuryAndGovernmentMemberus-gaap:FairValueInputsLevel3Member2023-01-012023-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:USTreasuryAndGovernmentMemberus-gaap:FairValueInputsLevel3Member2023-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Member2024-03-310000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Member2023-03-310000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Member2022-12-310000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Member2024-04-012024-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Member2023-04-012023-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Member2024-01-012024-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Member2023-01-012023-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:ForeignGovernmentDebtSecuritiesMemberus-gaap:FairValueInputsLevel3Member2023-06-300000895421us-gaap:USStatesAndPoliticalSubdivisionsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-03-310000895421us-gaap:USStatesAndPoliticalSubdivisionsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-03-310000895421us-gaap:USStatesAndPoliticalSubdivisionsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2022-12-310000895421us-gaap:USStatesAndPoliticalSubdivisionsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-04-012024-06-300000895421us-gaap:USStatesAndPoliticalSubdivisionsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-04-012023-06-300000895421us-gaap:USStatesAndPoliticalSubdivisionsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-01-012024-06-300000895421us-gaap:USStatesAndPoliticalSubdivisionsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-01-012023-06-300000895421us-gaap:USStatesAndPoliticalSubdivisionsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-06-300000895421ms:MortgageAndAssetBackedSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-03-310000895421ms:MortgageAndAssetBackedSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-03-310000895421ms:MortgageAndAssetBackedSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2022-12-310000895421ms:MortgageAndAssetBackedSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-04-012024-06-300000895421ms:MortgageAndAssetBackedSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-04-012023-06-300000895421ms:MortgageAndAssetBackedSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-01-012024-06-300000895421ms:MortgageAndAssetBackedSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-01-012023-06-300000895421ms:MortgageAndAssetBackedSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-06-300000895421us-gaap:SeniorDebtObligationsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-03-310000895421us-gaap:SeniorDebtObligationsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-03-310000895421us-gaap:SeniorDebtObligationsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2022-12-310000895421us-gaap:SeniorDebtObligationsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-04-012024-06-300000895421us-gaap:SeniorDebtObligationsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-04-012023-06-300000895421us-gaap:SeniorDebtObligationsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-01-012024-06-300000895421us-gaap:SeniorDebtObligationsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-01-012023-06-300000895421us-gaap:SeniorDebtObligationsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-06-300000895421ms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-03-310000895421ms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-03-310000895421ms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2022-12-310000895421ms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-04-012024-06-300000895421ms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-04-012023-06-300000895421ms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-01-012024-06-300000895421ms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-01-012023-06-300000895421ms:CorporateandOtherDebtSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberms:CorporateEquitiesMemberus-gaap:FairValueInputsLevel3Member2024-03-310000895421us-gaap:FairValueMeasurementsRecurringMemberms:CorporateEquitiesMemberus-gaap:FairValueInputsLevel3Member2023-03-310000895421us-gaap:FairValueMeasurementsRecurringMemberms:CorporateEquitiesMemberus-gaap:FairValueInputsLevel3Member2022-12-310000895421us-gaap:FairValueMeasurementsRecurringMemberms:CorporateEquitiesMemberus-gaap:FairValueInputsLevel3Member2024-04-012024-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberms:CorporateEquitiesMemberus-gaap:FairValueInputsLevel3Member2023-04-012023-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberms:CorporateEquitiesMemberus-gaap:FairValueInputsLevel3Member2024-01-012024-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberms:CorporateEquitiesMemberus-gaap:FairValueInputsLevel3Member2023-01-012023-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberms:CorporateEquitiesMemberus-gaap:FairValueInputsLevel3Member2023-06-300000895421us-gaap:InvestmentsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-03-310000895421us-gaap:InvestmentsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-03-310000895421us-gaap:InvestmentsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:InvestmentsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2022-12-310000895421us-gaap:InvestmentsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-04-012024-06-300000895421us-gaap:InvestmentsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-04-012023-06-300000895421us-gaap:InvestmentsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-01-012024-06-300000895421us-gaap:InvestmentsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-01-012023-06-300000895421us-gaap:InvestmentsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:InvestmentsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-06-300000895421ms:DebtSecuritiesAvailableForSaleMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-03-310000895421ms:DebtSecuritiesAvailableForSaleMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-03-310000895421ms:DebtSecuritiesAvailableForSaleMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421ms:DebtSecuritiesAvailableForSaleMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2022-12-310000895421ms:DebtSecuritiesAvailableForSaleMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-04-012024-06-300000895421ms:DebtSecuritiesAvailableForSaleMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-04-012023-06-300000895421ms:DebtSecuritiesAvailableForSaleMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-01-012024-06-300000895421ms:DebtSecuritiesAvailableForSaleMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-01-012023-06-300000895421ms:DebtSecuritiesAvailableForSaleMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421ms:DebtSecuritiesAvailableForSaleMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:InterestRateContractMemberus-gaap:FairValueInputsLevel3Member2024-03-310000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:InterestRateContractMemberus-gaap:FairValueInputsLevel3Member2023-03-310000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:InterestRateContractMemberus-gaap:FairValueInputsLevel3Member2022-12-310000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:InterestRateContractMemberus-gaap:FairValueInputsLevel3Member2024-04-012024-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:InterestRateContractMemberus-gaap:FairValueInputsLevel3Member2023-04-012023-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:InterestRateContractMemberus-gaap:FairValueInputsLevel3Member2024-01-012024-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:InterestRateContractMemberus-gaap:FairValueInputsLevel3Member2023-01-012023-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:InterestRateContractMemberus-gaap:FairValueInputsLevel3Member2023-06-300000895421us-gaap:CreditRiskContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-03-310000895421us-gaap:CreditRiskContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-03-310000895421us-gaap:CreditRiskContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2022-12-310000895421us-gaap:CreditRiskContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-04-012024-06-300000895421us-gaap:CreditRiskContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-04-012023-06-300000895421us-gaap:CreditRiskContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-01-012024-06-300000895421us-gaap:CreditRiskContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-01-012023-06-300000895421us-gaap:CreditRiskContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-06-300000895421us-gaap:ForeignExchangeContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-03-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-03-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2022-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-04-012024-06-300000895421us-gaap:ForeignExchangeContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-04-012023-06-300000895421us-gaap:ForeignExchangeContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-01-012024-06-300000895421us-gaap:ForeignExchangeContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-01-012023-06-300000895421us-gaap:ForeignExchangeContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-06-300000895421us-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-03-310000895421us-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-03-310000895421us-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2022-12-310000895421us-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-04-012024-06-300000895421us-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-04-012023-06-300000895421us-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-01-012024-06-300000895421us-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-01-012023-06-300000895421us-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberms:CommodityAndOtherContractsMemberus-gaap:FairValueInputsLevel3Member2024-03-310000895421us-gaap:FairValueMeasurementsRecurringMemberms:CommodityAndOtherContractsMemberus-gaap:FairValueInputsLevel3Member2023-03-310000895421us-gaap:FairValueMeasurementsRecurringMemberms:CommodityAndOtherContractsMemberus-gaap:FairValueInputsLevel3Member2022-12-310000895421us-gaap:FairValueMeasurementsRecurringMemberms:CommodityAndOtherContractsMemberus-gaap:FairValueInputsLevel3Member2024-04-012024-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberms:CommodityAndOtherContractsMemberus-gaap:FairValueInputsLevel3Member2023-04-012023-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberms:CommodityAndOtherContractsMemberus-gaap:FairValueInputsLevel3Member2024-01-012024-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberms:CommodityAndOtherContractsMemberus-gaap:FairValueInputsLevel3Member2023-01-012023-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberms:CommodityAndOtherContractsMemberus-gaap:FairValueInputsLevel3Member2023-06-300000895421us-gaap:DepositsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-03-310000895421us-gaap:DepositsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-03-310000895421us-gaap:DepositsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:DepositsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2022-12-310000895421us-gaap:DepositsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-04-012024-06-300000895421us-gaap:DepositsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-04-012023-06-300000895421us-gaap:DepositsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-01-012024-06-300000895421us-gaap:DepositsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-01-012023-06-300000895421us-gaap:DepositsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:DepositsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-06-300000895421ms:NonderivativeTradingLiabilitiesMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-03-310000895421ms:NonderivativeTradingLiabilitiesMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-03-310000895421ms:NonderivativeTradingLiabilitiesMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421ms:NonderivativeTradingLiabilitiesMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2022-12-310000895421ms:NonderivativeTradingLiabilitiesMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-04-012024-06-300000895421ms:NonderivativeTradingLiabilitiesMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-04-012023-06-300000895421ms:NonderivativeTradingLiabilitiesMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-01-012024-06-300000895421ms:NonderivativeTradingLiabilitiesMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-01-012023-06-300000895421ms:NonderivativeTradingLiabilitiesMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421ms:NonderivativeTradingLiabilitiesMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-06-300000895421us-gaap:SecuritiesLoanedOrSoldUnderAgreementsToRepurchaseMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-03-310000895421us-gaap:SecuritiesLoanedOrSoldUnderAgreementsToRepurchaseMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-03-310000895421us-gaap:SecuritiesLoanedOrSoldUnderAgreementsToRepurchaseMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:SecuritiesLoanedOrSoldUnderAgreementsToRepurchaseMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2022-12-310000895421us-gaap:SecuritiesLoanedOrSoldUnderAgreementsToRepurchaseMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-04-012024-06-300000895421us-gaap:SecuritiesLoanedOrSoldUnderAgreementsToRepurchaseMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-04-012023-06-300000895421us-gaap:SecuritiesLoanedOrSoldUnderAgreementsToRepurchaseMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-01-012024-06-300000895421us-gaap:SecuritiesLoanedOrSoldUnderAgreementsToRepurchaseMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-01-012023-06-300000895421us-gaap:SecuritiesLoanedOrSoldUnderAgreementsToRepurchaseMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:SecuritiesLoanedOrSoldUnderAgreementsToRepurchaseMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberms:OtherSecuredFinancingsMemberus-gaap:FairValueInputsLevel3Member2024-03-310000895421us-gaap:FairValueMeasurementsRecurringMemberms:OtherSecuredFinancingsMemberus-gaap:FairValueInputsLevel3Member2023-03-310000895421us-gaap:FairValueMeasurementsRecurringMemberms:OtherSecuredFinancingsMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:FairValueMeasurementsRecurringMemberms:OtherSecuredFinancingsMemberus-gaap:FairValueInputsLevel3Member2022-12-310000895421us-gaap:FairValueMeasurementsRecurringMemberms:OtherSecuredFinancingsMemberus-gaap:FairValueInputsLevel3Member2024-04-012024-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberms:OtherSecuredFinancingsMemberus-gaap:FairValueInputsLevel3Member2023-04-012023-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberms:OtherSecuredFinancingsMemberus-gaap:FairValueInputsLevel3Member2024-01-012024-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberms:OtherSecuredFinancingsMemberus-gaap:FairValueInputsLevel3Member2023-01-012023-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberms:OtherSecuredFinancingsMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberms:OtherSecuredFinancingsMemberus-gaap:FairValueInputsLevel3Member2023-06-300000895421us-gaap:BorrowingsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-03-310000895421us-gaap:BorrowingsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-03-310000895421us-gaap:BorrowingsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:BorrowingsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2022-12-310000895421us-gaap:BorrowingsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-04-012024-06-300000895421us-gaap:BorrowingsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-04-012023-06-300000895421us-gaap:BorrowingsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-01-012024-06-300000895421us-gaap:BorrowingsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-01-012023-06-300000895421us-gaap:BorrowingsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:BorrowingsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-04-012024-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-04-012023-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-01-012024-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-01-012023-06-300000895421ms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:ForeignGovernmentDebtSecuritiesMemberms:MeasurementInputBondPriceMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421srt:MaximumMemberms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:ForeignGovernmentDebtSecuritiesMemberms:MeasurementInputBondPriceMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421srt:WeightedAverageMemberms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:ForeignGovernmentDebtSecuritiesMemberms:MeasurementInputBondPriceMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421ms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:ForeignGovernmentDebtSecuritiesMemberms:MeasurementInputBondPriceMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421srt:MaximumMemberms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:ForeignGovernmentDebtSecuritiesMemberms:MeasurementInputBondPriceMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421srt:WeightedAverageMemberms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:ForeignGovernmentDebtSecuritiesMemberms:MeasurementInputBondPriceMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421ms:MortgageAndAssetBackedSecuritiesMemberms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputBondPriceMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421ms:MortgageAndAssetBackedSecuritiesMembersrt:MaximumMemberms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputBondPriceMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421ms:MortgageAndAssetBackedSecuritiesMembersrt:WeightedAverageMemberms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputBondPriceMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421ms:MortgageAndAssetBackedSecuritiesMemberms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputBondPriceMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421ms:MortgageAndAssetBackedSecuritiesMembersrt:MaximumMemberms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputBondPriceMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421ms:MortgageAndAssetBackedSecuritiesMembersrt:WeightedAverageMemberms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputBondPriceMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:SeniorDebtObligationsMemberms:ValuationTechniqueMarginLoanMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberms:MeasurementInputMarginLoanMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:SeniorDebtObligationsMembersrt:MaximumMemberms:ValuationTechniqueMarginLoanMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputMarginLoanMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:SeniorDebtObligationsMembersrt:WeightedAverageMemberms:ValuationTechniqueMarginLoanMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputMarginLoanMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:SeniorDebtObligationsMemberms:ValuationTechniqueMarginLoanMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberms:MeasurementInputMarginLoanMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:SeniorDebtObligationsMembersrt:MaximumMemberms:ValuationTechniqueMarginLoanMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputMarginLoanMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:SeniorDebtObligationsMembersrt:WeightedAverageMemberms:ValuationTechniqueMarginLoanMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputMarginLoanMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:SeniorDebtObligationsMemberms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberms:MeasurementInputLoanPriceMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:SeniorDebtObligationsMembersrt:MaximumMemberms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputLoanPriceMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:SeniorDebtObligationsMembersrt:WeightedAverageMemberms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputLoanPriceMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:SeniorDebtObligationsMemberms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberms:MeasurementInputLoanPriceMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:SeniorDebtObligationsMembersrt:MaximumMemberms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputLoanPriceMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:SeniorDebtObligationsMembersrt:WeightedAverageMemberms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputLoanPriceMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421ms:CorporateandOtherDebtSecuritiesMemberms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputBondPriceMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421ms:CorporateandOtherDebtSecuritiesMembersrt:MaximumMemberms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputBondPriceMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421ms:CorporateandOtherDebtSecuritiesMembersrt:WeightedAverageMemberms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputBondPriceMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421ms:CorporateandOtherDebtSecuritiesMemberms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputBondPriceMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421ms:CorporateandOtherDebtSecuritiesMembersrt:MaximumMemberms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputBondPriceMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421ms:CorporateandOtherDebtSecuritiesMembersrt:WeightedAverageMemberms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputBondPriceMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421ms:CorporateandOtherDebtSecuritiesMemberms:MeasurementInputLossGivenDefaultMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberus-gaap:ValuationTechniqueDiscountedCashFlowMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421ms:CorporateandOtherDebtSecuritiesMembersrt:MaximumMemberms:MeasurementInputLossGivenDefaultMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:ValuationTechniqueDiscountedCashFlowMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421srt:ArithmeticAverageMemberms:CorporateandOtherDebtSecuritiesMemberms:MeasurementInputLossGivenDefaultMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:ValuationTechniqueDiscountedCashFlowMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421ms:CorporateandOtherDebtSecuritiesMembersrt:MedianMemberms:MeasurementInputLossGivenDefaultMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:ValuationTechniqueDiscountedCashFlowMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421ms:CorporateandOtherDebtSecuritiesMemberms:MeasurementInputLossGivenDefaultMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberus-gaap:ValuationTechniqueDiscountedCashFlowMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421ms:CorporateandOtherDebtSecuritiesMembersrt:MaximumMemberms:MeasurementInputLossGivenDefaultMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:ValuationTechniqueDiscountedCashFlowMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421srt:ArithmeticAverageMemberms:CorporateandOtherDebtSecuritiesMemberms:MeasurementInputLossGivenDefaultMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:ValuationTechniqueDiscountedCashFlowMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421ms:CorporateandOtherDebtSecuritiesMembersrt:MedianMemberms:MeasurementInputLossGivenDefaultMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:ValuationTechniqueDiscountedCashFlowMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:MeasurementInputSharePriceMemberms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:MeasurementInputSharePriceMemberms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputWeightedAverageCostOfCapitalMembersrt:MinimumMemberus-gaap:ValuationTechniqueDiscountedCashFlowMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421srt:MaximumMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputWeightedAverageCostOfCapitalMemberus-gaap:ValuationTechniqueDiscountedCashFlowMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421srt:WeightedAverageMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputWeightedAverageCostOfCapitalMemberus-gaap:ValuationTechniqueDiscountedCashFlowMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputWeightedAverageCostOfCapitalMembersrt:MinimumMemberus-gaap:ValuationTechniqueDiscountedCashFlowMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421srt:MaximumMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputWeightedAverageCostOfCapitalMemberus-gaap:ValuationTechniqueDiscountedCashFlowMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421srt:WeightedAverageMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputWeightedAverageCostOfCapitalMemberus-gaap:ValuationTechniqueDiscountedCashFlowMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421ms:MeasurementInputExitMultipleMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberus-gaap:ValuationTechniqueDiscountedCashFlowMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421ms:MeasurementInputExitMultipleMembersrt:MaximumMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:ValuationTechniqueDiscountedCashFlowMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421ms:MeasurementInputExitMultipleMembersrt:WeightedAverageMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:ValuationTechniqueDiscountedCashFlowMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421ms:MeasurementInputExitMultipleMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberus-gaap:ValuationTechniqueDiscountedCashFlowMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421ms:MeasurementInputExitMultipleMembersrt:MaximumMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:ValuationTechniqueDiscountedCashFlowMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421ms:MeasurementInputExitMultipleMembersrt:WeightedAverageMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:ValuationTechniqueDiscountedCashFlowMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:MeasurementInputEbitdaMultipleMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:MarketApproachValuationTechniqueMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:MeasurementInputEbitdaMultipleMembersrt:WeightedAverageMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:MarketApproachValuationTechniqueMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:MeasurementInputSharePriceMemberms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:MeasurementInputSharePriceMembersrt:MaximumMemberms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:MeasurementInputSharePriceMembersrt:WeightedAverageMemberms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:MeasurementInputSharePriceMemberms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:MeasurementInputSharePriceMembersrt:MaximumMemberms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:MeasurementInputSharePriceMembersrt:WeightedAverageMemberms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:InterestRateContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:InterestRateContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:InterestRateContractMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputInterestRateVolatilitySkewMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:InterestRateContractMembersrt:MaximumMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputInterestRateVolatilitySkewMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421srt:ArithmeticAverageMemberus-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:InterestRateContractMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputInterestRateVolatilitySkewMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:InterestRateContractMembersrt:MedianMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputInterestRateVolatilitySkewMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:InterestRateContractMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputInterestRateVolatilitySkewMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:InterestRateContractMembersrt:MaximumMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputInterestRateVolatilitySkewMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421srt:ArithmeticAverageMemberus-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:InterestRateContractMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputInterestRateVolatilitySkewMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:InterestRateContractMembersrt:MedianMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputInterestRateVolatilitySkewMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:InterestRateContractMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputInterestRateCurveCorrelationMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:InterestRateContractMembersrt:MaximumMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputInterestRateCurveCorrelationMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421srt:ArithmeticAverageMemberus-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:InterestRateContractMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputInterestRateCurveCorrelationMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:InterestRateContractMembersrt:MedianMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputInterestRateCurveCorrelationMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:InterestRateContractMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputInterestRateCurveCorrelationMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:InterestRateContractMembersrt:MaximumMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputInterestRateCurveCorrelationMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421srt:ArithmeticAverageMemberus-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:InterestRateContractMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputInterestRateCurveCorrelationMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:InterestRateContractMembersrt:MedianMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputInterestRateCurveCorrelationMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421ms:BondVolatilityMeasurementInputMemberus-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:InterestRateContractMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421ms:BondVolatilityMeasurementInputMemberus-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:InterestRateContractMembersrt:MaximumMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421srt:ArithmeticAverageMemberms:BondVolatilityMeasurementInputMemberus-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:InterestRateContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421ms:BondVolatilityMeasurementInputMemberus-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:InterestRateContractMembersrt:MedianMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:InterestRateContractMemberms:MeasurementInputInflationVolatilityMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:InterestRateContractMemberms:MeasurementInputInflationVolatilityMembersrt:MaximumMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421srt:ArithmeticAverageMemberus-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:InterestRateContractMemberms:MeasurementInputInflationVolatilityMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:InterestRateContractMemberms:MeasurementInputInflationVolatilityMembersrt:MedianMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:InterestRateContractMemberms:MeasurementInputInflationVolatilityMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:InterestRateContractMemberms:MeasurementInputInflationVolatilityMembersrt:MaximumMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421srt:ArithmeticAverageMemberus-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:InterestRateContractMemberms:MeasurementInputInflationVolatilityMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:InterestRateContractMemberms:MeasurementInputInflationVolatilityMembersrt:MedianMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMember2024-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMember2023-12-310000895421us-gaap:FairValueMeasurementsRecurringMemberms:CreditDefaultSwapModelMemberms:MeasurementInputCashSyntheticBasisMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMember2024-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberms:CreditDefaultSwapModelMemberms:MeasurementInputCashSyntheticBasisMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMember2023-12-310000895421us-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputBondPriceMemberms:CreditDefaultSwapModelMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMember2024-06-300000895421srt:MaximumMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputBondPriceMemberms:CreditDefaultSwapModelMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMember2024-06-300000895421srt:WeightedAverageMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputBondPriceMemberms:CreditDefaultSwapModelMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMember2024-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputBondPriceMemberms:CreditDefaultSwapModelMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMember2023-12-310000895421srt:MaximumMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputBondPriceMemberms:CreditDefaultSwapModelMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMember2023-12-310000895421srt:WeightedAverageMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputBondPriceMemberms:CreditDefaultSwapModelMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMember2023-12-310000895421us-gaap:MeasurementInputCreditSpreadMemberus-gaap:FairValueMeasurementsRecurringMemberms:CreditDefaultSwapModelMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMember2024-06-300000895421us-gaap:MeasurementInputCreditSpreadMembersrt:MaximumMemberus-gaap:FairValueMeasurementsRecurringMemberms:CreditDefaultSwapModelMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMember2024-06-300000895421us-gaap:MeasurementInputCreditSpreadMembersrt:WeightedAverageMemberus-gaap:FairValueMeasurementsRecurringMemberms:CreditDefaultSwapModelMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMember2024-06-300000895421us-gaap:MeasurementInputCreditSpreadMemberus-gaap:FairValueMeasurementsRecurringMemberms:CreditDefaultSwapModelMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMember2023-12-310000895421us-gaap:MeasurementInputCreditSpreadMembersrt:MaximumMemberus-gaap:FairValueMeasurementsRecurringMemberms:CreditDefaultSwapModelMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMember2023-12-310000895421us-gaap:MeasurementInputCreditSpreadMembersrt:WeightedAverageMemberus-gaap:FairValueMeasurementsRecurringMemberms:CreditDefaultSwapModelMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMember2023-12-310000895421ms:MeasurementInputFundingSpreadMemberus-gaap:FairValueMeasurementsRecurringMemberms:CreditDefaultSwapModelMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMember2024-06-300000895421srt:MaximumMemberms:MeasurementInputFundingSpreadMemberus-gaap:FairValueMeasurementsRecurringMemberms:CreditDefaultSwapModelMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMember2024-06-300000895421ms:MeasurementInputFundingSpreadMembersrt:WeightedAverageMemberus-gaap:FairValueMeasurementsRecurringMemberms:CreditDefaultSwapModelMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMember2024-06-300000895421ms:MeasurementInputFundingSpreadMemberus-gaap:FairValueMeasurementsRecurringMemberms:CreditDefaultSwapModelMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMember2023-12-310000895421srt:MaximumMemberms:MeasurementInputFundingSpreadMemberus-gaap:FairValueMeasurementsRecurringMemberms:CreditDefaultSwapModelMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMember2023-12-310000895421ms:MeasurementInputFundingSpreadMembersrt:WeightedAverageMemberus-gaap:FairValueMeasurementsRecurringMemberms:CreditDefaultSwapModelMemberus-gaap:FairValueInputsLevel3Memberus-gaap:CreditRiskContractMember2023-12-310000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputInterestRateCurveMembersrt:MinimumMemberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputInterestRateCurveMemberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421srt:ArithmeticAverageMemberus-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputInterestRateCurveMemberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MedianMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputInterestRateCurveMemberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputInterestRateCurveMembersrt:MinimumMemberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputInterestRateCurveMemberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421srt:ArithmeticAverageMemberus-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputInterestRateCurveMemberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MedianMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputInterestRateCurveMemberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberus-gaap:ForeignExchangeContractMemberms:MeasurementInputForeignExchangeVolatilitySkewMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:ForeignExchangeContractMemberms:MeasurementInputForeignExchangeVolatilitySkewMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421srt:ArithmeticAverageMemberus-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:ForeignExchangeContractMemberms:MeasurementInputForeignExchangeVolatilitySkewMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MedianMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:ForeignExchangeContractMemberms:MeasurementInputForeignExchangeVolatilitySkewMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberms:MeasurementInputContingencyProbabilityMemberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputContingencyProbabilityMemberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421srt:ArithmeticAverageMemberus-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputContingencyProbabilityMemberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MedianMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputContingencyProbabilityMemberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberms:MeasurementInputContingencyProbabilityMemberus-gaap:ForeignExchangeContractMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputEquityVolatilityMemberus-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputEquityVolatilityMembersrt:MaximumMemberus-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputEquityVolatilityMembersrt:WeightedAverageMemberus-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputEquityVolatilityMemberus-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputEquityVolatilityMembersrt:MaximumMemberus-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputEquityVolatilityMembersrt:WeightedAverageMemberus-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberms:MeasurementInputEquityVolatilitySkewMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputEquityVolatilitySkewMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:WeightedAverageMemberus-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputEquityVolatilitySkewMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberms:MeasurementInputEquityVolatilitySkewMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputEquityVolatilitySkewMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:WeightedAverageMemberus-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputEquityVolatilitySkewMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputEquityCorrelationMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputEquityCorrelationMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:WeightedAverageMemberus-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputEquityCorrelationMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputEquityCorrelationMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputEquityCorrelationMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:WeightedAverageMemberus-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputEquityCorrelationMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputForeignExchangeCorrelationMember2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputForeignExchangeCorrelationMember2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:WeightedAverageMemberus-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputForeignExchangeCorrelationMember2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputForeignExchangeCorrelationMember2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputForeignExchangeCorrelationMember2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:WeightedAverageMemberus-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputForeignExchangeCorrelationMember2023-12-310000895421ms:MeasurementInputInterestRateCorrelationMemberus-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421ms:MeasurementInputInterestRateCorrelationMemberus-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421ms:MeasurementInputInterestRateCorrelationMemberus-gaap:ValuationTechniqueOptionPricingModelMembersrt:WeightedAverageMemberus-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421ms:MeasurementInputInterestRateCorrelationMemberus-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421ms:MeasurementInputInterestRateCorrelationMemberus-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421srt:ArithmeticAverageMemberms:MeasurementInputInterestRateCorrelationMemberus-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421ms:CommodityAndOtherContractsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421ms:CommodityAndOtherContractsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:CommodityAndOtherContractsMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputForwardPowerPriceMember2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberms:CommodityAndOtherContractsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputForwardPowerPriceMember2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:CommodityAndOtherContractsMembersrt:WeightedAverageMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputForwardPowerPriceMember2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:CommodityAndOtherContractsMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputForwardPowerPriceMember2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberms:CommodityAndOtherContractsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputForwardPowerPriceMember2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:CommodityAndOtherContractsMembersrt:WeightedAverageMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Memberms:MeasurementInputForwardPowerPriceMember2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:CommodityAndOtherContractsMemberms:MeasurementInputCommodityVolatilityMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberms:CommodityAndOtherContractsMemberms:MeasurementInputCommodityVolatilityMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:CommodityAndOtherContractsMembersrt:WeightedAverageMemberms:MeasurementInputCommodityVolatilityMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:CommodityAndOtherContractsMemberms:MeasurementInputCommodityVolatilityMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberms:CommodityAndOtherContractsMemberms:MeasurementInputCommodityVolatilityMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:CommodityAndOtherContractsMembersrt:WeightedAverageMemberms:MeasurementInputCommodityVolatilityMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:CommodityAndOtherContractsMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputCrossCommodityCorrelationMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberms:CommodityAndOtherContractsMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputCrossCommodityCorrelationMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:CommodityAndOtherContractsMembersrt:WeightedAverageMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputCrossCommodityCorrelationMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:CommodityAndOtherContractsMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputCrossCommodityCorrelationMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberms:CommodityAndOtherContractsMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputCrossCommodityCorrelationMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:CommodityAndOtherContractsMembersrt:WeightedAverageMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputCrossCommodityCorrelationMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421ms:MeasurementInputFundingSpreadMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberus-gaap:ValuationTechniqueDiscountedCashFlowMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421srt:MaximumMemberms:MeasurementInputFundingSpreadMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:ValuationTechniqueDiscountedCashFlowMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421srt:ArithmeticAverageMemberms:MeasurementInputFundingSpreadMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:ValuationTechniqueDiscountedCashFlowMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421srt:MedianMemberms:MeasurementInputFundingSpreadMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:ValuationTechniqueDiscountedCashFlowMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421ms:MeasurementInputFundingSpreadMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberus-gaap:ValuationTechniqueDiscountedCashFlowMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421srt:MaximumMemberms:MeasurementInputFundingSpreadMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:ValuationTechniqueDiscountedCashFlowMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421ms:MeasurementInputFundingSpreadMembersrt:WeightedAverageMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:ValuationTechniqueDiscountedCashFlowMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421ms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberms:MeasurementInputLoanPriceMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421srt:MaximumMemberms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputLoanPriceMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421srt:WeightedAverageMemberms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputLoanPriceMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421ms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberms:MeasurementInputLoanPriceMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421srt:MaximumMemberms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputLoanPriceMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421srt:WeightedAverageMemberms:ValuationTechniqueComparablePricingMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputLoanPriceMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputEquityVolatilityMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputEquityVolatilityMembersrt:MaximumMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputEquityVolatilityMembersrt:WeightedAverageMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputEquityVolatilityMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputEquityVolatilityMembersrt:MaximumMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputEquityVolatilityMembersrt:WeightedAverageMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberms:MeasurementInputEquityVolatilitySkewMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputEquityVolatilitySkewMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:WeightedAverageMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputEquityVolatilitySkewMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberms:MeasurementInputEquityVolatilitySkewMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputEquityVolatilitySkewMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:WeightedAverageMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputEquityVolatilitySkewMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputEquityCorrelationMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputEquityCorrelationMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:WeightedAverageMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputEquityCorrelationMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputEquityCorrelationMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputEquityCorrelationMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:WeightedAverageMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputEquityCorrelationMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputEquityForeignExchangeCorrelationMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputEquityForeignExchangeCorrelationMembersrt:MaximumMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputEquityForeignExchangeCorrelationMembersrt:WeightedAverageMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputEquityForeignExchangeCorrelationMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputEquityForeignExchangeCorrelationMembersrt:MaximumMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberms:MeasurementInputEquityForeignExchangeCorrelationMembersrt:WeightedAverageMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputInterestRateCurveCorrelationMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputInterestRateCurveCorrelationMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421srt:ArithmeticAverageMemberus-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputInterestRateCurveCorrelationMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MedianMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputInterestRateCurveCorrelationMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputInterestRateCurveCorrelationMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MaximumMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputInterestRateCurveCorrelationMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421srt:ArithmeticAverageMemberus-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputInterestRateCurveCorrelationMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMembersrt:MedianMemberus-gaap:FairValueMeasurementsRecurringMemberms:MeasurementInputInterestRateCurveCorrelationMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:MeasurementInputCreditSpreadMemberus-gaap:FairValueMeasurementsRecurringMembersrt:MinimumMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:MeasurementInputCreditSpreadMembersrt:MaximumMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:ValuationTechniqueOptionPricingModelMemberus-gaap:MeasurementInputCreditSpreadMembersrt:WeightedAverageMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsNonrecurringMember2024-06-300000895421us-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsNonrecurringMember2023-12-310000895421ms:ValuationTechniqueCorporateLoanModelMemberus-gaap:MeasurementInputCreditSpreadMembersrt:MinimumMemberus-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421ms:ValuationTechniqueCorporateLoanModelMemberus-gaap:MeasurementInputCreditSpreadMembersrt:MaximumMemberus-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421ms:ValuationTechniqueCorporateLoanModelMemberus-gaap:MeasurementInputCreditSpreadMembersrt:WeightedAverageMemberus-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421ms:ValuationTechniqueCorporateLoanModelMemberus-gaap:MeasurementInputCreditSpreadMembersrt:MinimumMemberus-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421ms:ValuationTechniqueCorporateLoanModelMemberus-gaap:MeasurementInputCreditSpreadMembersrt:MaximumMemberus-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421ms:ValuationTechniqueCorporateLoanModelMemberus-gaap:MeasurementInputCreditSpreadMembersrt:WeightedAverageMemberus-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421ms:ValuationTechniqueComparablePricingMembersrt:MinimumMemberms:MeasurementInputLoanPriceMemberus-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421srt:MaximumMemberms:ValuationTechniqueComparablePricingMemberms:MeasurementInputLoanPriceMemberus-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421srt:WeightedAverageMemberms:ValuationTechniqueComparablePricingMemberms:MeasurementInputLoanPriceMemberus-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421ms:ValuationTechniqueComparablePricingMembersrt:MinimumMemberms:MeasurementInputLoanPriceMemberus-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421srt:MaximumMemberms:ValuationTechniqueComparablePricingMemberms:MeasurementInputLoanPriceMemberus-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421srt:WeightedAverageMemberms:ValuationTechniqueComparablePricingMemberms:MeasurementInputLoanPriceMemberus-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:MeasurementInputCreditSpreadMemberms:ValuationTechniqueWarehouseModelMembersrt:MinimumMemberus-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:MeasurementInputCreditSpreadMembersrt:MaximumMemberms:ValuationTechniqueWarehouseModelMemberus-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:MeasurementInputCreditSpreadMembersrt:WeightedAverageMemberms:ValuationTechniqueWarehouseModelMemberus-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:MeasurementInputCreditSpreadMemberms:ValuationTechniqueWarehouseModelMembersrt:MinimumMemberus-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:MeasurementInputCreditSpreadMembersrt:MaximumMemberms:ValuationTechniqueWarehouseModelMemberus-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:MeasurementInputCreditSpreadMembersrt:WeightedAverageMemberms:ValuationTechniqueWarehouseModelMemberus-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:PrivateEquityFundsMember2024-06-300000895421us-gaap:PrivateEquityFundsMember2023-12-310000895421us-gaap:RealEstateFundsMember2024-06-300000895421us-gaap:RealEstateFundsMember2023-12-310000895421us-gaap:HedgeFundsMember2024-06-300000895421us-gaap:HedgeFundsMember2023-12-310000895421us-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsNonrecurringMember2024-06-300000895421us-gaap:FairValueMeasurementsNonrecurringMember2024-06-300000895421us-gaap:FairValueInputsLevel2Memberus-gaap:FairValueMeasurementsNonrecurringMember2023-12-310000895421us-gaap:FairValueMeasurementsNonrecurringMember2023-12-310000895421ms:LendingCommitmentMemberus-gaap:FairValueMeasurementsNonrecurringMember2024-04-012024-06-300000895421ms:LendingCommitmentMemberus-gaap:FairValueMeasurementsNonrecurringMember2023-04-012023-06-300000895421ms:LendingCommitmentMemberus-gaap:FairValueMeasurementsNonrecurringMember2024-01-012024-06-300000895421ms:LendingCommitmentMemberus-gaap:FairValueMeasurementsNonrecurringMember2023-01-012023-06-300000895421us-gaap:OtherInvestmentsMemberus-gaap:FairValueMeasurementsNonrecurringMember2024-04-012024-06-300000895421us-gaap:OtherInvestmentsMemberus-gaap:FairValueMeasurementsNonrecurringMember2023-04-012023-06-300000895421us-gaap:OtherInvestmentsMemberus-gaap:FairValueMeasurementsNonrecurringMember2024-01-012024-06-300000895421us-gaap:OtherInvestmentsMemberus-gaap:FairValueMeasurementsNonrecurringMember2023-01-012023-06-300000895421ms:PropertyPlantAndEquipmentAndCapitalizedSoftwareCostsMemberus-gaap:FairValueMeasurementsNonrecurringMember2024-04-012024-06-300000895421ms:PropertyPlantAndEquipmentAndCapitalizedSoftwareCostsMemberus-gaap:FairValueMeasurementsNonrecurringMember2023-04-012023-06-300000895421ms:PropertyPlantAndEquipmentAndCapitalizedSoftwareCostsMemberus-gaap:FairValueMeasurementsNonrecurringMember2024-01-012024-06-300000895421ms:PropertyPlantAndEquipmentAndCapitalizedSoftwareCostsMemberus-gaap:FairValueMeasurementsNonrecurringMember2023-01-012023-06-300000895421ms:RightOfUseAssetsMemberus-gaap:FairValueMeasurementsNonrecurringMember2024-04-012024-06-300000895421ms:RightOfUseAssetsMemberus-gaap:FairValueMeasurementsNonrecurringMember2023-04-012023-06-300000895421ms:RightOfUseAssetsMemberus-gaap:FairValueMeasurementsNonrecurringMember2024-01-012024-06-300000895421ms:RightOfUseAssetsMemberus-gaap:FairValueMeasurementsNonrecurringMember2023-01-012023-06-300000895421us-gaap:AssetsMemberus-gaap:FairValueMeasurementsNonrecurringMember2024-04-012024-06-300000895421us-gaap:AssetsMemberus-gaap:FairValueMeasurementsNonrecurringMember2023-04-012023-06-300000895421us-gaap:AssetsMemberus-gaap:FairValueMeasurementsNonrecurringMember2024-01-012024-06-300000895421us-gaap:AssetsMemberus-gaap:FairValueMeasurementsNonrecurringMember2023-01-012023-06-300000895421us-gaap:OtherLiabilitiesMemberus-gaap:FairValueMeasurementsNonrecurringMember2024-04-012024-06-300000895421us-gaap:OtherLiabilitiesMemberus-gaap:FairValueMeasurementsNonrecurringMember2023-04-012023-06-300000895421us-gaap:OtherLiabilitiesMemberus-gaap:FairValueMeasurementsNonrecurringMember2024-01-012024-06-300000895421us-gaap:OtherLiabilitiesMemberus-gaap:FairValueMeasurementsNonrecurringMember2023-01-012023-06-300000895421us-gaap:LiabilityMemberus-gaap:FairValueMeasurementsNonrecurringMember2024-04-012024-06-300000895421us-gaap:LiabilityMemberus-gaap:FairValueMeasurementsNonrecurringMember2023-04-012023-06-300000895421us-gaap:LiabilityMemberus-gaap:FairValueMeasurementsNonrecurringMember2024-01-012024-06-300000895421us-gaap:LiabilityMemberus-gaap:FairValueMeasurementsNonrecurringMember2023-01-012023-06-300000895421us-gaap:PortionAtOtherThanFairValueFairValueDisclosureMember2024-06-300000895421us-gaap:FairValueInputsLevel1Memberus-gaap:EstimateOfFairValueFairValueDisclosureMember2024-06-300000895421us-gaap:FairValueInputsLevel2Memberus-gaap:EstimateOfFairValueFairValueDisclosureMember2024-06-300000895421us-gaap:EstimateOfFairValueFairValueDisclosureMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:EstimateOfFairValueFairValueDisclosureMember2024-06-300000895421us-gaap:PortionAtOtherThanFairValueFairValueDisclosureMember2023-12-310000895421us-gaap:FairValueInputsLevel1Memberus-gaap:EstimateOfFairValueFairValueDisclosureMember2023-12-310000895421us-gaap:FairValueInputsLevel2Memberus-gaap:EstimateOfFairValueFairValueDisclosureMember2023-12-310000895421us-gaap:EstimateOfFairValueFairValueDisclosureMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:EstimateOfFairValueFairValueDisclosureMember2023-12-310000895421us-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMember2024-06-300000895421us-gaap:EquityContractMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:InterestRateContractMember2024-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:InterestRateContractMember2023-12-310000895421us-gaap:FairValueMeasurementsRecurringMemberms:CommodityAndOtherContractsMember2024-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberms:CommodityAndOtherContractsMember2023-12-310000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:CreditRiskContractMember2024-06-300000895421us-gaap:FairValueMeasurementsRecurringMemberus-gaap:CreditRiskContractMember2023-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:FairValueMeasurementsRecurringMember2024-06-300000895421us-gaap:ForeignExchangeContractMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000895421us-gaap:TradingRevenueMemberus-gaap:DebtMember2024-04-012024-06-300000895421us-gaap:TradingRevenueMemberus-gaap:DebtMember2023-04-012023-06-300000895421us-gaap:TradingRevenueMemberus-gaap:DebtMember2024-01-012024-06-300000895421us-gaap:TradingRevenueMemberus-gaap:DebtMember2023-01-012023-06-300000895421us-gaap:InterestExpenseMemberus-gaap:DebtMember2024-04-012024-06-300000895421us-gaap:InterestExpenseMemberus-gaap:DebtMember2023-04-012023-06-300000895421us-gaap:InterestExpenseMemberus-gaap:DebtMember2024-01-012024-06-300000895421us-gaap:InterestExpenseMemberus-gaap:DebtMember2023-01-012023-06-300000895421us-gaap:DebtMember2024-04-012024-06-300000895421us-gaap:DebtMember2023-04-012023-06-300000895421us-gaap:DebtMember2024-01-012024-06-300000895421us-gaap:DebtMember2023-01-012023-06-300000895421ms:LoansAndOtherReceivablesMemberus-gaap:TradingRevenueMember2024-04-012024-06-300000895421us-gaap:OtherComprehensiveIncomeMemberms:LoansAndOtherReceivablesMember2024-04-012024-06-300000895421ms:LoansAndOtherReceivablesMemberus-gaap:TradingRevenueMember2023-04-012023-06-300000895421us-gaap:OtherComprehensiveIncomeMemberms:LoansAndOtherReceivablesMember2023-04-012023-06-300000895421us-gaap:WrittenLoanCommitmentFairValueOptionMemberus-gaap:TradingRevenueMember2024-04-012024-06-300000895421us-gaap:WrittenLoanCommitmentFairValueOptionMemberus-gaap:OtherComprehensiveIncomeMember2024-04-012024-06-300000895421us-gaap:WrittenLoanCommitmentFairValueOptionMemberus-gaap:TradingRevenueMember2023-04-012023-06-300000895421us-gaap:WrittenLoanCommitmentFairValueOptionMemberus-gaap:OtherComprehensiveIncomeMember2023-04-012023-06-300000895421us-gaap:DepositsMemberus-gaap:TradingRevenueMember2024-04-012024-06-300000895421us-gaap:OtherComprehensiveIncomeMemberus-gaap:DepositsMember2024-04-012024-06-300000895421us-gaap:DepositsMemberus-gaap:TradingRevenueMember2023-04-012023-06-300000895421us-gaap:OtherComprehensiveIncomeMemberus-gaap:DepositsMember2023-04-012023-06-300000895421us-gaap:OtherComprehensiveIncomeMemberus-gaap:DebtMember2024-04-012024-06-300000895421us-gaap:OtherComprehensiveIncomeMemberus-gaap:DebtMember2023-04-012023-06-300000895421ms:LoansAndOtherReceivablesMemberus-gaap:TradingRevenueMember2024-01-012024-06-300000895421us-gaap:OtherComprehensiveIncomeMemberms:LoansAndOtherReceivablesMember2024-01-012024-06-300000895421ms:LoansAndOtherReceivablesMemberus-gaap:TradingRevenueMember2023-01-012023-06-300000895421us-gaap:OtherComprehensiveIncomeMemberms:LoansAndOtherReceivablesMember2023-01-012023-06-300000895421us-gaap:WrittenLoanCommitmentFairValueOptionMemberus-gaap:TradingRevenueMember2024-01-012024-06-300000895421us-gaap:WrittenLoanCommitmentFairValueOptionMemberus-gaap:OtherComprehensiveIncomeMember2024-01-012024-06-300000895421us-gaap:WrittenLoanCommitmentFairValueOptionMemberus-gaap:TradingRevenueMember2023-01-012023-06-300000895421us-gaap:WrittenLoanCommitmentFairValueOptionMemberus-gaap:OtherComprehensiveIncomeMember2023-01-012023-06-300000895421us-gaap:DepositsMemberus-gaap:TradingRevenueMember2024-01-012024-06-300000895421us-gaap:OtherComprehensiveIncomeMemberus-gaap:DepositsMember2024-01-012024-06-300000895421us-gaap:DepositsMemberus-gaap:TradingRevenueMember2023-01-012023-06-300000895421us-gaap:OtherComprehensiveIncomeMemberus-gaap:DepositsMember2023-01-012023-06-300000895421us-gaap:OtherComprehensiveIncomeMemberus-gaap:DebtMember2024-01-012024-06-300000895421us-gaap:OtherComprehensiveIncomeMemberus-gaap:DebtMember2023-01-012023-06-300000895421us-gaap:InterestRateContractMemberus-gaap:OverTheCounterMemberus-gaap:DesignatedAsHedgingInstrumentMember2024-06-300000895421us-gaap:ExchangeClearedMemberus-gaap:InterestRateContractMemberus-gaap:DesignatedAsHedgingInstrumentMember2024-06-300000895421us-gaap:InterestRateContractMemberus-gaap:ExchangeTradedMemberus-gaap:DesignatedAsHedgingInstrumentMember2024-06-300000895421us-gaap:InterestRateContractMemberus-gaap:DesignatedAsHedgingInstrumentMember2024-06-300000895421us-gaap:ForeignExchangeContractMemberus-gaap:OverTheCounterMemberus-gaap:DesignatedAsHedgingInstrumentMember2024-06-300000895421us-gaap:ForeignExchangeContractMemberus-gaap:ExchangeClearedMemberus-gaap:DesignatedAsHedgingInstrumentMember2024-06-300000895421us-gaap:ForeignExchangeContractMemberus-gaap:ExchangeTradedMemberus-gaap:DesignatedAsHedgingInstrumentMember2024-06-300000895421us-gaap:ForeignExchangeContractMemberus-gaap:DesignatedAsHedgingInstrumentMember2024-06-300000895421us-gaap:OverTheCounterMemberus-gaap:DesignatedAsHedgingInstrumentMember2024-06-300000895421us-gaap:ExchangeClearedMemberus-gaap:DesignatedAsHedgingInstrumentMember2024-06-300000895421us-gaap:ExchangeTradedMemberus-gaap:DesignatedAsHedgingInstrumentMember2024-06-300000895421us-gaap:DesignatedAsHedgingInstrumentMember2024-06-300000895421us-gaap:CreditRiskContractMemberus-gaap:NotDesignatedAsHedgingInstrumentEconomicHedgeMemberus-gaap:OverTheCounterMember2024-06-300000895421us-gaap:ExchangeClearedMemberus-gaap:CreditRiskContractMemberus-gaap:NotDesignatedAsHedgingInstrumentEconomicHedgeMember2024-06-300000895421us-gaap:CreditRiskContractMemberus-gaap:NotDesignatedAsHedgingInstrumentEconomicHedgeMemberus-gaap:ExchangeTradedMember2024-06-300000895421us-gaap:CreditRiskContractMemberus-gaap:NotDesignatedAsHedgingInstrumentEconomicHedgeMember2024-06-300000895421us-gaap:InterestRateContractMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMemberus-gaap:OverTheCounterMember2024-06-300000895421us-gaap:ExchangeClearedMemberus-gaap:InterestRateContractMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2024-06-300000895421us-gaap:InterestRateContractMemberus-gaap:ExchangeTradedMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2024-06-300000895421us-gaap:InterestRateContractMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2024-06-300000895421us-gaap:CreditRiskContractMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMemberus-gaap:OverTheCounterMember2024-06-300000895421us-gaap:ExchangeClearedMemberus-gaap:CreditRiskContractMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2024-06-300000895421us-gaap:CreditRiskContractMemberus-gaap:ExchangeTradedMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2024-06-300000895421us-gaap:CreditRiskContractMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2024-06-300000895421us-gaap:ForeignExchangeContractMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMemberus-gaap:OverTheCounterMember2024-06-300000895421us-gaap:ForeignExchangeContractMemberus-gaap:ExchangeClearedMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2024-06-300000895421us-gaap:ForeignExchangeContractMemberus-gaap:ExchangeTradedMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2024-06-300000895421us-gaap:ForeignExchangeContractMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2024-06-300000895421us-gaap:EquityContractMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMemberus-gaap:OverTheCounterMember2024-06-300000895421us-gaap:EquityContractMemberus-gaap:ExchangeClearedMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2024-06-300000895421us-gaap:EquityContractMemberus-gaap:ExchangeTradedMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2024-06-300000895421us-gaap:EquityContractMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2024-06-300000895421ms:CommodityAndOtherContractsMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMemberus-gaap:OverTheCounterMember2024-06-300000895421us-gaap:ExchangeClearedMemberms:CommodityAndOtherContractsMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2024-06-300000895421us-gaap:ExchangeTradedMemberms:CommodityAndOtherContractsMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2024-06-300000895421ms:CommodityAndOtherContractsMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2024-06-300000895421us-gaap:NondesignatedMemberus-gaap:OverTheCounterMember2024-06-300000895421us-gaap:ExchangeClearedMemberus-gaap:NondesignatedMember2024-06-300000895421us-gaap:NondesignatedMemberus-gaap:ExchangeTradedMember2024-06-300000895421us-gaap:NondesignatedMember2024-06-300000895421us-gaap:OverTheCounterMember2024-06-300000895421us-gaap:ExchangeClearedMember2024-06-300000895421us-gaap:ExchangeTradedMember2024-06-300000895421us-gaap:InterestRateContractMemberus-gaap:OverTheCounterMemberus-gaap:DesignatedAsHedgingInstrumentMember2023-12-310000895421us-gaap:ExchangeClearedMemberus-gaap:InterestRateContractMemberus-gaap:DesignatedAsHedgingInstrumentMember2023-12-310000895421us-gaap:InterestRateContractMemberus-gaap:ExchangeTradedMemberus-gaap:DesignatedAsHedgingInstrumentMember2023-12-310000895421us-gaap:InterestRateContractMemberus-gaap:DesignatedAsHedgingInstrumentMember2023-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:OverTheCounterMemberus-gaap:DesignatedAsHedgingInstrumentMember2023-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:ExchangeClearedMemberus-gaap:DesignatedAsHedgingInstrumentMember2023-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:ExchangeTradedMemberus-gaap:DesignatedAsHedgingInstrumentMember2023-12-310000895421us-gaap:ForeignExchangeContractMemberus-gaap:DesignatedAsHedgingInstrumentMember2023-12-310000895421us-gaap:OverTheCounterMemberus-gaap:DesignatedAsHedgingInstrumentMember2023-12-310000895421us-gaap:ExchangeClearedMemberus-gaap:DesignatedAsHedgingInstrumentMember2023-12-310000895421us-gaap:ExchangeTradedMemberus-gaap:DesignatedAsHedgingInstrumentMember2023-12-310000895421us-gaap:DesignatedAsHedgingInstrumentMember2023-12-310000895421us-gaap:CreditRiskContractMemberus-gaap:NotDesignatedAsHedgingInstrumentEconomicHedgeMemberus-gaap:OverTheCounterMember2023-12-310000895421us-gaap:ExchangeClearedMemberus-gaap:CreditRiskContractMemberus-gaap:NotDesignatedAsHedgingInstrumentEconomicHedgeMember2023-12-310000895421us-gaap:CreditRiskContractMemberus-gaap:NotDesignatedAsHedgingInstrumentEconomicHedgeMemberus-gaap:ExchangeTradedMember2023-12-310000895421us-gaap:CreditRiskContractMemberus-gaap:NotDesignatedAsHedgingInstrumentEconomicHedgeMember2023-12-310000895421us-gaap:InterestRateContractMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMemberus-gaap:OverTheCounterMember2023-12-310000895421us-gaap:ExchangeClearedMemberus-gaap:InterestRateContractMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2023-12-310000895421us-gaap:InterestRateContractMemberus-gaap:ExchangeTradedMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2023-12-310000895421us-gaap:InterestRateContractMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2023-12-310000895421us-gaap:CreditRiskContractMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMemberus-gaap:OverTheCounterMember2023-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:NotDesignatedAsHedgingInstrumentTradingMemberus-gaap:OverTheCounterMember2023-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:NotDesignatedAsHedgingInstrumentTradingMemberus-gaap:OverTheCounterMember2023-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:NotDesignatedAsHedgingInstrumentTradingMemberus-gaap:OverTheCounterMember2023-12-310000895421us-gaap:ExchangeClearedMemberms:CommodityAndOtherContractsMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2023-12-310000895421us-gaap:ExchangeTradedMemberms:CommodityAndOtherContractsMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2023-12-310000895421ms:CommodityAndOtherContractsMemberus-gaap:NotDesignatedAsHedgingInstrumentTradingMember2023-12-310000895421us-gaap:NondesignatedMemberus-gaap:OverTheCounterMember2023-12-310000895421us-gaap:ExchangeClearedMemberus-gaap:NondesignatedMember2023-12-310000895421us-gaap:NondesignatedMemberus-gaap:ExchangeTradedMember2023-12-310000895421us-gaap:NondesignatedMember2023-12-310000895421us-gaap:OverTheCounterMember2023-12-310000895421us-gaap:ExchangeClearedMember2023-12-310000895421us-gaap:ExchangeTradedMember2023-12-310000895421us-gaap:FairValueHedgingMemberus-gaap:InterestRateContractMemberus-gaap:InterestIncomeMember2024-04-012024-06-300000895421us-gaap:FairValueHedgingMemberus-gaap:InterestRateContractMemberus-gaap:InterestIncomeMember2023-04-012023-06-300000895421us-gaap:FairValueHedgingMemberus-gaap:InterestRateContractMemberus-gaap:InterestIncomeMember2024-01-012024-06-300000895421us-gaap:FairValueHedgingMemberus-gaap:InterestRateContractMemberus-gaap:InterestIncomeMember2023-01-012023-06-300000895421us-gaap:FairValueHedgingMemberms:DebtSecuritiesAvailableForSaleMemberus-gaap:InterestIncomeMember2024-04-012024-06-300000895421us-gaap:FairValueHedgingMemberms:DebtSecuritiesAvailableForSaleMemberus-gaap:InterestIncomeMember2023-04-012023-06-300000895421us-gaap:FairValueHedgingMemberms:DebtSecuritiesAvailableForSaleMemberus-gaap:InterestIncomeMember2024-01-012024-06-300000895421us-gaap:FairValueHedgingMemberms:DebtSecuritiesAvailableForSaleMemberus-gaap:InterestIncomeMember2023-01-012023-06-300000895421us-gaap:FairValueHedgingMemberus-gaap:InterestRateContractMemberus-gaap:InterestExpenseMember2024-04-012024-06-300000895421us-gaap:FairValueHedgingMemberus-gaap:InterestRateContractMemberus-gaap:InterestExpenseMember2023-04-012023-06-300000895421us-gaap:FairValueHedgingMemberus-gaap:InterestRateContractMemberus-gaap:InterestExpenseMember2024-01-012024-06-300000895421us-gaap:FairValueHedgingMemberus-gaap:InterestRateContractMemberus-gaap:InterestExpenseMember2023-01-012023-06-300000895421us-gaap:DepositsMemberus-gaap:FairValueHedgingMemberus-gaap:InterestExpenseMember2024-04-012024-06-300000895421us-gaap:DepositsMemberus-gaap:FairValueHedgingMemberus-gaap:InterestExpenseMember2023-04-012023-06-300000895421us-gaap:DepositsMemberus-gaap:FairValueHedgingMemberus-gaap:InterestExpenseMember2024-01-012024-06-300000895421us-gaap:DepositsMemberus-gaap:FairValueHedgingMemberus-gaap:InterestExpenseMember2023-01-012023-06-300000895421us-gaap:FairValueHedgingMemberus-gaap:BorrowingsMemberus-gaap:InterestExpenseMember2024-04-012024-06-300000895421us-gaap:FairValueHedgingMemberus-gaap:BorrowingsMemberus-gaap:InterestExpenseMember2023-04-012023-06-300000895421us-gaap:FairValueHedgingMemberus-gaap:BorrowingsMemberus-gaap:InterestExpenseMember2024-01-012024-06-300000895421us-gaap:FairValueHedgingMemberus-gaap:BorrowingsMemberus-gaap:InterestExpenseMember2023-01-012023-06-300000895421us-gaap:ForeignExchangeContractMemberus-gaap:NetInvestmentHedgingMember2024-04-012024-06-300000895421us-gaap:ForeignExchangeContractMemberus-gaap:NetInvestmentHedgingMember2023-04-012023-06-300000895421us-gaap:ForeignExchangeContractMemberus-gaap:NetInvestmentHedgingMember2024-01-012024-06-300000895421us-gaap:ForeignExchangeContractMemberus-gaap:NetInvestmentHedgingMember2023-01-012023-06-300000895421ms:DebtSecuritiesAvailableForSaleMember2024-06-300000895421ms:DebtSecuritiesAvailableForSaleMember2023-12-310000895421us-gaap:DepositsMember2024-06-300000895421us-gaap:DepositsMember2023-12-310000895421us-gaap:BorrowingsMember2024-06-300000895421us-gaap:BorrowingsMember2023-12-310000895421us-gaap:CreditRiskContractMemberus-gaap:NotDesignatedAsHedgingInstrumentEconomicHedgeMember2024-04-012024-06-300000895421us-gaap:CreditRiskContractMemberus-gaap:NotDesignatedAsHedgingInstrumentEconomicHedgeMember2023-04-012023-06-300000895421us-gaap:CreditRiskContractMemberus-gaap:NotDesignatedAsHedgingInstrumentEconomicHedgeMember2024-01-012024-06-300000895421us-gaap:CreditRiskContractMemberus-gaap:NotDesignatedAsHedgingInstrumentEconomicHedgeMember2023-01-012023-06-300000895421ms:DerivativeCreditRiskRelatedContingentFeaturesTriggeringCircumstancesOneNotchCreditRatingDowngradeMember2024-06-300000895421ms:DerivativeCreditRiskRelatedContingentFeaturestriggeringCircumstancesTwoNotchCreditRatingDowngradeMember2024-06-300000895421us-gaap:CollaborativeArrangementMember2024-06-300000895421ms:LessThanTwelveMonthsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberus-gaap:InternalInvestmentGradeMemberms:SingleNameCreditDefaultSwapMember2024-06-300000895421ms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberus-gaap:InternalInvestmentGradeMemberms:SingleNameCreditDefaultSwapMember2024-06-300000895421ms:CreditDerivativesSellingProtectionMemberms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberus-gaap:InternalInvestmentGradeMemberms:SingleNameCreditDefaultSwapMember2024-06-300000895421ms:CreditDerivativesSellingProtectionMemberms:MoreThanFiveYearsFromBalanceSheetDateMemberus-gaap:InternalInvestmentGradeMemberms:SingleNameCreditDefaultSwapMember2024-06-300000895421ms:CreditDerivativesSellingProtectionMemberus-gaap:InternalInvestmentGradeMemberms:SingleNameCreditDefaultSwapMember2024-06-300000895421ms:LessThanTwelveMonthsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberus-gaap:InternalNoninvestmentGradeMemberms:SingleNameCreditDefaultSwapMember2024-06-300000895421ms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberus-gaap:InternalNoninvestmentGradeMemberms:SingleNameCreditDefaultSwapMember2024-06-300000895421ms:CreditDerivativesSellingProtectionMemberms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberus-gaap:InternalNoninvestmentGradeMemberms:SingleNameCreditDefaultSwapMember2024-06-300000895421ms:CreditDerivativesSellingProtectionMemberms:MoreThanFiveYearsFromBalanceSheetDateMemberus-gaap:InternalNoninvestmentGradeMemberms:SingleNameCreditDefaultSwapMember2024-06-300000895421ms:CreditDerivativesSellingProtectionMemberus-gaap:InternalNoninvestmentGradeMemberms:SingleNameCreditDefaultSwapMember2024-06-300000895421ms:LessThanTwelveMonthsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberms:SingleNameCreditDefaultSwapMember2024-06-300000895421ms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberms:SingleNameCreditDefaultSwapMember2024-06-300000895421ms:CreditDerivativesSellingProtectionMemberms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberms:SingleNameCreditDefaultSwapMember2024-06-300000895421ms:CreditDerivativesSellingProtectionMemberms:MoreThanFiveYearsFromBalanceSheetDateMemberms:SingleNameCreditDefaultSwapMember2024-06-300000895421ms:CreditDerivativesSellingProtectionMemberms:SingleNameCreditDefaultSwapMember2024-06-300000895421ms:TotalIndexAndBasketCreditDefaultSwapsMemberms:LessThanTwelveMonthsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberus-gaap:InternalInvestmentGradeMember2024-06-300000895421ms:TotalIndexAndBasketCreditDefaultSwapsMemberms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberus-gaap:InternalInvestmentGradeMember2024-06-300000895421ms:TotalIndexAndBasketCreditDefaultSwapsMemberms:CreditDerivativesSellingProtectionMemberms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberus-gaap:InternalInvestmentGradeMember2024-06-300000895421ms:TotalIndexAndBasketCreditDefaultSwapsMemberms:CreditDerivativesSellingProtectionMemberms:MoreThanFiveYearsFromBalanceSheetDateMemberus-gaap:InternalInvestmentGradeMember2024-06-300000895421ms:TotalIndexAndBasketCreditDefaultSwapsMemberms:CreditDerivativesSellingProtectionMemberus-gaap:InternalInvestmentGradeMember2024-06-300000895421ms:TotalIndexAndBasketCreditDefaultSwapsMemberms:LessThanTwelveMonthsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberus-gaap:InternalNoninvestmentGradeMember2024-06-300000895421ms:TotalIndexAndBasketCreditDefaultSwapsMemberms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberus-gaap:InternalNoninvestmentGradeMember2024-06-300000895421ms:TotalIndexAndBasketCreditDefaultSwapsMemberms:CreditDerivativesSellingProtectionMemberms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberus-gaap:InternalNoninvestmentGradeMember2024-06-300000895421ms:TotalIndexAndBasketCreditDefaultSwapsMemberms:CreditDerivativesSellingProtectionMemberms:MoreThanFiveYearsFromBalanceSheetDateMemberus-gaap:InternalNoninvestmentGradeMember2024-06-300000895421ms:TotalIndexAndBasketCreditDefaultSwapsMemberms:CreditDerivativesSellingProtectionMemberus-gaap:InternalNoninvestmentGradeMember2024-06-300000895421ms:TotalIndexAndBasketCreditDefaultSwapsMemberms:LessThanTwelveMonthsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMember2024-06-300000895421ms:TotalIndexAndBasketCreditDefaultSwapsMemberms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMember2024-06-300000895421ms:TotalIndexAndBasketCreditDefaultSwapsMemberms:CreditDerivativesSellingProtectionMemberms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMember2024-06-300000895421ms:TotalIndexAndBasketCreditDefaultSwapsMemberms:CreditDerivativesSellingProtectionMemberms:MoreThanFiveYearsFromBalanceSheetDateMember2024-06-300000895421ms:TotalIndexAndBasketCreditDefaultSwapsMemberms:CreditDerivativesSellingProtectionMember2024-06-300000895421ms:LessThanTwelveMonthsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberus-gaap:CreditDefaultSwapMember2024-06-300000895421ms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberus-gaap:CreditDefaultSwapMember2024-06-300000895421ms:CreditDerivativesSellingProtectionMemberms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberus-gaap:CreditDefaultSwapMember2024-06-300000895421ms:CreditDerivativesSellingProtectionMemberms:MoreThanFiveYearsFromBalanceSheetDateMemberus-gaap:CreditDefaultSwapMember2024-06-300000895421ms:CreditDerivativesSellingProtectionMemberus-gaap:CreditDefaultSwapMember2024-06-300000895421ms:LessThanTwelveMonthsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberus-gaap:OtherCreditDerivativesMember2024-06-300000895421ms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberus-gaap:OtherCreditDerivativesMember2024-06-300000895421ms:CreditDerivativesSellingProtectionMemberms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberus-gaap:OtherCreditDerivativesMember2024-06-300000895421ms:CreditDerivativesSellingProtectionMemberms:MoreThanFiveYearsFromBalanceSheetDateMemberus-gaap:OtherCreditDerivativesMember2024-06-300000895421ms:CreditDerivativesSellingProtectionMemberus-gaap:OtherCreditDerivativesMember2024-06-300000895421ms:LessThanTwelveMonthsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMember2024-06-300000895421ms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMember2024-06-300000895421ms:CreditDerivativesSellingProtectionMemberms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMember2024-06-300000895421ms:CreditDerivativesSellingProtectionMemberms:MoreThanFiveYearsFromBalanceSheetDateMember2024-06-300000895421ms:CreditDerivativesSellingProtectionMember2024-06-300000895421ms:LessThanTwelveMonthsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberus-gaap:InternalInvestmentGradeMemberms:SingleNameCreditDefaultSwapMember2023-12-310000895421ms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberus-gaap:InternalInvestmentGradeMemberms:SingleNameCreditDefaultSwapMember2023-12-310000895421ms:CreditDerivativesSellingProtectionMemberms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberus-gaap:InternalInvestmentGradeMemberms:SingleNameCreditDefaultSwapMember2023-12-310000895421ms:CreditDerivativesSellingProtectionMemberms:MoreThanFiveYearsFromBalanceSheetDateMemberus-gaap:InternalInvestmentGradeMemberms:SingleNameCreditDefaultSwapMember2023-12-310000895421ms:CreditDerivativesSellingProtectionMemberus-gaap:InternalInvestmentGradeMemberms:SingleNameCreditDefaultSwapMember2023-12-310000895421ms:LessThanTwelveMonthsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberus-gaap:InternalNoninvestmentGradeMemberms:SingleNameCreditDefaultSwapMember2023-12-310000895421ms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberus-gaap:InternalNoninvestmentGradeMemberms:SingleNameCreditDefaultSwapMember2023-12-310000895421ms:CreditDerivativesSellingProtectionMemberms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberus-gaap:InternalNoninvestmentGradeMemberms:SingleNameCreditDefaultSwapMember2023-12-310000895421ms:CreditDerivativesSellingProtectionMemberms:MoreThanFiveYearsFromBalanceSheetDateMemberus-gaap:InternalNoninvestmentGradeMemberms:SingleNameCreditDefaultSwapMember2023-12-310000895421ms:CreditDerivativesSellingProtectionMemberus-gaap:InternalNoninvestmentGradeMemberms:SingleNameCreditDefaultSwapMember2023-12-310000895421ms:LessThanTwelveMonthsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberms:SingleNameCreditDefaultSwapMember2023-12-310000895421ms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberms:SingleNameCreditDefaultSwapMember2023-12-310000895421ms:CreditDerivativesSellingProtectionMemberms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberms:SingleNameCreditDefaultSwapMember2023-12-310000895421ms:CreditDerivativesSellingProtectionMemberms:MoreThanFiveYearsFromBalanceSheetDateMemberms:SingleNameCreditDefaultSwapMember2023-12-310000895421ms:CreditDerivativesSellingProtectionMemberms:SingleNameCreditDefaultSwapMember2023-12-310000895421ms:TotalIndexAndBasketCreditDefaultSwapsMemberms:LessThanTwelveMonthsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberus-gaap:InternalInvestmentGradeMember2023-12-310000895421ms:TotalIndexAndBasketCreditDefaultSwapsMemberms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberus-gaap:InternalInvestmentGradeMember2023-12-310000895421ms:TotalIndexAndBasketCreditDefaultSwapsMemberms:CreditDerivativesSellingProtectionMemberms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberus-gaap:InternalInvestmentGradeMember2023-12-310000895421ms:TotalIndexAndBasketCreditDefaultSwapsMemberms:CreditDerivativesSellingProtectionMemberms:MoreThanFiveYearsFromBalanceSheetDateMemberus-gaap:InternalInvestmentGradeMember2023-12-310000895421ms:TotalIndexAndBasketCreditDefaultSwapsMemberms:CreditDerivativesSellingProtectionMemberus-gaap:InternalInvestmentGradeMember2023-12-310000895421ms:TotalIndexAndBasketCreditDefaultSwapsMemberms:LessThanTwelveMonthsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberus-gaap:InternalNoninvestmentGradeMember2023-12-310000895421ms:TotalIndexAndBasketCreditDefaultSwapsMemberms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberus-gaap:InternalNoninvestmentGradeMember2023-12-310000895421ms:TotalIndexAndBasketCreditDefaultSwapsMemberms:CreditDerivativesSellingProtectionMemberms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberus-gaap:InternalNoninvestmentGradeMember2023-12-310000895421ms:TotalIndexAndBasketCreditDefaultSwapsMemberms:CreditDerivativesSellingProtectionMemberms:MoreThanFiveYearsFromBalanceSheetDateMemberus-gaap:InternalNoninvestmentGradeMember2023-12-310000895421ms:TotalIndexAndBasketCreditDefaultSwapsMemberms:CreditDerivativesSellingProtectionMemberus-gaap:InternalNoninvestmentGradeMember2023-12-310000895421ms:TotalIndexAndBasketCreditDefaultSwapsMemberms:LessThanTwelveMonthsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMember2023-12-310000895421ms:TotalIndexAndBasketCreditDefaultSwapsMemberms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMember2023-12-310000895421ms:TotalIndexAndBasketCreditDefaultSwapsMemberms:CreditDerivativesSellingProtectionMemberms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMember2023-12-310000895421ms:TotalIndexAndBasketCreditDefaultSwapsMemberms:CreditDerivativesSellingProtectionMemberms:MoreThanFiveYearsFromBalanceSheetDateMember2023-12-310000895421ms:TotalIndexAndBasketCreditDefaultSwapsMemberms:CreditDerivativesSellingProtectionMember2023-12-310000895421ms:LessThanTwelveMonthsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberus-gaap:CreditDefaultSwapMember2023-12-310000895421ms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberus-gaap:CreditDefaultSwapMember2023-12-310000895421ms:CreditDerivativesSellingProtectionMemberms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberus-gaap:CreditDefaultSwapMember2023-12-310000895421ms:CreditDerivativesSellingProtectionMemberms:MoreThanFiveYearsFromBalanceSheetDateMemberus-gaap:CreditDefaultSwapMember2023-12-310000895421ms:CreditDerivativesSellingProtectionMemberus-gaap:CreditDefaultSwapMember2023-12-310000895421ms:LessThanTwelveMonthsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberus-gaap:OtherCreditDerivativesMember2023-12-310000895421ms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMemberus-gaap:OtherCreditDerivativesMember2023-12-310000895421ms:CreditDerivativesSellingProtectionMemberms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberus-gaap:OtherCreditDerivativesMember2023-12-310000895421ms:CreditDerivativesSellingProtectionMemberms:MoreThanFiveYearsFromBalanceSheetDateMemberus-gaap:OtherCreditDerivativesMember2023-12-310000895421ms:CreditDerivativesSellingProtectionMemberus-gaap:OtherCreditDerivativesMember2023-12-310000895421ms:LessThanTwelveMonthsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMember2023-12-310000895421ms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMemberms:CreditDerivativesSellingProtectionMember2023-12-310000895421ms:CreditDerivativesSellingProtectionMemberms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMember2023-12-310000895421ms:CreditDerivativesSellingProtectionMemberms:MoreThanFiveYearsFromBalanceSheetDateMember2023-12-310000895421ms:CreditDerivativesSellingProtectionMember2023-12-310000895421us-gaap:CreditDefaultSwapBuyingProtectionMemberms:SingleNameCreditDefaultSwapMember2024-06-300000895421us-gaap:CreditDefaultSwapBuyingProtectionMemberms:SingleNameCreditDefaultSwapMember2023-12-310000895421us-gaap:CreditDefaultSwapBuyingProtectionMemberms:IndexAndBasketCreditDefaultSwapMember2024-06-300000895421us-gaap:CreditDefaultSwapBuyingProtectionMemberms:IndexAndBasketCreditDefaultSwapMember2023-12-310000895421us-gaap:CreditDefaultSwapBuyingProtectionMemberms:TranchedIndexAndBasketCreditDefaultSwapMember2024-06-300000895421us-gaap:CreditDefaultSwapBuyingProtectionMemberms:TranchedIndexAndBasketCreditDefaultSwapMember2023-12-310000895421us-gaap:CreditDefaultSwapBuyingProtectionMember2024-06-300000895421us-gaap:CreditDefaultSwapBuyingProtectionMember2023-12-310000895421us-gaap:CreditDefaultSwapBuyingProtectionMemberus-gaap:CreditDefaultSwapMember2024-06-300000895421us-gaap:CreditDefaultSwapBuyingProtectionMemberus-gaap:CreditDefaultSwapMember2023-12-310000895421us-gaap:USTreasurySecuritiesMember2024-06-300000895421us-gaap:USGovernmentAgenciesDebtSecuritiesMember2024-06-300000895421us-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember2024-06-300000895421us-gaap:USStatesAndPoliticalSubdivisionsMember2024-06-300000895421ms:AssetBackedSecuritiesFederalFamilyEducationLoanProgramMember2024-06-300000895421us-gaap:MortgageBackedSecuritiesIssuedByPrivateEnterprisesMember2024-06-300000895421us-gaap:USTreasurySecuritiesMember2023-12-310000895421us-gaap:USGovernmentAgenciesDebtSecuritiesMember2023-12-310000895421us-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember2023-12-310000895421us-gaap:USStatesAndPoliticalSubdivisionsMember2023-12-310000895421ms:AssetBackedSecuritiesFederalFamilyEducationLoanProgramMember2023-12-310000895421us-gaap:MortgageBackedSecuritiesIssuedByPrivateEnterprisesMember2023-12-310000895421us-gaap:USTreasurySecuritiesMember2024-01-012024-06-300000895421us-gaap:USGovernmentAgenciesDebtSecuritiesMember2024-01-012024-06-300000895421us-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember2024-01-012024-06-300000895421us-gaap:USStatesAndPoliticalSubdivisionsMember2024-01-012024-06-300000895421ms:AssetBackedSecuritiesFederalFamilyEducationLoanProgramMember2024-01-012024-06-300000895421us-gaap:MortgageBackedSecuritiesIssuedByPrivateEnterprisesMember2024-01-012024-06-300000895421us-gaap:MaturityOvernightMember2024-06-300000895421us-gaap:MaturityUpTo30DaysMember2024-06-300000895421us-gaap:Maturity30To90DaysMember2024-06-300000895421us-gaap:MaturityOver90DaysMember2024-06-300000895421us-gaap:MaturityOvernightMember2023-12-310000895421us-gaap:MaturityUpTo30DaysMember2023-12-310000895421us-gaap:Maturity30To90DaysMember2023-12-310000895421us-gaap:MaturityOver90DaysMember2023-12-310000895421us-gaap:USTreasuryAndGovernmentMember2024-06-300000895421us-gaap:USTreasuryAndGovernmentMember2023-12-310000895421us-gaap:ForeignGovernmentDebtSecuritiesMember2024-06-300000895421us-gaap:ForeignGovernmentDebtSecuritiesMember2023-12-310000895421ms:CorporateEquitiesMember2024-06-300000895421ms:CorporateEquitiesMember2023-12-310000895421us-gaap:CollateralizedSecuritiesOtherMember2024-06-300000895421us-gaap:CollateralizedSecuritiesOtherMember2023-12-310000895421us-gaap:AssetPledgedAsCollateralWithoutRightMember2024-06-300000895421us-gaap:AssetPledgedAsCollateralWithoutRightMember2023-12-310000895421us-gaap:CommercialPortfolioSegmentMember2024-06-300000895421ms:SecuredLendingFacilitiesMember2024-06-300000895421us-gaap:CommercialRealEstatePortfolioSegmentMember2024-06-300000895421us-gaap:ResidentialPortfolioSegmentMember2024-06-300000895421ms:SecuritiesBasedLendingandOtherLoansMember2024-06-300000895421us-gaap:GeographicDistributionForeignMember2024-06-300000895421us-gaap:CommercialPortfolioSegmentMember2023-12-310000895421ms:SecuredLendingFacilitiesMember2023-12-310000895421us-gaap:CommercialRealEstatePortfolioSegmentMember2023-12-310000895421us-gaap:ResidentialPortfolioSegmentMember2023-12-310000895421ms:SecuritiesBasedLendingandOtherLoansMember2023-12-310000895421us-gaap:GeographicDistributionForeignMember2023-12-310000895421us-gaap:CommercialPortfolioSegmentMemberus-gaap:InternalInvestmentGradeMember2024-06-300000895421us-gaap:CommercialPortfolioSegmentMemberus-gaap:InternalNoninvestmentGradeMember2024-06-300000895421us-gaap:CommercialPortfolioSegmentMemberus-gaap:InternalInvestmentGradeMember2023-12-310000895421us-gaap:CommercialPortfolioSegmentMemberus-gaap:InternalNoninvestmentGradeMember2023-12-310000895421ms:SecuredLendingFacilitiesMemberus-gaap:InternalInvestmentGradeMember2024-06-300000895421ms:SecuredLendingFacilitiesMemberus-gaap:InternalNoninvestmentGradeMember2024-06-300000895421ms:SecuredLendingFacilitiesMemberus-gaap:InternalInvestmentGradeMember2023-12-310000895421ms:SecuredLendingFacilitiesMemberus-gaap:InternalNoninvestmentGradeMember2023-12-310000895421us-gaap:InternalInvestmentGradeMemberus-gaap:CommercialRealEstatePortfolioSegmentMember2024-06-300000895421us-gaap:InternalNoninvestmentGradeMemberus-gaap:CommercialRealEstatePortfolioSegmentMember2024-06-300000895421us-gaap:InternalInvestmentGradeMemberus-gaap:CommercialRealEstatePortfolioSegmentMember2023-12-310000895421us-gaap:InternalNoninvestmentGradeMemberus-gaap:CommercialRealEstatePortfolioSegmentMember2023-12-310000895421us-gaap:ResidentialPortfolioSegmentMemberms:FICOScoreGreaterthanorEqualto740Member2024-06-300000895421us-gaap:ResidentialPortfolioSegmentMemberms:FICOScoreBetween680and739Member2024-06-300000895421us-gaap:ResidentialPortfolioSegmentMemberms:FICOScoreLessthan680Member2024-06-300000895421ms:DebttoValueRatioLessthanorEqualto80PercentMemberus-gaap:ResidentialPortfolioSegmentMember2024-06-300000895421us-gaap:ResidentialPortfolioSegmentMemberms:DebttoValueRatioGreaterthan80PercentMember2024-06-300000895421us-gaap:ResidentialPortfolioSegmentMemberms:FICOScoreGreaterthanorEqualto740Member2023-12-310000895421us-gaap:ResidentialPortfolioSegmentMemberms:FICOScoreBetween680and739Member2023-12-310000895421us-gaap:ResidentialPortfolioSegmentMemberms:FICOScoreLessthan680Member2023-12-310000895421ms:DebttoValueRatioLessthanorEqualto80PercentMemberus-gaap:ResidentialPortfolioSegmentMember2023-12-310000895421us-gaap:ResidentialPortfolioSegmentMemberms:DebttoValueRatioGreaterthan80PercentMember2023-12-310000895421ms:SecuritiesBasedLendingMember2024-06-300000895421ms:OtherLoansMemberus-gaap:InternalInvestmentGradeMember2024-06-300000895421ms:OtherLoansMemberus-gaap:InternalNoninvestmentGradeMember2024-06-300000895421ms:SecuritiesBasedLendingMember2023-12-310000895421ms:OtherLoansMemberus-gaap:InternalInvestmentGradeMember2023-12-310000895421ms:OtherLoansMemberus-gaap:InternalNoninvestmentGradeMember2023-12-310000895421us-gaap:CommercialPortfolioSegmentMemberms:FinancialAssetPastDueMinusCurrentMember2024-06-300000895421us-gaap:CommercialPortfolioSegmentMemberms:FinancialAssetPastDueMinusCurrentMember2023-12-310000895421us-gaap:CommercialRealEstatePortfolioSegmentMemberms:FinancialAssetPastDueMinusCurrentMember2024-06-300000895421us-gaap:CommercialRealEstatePortfolioSegmentMemberms:FinancialAssetPastDueMinusCurrentMember2023-12-310000895421us-gaap:ResidentialPortfolioSegmentMemberms:FinancialAssetPastDueMinusCurrentMember2024-06-300000895421us-gaap:ResidentialPortfolioSegmentMemberms:FinancialAssetPastDueMinusCurrentMember2023-12-310000895421ms:SecuritiesBasedLendingandOtherLoansMemberms:FinancialAssetPastDueMinusCurrentMember2024-06-300000895421ms:SecuritiesBasedLendingandOtherLoansMemberms:FinancialAssetPastDueMinusCurrentMember2023-12-310000895421ms:FinancialAssetPastDueMinusCurrentMember2024-06-300000895421ms:FinancialAssetPastDueMinusCurrentMember2023-12-310000895421us-gaap:ExtendedMaturityMemberus-gaap:CommercialPortfolioSegmentMember2024-04-012024-06-300000895421us-gaap:ExtendedMaturityMemberus-gaap:CommercialPortfolioSegmentMember2023-04-012023-06-300000895421ms:SecuredLendingFacilitiesMemberus-gaap:ExtendedMaturityMember2024-04-012024-06-300000895421ms:SecuredLendingFacilitiesMemberus-gaap:ExtendedMaturityMember2023-04-012023-06-300000895421us-gaap:ExtendedMaturityMemberus-gaap:CommercialRealEstatePortfolioSegmentMember2024-04-012024-06-300000895421us-gaap:ExtendedMaturityMemberus-gaap:CommercialRealEstatePortfolioSegmentMember2023-04-012023-06-300000895421ms:SecuritiesBasedLendingandOtherLoansMemberus-gaap:ExtendedMaturityMember2024-04-012024-06-300000895421ms:SecuritiesBasedLendingandOtherLoansMemberus-gaap:ExtendedMaturityMember2023-04-012023-06-300000895421us-gaap:ExtendedMaturityMember2024-04-012024-06-300000895421us-gaap:ExtendedMaturityMember2023-04-012023-06-300000895421ms:ExtendedMaturityAndPaymentDeferralMemberus-gaap:CommercialRealEstatePortfolioSegmentMember2024-04-012024-06-300000895421ms:ExtendedMaturityAndPaymentDeferralMemberus-gaap:CommercialRealEstatePortfolioSegmentMember2023-04-012023-06-300000895421us-gaap:ResidentialPortfolioSegmentMemberms:ExtendedMaturityAndPaymentDeferralMember2024-04-012024-06-300000895421us-gaap:ResidentialPortfolioSegmentMemberms:ExtendedMaturityAndPaymentDeferralMember2023-04-012023-06-300000895421ms:ExtendedMaturityAndPaymentDeferralMember2024-04-012024-06-300000895421ms:ExtendedMaturityAndPaymentDeferralMember2023-04-012023-06-300000895421us-gaap:ExtendedMaturityMemberus-gaap:CommercialPortfolioSegmentMember2024-01-012024-06-300000895421us-gaap:ExtendedMaturityMemberus-gaap:CommercialPortfolioSegmentMember2023-01-012023-06-300000895421ms:SecuredLendingFacilitiesMemberus-gaap:ExtendedMaturityMember2024-01-012024-06-300000895421ms:SecuredLendingFacilitiesMemberus-gaap:ExtendedMaturityMember2023-01-012023-06-300000895421us-gaap:ExtendedMaturityMemberus-gaap:CommercialRealEstatePortfolioSegmentMember2024-01-012024-06-300000895421us-gaap:ExtendedMaturityMemberus-gaap:CommercialRealEstatePortfolioSegmentMember2023-01-012023-06-300000895421ms:SecuritiesBasedLendingandOtherLoansMemberus-gaap:ExtendedMaturityMember2024-01-012024-06-300000895421ms:SecuritiesBasedLendingandOtherLoansMemberus-gaap:ExtendedMaturityMember2023-01-012023-06-300000895421us-gaap:ExtendedMaturityMember2024-01-012024-06-300000895421us-gaap:ExtendedMaturityMember2023-01-012023-06-300000895421us-gaap:PaymentDeferralMemberus-gaap:CommercialRealEstatePortfolioSegmentMember2024-01-012024-06-300000895421us-gaap:PaymentDeferralMemberus-gaap:CommercialRealEstatePortfolioSegmentMember2023-01-012023-06-300000895421us-gaap:PaymentDeferralMember2024-01-012024-06-300000895421us-gaap:PaymentDeferralMember2023-01-012023-06-300000895421ms:ExtendedMaturityAndPaymentDeferralMemberus-gaap:CommercialRealEstatePortfolioSegmentMember2024-01-012024-06-300000895421ms:ExtendedMaturityAndPaymentDeferralMemberus-gaap:CommercialRealEstatePortfolioSegmentMember2023-01-012023-06-300000895421us-gaap:ResidentialPortfolioSegmentMemberms:ExtendedMaturityAndPaymentDeferralMember2024-01-012024-06-300000895421us-gaap:ResidentialPortfolioSegmentMemberms:ExtendedMaturityAndPaymentDeferralMember2023-01-012023-06-300000895421ms:ExtendedMaturityAndPaymentDeferralMember2024-01-012024-06-300000895421ms:ExtendedMaturityAndPaymentDeferralMember2023-01-012023-06-300000895421ms:ModifiedTermsMember2024-04-012024-06-300000895421ms:ModifiedTermsMember2023-04-012023-06-300000895421ms:ModifiedTermsMember2024-01-012024-06-300000895421ms:ModifiedTermsMember2023-01-012023-06-300000895421us-gaap:ExtendedMaturityMemberus-gaap:CommercialPortfolioSegmentMemberms:SingleModificationsMember2024-04-012024-06-300000895421us-gaap:PaymentDeferralMemberus-gaap:CommercialPortfolioSegmentMemberms:SingleModificationsMember2024-04-012024-06-300000895421us-gaap:CommercialPortfolioSegmentMemberus-gaap:PrincipalForgivenessMemberms:SingleModificationsMember2024-04-012024-06-300000895421us-gaap:CommercialPortfolioSegmentMemberus-gaap:ContractualInterestRateReductionMemberms:SingleModificationsMember2024-04-012024-06-300000895421ms:SecuritiesBasedLendingandOtherLoansMemberus-gaap:ExtendedMaturityMemberms:SingleModificationsMember2024-04-012024-06-300000895421us-gaap:PaymentDeferralMemberms:SecuritiesBasedLendingandOtherLoansMemberms:SingleModificationsMember2024-04-012024-06-300000895421ms:SecuritiesBasedLendingandOtherLoansMemberus-gaap:PrincipalForgivenessMemberms:SingleModificationsMember2024-04-012024-06-300000895421ms:SecuritiesBasedLendingandOtherLoansMemberus-gaap:ContractualInterestRateReductionMemberms:SingleModificationsMember2024-04-012024-06-300000895421us-gaap:ResidentialPortfolioSegmentMemberus-gaap:ExtendedMaturityMemberms:MultipleModificationsTermExtensionAndOtherThanInsignificantPaymentDelayMember2024-04-012024-06-300000895421us-gaap:PaymentDeferralMemberus-gaap:ResidentialPortfolioSegmentMemberms:MultipleModificationsTermExtensionAndOtherThanInsignificantPaymentDelayMember2024-04-012024-06-300000895421us-gaap:ResidentialPortfolioSegmentMemberus-gaap:PrincipalForgivenessMemberms:MultipleModificationsTermExtensionAndOtherThanInsignificantPaymentDelayMember2024-04-012024-06-300000895421us-gaap:ResidentialPortfolioSegmentMemberus-gaap:ContractualInterestRateReductionMemberms:MultipleModificationsTermExtensionAndOtherThanInsignificantPaymentDelayMember2024-04-012024-06-300000895421us-gaap:ExtendedMaturityMemberus-gaap:CommercialPortfolioSegmentMemberms:SingleModificationsMember2023-04-012023-06-300000895421us-gaap:PaymentDeferralMemberus-gaap:CommercialPortfolioSegmentMemberms:SingleModificationsMember2023-04-012023-06-300000895421ms:SecuredLendingFacilitiesMemberus-gaap:ExtendedMaturityMemberms:SingleModificationsMember2023-04-012023-06-300000895421us-gaap:PaymentDeferralMemberms:SecuredLendingFacilitiesMemberms:SingleModificationsMember2023-04-012023-06-300000895421us-gaap:ExtendedMaturityMemberms:SingleModificationsMemberus-gaap:CommercialRealEstatePortfolioSegmentMember2023-04-012023-06-300000895421us-gaap:PaymentDeferralMemberms:SingleModificationsMemberus-gaap:CommercialRealEstatePortfolioSegmentMember2023-04-012023-06-300000895421ms:SecuritiesBasedLendingandOtherLoansMemberus-gaap:ExtendedMaturityMemberms:SingleModificationsMember2023-04-012023-06-300000895421us-gaap:PaymentDeferralMemberms:SecuritiesBasedLendingandOtherLoansMemberms:SingleModificationsMember2023-04-012023-06-300000895421us-gaap:ExtendedMaturityMemberms:MultipleModificationsTermExtensionAndOtherThanInsignificantPaymentDelayMemberus-gaap:CommercialRealEstatePortfolioSegmentMember2023-04-012023-06-300000895421us-gaap:PaymentDeferralMemberms:MultipleModificationsTermExtensionAndOtherThanInsignificantPaymentDelayMemberus-gaap:CommercialRealEstatePortfolioSegmentMember2023-04-012023-06-300000895421us-gaap:ContractualInterestRateReductionMemberms:MultipleModificationsTermExtensionAndOtherThanInsignificantPaymentDelayMemberus-gaap:CommercialRealEstatePortfolioSegmentMember2024-04-012024-06-300000895421us-gaap:ExtendedMaturityMemberus-gaap:CommercialPortfolioSegmentMemberms:SingleModificationsMember2024-01-012024-06-300000895421us-gaap:PaymentDeferralMemberus-gaap:CommercialPortfolioSegmentMemberms:SingleModificationsMember2024-01-012024-06-300000895421us-gaap:CommercialPortfolioSegmentMemberus-gaap:PrincipalForgivenessMemberms:SingleModificationsMember2024-01-012024-06-300000895421us-gaap:CommercialPortfolioSegmentMemberus-gaap:ContractualInterestRateReductionMemberms:SingleModificationsMember2024-01-012024-06-300000895421us-gaap:ExtendedMaturityMemberms:SingleModificationsMemberus-gaap:CommercialRealEstatePortfolioSegmentMember2023-01-012023-06-300000895421us-gaap:PaymentDeferralMemberms:SingleModificationsMemberus-gaap:CommercialRealEstatePortfolioSegmentMember2024-01-012024-06-300000895421us-gaap:PrincipalForgivenessMemberms:SingleModificationsMemberus-gaap:CommercialRealEstatePortfolioSegmentMember2024-01-012024-06-300000895421us-gaap:ContractualInterestRateReductionMemberms:SingleModificationsMemberus-gaap:CommercialRealEstatePortfolioSegmentMember2024-01-012024-06-300000895421ms:SecuritiesBasedLendingandOtherLoansMemberus-gaap:ExtendedMaturityMemberms:SingleModificationsMember2024-01-012024-06-300000895421us-gaap:PaymentDeferralMemberms:SecuritiesBasedLendingandOtherLoansMemberms:SingleModificationsMember2024-01-012024-06-300000895421ms:SecuritiesBasedLendingandOtherLoansMemberus-gaap:PrincipalForgivenessMemberms:SingleModificationsMember2024-01-012024-06-300000895421ms:SecuritiesBasedLendingandOtherLoansMemberus-gaap:ContractualInterestRateReductionMemberms:SingleModificationsMember2024-01-012024-06-300000895421us-gaap:ResidentialPortfolioSegmentMemberus-gaap:ExtendedMaturityMemberms:MultipleModificationsTermExtensionAndOtherThanInsignificantPaymentDelayMember2024-01-012024-06-300000895421us-gaap:ResidentialPortfolioSegmentMemberus-gaap:PrincipalForgivenessMemberms:MultipleModificationsTermExtensionAndOtherThanInsignificantPaymentDelayMember2024-01-012024-06-300000895421us-gaap:ResidentialPortfolioSegmentMemberus-gaap:ContractualInterestRateReductionMemberms:SingleModificationsMember2024-01-012024-06-300000895421us-gaap:ExtendedMaturityMemberms:MultipleModificationsTermExtensionAndOtherThanInsignificantPaymentDelayMemberus-gaap:CommercialRealEstatePortfolioSegmentMember2024-01-012024-06-300000895421us-gaap:PaymentDeferralMemberms:MultipleModificationsTermExtensionAndOtherThanInsignificantPaymentDelayMemberus-gaap:CommercialRealEstatePortfolioSegmentMember2024-01-012024-06-300000895421us-gaap:PrincipalForgivenessMemberms:MultipleModificationsTermExtensionAndOtherThanInsignificantPaymentDelayMemberus-gaap:CommercialRealEstatePortfolioSegmentMember2024-01-012024-06-300000895421us-gaap:ContractualInterestRateReductionMemberms:MultipleModificationsTermExtensionAndOtherThanInsignificantPaymentDelayMemberus-gaap:CommercialRealEstatePortfolioSegmentMember2024-01-012024-06-300000895421us-gaap:ExtendedMaturityMemberus-gaap:CommercialPortfolioSegmentMemberms:SingleModificationsMember2023-01-012023-06-300000895421us-gaap:PaymentDeferralMemberus-gaap:CommercialPortfolioSegmentMemberms:SingleModificationsMember2023-01-012023-06-300000895421us-gaap:CommercialPortfolioSegmentMemberus-gaap:PrincipalForgivenessMemberms:SingleModificationsMember2023-01-012023-06-300000895421us-gaap:CommercialPortfolioSegmentMemberus-gaap:ContractualInterestRateReductionMemberms:SingleModificationsMember2023-01-012023-06-300000895421ms:SecuredLendingFacilitiesMemberus-gaap:ExtendedMaturityMemberms:SingleModificationsMember2023-01-012023-06-300000895421us-gaap:PaymentDeferralMemberms:SecuredLendingFacilitiesMemberms:SingleModificationsMember2023-01-012023-06-300000895421ms:SecuredLendingFacilitiesMemberus-gaap:PrincipalForgivenessMemberms:SingleModificationsMember2023-01-012023-06-300000895421ms:SecuredLendingFacilitiesMemberus-gaap:ContractualInterestRateReductionMemberms:SingleModificationsMember2023-01-012023-06-300000895421us-gaap:PaymentDeferralMemberms:SingleModificationsMemberus-gaap:CommercialRealEstatePortfolioSegmentMember2023-01-012023-06-300000895421us-gaap:PrincipalForgivenessMemberms:SingleModificationsMemberus-gaap:CommercialRealEstatePortfolioSegmentMember2023-01-012023-06-300000895421us-gaap:ContractualInterestRateReductionMemberms:SingleModificationsMemberus-gaap:CommercialRealEstatePortfolioSegmentMember2023-01-012023-06-300000895421us-gaap:ResidentialPortfolioSegmentMemberus-gaap:ExtendedMaturityMemberms:SingleModificationsMember2023-01-012023-06-300000895421us-gaap:PaymentDeferralMemberus-gaap:ResidentialPortfolioSegmentMemberms:SingleModificationsMember2023-01-012023-06-300000895421us-gaap:ResidentialPortfolioSegmentMemberus-gaap:PrincipalForgivenessMemberms:SingleModificationsMember2023-01-012023-06-300000895421us-gaap:ResidentialPortfolioSegmentMemberus-gaap:ContractualInterestRateReductionMemberms:SingleModificationsMember2023-01-012023-06-300000895421ms:SecuritiesBasedLendingandOtherLoansMemberus-gaap:ExtendedMaturityMemberms:SingleModificationsMember2023-01-012023-06-300000895421us-gaap:PaymentDeferralMemberms:SecuritiesBasedLendingandOtherLoansMemberms:SingleModificationsMember2023-01-012023-06-300000895421ms:SecuritiesBasedLendingandOtherLoansMemberus-gaap:PrincipalForgivenessMemberms:SingleModificationsMember2023-01-012023-06-300000895421ms:SecuritiesBasedLendingandOtherLoansMemberus-gaap:ContractualInterestRateReductionMemberms:SingleModificationsMember2023-01-012023-06-300000895421us-gaap:ExtendedMaturityMemberms:MultipleModificationsTermExtensionAndOtherThanInsignificantPaymentDelayMemberus-gaap:CommercialRealEstatePortfolioSegmentMember2023-01-012023-06-300000895421us-gaap:PaymentDeferralMemberms:MultipleModificationsTermExtensionAndOtherThanInsignificantPaymentDelayMemberus-gaap:CommercialRealEstatePortfolioSegmentMember2023-01-012023-06-300000895421us-gaap:PrincipalForgivenessMemberms:MultipleModificationsTermExtensionAndOtherThanInsignificantPaymentDelayMemberus-gaap:CommercialRealEstatePortfolioSegmentMember2023-01-012023-06-300000895421us-gaap:ContractualInterestRateReductionMemberms:MultipleModificationsTermExtensionAndOtherThanInsignificantPaymentDelayMemberus-gaap:CommercialRealEstatePortfolioSegmentMember2023-01-012023-06-300000895421ms:FinancialAsset30To89DaysPastDueMemberus-gaap:CommercialRealEstatePortfolioSegmentMember2024-06-300000895421us-gaap:CommercialRealEstatePortfolioSegmentMemberms:FinancialAsset90DaysPastDueMember2024-06-300000895421us-gaap:FinancialAssetPastDueMemberus-gaap:CommercialRealEstatePortfolioSegmentMember2024-06-300000895421ms:FinancialAsset30To89DaysPastDueMember2024-06-300000895421ms:FinancialAsset90DaysPastDueMember2024-06-300000895421us-gaap:FinancialAssetPastDueMember2024-06-300000895421us-gaap:CommercialPortfolioSegmentMember2024-01-012024-06-300000895421ms:SecuredLendingFacilitiesMember2024-01-012024-06-300000895421us-gaap:CommercialRealEstatePortfolioSegmentMember2024-01-012024-06-300000895421us-gaap:ResidentialPortfolioSegmentMember2024-01-012024-06-300000895421ms:SecuritiesBasedLendingandOtherLoansMember2024-01-012024-06-300000895421us-gaap:CommercialPortfolioSegmentMember2022-12-310000895421ms:SecuredLendingFacilitiesMember2022-12-310000895421us-gaap:CommercialRealEstatePortfolioSegmentMember2022-12-310000895421us-gaap:ResidentialPortfolioSegmentMember2022-12-310000895421ms:SecuritiesBasedLendingandOtherLoansMember2022-12-310000895421us-gaap:CommercialPortfolioSegmentMember2023-01-012023-06-300000895421ms:SecuredLendingFacilitiesMember2023-01-012023-06-300000895421us-gaap:CommercialRealEstatePortfolioSegmentMember2023-01-012023-06-300000895421us-gaap:ResidentialPortfolioSegmentMember2023-01-012023-06-300000895421ms:SecuritiesBasedLendingandOtherLoansMember2023-01-012023-06-300000895421us-gaap:CommercialPortfolioSegmentMember2023-06-300000895421ms:SecuredLendingFacilitiesMember2023-06-300000895421us-gaap:CommercialRealEstatePortfolioSegmentMember2023-06-300000895421us-gaap:ResidentialPortfolioSegmentMember2023-06-300000895421ms:SecuritiesBasedLendingandOtherLoansMember2023-06-300000895421ms:CurrentlyEmployedbytheFirmMemberus-gaap:RelatedPartyMember2024-06-300000895421ms:CurrentlyEmployedbytheFirmMemberus-gaap:RelatedPartyMember2023-12-310000895421ms:NoLongerEmployedbytheFirmMemberus-gaap:RelatedPartyMember2024-06-300000895421ms:NoLongerEmployedbytheFirmMemberus-gaap:RelatedPartyMember2023-12-3100008954212023-01-012023-12-310000895421ms:InvestmentManagementSegmentMember2024-06-300000895421ms:InvestmentManagementSegmentMember2023-12-310000895421ms:InvestmentManagementSegmentMember2024-04-012024-06-300000895421ms:InvestmentManagementSegmentMember2023-04-012023-06-300000895421ms:InvestmentManagementSegmentMember2024-01-012024-06-300000895421ms:InvestmentManagementSegmentMember2023-01-012023-06-300000895421ms:MitsubishiUfjMorganStanleySecuritiesCoLtdMember2024-04-012024-06-300000895421ms:MitsubishiUfjMorganStanleySecuritiesCoLtdMember2023-04-012023-06-300000895421ms:MitsubishiUfjMorganStanleySecuritiesCoLtdMember2024-01-012024-06-300000895421ms:MitsubishiUfjMorganStanleySecuritiesCoLtdMember2023-01-012023-06-300000895421ms:LowIncomeHousingMember2024-06-300000895421ms:LowIncomeHousingMember2023-12-310000895421ms:RenewableEnergyAndOtherMember2024-06-300000895421ms:RenewableEnergyAndOtherMember2023-12-310000895421us-gaap:CommercialLoanMember2024-06-300000895421ms:SecuredLendingFacilitiesMember2024-06-300000895421us-gaap:RealEstateMember2024-06-300000895421ms:SecuritiesBasedLendingandOtherLoansMember2024-06-300000895421ms:CommitmentsForwardStartingReverseRepurchaseAgreementsMember2024-06-300000895421ms:CentralCounterpartyCommitmentMember2024-06-300000895421ms:CommitmentsInvestmentActivitiesMember2024-06-300000895421ms:CommitmentsLettersOfCreditAndOtherFinancialGuaranteesObtainedToSatisfyCollateralRequirementsMember2024-06-300000895421ms:LessThanTwelveMonthsFromBalanceSheetDateMemberus-gaap:DerivativeMember2024-06-300000895421ms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMemberus-gaap:DerivativeMember2024-06-300000895421ms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberus-gaap:DerivativeMember2024-06-300000895421ms:MoreThanFiveYearsFromBalanceSheetDateMemberus-gaap:DerivativeMember2024-06-300000895421us-gaap:DerivativeMember2024-06-300000895421ms:LessThanTwelveMonthsFromBalanceSheetDateMemberus-gaap:StandbyLettersOfCreditMember2024-06-300000895421ms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMemberus-gaap:StandbyLettersOfCreditMember2024-06-300000895421ms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberus-gaap:StandbyLettersOfCreditMember2024-06-300000895421ms:MoreThanFiveYearsFromBalanceSheetDateMemberus-gaap:StandbyLettersOfCreditMember2024-06-300000895421us-gaap:StandbyLettersOfCreditMember2024-06-300000895421ms:LessThanTwelveMonthsFromBalanceSheetDateMemberms:LiquidityFacilitiesGuaranteeMember2024-06-300000895421ms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMemberms:LiquidityFacilitiesGuaranteeMember2024-06-300000895421ms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberms:LiquidityFacilitiesGuaranteeMember2024-06-300000895421ms:MoreThanFiveYearsFromBalanceSheetDateMemberms:LiquidityFacilitiesGuaranteeMember2024-06-300000895421ms:LiquidityFacilitiesGuaranteeMember2024-06-300000895421ms:LessThanTwelveMonthsFromBalanceSheetDateMemberms:WholeLoanSalesRepresentationsAndWarrantiesMember2024-06-300000895421ms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMemberms:WholeLoanSalesRepresentationsAndWarrantiesMember2024-06-300000895421ms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberms:WholeLoanSalesRepresentationsAndWarrantiesMember2024-06-300000895421ms:MoreThanFiveYearsFromBalanceSheetDateMemberms:WholeLoanSalesRepresentationsAndWarrantiesMember2024-06-300000895421ms:WholeLoanSalesRepresentationsAndWarrantiesMember2024-06-300000895421ms:LessThanTwelveMonthsFromBalanceSheetDateMemberms:SecuritizationsRepresentationsAndGuaranteesMember2024-06-300000895421ms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMemberms:SecuritizationsRepresentationsAndGuaranteesMember2024-06-300000895421ms:SecuritizationsRepresentationsAndGuaranteesMemberms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMember2024-06-300000895421ms:SecuritizationsRepresentationsAndGuaranteesMemberms:MoreThanFiveYearsFromBalanceSheetDateMember2024-06-300000895421ms:SecuritizationsRepresentationsAndGuaranteesMember2024-06-300000895421ms:LessThanTwelveMonthsFromBalanceSheetDateMemberms:GeneralPartnerGuaranteeMember2024-06-300000895421ms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMemberms:GeneralPartnerGuaranteeMember2024-06-300000895421ms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMemberms:GeneralPartnerGuaranteeMember2024-06-300000895421ms:MoreThanFiveYearsFromBalanceSheetDateMemberms:GeneralPartnerGuaranteeMember2024-06-300000895421ms:GeneralPartnerGuaranteeMember2024-06-300000895421ms:LessThanTwelveMonthsFromBalanceSheetDateMemberms:ClearingMemberGuaranteeMember2024-06-300000895421ms:MoreThanOneAndWithinThreeYearsFromBalanceSheetDateMemberms:ClearingMemberGuaranteeMember2024-06-300000895421ms:ClearingMemberGuaranteeMemberms:MoreThanThreeAndWithinFiveYearsFromBalanceSheetDateMember2024-06-300000895421ms:ClearingMemberGuaranteeMemberms:MoreThanFiveYearsFromBalanceSheetDateMember2024-06-300000895421ms:ClearingMemberGuaranteeMember2024-06-300000895421ms:CaseNumber153637AndCaseNumber154353Memberus-gaap:PendingLitigationMember2024-06-300000895421ms:CaseNumberB80318PreviouslyBS9969982017Memberus-gaap:PendingLitigationMember2017-10-052017-10-050000895421us-gaap:PendingLitigationMemberms:CaseNumberB207316Member2017-11-292017-11-290000895421us-gaap:CommonClassBMemberms:ViacomMember2021-03-012021-03-310000895421ms:ViacomMemberus-gaap:ConvertiblePreferredStockSubjectToMandatoryRedemptionMember2021-03-012021-03-310000895421us-gaap:PendingLitigationMemberms:IKBInternationalS.A.InLiquidationEtAl.V.MorganStanleyEtAl.Member2013-05-170000895421us-gaap:PendingLitigationMemberms:IKBInternationalS.A.InLiquidationEtAl.V.MorganStanleyEtAl.Member2014-10-290000895421ms:MortgageAndAssetBackedSecuritiesMemberus-gaap:VariableInterestEntityPrimaryBeneficiaryMember2024-06-300000895421ms:MortgageAndAssetBackedSecuritiesMemberus-gaap:VariableInterestEntityPrimaryBeneficiaryMember2023-12-310000895421ms:InvestmentVehiclesMemberus-gaap:VariableInterestEntityPrimaryBeneficiaryMember2024-06-300000895421ms:InvestmentVehiclesMemberus-gaap:VariableInterestEntityPrimaryBeneficiaryMember2023-12-310000895421ms:MunicipalTenderOptionBondsMemberus-gaap:VariableInterestEntityPrimaryBeneficiaryMember2024-06-300000895421ms:MunicipalTenderOptionBondsMemberus-gaap:VariableInterestEntityPrimaryBeneficiaryMember2023-12-310000895421ms:OtherVariableInterestsMemberus-gaap:VariableInterestEntityPrimaryBeneficiaryMember2024-06-300000895421ms:OtherVariableInterestsMemberus-gaap:VariableInterestEntityPrimaryBeneficiaryMember2023-12-310000895421us-gaap:VariableInterestEntityPrimaryBeneficiaryMember2024-06-300000895421us-gaap:VariableInterestEntityPrimaryBeneficiaryMember2023-12-310000895421ms:MortgageAndAssetBackedSecuritiesMember2024-06-300000895421us-gaap:CollateralizedDebtObligationsMember2024-06-300000895421ms:MunicipalTenderOptionBondsMember2024-06-300000895421us-gaap:StructuredFinanceMember2024-06-300000895421ms:OtherVariableInterestsMember2024-06-300000895421ms:DebtandEquityInterestsMemberms:MortgageAndAssetBackedSecuritiesMember2024-06-300000895421us-gaap:CollateralizedDebtObligationsMemberms:DebtandEquityInterestsMember2024-06-300000895421ms:MunicipalTenderOptionBondsMemberms:DebtandEquityInterestsMember2024-06-300000895421us-gaap:StructuredFinanceMemberms:DebtandEquityInterestsMember2024-06-300000895421ms:OtherVariableInterestsMemberms:DebtandEquityInterestsMember2024-06-300000895421us-gaap:DerivativeFinancialInstrumentsAssetsMemberms:MortgageAndAssetBackedSecuritiesMember2024-06-300000895421us-gaap:CollateralizedDebtObligationsMemberus-gaap:DerivativeFinancialInstrumentsAssetsMember2024-06-300000895421ms:MunicipalTenderOptionBondsMemberus-gaap:DerivativeFinancialInstrumentsAssetsMember2024-06-300000895421us-gaap:StructuredFinanceMemberus-gaap:DerivativeFinancialInstrumentsAssetsMember2024-06-300000895421ms:OtherVariableInterestsMemberus-gaap:DerivativeFinancialInstrumentsAssetsMember2024-06-300000895421ms:MortgageAndAssetBackedSecuritiesMemberms:CommitmentsGuaranteesAndOtherMember2024-06-300000895421us-gaap:CollateralizedDebtObligationsMemberms:CommitmentsGuaranteesAndOtherMember2024-06-300000895421ms:MunicipalTenderOptionBondsMemberms:CommitmentsGuaranteesAndOtherMember2024-06-300000895421us-gaap:StructuredFinanceMemberms:CommitmentsGuaranteesAndOtherMember2024-06-300000895421ms:OtherVariableInterestsMemberms:CommitmentsGuaranteesAndOtherMember2024-06-300000895421us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberms:DebtandEquityInterestsMemberms:MortgageAndAssetBackedSecuritiesMember2024-06-300000895421us-gaap:CollateralizedDebtObligationsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberms:DebtandEquityInterestsMember2024-06-300000895421ms:MunicipalTenderOptionBondsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberms:DebtandEquityInterestsMember2024-06-300000895421us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:StructuredFinanceMemberms:DebtandEquityInterestsMember2024-06-300000895421ms:OtherVariableInterestsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberms:DebtandEquityInterestsMember2024-06-300000895421us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:DerivativeFinancialInstrumentsAssetsMemberms:MortgageAndAssetBackedSecuritiesMember2024-06-300000895421us-gaap:CollateralizedDebtObligationsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:DerivativeFinancialInstrumentsAssetsMember2024-06-300000895421ms:MunicipalTenderOptionBondsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:DerivativeFinancialInstrumentsAssetsMember2024-06-300000895421us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:StructuredFinanceMemberus-gaap:DerivativeFinancialInstrumentsAssetsMember2024-06-300000895421ms:OtherVariableInterestsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:DerivativeFinancialInstrumentsAssetsMember2024-06-300000895421us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:AssetsMemberms:MortgageAndAssetBackedSecuritiesMember2024-06-300000895421us-gaap:CollateralizedDebtObligationsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:AssetsMember2024-06-300000895421ms:MunicipalTenderOptionBondsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:AssetsMember2024-06-300000895421us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:StructuredFinanceMemberus-gaap:AssetsMember2024-06-300000895421ms:OtherVariableInterestsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:AssetsMember2024-06-300000895421us-gaap:DerivativeFinancialInstrumentsLiabilitiesMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberms:MortgageAndAssetBackedSecuritiesMember2024-06-300000895421us-gaap:DerivativeFinancialInstrumentsLiabilitiesMemberus-gaap:CollateralizedDebtObligationsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2024-06-300000895421us-gaap:DerivativeFinancialInstrumentsLiabilitiesMemberms:MunicipalTenderOptionBondsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2024-06-300000895421us-gaap:DerivativeFinancialInstrumentsLiabilitiesMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:StructuredFinanceMember2024-06-300000895421us-gaap:DerivativeFinancialInstrumentsLiabilitiesMemberms:OtherVariableInterestsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2024-06-300000895421us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberms:MortgageAndAssetBackedSecuritiesMemberus-gaap:LiabilityMember2024-06-300000895421us-gaap:CollateralizedDebtObligationsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:LiabilityMember2024-06-300000895421ms:MunicipalTenderOptionBondsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:LiabilityMember2024-06-300000895421us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:StructuredFinanceMemberus-gaap:LiabilityMember2024-06-300000895421ms:OtherVariableInterestsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:LiabilityMember2024-06-300000895421ms:MortgageAndAssetBackedSecuritiesMember2023-12-310000895421us-gaap:CollateralizedDebtObligationsMember2023-12-310000895421ms:MunicipalTenderOptionBondsMember2023-12-310000895421us-gaap:StructuredFinanceMember2023-12-310000895421ms:OtherVariableInterestsMember2023-12-310000895421ms:DebtandEquityInterestsMemberms:MortgageAndAssetBackedSecuritiesMember2023-12-310000895421us-gaap:CollateralizedDebtObligationsMemberms:DebtandEquityInterestsMember2023-12-310000895421ms:MunicipalTenderOptionBondsMemberms:DebtandEquityInterestsMember2023-12-310000895421us-gaap:StructuredFinanceMemberms:DebtandEquityInterestsMember2023-12-310000895421ms:OtherVariableInterestsMemberms:DebtandEquityInterestsMember2023-12-310000895421us-gaap:DerivativeFinancialInstrumentsAssetsMemberms:MortgageAndAssetBackedSecuritiesMember2023-12-310000895421us-gaap:CollateralizedDebtObligationsMemberus-gaap:DerivativeFinancialInstrumentsAssetsMember2023-12-310000895421ms:MunicipalTenderOptionBondsMemberus-gaap:DerivativeFinancialInstrumentsAssetsMember2023-12-310000895421us-gaap:StructuredFinanceMemberus-gaap:DerivativeFinancialInstrumentsAssetsMember2023-12-310000895421ms:OtherVariableInterestsMemberus-gaap:DerivativeFinancialInstrumentsAssetsMember2023-12-310000895421ms:MortgageAndAssetBackedSecuritiesMemberms:CommitmentsGuaranteesAndOtherMember2023-12-310000895421us-gaap:CollateralizedDebtObligationsMemberms:CommitmentsGuaranteesAndOtherMember2023-12-310000895421ms:MunicipalTenderOptionBondsMemberms:CommitmentsGuaranteesAndOtherMember2023-12-310000895421us-gaap:StructuredFinanceMemberms:CommitmentsGuaranteesAndOtherMember2023-12-310000895421ms:OtherVariableInterestsMemberms:CommitmentsGuaranteesAndOtherMember2023-12-310000895421us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberms:DebtandEquityInterestsMemberms:MortgageAndAssetBackedSecuritiesMember2023-12-310000895421us-gaap:CollateralizedDebtObligationsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberms:DebtandEquityInterestsMember2023-12-310000895421ms:MunicipalTenderOptionBondsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberms:DebtandEquityInterestsMember2023-12-310000895421us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:StructuredFinanceMemberms:DebtandEquityInterestsMember2023-12-310000895421ms:OtherVariableInterestsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberms:DebtandEquityInterestsMember2023-12-310000895421us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:DerivativeFinancialInstrumentsAssetsMemberms:MortgageAndAssetBackedSecuritiesMember2023-12-310000895421us-gaap:CollateralizedDebtObligationsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:DerivativeFinancialInstrumentsAssetsMember2023-12-310000895421ms:MunicipalTenderOptionBondsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:DerivativeFinancialInstrumentsAssetsMember2023-12-310000895421us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:StructuredFinanceMemberus-gaap:DerivativeFinancialInstrumentsAssetsMember2023-12-310000895421ms:OtherVariableInterestsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:DerivativeFinancialInstrumentsAssetsMember2023-12-310000895421us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:AssetsMemberms:MortgageAndAssetBackedSecuritiesMember2023-12-310000895421us-gaap:CollateralizedDebtObligationsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:AssetsMember2023-12-310000895421ms:MunicipalTenderOptionBondsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:AssetsMember2023-12-310000895421us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:StructuredFinanceMemberus-gaap:AssetsMember2023-12-310000895421ms:OtherVariableInterestsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:AssetsMember2023-12-310000895421us-gaap:DerivativeFinancialInstrumentsLiabilitiesMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberms:MortgageAndAssetBackedSecuritiesMember2023-12-310000895421us-gaap:DerivativeFinancialInstrumentsLiabilitiesMemberus-gaap:CollateralizedDebtObligationsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2023-12-310000895421us-gaap:DerivativeFinancialInstrumentsLiabilitiesMemberms:MunicipalTenderOptionBondsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2023-12-310000895421us-gaap:DerivativeFinancialInstrumentsLiabilitiesMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:StructuredFinanceMember2023-12-310000895421us-gaap:DerivativeFinancialInstrumentsLiabilitiesMemberms:OtherVariableInterestsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2023-12-310000895421us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:ResidentialMortgageBackedSecuritiesMember2024-06-300000895421us-gaap:SecuritiesAssetsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:ResidentialMortgageBackedSecuritiesMember2024-06-300000895421us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:ResidentialMortgageBackedSecuritiesMember2023-12-310000895421us-gaap:SecuritiesAssetsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:ResidentialMortgageBackedSecuritiesMember2023-12-310000895421us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:CommercialMortgageBackedSecuritiesMember2024-06-300000895421us-gaap:SecuritiesAssetsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:CommercialMortgageBackedSecuritiesMember2024-06-300000895421us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:CommercialMortgageBackedSecuritiesMember2023-12-310000895421us-gaap:SecuritiesAssetsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:CommercialMortgageBackedSecuritiesMember2023-12-310000895421us-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2024-06-300000895421us-gaap:SecuritiesAssetsMemberus-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2024-06-300000895421us-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2023-12-310000895421us-gaap:SecuritiesAssetsMemberus-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2023-12-310000895421us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberms:OtherConsumerAndCommercialLoansMember2024-06-300000895421us-gaap:SecuritiesAssetsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberms:OtherConsumerAndCommercialLoansMember2024-06-300000895421us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberms:OtherConsumerAndCommercialLoansMember2023-12-310000895421us-gaap:SecuritiesAssetsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberms:OtherConsumerAndCommercialLoansMember2023-12-310000895421us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2024-06-300000895421us-gaap:SecuritiesAssetsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2024-06-300000895421us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2023-12-310000895421us-gaap:SecuritiesAssetsMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2023-12-310000895421ms:SpecialPurposeEntitiesMemberus-gaap:ResidentialMortgageMember2024-06-300000895421ms:SpecialPurposeEntitiesMemberus-gaap:CommercialMortgageBackedSecuritiesMember2024-06-300000895421us-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMemberms:SpecialPurposeEntitiesMember2024-06-300000895421ms:CreditLinkedNotesAndOtherMemberms:SpecialPurposeEntitiesMember2024-06-300000895421us-gaap:InternalInvestmentGradeMemberms:SpecialPurposeEntitiesMemberus-gaap:ResidentialMortgageMember2024-06-300000895421us-gaap:InternalInvestmentGradeMemberms:SpecialPurposeEntitiesMemberus-gaap:CommercialMortgageBackedSecuritiesMember2024-06-300000895421us-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMemberus-gaap:InternalInvestmentGradeMemberms:SpecialPurposeEntitiesMember2024-06-300000895421us-gaap:InternalInvestmentGradeMemberms:CreditLinkedNotesAndOtherMemberms:SpecialPurposeEntitiesMember2024-06-300000895421us-gaap:InternalNoninvestmentGradeMemberms:SpecialPurposeEntitiesMemberus-gaap:ResidentialMortgageMember2024-06-300000895421us-gaap:InternalNoninvestmentGradeMemberms:SpecialPurposeEntitiesMemberus-gaap:CommercialMortgageBackedSecuritiesMember2024-06-300000895421us-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMemberus-gaap:InternalNoninvestmentGradeMemberms:SpecialPurposeEntitiesMember2024-06-300000895421ms:CreditLinkedNotesAndOtherMemberus-gaap:InternalNoninvestmentGradeMemberms:SpecialPurposeEntitiesMember2024-06-300000895421ms:SpecialPurposeEntitiesMemberus-gaap:ResidentialMortgageMember2023-12-310000895421ms:SpecialPurposeEntitiesMemberus-gaap:CommercialMortgageBackedSecuritiesMember2023-12-310000895421us-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMemberms:SpecialPurposeEntitiesMember2023-12-310000895421ms:CreditLinkedNotesAndOtherMemberms:SpecialPurposeEntitiesMember2023-12-310000895421us-gaap:InternalInvestmentGradeMemberms:SpecialPurposeEntitiesMemberus-gaap:ResidentialMortgageMember2023-12-310000895421us-gaap:InternalInvestmentGradeMemberms:SpecialPurposeEntitiesMemberus-gaap:CommercialMortgageBackedSecuritiesMember2023-12-310000895421us-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMemberus-gaap:InternalInvestmentGradeMemberms:SpecialPurposeEntitiesMember2023-12-310000895421us-gaap:InternalInvestmentGradeMemberms:CreditLinkedNotesAndOtherMemberms:SpecialPurposeEntitiesMember2023-12-310000895421us-gaap:InternalNoninvestmentGradeMemberms:SpecialPurposeEntitiesMemberus-gaap:ResidentialMortgageMember2023-12-310000895421us-gaap:InternalNoninvestmentGradeMemberms:SpecialPurposeEntitiesMemberus-gaap:CommercialMortgageBackedSecuritiesMember2023-12-310000895421us-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMemberus-gaap:InternalNoninvestmentGradeMemberms:SpecialPurposeEntitiesMember2023-12-310000895421ms:CreditLinkedNotesAndOtherMemberus-gaap:InternalNoninvestmentGradeMemberms:SpecialPurposeEntitiesMember2023-12-310000895421us-gaap:FairValueInputsLevel2Memberus-gaap:InternalInvestmentGradeMemberms:SpecialPurposeEntitiesMember2024-06-300000895421us-gaap:InternalInvestmentGradeMemberms:SpecialPurposeEntitiesMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:InternalInvestmentGradeMemberms:SpecialPurposeEntitiesMember2024-06-300000895421us-gaap:FairValueInputsLevel2Memberus-gaap:InternalNoninvestmentGradeMemberms:SpecialPurposeEntitiesMember2024-06-300000895421us-gaap:InternalNoninvestmentGradeMemberms:SpecialPurposeEntitiesMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421us-gaap:InternalNoninvestmentGradeMemberms:SpecialPurposeEntitiesMember2024-06-300000895421us-gaap:FairValueInputsLevel2Memberms:SpecialPurposeEntitiesMember2024-06-300000895421ms:SpecialPurposeEntitiesMemberus-gaap:FairValueInputsLevel3Member2024-06-300000895421ms:SpecialPurposeEntitiesMember2024-06-300000895421us-gaap:FairValueInputsLevel2Memberus-gaap:InternalInvestmentGradeMemberms:SpecialPurposeEntitiesMember2023-12-310000895421us-gaap:InternalInvestmentGradeMemberms:SpecialPurposeEntitiesMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:InternalInvestmentGradeMemberms:SpecialPurposeEntitiesMember2023-12-310000895421us-gaap:FairValueInputsLevel2Memberus-gaap:InternalNoninvestmentGradeMemberms:SpecialPurposeEntitiesMember2023-12-310000895421us-gaap:InternalNoninvestmentGradeMemberms:SpecialPurposeEntitiesMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421us-gaap:InternalNoninvestmentGradeMemberms:SpecialPurposeEntitiesMember2023-12-310000895421us-gaap:FairValueInputsLevel2Memberms:SpecialPurposeEntitiesMember2023-12-310000895421ms:SpecialPurposeEntitiesMemberus-gaap:FairValueInputsLevel3Member2023-12-310000895421ms:SpecialPurposeEntitiesMember2023-12-310000895421us-gaap:EquityContractMemberus-gaap:OverTheCounterMember2024-06-300000895421us-gaap:EquityContractMemberus-gaap:OverTheCounterMember2023-12-310000895421srt:MaximumMember2024-06-300000895421ms:MorganStanleyBankNationalAssociationMember2024-01-012024-06-300000895421ms:MorganStanleyBankNationalAssociationMember2024-06-300000895421ms:MorganStanleyBankNationalAssociationMember2023-12-310000895421ms:MorganStanleyPrivateBankNationalAssociationMember2024-01-012024-06-300000895421ms:MorganStanleyPrivateBankNationalAssociationMember2024-06-300000895421ms:MorganStanleyPrivateBankNationalAssociationMember2023-12-310000895421ms:MSAndCoMember2024-01-012024-06-300000895421ms:MSAndCoMember2024-06-300000895421ms:MSAndCoMember2023-12-310000895421us-gaap:SeriesAPreferredStockMember2024-06-300000895421us-gaap:SeriesAPreferredStockMember2023-12-310000895421us-gaap:SeriesCPreferredStockMember2024-06-300000895421us-gaap:SeriesCPreferredStockMember2023-12-310000895421us-gaap:SeriesEPreferredStockMember2024-06-300000895421us-gaap:SeriesEPreferredStockMember2023-12-310000895421us-gaap:SeriesFPreferredStockMember2024-06-300000895421us-gaap:SeriesFPreferredStockMember2023-12-310000895421ms:SeriesIPreferredStockMember2024-06-300000895421ms:SeriesIPreferredStockMember2023-12-310000895421ms:SeriesKPreferredStockMember2024-06-300000895421ms:SeriesKPreferredStockMember2023-12-310000895421ms:SeriesLPreferredStockMember2024-06-300000895421ms:SeriesLPreferredStockMember2023-12-310000895421ms:SeriesMPreferredStockMember2024-06-300000895421ms:SeriesMPreferredStockMember2023-12-310000895421ms:SeriesNPreferredStockMember2024-06-300000895421ms:SeriesNPreferredStockMember2023-12-310000895421ms:SeriesOPreferredStockMember2024-06-300000895421ms:SeriesOPreferredStockMember2023-12-310000895421ms:SeriesPPreferredStockMember2024-06-300000895421ms:SeriesPPreferredStockMember2023-12-3100008954212024-06-280000895421ms:SeriesQPreferredStockMemberus-gaap:SubsequentEventMember2024-07-300000895421ms:SeriesQPreferredStockMemberus-gaap:SubsequentEventMember2024-07-302024-07-300000895421us-gaap:SeriesAPreferredStockMember2024-04-012024-06-300000895421us-gaap:SeriesAPreferredStockMember2023-04-012023-06-300000895421us-gaap:SeriesCPreferredStockMember2024-04-012024-06-300000895421us-gaap:SeriesCPreferredStockMember2023-04-012023-06-300000895421us-gaap:SeriesEPreferredStockMember2024-04-012024-06-300000895421us-gaap:SeriesEPreferredStockMember2023-04-012023-06-300000895421us-gaap:SeriesFPreferredStockMember2024-04-012024-06-300000895421us-gaap:SeriesFPreferredStockMember2023-04-012023-06-300000895421ms:SeriesIPreferredStockMember2024-04-012024-06-300000895421ms:SeriesIPreferredStockMember2023-04-012023-06-300000895421ms:SeriesKPreferredStockMember2024-04-012024-06-300000895421ms:SeriesKPreferredStockMember2023-04-012023-06-300000895421ms:SeriesLPreferredStockMember2024-04-012024-06-300000895421ms:SeriesLPreferredStockMember2023-04-012023-06-300000895421ms:SeriesNPreferredStockMember2024-04-012024-06-300000895421ms:SeriesNPreferredStockMember2023-04-012023-06-300000895421ms:SeriesOPreferredStockMember2024-04-012024-06-300000895421ms:SeriesOPreferredStockMember2023-04-012023-06-300000895421ms:SeriesPPreferredStockMember2024-04-012024-06-300000895421ms:SeriesPPreferredStockMember2023-04-012023-06-300000895421us-gaap:SeriesAPreferredStockMember2023-01-012023-06-300000895421us-gaap:SeriesCPreferredStockMember2024-01-012024-06-300000895421us-gaap:SeriesCPreferredStockMember2023-01-012023-06-300000895421us-gaap:SeriesEPreferredStockMember2023-01-012023-06-300000895421us-gaap:SeriesFPreferredStockMember2023-01-012023-06-300000895421ms:SeriesIPreferredStockMember2023-01-012023-06-300000895421ms:SeriesKPreferredStockMember2023-01-012023-06-300000895421ms:SeriesLPreferredStockMember2023-01-012023-06-300000895421ms:SeriesMPreferredStockMember2024-01-012024-06-300000895421ms:SeriesMPreferredStockMember2023-01-012023-06-300000895421ms:SeriesNPreferredStockMember2024-01-012024-06-300000895421ms:SeriesNPreferredStockMember2023-01-012023-06-300000895421ms:SeriesOPreferredStockMember2023-01-012023-06-300000895421ms:SeriesPPreferredStockMember2023-01-012023-06-300000895421us-gaap:AccumulatedTranslationAdjustmentMember2024-03-310000895421us-gaap:AccumulatedNetUnrealizedInvestmentGainLossMember2024-03-310000895421us-gaap:AccumulatedDefinedBenefitPlansAdjustmentMember2024-03-310000895421ms:AOCIDebtValuationAdjustmentParentMember2024-03-310000895421us-gaap:AociDerivativeQualifyingAsHedgeExcludedComponentParentMember2024-03-310000895421us-gaap:AccumulatedTranslationAdjustmentMember2024-04-012024-06-300000895421us-gaap:AccumulatedNetUnrealizedInvestmentGainLossMember2024-04-012024-06-300000895421us-gaap:AccumulatedDefinedBenefitPlansAdjustmentMember2024-04-012024-06-300000895421ms:AOCIDebtValuationAdjustmentParentMember2024-04-012024-06-300000895421us-gaap:AociDerivativeQualifyingAsHedgeExcludedComponentParentMember2024-04-012024-06-300000895421us-gaap:AccumulatedTranslationAdjustmentMember2024-06-300000895421us-gaap:AccumulatedNetUnrealizedInvestmentGainLossMember2024-06-300000895421us-gaap:AccumulatedDefinedBenefitPlansAdjustmentMember2024-06-300000895421ms:AOCIDebtValuationAdjustmentParentMember2024-06-300000895421us-gaap:AociDerivativeQualifyingAsHedgeExcludedComponentParentMember2024-06-300000895421us-gaap:AccumulatedTranslationAdjustmentMember2023-03-310000895421us-gaap:AccumulatedNetUnrealizedInvestmentGainLossMember2023-03-310000895421us-gaap:AccumulatedDefinedBenefitPlansAdjustmentMember2023-03-310000895421ms:AOCIDebtValuationAdjustmentParentMember2023-03-310000895421us-gaap:AociDerivativeQualifyingAsHedgeExcludedComponentParentMember2023-03-310000895421us-gaap:AccumulatedTranslationAdjustmentMember2023-04-012023-06-300000895421us-gaap:AccumulatedNetUnrealizedInvestmentGainLossMember2023-04-012023-06-300000895421us-gaap:AccumulatedDefinedBenefitPlansAdjustmentMember2023-04-012023-06-300000895421ms:AOCIDebtValuationAdjustmentParentMember2023-04-012023-06-300000895421us-gaap:AociDerivativeQualifyingAsHedgeExcludedComponentParentMember2023-04-012023-06-300000895421us-gaap:AccumulatedTranslationAdjustmentMember2023-06-300000895421us-gaap:AccumulatedNetUnrealizedInvestmentGainLossMember2023-06-300000895421us-gaap:AccumulatedDefinedBenefitPlansAdjustmentMember2023-06-300000895421ms:AOCIDebtValuationAdjustmentParentMember2023-06-300000895421us-gaap:AociDerivativeQualifyingAsHedgeExcludedComponentParentMember2023-06-300000895421us-gaap:AccumulatedTranslationAdjustmentMember2023-12-310000895421us-gaap:AccumulatedNetUnrealizedInvestmentGainLossMember2023-12-310000895421us-gaap:AccumulatedDefinedBenefitPlansAdjustmentMember2023-12-310000895421ms:AOCIDebtValuationAdjustmentParentMember2023-12-310000895421us-gaap:AociDerivativeQualifyingAsHedgeExcludedComponentParentMember2023-12-310000895421us-gaap:AccumulatedTranslationAdjustmentMember2024-01-012024-06-300000895421us-gaap:AccumulatedNetUnrealizedInvestmentGainLossMember2024-01-012024-06-300000895421us-gaap:AccumulatedDefinedBenefitPlansAdjustmentMember2024-01-012024-06-300000895421ms:AOCIDebtValuationAdjustmentParentMember2024-01-012024-06-300000895421us-gaap:AociDerivativeQualifyingAsHedgeExcludedComponentParentMember2024-01-012024-06-300000895421us-gaap:AccumulatedTranslationAdjustmentMember2022-12-310000895421us-gaap:AccumulatedNetUnrealizedInvestmentGainLossMember2022-12-310000895421us-gaap:AccumulatedDefinedBenefitPlansAdjustmentMember2022-12-310000895421ms:AOCIDebtValuationAdjustmentParentMember2022-12-310000895421us-gaap:AociDerivativeQualifyingAsHedgeExcludedComponentParentMember2022-12-310000895421us-gaap:AccumulatedTranslationAdjustmentMember2023-01-012023-06-300000895421us-gaap:AccumulatedNetUnrealizedInvestmentGainLossMember2023-01-012023-06-300000895421us-gaap:AccumulatedDefinedBenefitPlansAdjustmentMember2023-01-012023-06-300000895421ms:AOCIDebtValuationAdjustmentParentMember2023-01-012023-06-300000895421us-gaap:AociDerivativeQualifyingAsHedgeExcludedComponentParentMember2023-01-012023-06-300000895421us-gaap:AccumulatedForeignCurrencyAdjustmentIncludingPortionAttributableToNoncontrollingInterestMember2024-04-012024-06-300000895421us-gaap:AccumulatedForeignCurrencyAdjustmentAttributableToNoncontrollingInterestMember2024-04-012024-06-300000895421us-gaap:AccumulatedNetInvestmentGainLossIncludingPortionAttributableToNoncontrollingInterestMember2024-04-012024-06-300000895421us-gaap:AccumulatedNetInvestmentGainLossAttributableToNoncontrollingInterestMember2024-04-012024-06-300000895421us-gaap:AccumulatedDefinedBenefitPlansAdjustmentIncludingPortionAttributableToNoncontrollingInterestMember2024-04-012024-06-300000895421us-gaap:AccumulatedDefinedBenefitPlansAdjustmentAttributableToNoncontrollingInterestMember2024-04-012024-06-300000895421ms:AOCIDebtValuationAdjustmentIncludingNoncontrollingInterestMember2024-04-012024-06-300000895421ms:AOCIDebtValuationAdjustmentNoncontrollingInterestMember2024-04-012024-06-300000895421us-gaap:AccumulatedOtherComprehensiveIncomeLossDerivativeQualifyingAsHedgeExcludedComponentIncludingPortionAttributableToNoncontrollingInterestMember2024-04-012024-06-300000895421us-gaap:AociDerivativeQualifyingAsHedgeExcludedComponentNoncontrollingInterestMember2024-04-012024-06-300000895421us-gaap:AccumulatedForeignCurrencyAdjustmentIncludingPortionAttributableToNoncontrollingInterestMember2023-04-012023-06-300000895421us-gaap:AccumulatedForeignCurrencyAdjustmentAttributableToNoncontrollingInterestMember2023-04-012023-06-300000895421us-gaap:AccumulatedNetInvestmentGainLossIncludingPortionAttributableToNoncontrollingInterestMember2023-04-012023-06-300000895421us-gaap:AccumulatedNetInvestmentGainLossAttributableToNoncontrollingInterestMember2023-04-012023-06-300000895421us-gaap:AccumulatedDefinedBenefitPlansAdjustmentIncludingPortionAttributableToNoncontrollingInterestMember2023-04-012023-06-300000895421us-gaap:AccumulatedDefinedBenefitPlansAdjustmentAttributableToNoncontrollingInterestMember2023-04-012023-06-300000895421ms:AOCIDebtValuationAdjustmentIncludingNoncontrollingInterestMember2023-04-012023-06-300000895421ms:AOCIDebtValuationAdjustmentNoncontrollingInterestMember2023-04-012023-06-300000895421us-gaap:AccumulatedOtherComprehensiveIncomeLossDerivativeQualifyingAsHedgeExcludedComponentIncludingPortionAttributableToNoncontrollingInterestMember2023-04-012023-06-300000895421us-gaap:AociDerivativeQualifyingAsHedgeExcludedComponentNoncontrollingInterestMember2023-04-012023-06-300000895421us-gaap:AccumulatedForeignCurrencyAdjustmentIncludingPortionAttributableToNoncontrollingInterestMember2024-01-012024-06-300000895421us-gaap:AccumulatedForeignCurrencyAdjustmentAttributableToNoncontrollingInterestMember2024-01-012024-06-300000895421us-gaap:AccumulatedNetInvestmentGainLossIncludingPortionAttributableToNoncontrollingInterestMember2024-01-012024-06-300000895421us-gaap:AccumulatedNetInvestmentGainLossAttributableToNoncontrollingInterestMember2024-01-012024-06-300000895421us-gaap:AccumulatedDefinedBenefitPlansAdjustmentIncludingPortionAttributableToNoncontrollingInterestMember2024-01-012024-06-300000895421us-gaap:AccumulatedDefinedBenefitPlansAdjustmentAttributableToNoncontrollingInterestMember2024-01-012024-06-300000895421ms:AOCIDebtValuationAdjustmentIncludingNoncontrollingInterestMember2024-01-012024-06-300000895421ms:AOCIDebtValuationAdjustmentNoncontrollingInterestMember2024-01-012024-06-300000895421us-gaap:AccumulatedOtherComprehensiveIncomeLossDerivativeQualifyingAsHedgeExcludedComponentIncludingPortionAttributableToNoncontrollingInterestMember2024-01-012024-06-300000895421us-gaap:AociDerivativeQualifyingAsHedgeExcludedComponentNoncontrollingInterestMember2024-01-012024-06-300000895421us-gaap:AccumulatedForeignCurrencyAdjustmentIncludingPortionAttributableToNoncontrollingInterestMember2023-01-012023-06-300000895421us-gaap:AccumulatedForeignCurrencyAdjustmentAttributableToNoncontrollingInterestMember2023-01-012023-06-300000895421us-gaap:AccumulatedNetInvestmentGainLossIncludingPortionAttributableToNoncontrollingInterestMember2023-01-012023-06-300000895421us-gaap:AccumulatedNetInvestmentGainLossAttributableToNoncontrollingInterestMember2023-01-012023-06-300000895421us-gaap:AccumulatedDefinedBenefitPlansAdjustmentIncludingPortionAttributableToNoncontrollingInterestMember2023-01-012023-06-300000895421us-gaap:AccumulatedDefinedBenefitPlansAdjustmentAttributableToNoncontrollingInterestMember2023-01-012023-06-300000895421ms:AOCIDebtValuationAdjustmentIncludingNoncontrollingInterestMember2023-01-012023-06-300000895421ms:AOCIDebtValuationAdjustmentNoncontrollingInterestMember2023-01-012023-06-300000895421us-gaap:AccumulatedOtherComprehensiveIncomeLossDerivativeQualifyingAsHedgeExcludedComponentIncludingPortionAttributableToNoncontrollingInterestMember2023-01-012023-06-300000895421us-gaap:AociDerivativeQualifyingAsHedgeExcludedComponentNoncontrollingInterestMember2023-01-012023-06-300000895421ms:InstitutionalSecuritiesSegmentMembersrt:RestatementAdjustmentMember2023-04-012023-06-300000895421ms:InstitutionalSecuritiesSegmentMembersrt:RestatementAdjustmentMember2023-01-012023-06-300000895421ms:InstitutionalSecuritiesSegmentMemberus-gaap:OperatingSegmentsMember2024-04-012024-06-300000895421us-gaap:OperatingSegmentsMemberms:WealthManagementSegmentMember2024-04-012024-06-300000895421us-gaap:OperatingSegmentsMemberms:InvestmentManagementSegmentMember2024-04-012024-06-300000895421us-gaap:IntersegmentEliminationMember2024-04-012024-06-300000895421ms:InstitutionalSecuritiesSegmentMemberus-gaap:OperatingSegmentsMember2023-04-012023-06-300000895421us-gaap:OperatingSegmentsMemberms:WealthManagementSegmentMember2023-04-012023-06-300000895421us-gaap:OperatingSegmentsMemberms:InvestmentManagementSegmentMember2023-04-012023-06-300000895421us-gaap:IntersegmentEliminationMember2023-04-012023-06-300000895421ms:InstitutionalSecuritiesSegmentMemberus-gaap:OperatingSegmentsMember2024-01-012024-06-300000895421us-gaap:OperatingSegmentsMemberms:WealthManagementSegmentMember2024-01-012024-06-300000895421us-gaap:OperatingSegmentsMemberms:InvestmentManagementSegmentMember2024-01-012024-06-300000895421us-gaap:IntersegmentEliminationMember2024-01-012024-06-300000895421ms:InstitutionalSecuritiesSegmentMemberus-gaap:OperatingSegmentsMember2023-01-012023-06-300000895421us-gaap:OperatingSegmentsMemberms:WealthManagementSegmentMember2023-01-012023-06-300000895421us-gaap:OperatingSegmentsMemberms:InvestmentManagementSegmentMember2023-01-012023-06-300000895421us-gaap:IntersegmentEliminationMember2023-01-012023-06-300000895421ms:InstitutionalSecuritiesSegmentMemberus-gaap:OperatingSegmentsMemberus-gaap:InvestmentAdviceMember2024-04-012024-06-300000895421ms:InstitutionalSecuritiesSegmentMemberus-gaap:OperatingSegmentsMemberus-gaap:InvestmentAdviceMember2023-04-012023-06-300000895421ms:InstitutionalSecuritiesSegmentMemberus-gaap:OperatingSegmentsMemberus-gaap:InvestmentAdviceMember2024-01-012024-06-300000895421ms:InstitutionalSecuritiesSegmentMemberus-gaap:OperatingSegmentsMemberus-gaap:InvestmentAdviceMember2023-01-012023-06-300000895421ms:InstitutionalSecuritiesSegmentMemberms:UnderwritingMemberus-gaap:OperatingSegmentsMember2024-04-012024-06-300000895421ms:InstitutionalSecuritiesSegmentMemberms:UnderwritingMemberus-gaap:OperatingSegmentsMember2023-04-012023-06-300000895421ms:InstitutionalSecuritiesSegmentMemberms:UnderwritingMemberus-gaap:OperatingSegmentsMember2024-01-012024-06-300000895421ms:InstitutionalSecuritiesSegmentMemberms:UnderwritingMemberus-gaap:OperatingSegmentsMember2023-01-012023-06-300000895421us-gaap:InterestRateContractMember2024-04-012024-06-300000895421us-gaap:InterestRateContractMember2023-04-012023-06-300000895421us-gaap:InterestRateContractMember2024-01-012024-06-300000895421us-gaap:InterestRateContractMember2023-01-012023-06-300000895421us-gaap:ForeignExchangeContractMember2024-04-012024-06-300000895421us-gaap:ForeignExchangeContractMember2023-04-012023-06-300000895421us-gaap:ForeignExchangeContractMember2024-01-012024-06-300000895421us-gaap:ForeignExchangeContractMember2023-01-012023-06-300000895421ms:EquityAndIndexContractMember2024-04-012024-06-300000895421ms:EquityAndIndexContractMember2023-04-012023-06-300000895421