{
 "version": "2.2",
 "instance": {
  "d839790d11k.htm": {
   "nsprefix": "msft",
   "nsuri": "http://www.microsoft.com/20251231",
   "dts": {
    "inline": {
     "local": [
      "d839790d11k.htm"
     ]
    },
    "schema": {
     "local": [
      "msft-20251231.xsd"
     ],
     "remote": [
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
      "http://www.xbrl.org/lrr/arcrole/factExplanatory-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/net-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd",
      "https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd",
      "https://www.xbrl.org/2023/calculation-1.1.xsd",
      "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd",
      "https://www.xbrl.org/dtr/type/2024-01-31/types.xsd",
      "https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd",
      "https://xbrl.fasb.org/srt/2025/elts/srt-roles-2025.xsd",
      "https://xbrl.fasb.org/srt/2025/elts/srt-types-2025.xsd",
      "https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd",
      "https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd",
      "https://xbrl.fasb.org/us-gaap/2025/elts/us-roles-2025.xsd",
      "https://xbrl.fasb.org/us-gaap/2025/elts/us-types-2025.xsd",
      "https://xbrl.sec.gov/country/2025/country-2025.xsd",
      "https://xbrl.sec.gov/currency/2025/currency-2025.xsd",
      "https://xbrl.sec.gov/dei/2025/dei-2025.xsd",
      "https://xbrl.sec.gov/exch/2025/exch-2025.xsd",
      "https://xbrl.sec.gov/naics/2025/naics-2025.xsd",
      "https://xbrl.sec.gov/sic/2025/sic-2025.xsd",
      "https://xbrl.sec.gov/stpr/2025/stpr-2025.xsd"
     ]
    }
   },
   "keyStandard": 84,
   "keyCustom": 13,
   "axisStandard": 8,
   "axisCustom": 1,
   "memberStandard": 12,
   "memberCustom": 13,
   "hidden": {
    "total": 10567,
    "http://fasb.org/us-gaap-ebp/2025": 10560,
    "http://xbrl.sec.gov/dei/2025": 7
   },
   "contextCount": 7114,
   "entityCount": 1,
   "segmentCount": 25,
   "elementCount": 193,
   "unitCount": 6,
   "baseTaxonomies": {
    "http://fasb.org/us-gaap-ebp/2025": 14587,
    "http://xbrl.sec.gov/dei/2025": 12
   },
   "report": {
    "R1": {
     "role": "http://www.microsoft.com/role/Cover",
     "longName": "1001 - Document - Cover",
     "shortName": "Cover",
     "isDefault": "true",
     "groupType": "document",
     "subGroupType": "",
     "menuCat": "Cover",
     "order": "1",
     "firstAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "dei:DocumentType",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "dei:DocumentType",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R2": {
     "role": "http://www.microsoft.com/role/StatementsOfNetAssetsAvailableForBenefits",
     "longName": "1002 - Statement - Statements of Net Assets Available for Benefits",
     "shortName": "Statements of Net Assets Available for Benefits",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "2",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanCash",
      "unitRef": "Unit_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanCash",
      "unitRef": "Unit_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R3": {
     "role": "http://www.microsoft.com/role/StatementOfChangesInNetAssetsAvailableForBenefits",
     "longName": "1003 - Statement - Statement of Changes in Net Assets Available for Benefits",
     "shortName": "Statement of Changes in Net Assets Available for Benefits",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "3",
     "firstAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestment",
      "unitRef": "Unit_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestment",
      "unitRef": "Unit_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R4": {
     "role": "http://www.microsoft.com/role/DescriptionOfThePlanAndAccountingPolicies",
     "longName": "1004 - Disclosure - Description of the Plan and Accounting Policies",
     "shortName": "Description of the Plan and Accounting Policies",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "4",
     "firstAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "msft:EmployeeBenefitPlanDescriptionOfPlanandSummaryOfAccountingPolicyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "msft:EmployeeBenefitPlanDescriptionOfPlanandSummaryOfAccountingPolicyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R5": {
     "role": "http://www.microsoft.com/role/FairValueMeasurements",
     "longName": "1005 - Disclosure - Fair Value Measurements",
     "shortName": "Fair Value Measurements",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "5",
     "firstAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentFairValueAndNavTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentFairValueAndNavTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R6": {
     "role": "http://www.microsoft.com/role/FullyBenefitResponsiveInvestmentContracts",
     "longName": "1006 - Disclosure - Fully Benefit-Responsive Investment Contracts",
     "shortName": "Fully Benefit-Responsive Investment Contracts",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "6",
     "firstAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanFullyBenefitResponsiveInvestmentContractTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanFullyBenefitResponsiveInvestmentContractTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R7": {
     "role": "http://www.microsoft.com/role/Derivatives",
     "longName": "1007 - Disclosure - Derivatives",
     "shortName": "Derivatives",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "7",
     "firstAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EbpDerivativeTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EbpDerivativeTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R8": {
     "role": "http://www.microsoft.com/role/ParticipantLoans",
     "longName": "1008 - Disclosure - Participant Loans",
     "shortName": "Participant Loans",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "8",
     "firstAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "msft:EmployeeBenefitPlanLoansProvidedToPlanParticipantsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "msft:EmployeeBenefitPlanLoansProvidedToPlanParticipantsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R9": {
     "role": "http://www.microsoft.com/role/TaxStatus",
     "longName": "1009 - Disclosure - Tax Status",
     "shortName": "Tax Status",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "9",
     "firstAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanTaxStatusTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanTaxStatusTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R10": {
     "role": "http://www.microsoft.com/role/PartyInInterestTransactions",
     "longName": "1010 - Disclosure - Party-In-Interest Transactions",
     "shortName": "Party-In-Interest Transactions",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "10",
     "firstAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R11": {
     "role": "http://www.microsoft.com/role/ReconciliationOfFinancialStatementsToForm5500",
     "longName": "1011 - Disclosure - Reconciliation of Financial Statements to Form 5500",
     "shortName": "Reconciliation of Financial Statements to Form 5500",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "11",
     "firstAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanReconciliationToForm5500TextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanReconciliationToForm5500TextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R12": {
     "role": "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYear",
     "longName": "1012 - Disclosure - Schedule of Assets (Held at End of Year)",
     "shortName": "Schedule of Assets (Held at End of Year)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "12",
     "firstAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R13": {
     "role": "http://www.microsoft.com/role/SupplementalScheduleOfDelinquentParticipantContributions",
     "longName": "1013 - Disclosure - Supplemental Schedule of Delinquent Participant Contributions",
     "shortName": "Supplemental Schedule of Delinquent Participant Contributions",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "13",
     "firstAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R14": {
     "role": "http://www.microsoft.com/role/DescriptionOfThePlanAndAccountingPoliciesPolicies",
     "longName": "1014 - Disclosure - Description of the Plan and Accounting Policies (Policies)",
     "shortName": "Description of the Plan and Accounting Policies (Policies)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "policies",
     "menuCat": "Policies",
     "order": "14",
     "firstAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "msft:EmployeeBenefitPlanDescriptionOfPlanandSummaryOfAccountingPolicyTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "msft:EmployeeBenefitPlanDescriptionOfPlanandSummaryOfAccountingPolicyTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R15": {
     "role": "http://www.microsoft.com/role/FairValueMeasurementsTables",
     "longName": "1015 - Disclosure - Fair Value Measurements (Tables)",
     "shortName": "Fair Value Measurements (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "15",
     "firstAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentFairValueAndNavTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentFairValueAndNavTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R16": {
     "role": "http://www.microsoft.com/role/ReconciliationOfFinancialStatementsToForm5500Tables",
     "longName": "1016 - Disclosure - Reconciliation of Financial Statements to Form 5500 (Tables)",
     "shortName": "Reconciliation of Financial Statements to Form 5500 (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "16",
     "firstAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanReconciliationToForm5500TableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap-ebp:EmployeeBenefitPlanReconciliationToForm5500TextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanReconciliationToForm5500TableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "us-gaap-ebp:EmployeeBenefitPlanReconciliationToForm5500TextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R17": {
     "role": "http://www.microsoft.com/role/DescriptionOfThePlanAndAccountingPoliciesAdditionalInformationDetails",
     "longName": "1017 - Disclosure - Description of the Plan and Accounting Policies - Additional Information (Details)",
     "shortName": "Description of the Plan and Accounting Policies - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "17",
     "firstAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_InxileAndDoubleFineMemberusgaapebpEmployeeBenefitPlanContributionParticipatingEmployerAxis",
      "name": "msft:EmployeeBenefitPlanDescriptionOfEmployerContributionPretaxCompensation",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_InxileAndDoubleFineMemberusgaapebpEmployeeBenefitPlanContributionParticipatingEmployerAxis",
      "name": "msft:EmployeeBenefitPlanDescriptionOfEmployerContributionPretaxCompensation",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R18": {
     "role": "http://www.microsoft.com/role/FairValueMeasurementsSummaryOfFinancialInstrumentsMeasuredAtFairValueDetails",
     "longName": "1018 - Disclosure - Fair Value Measurements - Summary of Financial Instruments Measured at Fair Value (Details)",
     "shortName": "Fair Value Measurements - Summary of Financial Instruments Measured at Fair Value (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "18",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentExcludingPlanInterestInMasterTrustFairValue",
      "unitRef": "Unit_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2025_EBP001MemberdeiLegalEntityAxis_MutualFundMemberusgaapInvestmentTypeAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentExcludingPlanInterestInMasterTrustFairValue",
      "unitRef": "Unit_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "us-gaap-ebp:EmployeeBenefitPlanInvestmentFairValueAndNavTableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "unique": true
     }
    },
    "R19": {
     "role": "http://www.microsoft.com/role/ParticipantLoansAdditionalInformationDetail",
     "longName": "1019 - Disclosure - Participant Loans - Additional Information (Detail)",
     "shortName": "Participant Loans - Additional Information (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "19",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanNoteReceivableFromParticipantAccountMaximumBorrowingToTotalAccountPercentage",
      "unitRef": "Unit_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "div",
       "div",
       "msft:EmployeeBenefitPlanLoansProvidedToPlanParticipantsTextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanNoteReceivableFromParticipantAccountMaximumBorrowingToTotalAccountPercentage",
      "unitRef": "Unit_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "div",
       "div",
       "msft:EmployeeBenefitPlanLoansProvidedToPlanParticipantsTextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R20": {
     "role": "http://www.microsoft.com/role/TaxStatusAdditionalInformationDetail",
     "longName": "1020 - Disclosure - Tax Status - Additional Information (Detail)",
     "shortName": "Tax Status - Additional Information (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "20",
     "firstAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanTaxDeterminationLetterDate",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "us-gaap-ebp:EmployeeBenefitPlanTaxStatusTextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanTaxDeterminationLetterDate",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "us-gaap-ebp:EmployeeBenefitPlanTaxStatusTextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R21": {
     "role": "http://www.microsoft.com/role/PartyInInterestTransactionsAdditionalInformationDetail",
     "longName": "1021 - Disclosure - Party-In-Interest Transactions - Additional Information (Detail)",
     "shortName": "Party-In-Interest Transactions - Additional Information (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "21",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanInvestmentExcludingPlanInterestInMasterTrustFairValue",
      "unitRef": "Unit_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2026To01_31_2026_EBP001MemberdeiLegalEntityAxis_SubsequentEventMemberusgaapSubsequentEventTypeAxis",
      "name": "msft:EmployeeBenefitPlanParticipantAccountCredits",
      "unitRef": "Unit_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "div",
       "us-gaap-ebp:EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "unique": true
     }
    },
    "R22": {
     "role": "http://www.microsoft.com/role/ReconciliationOfFinancialStatementsToForm5500ScheduleOfNetAssetsAvailableForBenefitsPerTheFinancialStatementsToTheForm5500Detail",
     "longName": "1022 - Disclosure - Reconciliation of Financial Statements to Form 5500 - Schedule of Net Assets Available for Benefits Per the Financial Statements to the Form 5500 (Detail)",
     "shortName": "Reconciliation of Financial Statements to Form 5500 - Schedule of Net Assets Available for Benefits Per the Financial Statements to the Form 5500 (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "22",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanNetAssetAvailableForBenefit",
      "unitRef": "Unit_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanReconciliationToForm5500NetAssetAvailableForBenefitContractValueToCurrentValueAdjustment",
      "unitRef": "Unit_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "us-gaap-ebp:EmployeeBenefitPlanReconciliationToForm5500TableTextBlock",
       "us-gaap-ebp:EmployeeBenefitPlanReconciliationToForm5500TextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "unique": true
     }
    },
    "R23": {
     "role": "http://www.microsoft.com/role/ReconciliationOfFinancialStatementsToForm5500ScheduleOfNetIncreaseInNetAssetsAvailableForBenefitsPerTheFinancialStatementsToTheForm5500Detail",
     "longName": "1023 - Disclosure - Reconciliation of Financial Statements to Form 5500 - Schedule of Net Increase in Net Assets Available for Benefits Per the Financial Statements to the Form 5500 (Detail)",
     "shortName": "Reconciliation of Financial Statements to Form 5500 - Schedule of Net Increase in Net Assets Available for Benefits Per the Financial Statements to the Form 5500 (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "23",
     "firstAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease",
      "unitRef": "Unit_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanReconciliationToForm5500ChangeInNetAssetAvailableForBenefitIncreaseDecreaseForDeemedDistribution",
      "unitRef": "Unit_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "msft:EmployeeBenefitPlanReconciliationOfNetIncreaseInNetAssetsAsPerForm5500TableTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "unique": true
     }
    },
    "R24": {
     "role": "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYearSummaryOfEmployeeBenefitPlanStatementOfInvestmentDetail",
     "longName": "1024 - Disclosure - Schedule of Assets (Held at End of Year) - Summary of Employee Benefit Plan Statement of Investment (Detail)",
     "shortName": "Schedule of Assets (Held at End of Year) - Summary of Employee Benefit Plan Statement of Investment (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "24",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanAssetHeldForInvestmentInvestmentExcludingPlanInterestInMasterTrustCurrentValue",
      "unitRef": "Unit_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanAssetHeldForInvestmentInvestmentExcludingPlanInterestInMasterTrustCurrentValue",
      "unitRef": "Unit_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R25": {
     "role": "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYearSummaryOfEmployeeBenefitPlanStatementOfInvestmentDetailParenthetical",
     "longName": "1025 - Disclosure - Schedule of Assets (Held at End of Year) - Summary of Employee Benefit Plan Statement of Investment (Detail) (Parenthetical)",
     "shortName": "Schedule of Assets (Held at End of Year) - Summary of Employee Benefit Plan Statement of Investment (Detail) (Parenthetical)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "parenthetical",
     "menuCat": "Details",
     "order": "25",
     "firstAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP001MemberdeiLegalEntityAxis_MaximumMembersrtRangeAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanDebtInterestRate",
      "unitRef": "Unit_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "4",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP001MemberdeiLegalEntityAxis_MaximumMembersrtRangeAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanDebtInterestRate",
      "unitRef": "Unit_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "4",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true,
      "unique": true
     }
    },
    "R26": {
     "role": "http://www.microsoft.com/role/SupplementalScheduleOfDelinquentParticipantContributionsDetail",
     "longName": "1026 - Disclosure - Supplemental Schedule of Delinquent Participant Contributions (Detail)",
     "shortName": "Supplemental Schedule of Delinquent Participant Contributions (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "26",
     "firstAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionTransferredLateToPlan",
      "unitRef": "Unit_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "div",
       "div",
       "us-gaap-ebp:EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2025To12_31_2025_EBP001MemberdeiLegalEntityAxis",
      "name": "us-gaap-ebp:EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionLateRepaymentIncluded",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "td",
       "tr",
       "table",
       "us-gaap-ebp:EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionTableTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d839790d11k.htm",
      "unique": true
     }
    }
   },
   "tag": {
    "msft_AcquiredGeneralLegacyLoanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.microsoft.com/20251231",
     "localname": "AcquiredGeneralLegacyLoanMember",
     "presentation": [
      "http://www.microsoft.com/role/ParticipantLoansAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquired General Legacy Loan [Member]",
        "documentation": "Acquired general legacy loan."
       }
      }
     },
     "auth_ref": []
    },
    "msft_AcquiredPrimaryResidenceLegacyLoanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.microsoft.com/20251231",
     "localname": "AcquiredPrimaryResidenceLegacyLoanMember",
     "presentation": [
      "http://www.microsoft.com/role/ParticipantLoansAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquired Primary Residence Legacy Loan [Member]",
        "documentation": "Acquired primary residence legacy loan."
       }
      }
     },
     "auth_ref": []
    },
    "dei_AmendmentFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "AmendmentFlag",
     "presentation": [
      "http://www.microsoft.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Amendment Flag",
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission."
       }
      }
     },
     "auth_ref": []
    },
    "dei_CoverAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "CoverAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Cover [Abstract]",
        "documentation": "Cover page."
       }
      }
     },
     "auth_ref": []
    },
    "dei_CurrentFiscalYearEndDate": {
     "xbrltype": "gMonthDayItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "CurrentFiscalYearEndDate",
     "presentation": [
      "http://www.microsoft.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current Fiscal Year End Date",
        "documentation": "End date of current fiscal year in the format --MM-DD."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentAxis",
     "presentation": [
      "http://www.microsoft.com/role/ParticipantLoansAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instrument [Axis]"
       }
      }
     },
     "auth_ref": [
      "r187"
     ]
    },
    "us-gaap_DebtInstrumentNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DebtInstrumentNameDomain",
     "presentation": [
      "http://www.microsoft.com/role/ParticipantLoansAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Instrument, Name [Domain]"
       }
      }
     },
     "auth_ref": [
      "r187"
     ]
    },
    "us-gaap_DefinedBenefitPlanCommonCollectiveTrustMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "DefinedBenefitPlanCommonCollectiveTrustMember",
     "presentation": [
      "http://www.microsoft.com/role/FairValueMeasurementsSummaryOfFinancialInstrumentsMeasuredAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Common Collective Trust [Member]",
        "terseLabel": "Common collective trusts measured at NAV"
       }
      }
     },
     "auth_ref": [
      "r121",
      "r130",
      "r133",
      "r140"
     ]
    },
    "dei_DocumentFiscalPeriodFocus": {
     "xbrltype": "fiscalPeriodItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentFiscalPeriodFocus",
     "presentation": [
      "http://www.microsoft.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Fiscal Period Focus",
        "documentation": "Fiscal period values are FY, Q1, Q2, and Q3. 1st, 2nd and 3rd quarter 10-Q or 10-QT statements have value Q1, Q2, and Q3 respectively, with 10-K, 10-KT or other fiscal year statements having FY."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentFiscalYearFocus": {
     "xbrltype": "gYearItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentFiscalYearFocus",
     "presentation": [
      "http://www.microsoft.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Fiscal Year Focus",
        "documentation": "This is focus fiscal year of the document report in YYYY format. For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus. Example: 2006."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentInformationLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentInformationLineItems",
     "presentation": [
      "http://www.microsoft.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Information [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentInformationTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentInformationTable",
     "presentation": [
      "http://www.microsoft.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Information [Table]",
        "documentation": "Container to support the formal attachment of each official or unofficial, public or private document as part of a submission package."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentPeriodEndDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentPeriodEndDate",
     "presentation": [
      "http://www.microsoft.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Period End Date",
        "documentation": "For the EDGAR submission types of Form 8-K: the date of the report, the date of the earliest event reported; for the EDGAR submission types of Form N-1A: the filing date; for all other submission types: the end of the reporting or transition period. The format of the date is YYYY-MM-DD."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentType": {
     "xbrltype": "submissionTypeItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "DocumentType",
     "presentation": [
      "http://www.microsoft.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Type",
        "documentation": "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'."
       }
      }
     },
     "auth_ref": []
    },
    "msft_EBP001Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.microsoft.com/20251231",
     "localname": "EBP001Member",
     "presentation": [
      "http://www.microsoft.com/role/Cover",
      "http://www.microsoft.com/role/Derivatives",
      "http://www.microsoft.com/role/DescriptionOfThePlanAndAccountingPolicies",
      "http://www.microsoft.com/role/DescriptionOfThePlanAndAccountingPoliciesAdditionalInformationDetails",
      "http://www.microsoft.com/role/DescriptionOfThePlanAndAccountingPoliciesPolicies",
      "http://www.microsoft.com/role/FairValueMeasurements",
      "http://www.microsoft.com/role/FairValueMeasurementsSummaryOfFinancialInstrumentsMeasuredAtFairValueDetails",
      "http://www.microsoft.com/role/FairValueMeasurementsTables",
      "http://www.microsoft.com/role/FullyBenefitResponsiveInvestmentContracts",
      "http://www.microsoft.com/role/ParticipantLoans",
      "http://www.microsoft.com/role/ParticipantLoansAdditionalInformationDetail",
      "http://www.microsoft.com/role/PartyInInterestTransactions",
      "http://www.microsoft.com/role/PartyInInterestTransactionsAdditionalInformationDetail",
      "http://www.microsoft.com/role/ReconciliationOfFinancialStatementsToForm5500",
      "http://www.microsoft.com/role/ReconciliationOfFinancialStatementsToForm5500ScheduleOfNetAssetsAvailableForBenefitsPerTheFinancialStatementsToTheForm5500Detail",
      "http://www.microsoft.com/role/ReconciliationOfFinancialStatementsToForm5500ScheduleOfNetIncreaseInNetAssetsAvailableForBenefitsPerTheFinancialStatementsToTheForm5500Detail",
      "http://www.microsoft.com/role/ReconciliationOfFinancialStatementsToForm5500Tables",
      "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYear",
      "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYearSummaryOfEmployeeBenefitPlanStatementOfInvestmentDetail",
      "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYearSummaryOfEmployeeBenefitPlanStatementOfInvestmentDetailParenthetical",
      "http://www.microsoft.com/role/StatementOfChangesInNetAssetsAvailableForBenefits",
      "http://www.microsoft.com/role/StatementsOfNetAssetsAvailableForBenefits",
      "http://www.microsoft.com/role/SupplementalScheduleOfDelinquentParticipantContributions",
      "http://www.microsoft.com/role/SupplementalScheduleOfDelinquentParticipantContributionsDetail",
      "http://www.microsoft.com/role/TaxStatus",
      "http://www.microsoft.com/role/TaxStatusAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP 001 [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EbpDerivativeTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EbpDerivativeTextBlock",
     "presentation": [
      "http://www.microsoft.com/role/Derivatives"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Derivative [Text Block]",
        "terseLabel": "Derivatives",
        "documentation": "The entire disclosure for derivative instrument held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r9",
      "r10",
      "r11",
      "r12",
      "r13",
      "r18",
      "r19",
      "r20",
      "r22",
      "r23",
      "r24",
      "r25",
      "r26",
      "r28",
      "r29",
      "r30",
      "r31"
     ]
    },
    "us-gaap-ebp_EbpRiskAndUncertaintyPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EbpRiskAndUncertaintyPolicyTextBlock",
     "presentation": [
      "http://www.microsoft.com/role/DescriptionOfThePlanAndAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Risk and Uncertainty [Policy Text Block]",
        "terseLabel": "Risks and Uncertainties",
        "documentation": "Disclosure of accounting policy for risk and uncertainty of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Includes, but is not limited to, concentration risk."
       }
      }
     },
     "auth_ref": [
      "r52",
      "r53"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanAccountingPolicyAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Accounting Policy, Accounting Standard Update, and Change in Accounting Principle [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanAccountingPolicyTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanAccountingPolicyTable",
     "presentation": [
      "http://www.microsoft.com/role/DescriptionOfThePlanAndAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Accounting Policy [Table]",
        "documentation": "Disclosure of information about accounting policy for employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r187",
      "r195"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanAccruedExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanAccruedExpense",
     "crdr": "credit",
     "calculation": {
      "http://www.microsoft.com/role/StatementsOfNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanLiability",
       "weight": 1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://www.microsoft.com/role/StatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Accrued Expense",
        "terseLabel": "Operating payables",
        "documentation": "Amount of liability for expense incurred but not yet paid by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r117",
      "r141",
      "r142",
      "r143",
      "r181",
      "r194"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanAsset": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanAsset",
     "crdr": "debit",
     "calculation": {
      "http://www.microsoft.com/role/StatementsOfNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.microsoft.com/role/StatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Asset",
        "totalLabel": "Total assets",
        "documentation": "Amount of asset held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r59",
      "r65",
      "r98",
      "r142",
      "r205"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanAssetAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanAssetAbstract",
     "presentation": [
      "http://www.microsoft.com/role/StatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Asset [Abstract]",
        "terseLabel": "ASSETS"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanAssetHeldForInvestment",
     "crdr": "debit",
     "presentation": [
      "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYearSummaryOfEmployeeBenefitPlanStatementOfInvestmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Asset Held for Investment",
        "documentation": "Amount of total assets in schedule of asset held for investment of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Includes, but is not limited to, current value of investment, participant loan, and plan interest in master trust."
       }
      }
     },
     "auth_ref": [
      "r151",
      "r155"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentInvestmentExcludingPlanInterestInMasterTrustCurrentValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanAssetHeldForInvestmentInvestmentExcludingPlanInterestInMasterTrustCurrentValue",
     "crdr": "debit",
     "presentation": [
      "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYearSummaryOfEmployeeBenefitPlanStatementOfInvestmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Current Value",
        "documentation": "Current value of investment, excluding plan interest in master trust, in schedule of asset held for investment of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Includes, but is not limited to, derivative, investment measured at net asset value per share as practical expedient, and insurance contract."
       }
      }
     },
     "auth_ref": [
      "r97",
      "r160"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentInvestmentExcludingPlanInterestInMasterTrustParticipationStatusExtensibleEnumeration": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanAssetHeldForInvestmentInvestmentExcludingPlanInterestInMasterTrustParticipationStatusExtensibleEnumeration",
     "presentation": [
      "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYearSummaryOfEmployeeBenefitPlanStatementOfInvestmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Asset Held for Investment, Investment, Excluding Plan Interest in Master Trust, Participation Status [Extensible Enumeration]",
        "documentation": "Indicates status of participation by participant for investment, excluding plan interest in master trust, in schedule of asset held for investment of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r97",
      "r160"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentParticipantLoanAfterDeemedDistribution": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanAssetHeldForInvestmentParticipantLoanAfterDeemedDistribution",
     "crdr": "debit",
     "presentation": [
      "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYearSummaryOfEmployeeBenefitPlanStatementOfInvestmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Asset Held for Investment, Participant Loan, after Deemed Distribution",
        "documentation": "Amount, after deemed distribution, of participant loan in schedule of asset held for investment of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r97",
      "r160"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanAssetHeldForInvestmentPartyInInterest": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanAssetHeldForInvestmentPartyInInterest",
     "presentation": [
      "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYearSummaryOfEmployeeBenefitPlanStatementOfInvestmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Asset Held for Investment, Party-in-Interest [true false]",
        "documentation": "Indicates (true false) whether asset held for investment of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)) was transacted with party-in-interest."
       }
      }
     },
     "auth_ref": [
      "r97",
      "r157"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock",
     "presentation": [
      "http://www.microsoft.com/role/DescriptionOfThePlanAndAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Basis of Accounting [Policy Text Block]",
        "terseLabel": "Accounting Principles",
        "documentation": "Disclosure of accounting policy for basis of accounting used to prepare financial statements of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r187",
      "r195"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanCash": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanCash",
     "crdr": "debit",
     "calculation": {
      "http://www.microsoft.com/role/StatementsOfNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanAsset",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.microsoft.com/role/StatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Noninterest-Bearing Cash",
        "terseLabel": "Cash",
        "documentation": "Amount of noninterest-bearing cash held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r0"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease",
     "crdr": "credit",
     "presentation": [
      "http://www.microsoft.com/role/StatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Decrease",
        "totalLabel": "Total deductions",
        "documentation": "Amount of decrease in net asset available for benefit to participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r142",
      "r152"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract",
     "presentation": [
      "http://www.microsoft.com/role/StatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Decrease [Abstract]",
        "terseLabel": "DEDUCTIONS"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForAdministrativeExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForAdministrativeExpense",
     "crdr": "credit",
     "presentation": [
      "http://www.microsoft.com/role/StatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Decrease from Administrative Expense",
        "terseLabel": "Administrative expenses",
        "documentation": "Amount of decrease in net asset available for benefit from administrative expense incurred by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r64",
      "r99",
      "r142"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForPaymentToParticipant": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForPaymentToParticipant",
     "crdr": "credit",
     "calculation": {
      "http://www.microsoft.com/role/StatementOfChangesInNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease",
       "weight": -1.0,
       "order": 9.0
      }
     },
     "presentation": [
      "http://www.microsoft.com/role/StatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Decrease from Payment to Participant",
        "terseLabel": "Benefits paid to participants",
        "documentation": "Amount of decrease in net asset available for benefit from payment of benefit to participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), including, but not limited to, withdrawal."
       }
      }
     },
     "auth_ref": [
      "r63",
      "r94",
      "r99",
      "r107",
      "r142"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease",
     "crdr": "debit",
     "calculation": {
      "http://www.microsoft.com/role/StatementOfChangesInNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.microsoft.com/role/StatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase",
        "totalLabel": "Total additions",
        "documentation": "Amount of increase in net asset available for benefit to participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r142",
      "r152"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseAbstract",
     "presentation": [
      "http://www.microsoft.com/role/StatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase [Abstract]",
        "terseLabel": "ADDITIONS"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease",
     "crdr": "debit",
     "calculation": {
      "http://www.microsoft.com/role/StatementOfChangesInNetAssetsAvailableForBenefits": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.microsoft.com/role/ReconciliationOfFinancialStatementsToForm5500ScheduleOfNetIncreaseInNetAssetsAvailableForBenefitsPerTheFinancialStatementsToTheForm5500Detail",
      "http://www.microsoft.com/role/StatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase (Decrease)",
        "totalLabel": "NET INCREASE IN NET ASSETS AVAILABLE FOR BENEFITS",
        "terseLabel": "Net increase in net assets available for benefits per the financial statements",
        "documentation": "Amount of increase (decrease) in net asset available for benefit to participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r1",
      "r99",
      "r142",
      "r198"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForGainLossOnInvestment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForGainLossOnInvestment",
     "crdr": "debit",
     "calculation": {
      "http://www.microsoft.com/role/StatementOfChangesInNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestment",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.microsoft.com/role/StatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase (Decrease) from Gain (Loss) on Investment",
        "terseLabel": "Net increase in fair value of investments",
        "documentation": "Amount of increase (decrease) in net asset available for benefit from realized and unrealized gain (loss) on investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r15",
      "r62",
      "r113",
      "r142"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestment",
     "crdr": "debit",
     "calculation": {
      "http://www.microsoft.com/role/StatementOfChangesInNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.microsoft.com/role/StatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase (Decrease) from Income (Loss) on Investment",
        "totalLabel": "Net investment income",
        "documentation": "Amount of increase (decrease) in net asset available for benefit from income (loss) on investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Includes, but is not limited to, realized and unrealized gain (loss) on investment."
       }
      }
     },
     "auth_ref": [
      "r142"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestmentAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestmentAbstract",
     "presentation": [
      "http://www.microsoft.com/role/StatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase (Decrease) from Income (Loss) on Investment [Abstract]",
        "terseLabel": "Net investment income:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContribution": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContribution",
     "crdr": "debit",
     "calculation": {
      "http://www.microsoft.com/role/StatementOfChangesInNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.microsoft.com/role/StatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase from Contribution",
        "totalLabel": "Total contributions",
        "documentation": "Amount of increase in net asset available for benefit from contribution to employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r142",
      "r152"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContributionAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContributionAbstract",
     "presentation": [
      "http://www.microsoft.com/role/StatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase from Contribution [Abstract]",
        "terseLabel": "Contributions:"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForDividendIncomeOnInvestment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForDividendIncomeOnInvestment",
     "crdr": "debit",
     "presentation": [
      "http://www.microsoft.com/role/PartyInInterestTransactionsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase from Dividend Income on Investment",
        "terseLabel": "Employee Benefit Plan Excluding Interests In Master Trust Dividends Received",
        "documentation": "Amount of increase in net asset available for benefit from dividend income on investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r86",
      "r142",
      "r182",
      "r202"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForEmployerContribution": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForEmployerContribution",
     "crdr": "debit",
     "calculation": {
      "http://www.microsoft.com/role/StatementOfChangesInNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContribution",
       "weight": 1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://www.microsoft.com/role/StatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase from Employer Contribution, Cash and Noncash",
        "terseLabel": "Employer contributions",
        "documentation": "Amount of increase in net asset available for benefit from cash and noncash contributions from employer of participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r92",
      "r93",
      "r99",
      "r183",
      "r200"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForInterestAndDividendIncomeOnInvestment",
     "crdr": "debit",
     "calculation": {
      "http://www.microsoft.com/role/StatementOfChangesInNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecreaseForIncomeLossOnInvestment",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.microsoft.com/role/StatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase from Interest and Dividend Income on Investment",
        "terseLabel": "Interest and dividends",
        "documentation": "Amount of increase in net asset available for benefit from interest and dividend income on investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r114"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRollover": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRollover",
     "crdr": "debit",
     "calculation": {
      "http://www.microsoft.com/role/StatementOfChangesInNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContribution",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.microsoft.com/role/StatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase from Participant Contribution, Excluding Rollover",
        "terseLabel": "Participant contributions",
        "documentation": "Amount, excluding rollover, of increase in net asset available for benefit from contribution by participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r142",
      "r146",
      "r147",
      "r148",
      "r192",
      "r193"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionRollover": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionRollover",
     "crdr": "debit",
     "calculation": {
      "http://www.microsoft.com/role/StatementOfChangesInNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForContribution",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.microsoft.com/role/StatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Change in Net Asset Available for Benefit, Increase from Participant Contribution, Rollover",
        "terseLabel": "Rollover contributions",
        "documentation": "Amount of increase in net asset available for benefit from contribution transferred from another qualified plan or from individual retirement account of participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Excludes contribution for participant transmitted by employer of participant in EBP."
       }
      }
     },
     "auth_ref": [
      "r142",
      "r146",
      "r147",
      "r148",
      "r192",
      "r193"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanContributionParticipatingEmployerAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanContributionParticipatingEmployerAxis",
     "presentation": [
      "http://www.microsoft.com/role/DescriptionOfThePlanAndAccountingPoliciesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Contribution, Participating Employer [Axis]",
        "documentation": "Information by participating employer contributing to employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r93"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanContributionParticipatingEmployerDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanContributionParticipatingEmployerDomain",
     "presentation": [
      "http://www.microsoft.com/role/DescriptionOfThePlanAndAccountingPoliciesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Contribution, Participating Employer [Domain]",
        "documentation": "Participating employer contributing to employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r93"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanContributionPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanContributionPolicyTextBlock",
     "presentation": [
      "http://www.microsoft.com/role/DescriptionOfThePlanAndAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Contribution [Policy Text Block]",
        "terseLabel": "Contributions",
        "documentation": "Disclosure of accounting policy for determining contribution to employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Includes, but is not limited to, basis for determining employer contribution and method of determining participant contribution."
       }
      }
     },
     "auth_ref": [
      "r66"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanDebtAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanDebtAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Debt [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanDebtInterestRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanDebtInterestRate",
     "presentation": [
      "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYearSummaryOfEmployeeBenefitPlanStatementOfInvestmentDetailParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Debt, Interest Rate",
        "documentation": "Interest rate on debt of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r187",
      "r195"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanDebtLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanDebtLineItems",
     "presentation": [
      "http://www.microsoft.com/role/ParticipantLoans"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Debt [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r187",
      "r195"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanDebtMaturityDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanDebtMaturityDate",
     "presentation": [
      "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYearSummaryOfEmployeeBenefitPlanStatementOfInvestmentDetailParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Debt, Maturity Date",
        "documentation": "Maturity date of debt of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), in YYYY-MM-DD format."
       }
      }
     },
     "auth_ref": [
      "r187",
      "r195"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanDebtTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanDebtTable",
     "presentation": [
      "http://www.microsoft.com/role/ParticipantLoans"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Debt [Table]",
        "documentation": "Disclosure of information about debt of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r187",
      "r195"
     ]
    },
    "msft_EmployeeBenefitPlanDerivativesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.microsoft.com/20251231",
     "localname": "EmployeeBenefitPlanDerivativesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Derivatives [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "msft_EmployeeBenefitPlanDerivativesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.microsoft.com/20251231",
     "localname": "EmployeeBenefitPlanDerivativesLineItems",
     "presentation": [
      "http://www.microsoft.com/role/Derivatives"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Derivatives [Line Items]"
       }
      }
     },
     "auth_ref": []
    },
    "msft_EmployeeBenefitPlanDerivativesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.microsoft.com/20251231",
     "localname": "EmployeeBenefitPlanDerivativesTable",
     "presentation": [
      "http://www.microsoft.com/role/Derivatives"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Derivatives [Table]"
       }
      }
     },
     "auth_ref": []
    },
    "msft_EmployeeBenefitPlanDescriptionOfEmployerContributionPretaxCompensation": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.microsoft.com/20251231",
     "localname": "EmployeeBenefitPlanDescriptionOfEmployerContributionPretaxCompensation",
     "presentation": [
      "http://www.microsoft.com/role/DescriptionOfThePlanAndAccountingPoliciesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Description Of Employer Contribution Pretax Compensation",
        "documentation": "Employee Benefit Plan Description of Employer Contribution Pretax Compensation."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanDescriptionOfPlanAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Description of Plan and Accounting Change [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanDescriptionOfPlanLineItems",
     "presentation": [
      "http://www.microsoft.com/role/DescriptionOfThePlanAndAccountingPolicies",
      "http://www.microsoft.com/role/DescriptionOfThePlanAndAccountingPoliciesAdditionalInformationDetails",
      "http://www.microsoft.com/role/DescriptionOfThePlanAndAccountingPoliciesPolicies",
      "http://www.microsoft.com/role/ParticipantLoansAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Description of Plan [Line Items]",
        "terseLabel": "Administrative Expenses",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r149"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanDescriptionOfPlanTable",
     "presentation": [
      "http://www.microsoft.com/role/DescriptionOfThePlanAndAccountingPolicies",
      "http://www.microsoft.com/role/DescriptionOfThePlanAndAccountingPoliciesAdditionalInformationDetails",
      "http://www.microsoft.com/role/ParticipantLoansAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Description of Plan [Table]",
        "documentation": "Disclosure of information about description of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r149"
     ]
    },
    "msft_EmployeeBenefitPlanDescriptionOfPlanandSummaryOfAccountingPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.microsoft.com/20251231",
     "localname": "EmployeeBenefitPlanDescriptionOfPlanandSummaryOfAccountingPolicyTextBlock",
     "presentation": [
      "http://www.microsoft.com/role/DescriptionOfThePlanAndAccountingPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Description Of Plan and Summary Of Accounting Policy Text Block",
        "terseLabel": "Description of the Plan and Accounting Policies",
        "documentation": "Employee benefit plan description of plan and summary of accounting policy text block."
       }
      }
     },
     "auth_ref": []
    },
    "msft_EmployeeBenefitPlanDistributionsPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.microsoft.com/20251231",
     "localname": "EmployeeBenefitPlanDistributionsPolicyTextBlock",
     "presentation": [
      "http://www.microsoft.com/role/DescriptionOfThePlanAndAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Distributions [Policy Text Block]",
        "terseLabel": "Distributions",
        "documentation": "Employee benefit plan distributions."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanEmployerCommonStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanEmployerCommonStockMember",
     "presentation": [
      "http://www.microsoft.com/role/FairValueMeasurementsSummaryOfFinancialInstrumentsMeasuredAtFairValueDetails",
      "http://www.microsoft.com/role/PartyInInterestTransactionsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Employer, Common Stock [Member]",
        "terseLabel": "Microsoft Common Stock",
        "documentation": "Common stock issued by employer of participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r125",
      "r179",
      "r188",
      "r190",
      "r191",
      "r199",
      "r203",
      "r204"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanEmployerContributionMatchingPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanEmployerContributionMatchingPercentage",
     "presentation": [
      "http://www.microsoft.com/role/DescriptionOfThePlanAndAccountingPoliciesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Employer Contribution, Matching Percentage",
        "documentation": "Percentage of employer matching contribution on eligible participant contribution to employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r142"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanExpensePolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanExpensePolicyTextBlock",
     "presentation": [
      "http://www.microsoft.com/role/DescriptionOfThePlanAndAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Expense [Policy Text Block]",
        "terseLabel": "Administrative Expenses",
        "documentation": "Disclosure of accounting policy for expense incurred by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r142"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionNetAssetAvailableForBenefit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanForm5500CaptionNetAssetAvailableForBenefit",
     "crdr": "debit",
     "calculation": {
      "http://www.microsoft.com/role/ReconciliationOfFinancialStatementsToForm5500ScheduleOfNetAssetsAvailableForBenefitsPerTheFinancialStatementsToTheForm5500Detail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.microsoft.com/role/ReconciliationOfFinancialStatementsToForm5500ScheduleOfNetAssetsAvailableForBenefitsPerTheFinancialStatementsToTheForm5500Detail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Form 5500 Caption, Net Assets",
        "totalLabel": "Net assets per the Form 5500",
        "documentation": "Amount of net asset available for benefit as reported in Form 5500 caption for employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Form 5500 is form provided by Department of the Treasury, Internal Revenue Service (IRS); Department of Labor (DOL), Employee Benefit Security Administration (EBSA); and Pension Benefit Guaranty Corporation (PBGC)."
       }
      }
     },
     "auth_ref": [
      "r142",
      "r186"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionNetIncomeLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanForm5500CaptionNetIncomeLoss",
     "crdr": "debit",
     "presentation": [
      "http://www.microsoft.com/role/ReconciliationOfFinancialStatementsToForm5500ScheduleOfNetIncreaseInNetAssetsAvailableForBenefitsPerTheFinancialStatementsToTheForm5500Detail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Form 5500 Caption, Net Income (Loss)",
        "terseLabel": "Net income per the Form 5500",
        "documentation": "Amount of increase (decrease) in net asset available for benefit from net income (loss) as reported in Form 5500 caption for employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Form 5500 is form provided by Department of the Treasury, Internal Revenue Service (IRS); Department of Labor (DOL), Employee Benefit Security Administration (EBSA); and Pension Benefit Guaranty Corporation (PBGC)."
       }
      }
     },
     "auth_ref": [
      "r153",
      "r186"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanFullyBenefitResponsiveInvestmentContractAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanFullyBenefitResponsiveInvestmentContractAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Fully Benefit-Responsive Investment Contract [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanFullyBenefitResponsiveInvestmentContractLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanFullyBenefitResponsiveInvestmentContractLineItems",
     "presentation": [
      "http://www.microsoft.com/role/FullyBenefitResponsiveInvestmentContracts"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Fully Benefit-Responsive Investment Contract [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r102",
      "r111"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanFullyBenefitResponsiveInvestmentContractTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanFullyBenefitResponsiveInvestmentContractTable",
     "presentation": [
      "http://www.microsoft.com/role/FullyBenefitResponsiveInvestmentContracts"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Fully Benefit-Responsive Investment Contract [Table]",
        "documentation": "Disclosure of information about fully benefit-responsive investment contract held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r102",
      "r111",
      "r142"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanFullyBenefitResponsiveInvestmentContractTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanFullyBenefitResponsiveInvestmentContractTextBlock",
     "presentation": [
      "http://www.microsoft.com/role/FullyBenefitResponsiveInvestmentContracts"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Fully Benefit-Responsive Investment Contract [Text Block]",
        "terseLabel": "Fully Benefit-Responsive Investment Contracts",
        "documentation": "The entire disclosure for fully benefit-responsive investment contract held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r108",
      "r109",
      "r110",
      "r142"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentExcludingPlanInterestInMasterTrustContractValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanInvestmentExcludingPlanInterestInMasterTrustContractValue",
     "crdr": "debit",
     "calculation": {
      "http://www.microsoft.com/role/StatementsOfNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanInvestmentExcludingPlanInterestInMasterTrustFairAndContractValue",
       "weight": 1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://www.microsoft.com/role/StatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment, Excluding Plan Interest in Master Trust, Contract Value",
        "terseLabel": "Investments, at contract value",
        "documentation": "Contract value of investment, excluding plan interest in master trust, held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Includes, but is not limited to, insurance contract meeting fully benefit-responsive investment criteria."
       }
      }
     },
     "auth_ref": [
      "r72",
      "r78",
      "r111",
      "r142",
      "r194"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentExcludingPlanInterestInMasterTrustFairAndContractValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanInvestmentExcludingPlanInterestInMasterTrustFairAndContractValue",
     "crdr": "debit",
     "calculation": {
      "http://www.microsoft.com/role/StatementsOfNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanAsset",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.microsoft.com/role/StatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment, Excluding Plan Interest in Master Trust, Fair and Contract Value",
        "totalLabel": "Total investments",
        "documentation": "Fair and contract value of investment, excluding plan interest in master trust, held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Includes, but is not limited to, derivative, investment measured at net asset value per share as practical expedient, and insurance contract."
       }
      }
     },
     "auth_ref": [
      "r189"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentExcludingPlanInterestInMasterTrustFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanInvestmentExcludingPlanInterestInMasterTrustFairValue",
     "crdr": "debit",
     "calculation": {
      "http://www.microsoft.com/role/StatementsOfNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanInvestmentExcludingPlanInterestInMasterTrustFairAndContractValue",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.microsoft.com/role/FairValueMeasurementsSummaryOfFinancialInstrumentsMeasuredAtFairValueDetails",
      "http://www.microsoft.com/role/PartyInInterestTransactionsAdditionalInformationDetail",
      "http://www.microsoft.com/role/StatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment, Excluding Plan Interest in Master Trust, Fair Value",
        "terseLabel": "Investments, at fair value",
        "documentation": "Fair value of investment, excluding plan interest in master trust, held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Includes, but is not limited to, derivative, investment measured at net asset value per share as practical expedient, and insurance contract not meeting fully-benefit responsive investment criteria."
       }
      }
     },
     "auth_ref": [
      "r14",
      "r16",
      "r17",
      "r27",
      "r32",
      "r34",
      "r35",
      "r41",
      "r42",
      "r44",
      "r102",
      "r119",
      "r120",
      "r121",
      "r122",
      "r123",
      "r124",
      "r125",
      "r126",
      "r127",
      "r128",
      "r142"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanInvestmentFairValueAndNavAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment, Fair Value and NAV [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanInvestmentFairValueAndNavLineItems",
     "presentation": [
      "http://www.microsoft.com/role/FairValueMeasurements",
      "http://www.microsoft.com/role/FairValueMeasurementsSummaryOfFinancialInstrumentsMeasuredAtFairValueDetails",
      "http://www.microsoft.com/role/FairValueMeasurementsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment, Fair Value and NAV [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r36",
      "r37",
      "r38",
      "r41",
      "r42",
      "r44",
      "r45",
      "r46",
      "r47",
      "r48",
      "r49",
      "r50",
      "r69",
      "r90",
      "r119",
      "r120",
      "r121",
      "r122",
      "r123",
      "r124",
      "r125",
      "r126",
      "r127",
      "r128"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanInvestmentFairValueAndNavTable",
     "presentation": [
      "http://www.microsoft.com/role/FairValueMeasurements",
      "http://www.microsoft.com/role/FairValueMeasurementsSummaryOfFinancialInstrumentsMeasuredAtFairValueDetails",
      "http://www.microsoft.com/role/FairValueMeasurementsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment, Fair Value and NAV [Table]",
        "documentation": "Disclosure of information about fair value of investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), including, but not limited to, fair value measured at net asset value per share as practical expedient (NAV)."
       }
      }
     },
     "auth_ref": [
      "r35",
      "r36",
      "r37",
      "r38",
      "r41",
      "r42",
      "r44",
      "r45",
      "r46",
      "r47",
      "r48",
      "r49",
      "r50",
      "r69",
      "r90",
      "r105",
      "r119",
      "r120",
      "r121",
      "r122",
      "r123",
      "r124",
      "r125",
      "r126",
      "r127",
      "r128"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanInvestmentFairValueAndNavTableTextBlock",
     "presentation": [
      "http://www.microsoft.com/role/FairValueMeasurementsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment, Fair Value and NAV [Table Text Block]",
        "terseLabel": "Summary of Financial Instruments Measured at Fair Value",
        "documentation": "Tabular disclosure of fair value of investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), including, but not limited to, fair value measured at net asset value per share as practical expedient (NAV)."
       }
      }
     },
     "auth_ref": [
      "r33",
      "r40",
      "r42",
      "r43",
      "r51",
      "r142",
      "r196",
      "r197",
      "r201"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentFairValueAndNavTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanInvestmentFairValueAndNavTextBlock",
     "presentation": [
      "http://www.microsoft.com/role/FairValueMeasurements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment, Fair Value and NAV [Text Block]",
        "terseLabel": "Fair Value Measurements",
        "documentation": "The entire disclosure for fair value of investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), including, but not limited to, fair value measured at net asset value per share as practical expedient (NAV)."
       }
      }
     },
     "auth_ref": [
      "r36",
      "r38",
      "r39",
      "r41",
      "r42",
      "r44",
      "r47",
      "r48",
      "r49",
      "r50",
      "r69",
      "r90",
      "r91",
      "r102",
      "r103",
      "r142",
      "r145"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentInterestRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanInvestmentInterestRate",
     "presentation": [
      "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYearSummaryOfEmployeeBenefitPlanStatementOfInvestmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment, Interest Rate",
        "documentation": "Interest rate on investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r97",
      "r158",
      "r162",
      "r165",
      "r166",
      "r168"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentIssuerNameExtensibleEnumeration": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanInvestmentIssuerNameExtensibleEnumeration",
     "presentation": [
      "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYearSummaryOfEmployeeBenefitPlanStatementOfInvestmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment, Issuer Name [Extensible Enumeration]",
        "documentation": "Indicates name of issuer of investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r97",
      "r157",
      "r161",
      "r167"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentMaturityDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanInvestmentMaturityDate",
     "presentation": [
      "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYearSummaryOfEmployeeBenefitPlanStatementOfInvestmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment, Maturity Date",
        "documentation": "Maturity date of investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), in YYYY-MM-DD format."
       }
      }
     },
     "auth_ref": [
      "r97",
      "r158",
      "r162",
      "r165",
      "r166",
      "r168"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanInvestmentNumberOfShares",
     "presentation": [
      "http://www.microsoft.com/role/PartyInInterestTransactionsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment, Number of Shares",
        "terseLabel": "EBP, Investment, Number of Shares",
        "documentation": "Number of shares or units of investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r70",
      "r97",
      "r158",
      "r162",
      "r165",
      "r166",
      "r168"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanInvestmentPolicyTextBlock",
     "presentation": [
      "http://www.microsoft.com/role/DescriptionOfThePlanAndAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment [Policy Text Block]",
        "terseLabel": "Valuation of Investments and Income (Loss) Recognition",
        "documentation": "Disclosure of accounting policy for investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r101",
      "r105",
      "r106",
      "r142"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanInvestmentTypeExtensibleEnumeration": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanInvestmentTypeExtensibleEnumeration",
     "presentation": [
      "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYearSummaryOfEmployeeBenefitPlanStatementOfInvestmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Investment, Current Value, Type [Extensible Enumeration]",
        "documentation": "Indicates type of investment at current value held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r97",
      "r157",
      "r161"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanLiability": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanLiability",
     "crdr": "credit",
     "calculation": {
      "http://www.microsoft.com/role/StatementsOfNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit",
       "weight": -1.0,
       "order": 9.0
      }
     },
     "presentation": [
      "http://www.microsoft.com/role/StatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Liability",
        "totalLabel": "Total liabilities",
        "documentation": "Amount of liability of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r60",
      "r83",
      "r98",
      "r142",
      "r205"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanLiabilityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanLiabilityAbstract",
     "presentation": [
      "http://www.microsoft.com/role/StatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Liability [Abstract]",
        "terseLabel": "LIABILITIES"
       }
      }
     },
     "auth_ref": []
    },
    "msft_EmployeeBenefitPlanLoansProvidedToPlanParticipantsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.microsoft.com/20251231",
     "localname": "EmployeeBenefitPlanLoansProvidedToPlanParticipantsTextBlock",
     "presentation": [
      "http://www.microsoft.com/role/ParticipantLoans"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Loans Provided To Plan Participants [Text Block]",
        "terseLabel": "Participant Loans",
        "documentation": "Employee benefit plan loans provided to plan participants."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanNetAssetAvailableForBenefit",
     "crdr": "debit",
     "calculation": {
      "http://www.microsoft.com/role/ReconciliationOfFinancialStatementsToForm5500ScheduleOfNetAssetsAvailableForBenefitsPerTheFinancialStatementsToTheForm5500Detail": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionNetAssetAvailableForBenefit",
       "weight": 1.0,
       "order": 1.0
      },
      "http://www.microsoft.com/role/StatementsOfNetAssetsAvailableForBenefits": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.microsoft.com/role/ReconciliationOfFinancialStatementsToForm5500ScheduleOfNetAssetsAvailableForBenefitsPerTheFinancialStatementsToTheForm5500Detail",
      "http://www.microsoft.com/role/StatementOfChangesInNetAssetsAvailableForBenefits",
      "http://www.microsoft.com/role/StatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Net Asset Available for Benefit",
        "totalLabel": "NET ASSETS AVAILABLE FOR BENEFITS",
        "periodStartLabel": "Beginning of year",
        "periodEndLabel": "End of year",
        "verboseLabel": "Net assets available for benefits\u00a0per the financial statements",
        "documentation": "Amount of asset less liability available to pay benefit of participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), including, but not limited to, aggregation of participants' individual account balances."
       }
      }
     },
     "auth_ref": [
      "r2",
      "r61",
      "r84",
      "r95",
      "r96",
      "r104",
      "r117",
      "r142",
      "r143",
      "r194"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefitAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanNetAssetAvailableForBenefitAbstract",
     "presentation": [
      "http://www.microsoft.com/role/StatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Net Asset Available for Benefit [Abstract]",
        "terseLabel": "NET ASSETS AVAILABLE FOR BENEFITS"
       }
      }
     },
     "auth_ref": []
    },
    "msft_EmployeeBenefitPlanNoteReceivableFromParticipantAccountIncrementAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.microsoft.com/20251231",
     "localname": "EmployeeBenefitPlanNoteReceivableFromParticipantAccountIncrementAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.microsoft.com/role/ParticipantLoansAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Note Receivable From Participant Account Increment Amount",
        "terseLabel": "EBP, form 5500 caption, increment amount",
        "documentation": "Employee benefit plan note receivable from participant account increment amount."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipantAccountMaximumBorrowingAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanNoteReceivableFromParticipantAccountMaximumBorrowingAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.microsoft.com/role/ParticipantLoansAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Note Receivable from Participant, Account, Maximum Borrowing, Amount",
        "terseLabel": "EBP, form 5500 caption, maximum borrowing amount",
        "documentation": "Amount of maximum account balance that participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)) can borrow."
       }
      }
     },
     "auth_ref": [
      "r142"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipantAccountMaximumBorrowingToTotalAccountPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanNoteReceivableFromParticipantAccountMaximumBorrowingToTotalAccountPercentage",
     "presentation": [
      "http://www.microsoft.com/role/ParticipantLoansAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Note Receivable from Participant, Account, Maximum Borrowing, to Total Account, Percentage",
        "verboseLabel": "Employee benefit plan percentage of maximum amount that can be borrowed",
        "documentation": "Percentage of maximum account balance that participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)) can borrow to total participant account balance."
       }
      }
     },
     "auth_ref": [
      "r142"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipantAccountMinimumBorrowingAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanNoteReceivableFromParticipantAccountMinimumBorrowingAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.microsoft.com/role/ParticipantLoansAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Note Receivable from Participant, Account, Minimum Borrowing, Amount",
        "terseLabel": "EBP, form 5500 caption, minimum borrowing amount",
        "documentation": "Amount of minimum account balance that participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)) can borrow."
       }
      }
     },
     "auth_ref": [
      "r142"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanNoteReceivableFromParticipantPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanNoteReceivableFromParticipantPolicyTextBlock",
     "presentation": [
      "http://www.microsoft.com/role/DescriptionOfThePlanAndAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Note Receivable from Participant [Policy Text Block]",
        "terseLabel": "Participant Loans",
        "documentation": "Disclosure of accounting policy for note receivable from participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r142"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanOtherLiability": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanOtherLiability",
     "crdr": "credit",
     "calculation": {
      "http://www.microsoft.com/role/StatementsOfNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanLiability",
       "weight": 1.0,
       "order": 11.0
      }
     },
     "presentation": [
      "http://www.microsoft.com/role/StatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Other Liability",
        "terseLabel": "Other payables",
        "documentation": "Amount of liability of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), classified as other."
       }
      }
     },
     "auth_ref": [
      "r83",
      "r205"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanOtherReceivable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanOtherReceivable",
     "crdr": "debit",
     "calculation": {
      "http://www.microsoft.com/role/StatementsOfNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanReceivable",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.microsoft.com/role/StatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Other Receivable",
        "terseLabel": "Other receivables",
        "documentation": "Amount of receivable for employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), classified as other."
       }
      }
     },
     "auth_ref": [
      "r150"
     ]
    },
    "msft_EmployeeBenefitPlanParticipantAccountCredits": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.microsoft.com/20251231",
     "localname": "EmployeeBenefitPlanParticipantAccountCredits",
     "crdr": "credit",
     "presentation": [
      "http://www.microsoft.com/role/PartyInInterestTransactionsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Participant Account Credits",
        "documentation": "Employee Benefit Plan Participant Account Credits."
       }
      }
     },
     "auth_ref": []
    },
    "msft_EmployeeBenefitPlanParticipantContributionAfterTaxMaximumAnnualCompensationAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.microsoft.com/20251231",
     "localname": "EmployeeBenefitPlanParticipantContributionAfterTaxMaximumAnnualCompensationAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.microsoft.com/role/DescriptionOfThePlanAndAccountingPoliciesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Participant Contribution After tax Maximum Annual Compensation Amount",
        "documentation": "Employee Benefit Plan Participant Contribution After tax Maximum Annual Compensation Amount."
       }
      }
     },
     "auth_ref": []
    },
    "msft_EmployeeBenefitPlanParticipantContributionMaximumAnnualCompensationToTotalCompensationPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.microsoft.com/20251231",
     "localname": "EmployeeBenefitPlanParticipantContributionMaximumAnnualCompensationToTotalCompensationPercentage",
     "presentation": [
      "http://www.microsoft.com/role/DescriptionOfThePlanAndAccountingPoliciesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Participant Contribution Maximum Annual Compensation To Total Compensation Percentage",
        "documentation": "Percentage of participant compensation eligible for employer matching contribution for participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanParticipantContributionPretaxMaximumAnnualCompensationAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanParticipantContributionPretaxMaximumAnnualCompensationAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.microsoft.com/role/DescriptionOfThePlanAndAccountingPoliciesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Participant Contribution, Pretax, Maximum Annual Compensation, Amount",
        "documentation": "Amount of maximum pretax annual compensation that participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), is permitted to contribute."
       }
      }
     },
     "auth_ref": [
      "r184"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanParticipantContributionReceivable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanParticipantContributionReceivable",
     "crdr": "debit",
     "calculation": {
      "http://www.microsoft.com/role/StatementsOfNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanReceivable",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.microsoft.com/role/StatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Participant Contribution, Receivable",
        "terseLabel": "Participant loans",
        "documentation": "Amount of contribution receivable from participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r98",
      "r100",
      "r142"
     ]
    },
    "msft_EmployeeBenefitPlanParticipantContributionYearAge": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.microsoft.com/20251231",
     "localname": "EmployeeBenefitPlanParticipantContributionYearAge",
     "presentation": [
      "http://www.microsoft.com/role/DescriptionOfThePlanAndAccountingPoliciesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Participant Contribution Year Age",
        "documentation": "Employee Benefit Plan Participant Contribution Year Age."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanParticipantDirectedStatusAxis",
     "presentation": [
      "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYearSummaryOfEmployeeBenefitPlanStatementOfInvestmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Participant-Directed and Nonparticipant-Directed Status [Axis]",
        "documentation": "Information by participant-directed and nonparticipant-directed status of investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r104",
      "r112"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanParticipantDirectedStatusDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanParticipantDirectedStatusDomain",
     "presentation": [
      "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYearSummaryOfEmployeeBenefitPlanStatementOfInvestmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Participant-Directed and Nonparticipant-Directed Status [Domain]",
        "documentation": "Participant-directed and nonparticipant-directed status of investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r104",
      "r112"
     ]
    },
    "msft_EmployeeBenefitPlanParticipantLoanDefaultConsequencesDescription": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.microsoft.com/20251231",
     "localname": "EmployeeBenefitPlanParticipantLoanDefaultConsequencesDescription",
     "presentation": [
      "http://www.microsoft.com/role/ParticipantLoansAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Participant Loan Default Consequences Description",
        "documentation": "Employee benefit plan participant loan default consequences description."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanParticipantLoanInterestRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanParticipantLoanInterestRate",
     "presentation": [
      "http://www.microsoft.com/role/ParticipantLoansAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Asset Held for Investment, Participant Loan, Interest Rate",
        "verboseLabel": "Employee benefit plan participant loans interest rate",
        "documentation": "Interest rate on participant loan in schedule of asset held for investment of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r97",
      "r160"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanParticipantLoanMaturityDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanParticipantLoanMaturityDate",
     "presentation": [
      "http://www.microsoft.com/role/ParticipantLoansAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Asset Held for Investment, Participant Loan, Maturity Date",
        "verboseLabel": "Employee benefit plan participant loans maturity",
        "documentation": "Maturity date of participant loan in schedule of asset held for investment of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), in YYYY-MM-DD format."
       }
      }
     },
     "auth_ref": [
      "r97",
      "r160"
     ]
    },
    "msft_EmployeeBenefitPlanParticipantLoanRepaymentGracePeriod": {
     "xbrltype": "integerItemType",
     "nsuri": "http://www.microsoft.com/20251231",
     "localname": "EmployeeBenefitPlanParticipantLoanRepaymentGracePeriod",
     "presentation": [
      "http://www.microsoft.com/role/ParticipantLoansAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Participant Loan Repayment Grace Period",
        "verboseLabel": "Employee benefit plan paricipant loan repayment grace period",
        "documentation": "Employee benefit plan paricipant loan repayment grace period."
       }
      }
     },
     "auth_ref": []
    },
    "msft_EmployeeBenefitPlanParticipantLoansTerm": {
     "xbrltype": "integerItemType",
     "nsuri": "http://www.microsoft.com/20251231",
     "localname": "EmployeeBenefitPlanParticipantLoansTerm",
     "presentation": [
      "http://www.microsoft.com/role/ParticipantLoansAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Participant Loans Term",
        "verboseLabel": "Employee benefit plan participant loans term",
        "documentation": "Employee benefit plan participant loans term."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanPaymentToParticipantPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanPaymentToParticipantPolicyTextBlock",
     "presentation": [
      "http://www.microsoft.com/role/DescriptionOfThePlanAndAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Payment to Participant [Policy Text Block]",
        "terseLabel": "Participant Accounts",
        "documentation": "Disclosure of accounting policy for payment of benefit to participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r142"
     ]
    },
    "msft_EmployeeBenefitPlanPooledSeparateAccountCommonCollectiveTrustsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.microsoft.com/20251231",
     "localname": "EmployeeBenefitPlanPooledSeparateAccountCommonCollectiveTrustsMember",
     "presentation": [
      "http://www.microsoft.com/role/FairValueMeasurementsSummaryOfFinancialInstrumentsMeasuredAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Pooled Separate Account Common Collective Trusts [Member]",
        "terseLabel": "Separately managed accounts - Common collective trusts measured at NAV"
       }
      }
     },
     "auth_ref": []
    },
    "msft_EmployeeBenefitPlanPooledSeparateAccountMutualFundsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.microsoft.com/20251231",
     "localname": "EmployeeBenefitPlanPooledSeparateAccountMutualFundsMember",
     "presentation": [
      "http://www.microsoft.com/role/FairValueMeasurementsSummaryOfFinancialInstrumentsMeasuredAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Pooled Separate Account Mutual Funds [Member]",
        "terseLabel": "Separately managed accounts - Mutual funds"
       }
      }
     },
     "auth_ref": []
    },
    "msft_EmployeeBenefitPlanPooledSeparateAccountOtherMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.microsoft.com/20251231",
     "localname": "EmployeeBenefitPlanPooledSeparateAccountOtherMember",
     "presentation": [
      "http://www.microsoft.com/role/FairValueMeasurementsSummaryOfFinancialInstrumentsMeasuredAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Pooled Separate Account Other [Member]",
        "terseLabel": "Separately managed accounts - Other"
       }
      }
     },
     "auth_ref": []
    },
    "msft_EmployeeBenefitPlanPooledSeparateAccountPubliclytradedStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.microsoft.com/20251231",
     "localname": "EmployeeBenefitPlanPooledSeparateAccountPubliclytradedStockMember",
     "presentation": [
      "http://www.microsoft.com/role/FairValueMeasurementsSummaryOfFinancialInstrumentsMeasuredAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Pooled Separate Account Publiclytraded stock [Member]",
        "verboseLabel": "Separately managed accounts - Publicly-traded stock"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanReceivable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanReceivable",
     "crdr": "debit",
     "calculation": {
      "http://www.microsoft.com/role/StatementsOfNetAssetsAvailableForBenefits": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanAsset",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.microsoft.com/role/StatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Receivable",
        "totalLabel": "Total receivables",
        "documentation": "Amount of receivable of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r142",
      "r194"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanReceivableAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanReceivableAbstract",
     "presentation": [
      "http://www.microsoft.com/role/StatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Receivable [Abstract]",
        "terseLabel": "Receivables"
       }
      }
     },
     "auth_ref": []
    },
    "msft_EmployeeBenefitPlanReconciliationOfNetIncreaseInNetAssetsAsPerForm5500TableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.microsoft.com/20251231",
     "localname": "EmployeeBenefitPlanReconciliationOfNetIncreaseInNetAssetsAsPerForm5500TableTextBlock",
     "presentation": [
      "http://www.microsoft.com/role/ReconciliationOfFinancialStatementsToForm5500Tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefit Plan Reconciliation Of Net Increase In Net Assets As Per Form 5500 [Table Text Block]",
        "terseLabel": "Schedule of Net Increase in Net Assets Available for Benefits Per the Financial Statements to the Form 5500",
        "documentation": "Employee benefit plan reconciliation of net increase in net assets as per form 5500."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Abstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanReconciliationToForm5500Abstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Reconciliation of Financial Statement to Form 5500 [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500ChangeInNetAssetAvailableForBenefitIncreaseDecreaseForContractValueToCurrentValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanReconciliationToForm5500ChangeInNetAssetAvailableForBenefitIncreaseDecreaseForContractValueToCurrentValue",
     "crdr": "debit",
     "presentation": [
      "http://www.microsoft.com/role/ReconciliationOfFinancialStatementsToForm5500ScheduleOfNetIncreaseInNetAssetsAvailableForBenefitsPerTheFinancialStatementsToTheForm5500Detail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Reconciliation to Form 5500, Change in Net Asset Available for Benefit, Increase (Decrease) from Contract Value to Current Value",
        "terseLabel": "Adjustment from contract value to fair value for fully benefit-responsive investment contracts at end of the year",
        "documentation": "Amount of increase (decrease) in net asset available for benefit from current value in excess of (less than) contract value of investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP)) to reconcile change in net asset available for benefit per financial statement to Form 5500 caption. Form 5500 is form provided by Department of the Treasury, Internal Revenue Service (IRS); Department of Labor (DOL), Employee Benefit Security Administration (EBSA); and Pension Benefit Guaranty Corporation (PBGC)."
       }
      }
     },
     "auth_ref": [
      "r153",
      "r186"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500ChangeInNetAssetAvailableForBenefitIncreaseDecreaseForDeemedDistribution": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanReconciliationToForm5500ChangeInNetAssetAvailableForBenefitIncreaseDecreaseForDeemedDistribution",
     "crdr": "debit",
     "presentation": [
      "http://www.microsoft.com/role/ReconciliationOfFinancialStatementsToForm5500ScheduleOfNetIncreaseInNetAssetsAvailableForBenefitsPerTheFinancialStatementsToTheForm5500Detail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Reconciliation to Form 5500, Change in Net Asset Available for Benefit, Increase (Decrease) from Deemed Distribution",
        "terseLabel": "Increase in benefits payable at year end",
        "documentation": "Amount of increase (decrease) in net asset available for benefit from deemed distribution to participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)) to reconcile change in net asset available for benefit per financial statement to Form 5500 caption. Form 5500 is form provided by Department of the Treasury, Internal Revenue Service (IRS); Department of Labor (DOL), Employee Benefit Security Administration (EBSA); and Pension Benefit Guaranty Corporation (PBGC)."
       }
      }
     },
     "auth_ref": [
      "r153",
      "r186"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500LineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanReconciliationToForm5500LineItems",
     "presentation": [
      "http://www.microsoft.com/role/ReconciliationOfFinancialStatementsToForm5500",
      "http://www.microsoft.com/role/ReconciliationOfFinancialStatementsToForm5500ScheduleOfNetAssetsAvailableForBenefitsPerTheFinancialStatementsToTheForm5500Detail",
      "http://www.microsoft.com/role/ReconciliationOfFinancialStatementsToForm5500ScheduleOfNetIncreaseInNetAssetsAvailableForBenefitsPerTheFinancialStatementsToTheForm5500Detail",
      "http://www.microsoft.com/role/ReconciliationOfFinancialStatementsToForm5500Tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Reconciliation of Financial Statement to Form 5500 [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r186"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500NetAssetAvailableForBenefitAllocationToWithdrawingParticipantNotYetPaid": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanReconciliationToForm5500NetAssetAvailableForBenefitAllocationToWithdrawingParticipantNotYetPaid",
     "crdr": "credit",
     "calculation": {
      "http://www.microsoft.com/role/ReconciliationOfFinancialStatementsToForm5500ScheduleOfNetAssetsAvailableForBenefitsPerTheFinancialStatementsToTheForm5500Detail": {
       "parentTag": "us-gaap-ebp_EmployeeBenefitPlanForm5500CaptionNetAssetAvailableForBenefit",
       "weight": -1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.microsoft.com/role/ReconciliationOfFinancialStatementsToForm5500ScheduleOfNetAssetsAvailableForBenefitsPerTheFinancialStatementsToTheForm5500Detail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Reconciliation to Form 5500, Net Asset Available for Benefit, Allocation to Withdrawing Participant, Not yet Paid",
        "negatedLabel": "Benefits payable",
        "documentation": "Amount of asset allocated, but not yet paid, to participant electing to withdraw from employee stock purchase, saving, or similar plan (employee benefit plan (EBP)) to reconcile net asset available for benefit per financial statement to Form 5500 caption. Form 5500 is form provided by Department of the Treasury, Internal Revenue Service (IRS); Department of Labor (DOL), Employee Benefit Security Administration (EBSA); and Pension Benefit Guaranty Corporation (PBGC)."
       }
      }
     },
     "auth_ref": [
      "r142",
      "r186"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500NetAssetAvailableForBenefitContractValueToCurrentValueAdjustment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanReconciliationToForm5500NetAssetAvailableForBenefitContractValueToCurrentValueAdjustment",
     "crdr": "debit",
     "presentation": [
      "http://www.microsoft.com/role/ReconciliationOfFinancialStatementsToForm5500ScheduleOfNetAssetsAvailableForBenefitsPerTheFinancialStatementsToTheForm5500Detail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Reconciliation to Form 5500, Net Asset Available for Benefit, Contract Value to Current Value Adjustment",
        "terseLabel": "Adjustment from contract value to fair value for fully benefit-responsive investment contracts",
        "documentation": "Amount of current value in excess of (less than) contract value of investment held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP)) to reconcile net asset available for benefit per financial statement to Form 5500 caption. Form 5500 is form provided by Department of the Treasury, Internal Revenue Service (IRS); Department of Labor (DOL), Employee Benefit Security Administration (EBSA); and Pension Benefit Guaranty Corporation (PBGC)."
       }
      }
     },
     "auth_ref": [
      "r153",
      "r186"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500Table": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanReconciliationToForm5500Table",
     "presentation": [
      "http://www.microsoft.com/role/ReconciliationOfFinancialStatementsToForm5500",
      "http://www.microsoft.com/role/ReconciliationOfFinancialStatementsToForm5500ScheduleOfNetAssetsAvailableForBenefitsPerTheFinancialStatementsToTheForm5500Detail",
      "http://www.microsoft.com/role/ReconciliationOfFinancialStatementsToForm5500ScheduleOfNetIncreaseInNetAssetsAvailableForBenefitsPerTheFinancialStatementsToTheForm5500Detail",
      "http://www.microsoft.com/role/ReconciliationOfFinancialStatementsToForm5500Tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Reconciliation of Financial Statement to Form 5500 [Table]",
        "documentation": "Disclosure of information about reconciliation of financial statement to Form 5500 for employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Form 5500 is form provided by Department of the Treasury, Internal Revenue Service (IRS); Department of Labor (DOL), Employee Benefit Security Administration (EBSA); and Pension Benefit Guaranty Corporation (PBGC)."
       }
      }
     },
     "auth_ref": [
      "r186"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500TableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanReconciliationToForm5500TableTextBlock",
     "presentation": [
      "http://www.microsoft.com/role/ReconciliationOfFinancialStatementsToForm5500Tables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Reconciliation of Financial Statement to Form 5500 [Table Text Block]",
        "terseLabel": "Schedule of Net Assets Available for Benefits Per the Financial Statements to the Form 5500",
        "documentation": "Tabular disclosure of reconciliation of financial statement to Form 5500 for employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Form 5500 is form provided by Department of the Treasury, Internal Revenue Service (IRS); Department of Labor (DOL), Employee Benefit Security Administration (EBSA); and Pension Benefit Guaranty Corporation (PBGC)."
       }
      }
     },
     "auth_ref": [
      "r142"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanReconciliationToForm5500TextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanReconciliationToForm5500TextBlock",
     "presentation": [
      "http://www.microsoft.com/role/ReconciliationOfFinancialStatementsToForm5500"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Reconciliation of Financial Statement to Form 5500 [Text Block]",
        "terseLabel": "Reconciliation of Financial Statements to Form 5500",
        "documentation": "The entire disclosure for reconciliation of financial statement to Form 5500 for employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Form 5500 is form provided by Department of the Treasury, Internal Revenue Service (IRS); Department of Labor (DOL), Employee Benefit Security Administration (EBSA); and Pension Benefit Guaranty Corporation (PBGC)."
       }
      }
     },
     "auth_ref": [
      "r68",
      "r142"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Related Party and Party-in-Interest Transactions [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsLineItems",
     "presentation": [
      "http://www.microsoft.com/role/PartyInInterestTransactions",
      "http://www.microsoft.com/role/PartyInInterestTransactionsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Related Party and Party-in-Interest Transactions [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r57",
      "r187",
      "r195"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTable",
     "presentation": [
      "http://www.microsoft.com/role/PartyInInterestTransactions",
      "http://www.microsoft.com/role/PartyInInterestTransactionsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Related Party and Party-in-Interest Transactions [Table]",
        "documentation": "Disclosure of information about related party and party-in-interest transactions with employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r57",
      "r187",
      "r195"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanRelatedPartyAndPartyInInterestTransactionsTextBlock",
     "presentation": [
      "http://www.microsoft.com/role/PartyInInterestTransactions"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Related Party and Party-in-Interest Transactions [Text Block]",
        "terseLabel": "Party-In-Interest Transactions",
        "documentation": "The entire disclosure for related party and party-in-interest transactions with employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r54",
      "r55",
      "r56",
      "r57",
      "r142"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Schedule of Asset Held for Investment [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems",
     "presentation": [
      "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYear",
      "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYearSummaryOfEmployeeBenefitPlanStatementOfInvestmentDetail",
      "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYearSummaryOfEmployeeBenefitPlanStatementOfInvestmentDetailParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Schedule of Asset Held for Investment [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r97",
      "r157",
      "r158",
      "r159",
      "r160"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable",
     "presentation": [
      "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYear",
      "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYearSummaryOfEmployeeBenefitPlanStatementOfInvestmentDetail",
      "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYearSummaryOfEmployeeBenefitPlanStatementOfInvestmentDetailParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Schedule of Asset Held for Investment [Table]",
        "documentation": "Disclosure of information about schedule of asset held for investment of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r97",
      "r157",
      "r158",
      "r159",
      "r160"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTableTextBlock",
     "presentation": [
      "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYear"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Schedule of Asset Held for Investment [Table Text Block]",
        "terseLabel": "Schedule of Assets (Held at End of Year)",
        "documentation": "Tabular disclosure of schedule of asset held for investment of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r151",
      "r156"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Schedule of Delinquent Participant Contribution [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionCorrected": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionCorrected",
     "crdr": "debit",
     "presentation": [
      "http://www.microsoft.com/role/SupplementalScheduleOfDelinquentParticipantContributionsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Schedule of Delinquent Participant Contribution, Corrected",
        "documentation": "Amount of delinquent participant contribution corrected under Voluntary Fiduciary Correction Program (VFCP) and Prohibited Transaction Exemption (PTE) 2002-51 for employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r154"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionCorrectedOutsideVfcp": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionCorrectedOutsideVfcp",
     "crdr": "debit",
     "presentation": [
      "http://www.microsoft.com/role/SupplementalScheduleOfDelinquentParticipantContributionsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Schedule of Delinquent Participant Contribution, Corrected Outside VFCP",
        "documentation": "Amount of delinquent participant contribution corrected outside Voluntary Fiduciary Correction Program (VFCP) for employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r154"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionLateRepaymentIncluded": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionLateRepaymentIncluded",
     "presentation": [
      "http://www.microsoft.com/role/SupplementalScheduleOfDelinquentParticipantContributionsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Schedule of Delinquent Participant Contribution, Late Repayment Included [true false]",
        "documentation": "Indicates (true false) whether late participant loan repayment was included in delinquent participant contribution for employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r154"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionLineItems",
     "presentation": [
      "http://www.microsoft.com/role/SupplementalScheduleOfDelinquentParticipantContributions",
      "http://www.microsoft.com/role/SupplementalScheduleOfDelinquentParticipantContributionsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Schedule of Delinquent Participant Contribution [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r154"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionNotCorrected": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionNotCorrected",
     "crdr": "debit",
     "presentation": [
      "http://www.microsoft.com/role/SupplementalScheduleOfDelinquentParticipantContributionsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Schedule of Delinquent Participant Contribution, Not Corrected",
        "documentation": "Amount of delinquent participant contribution not corrected for employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r154"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionPendingCorrectionInVfcp": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionPendingCorrectionInVfcp",
     "crdr": "debit",
     "presentation": [
      "http://www.microsoft.com/role/SupplementalScheduleOfDelinquentParticipantContributionsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Schedule of Delinquent Participant Contribution, Pending Correction in VFCP",
        "documentation": "Amount of delinquent participant contribution pending correction in Voluntary Fiduciary Correction Program (VFCP) for employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r154"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionTable",
     "presentation": [
      "http://www.microsoft.com/role/SupplementalScheduleOfDelinquentParticipantContributions",
      "http://www.microsoft.com/role/SupplementalScheduleOfDelinquentParticipantContributionsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Schedule of Delinquent Participant Contribution [Table]",
        "documentation": "Disclosure of information about delinquent participant contribution for employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r154"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionTableTextBlock",
     "presentation": [
      "http://www.microsoft.com/role/SupplementalScheduleOfDelinquentParticipantContributions"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Schedule of Delinquent Participant Contribution [Table Text Block]",
        "terseLabel": "Supplemental Schedule of Delinquent Participant Contributions",
        "documentation": "Tabular disclosure of delinquent participant contribution for employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r154"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionTransferredLateToPlan": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanScheduleOfDelinquentParticipantContributionTransferredLateToPlan",
     "crdr": "debit",
     "presentation": [
      "http://www.microsoft.com/role/PartyInInterestTransactionsAdditionalInformationDetail",
      "http://www.microsoft.com/role/SupplementalScheduleOfDelinquentParticipantContributionsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Schedule of Delinquent Participant Contribution, Transferred Late to Plan",
        "terseLabel": "Employee Benefit Plan Delinquent Participant Contributions Amount",
        "documentation": "Amount of delinquent participant contribution transferred late to employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r154"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanSelfDirectedBrokerageAccountMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanSelfDirectedBrokerageAccountMember",
     "presentation": [
      "http://www.microsoft.com/role/FairValueMeasurementsSummaryOfFinancialInstrumentsMeasuredAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Self-Directed Brokerage Account [Member]",
        "terseLabel": "Brokerage accounts",
        "documentation": "Investment fund option allowing participant to select investment outside core option offered by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r128",
      "r130",
      "r139",
      "r140",
      "r142"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Statement of Change in Net Asset Available for Benefit [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems",
     "presentation": [
      "http://www.microsoft.com/role/StatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Statement of Change in Net Asset Available for Benefit [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r87",
      "r88",
      "r89",
      "r104"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitTable",
     "presentation": [
      "http://www.microsoft.com/role/StatementOfChangesInNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Statement of Change in Net Asset Available for Benefit [Table]",
        "documentation": "Presentation of information about change in net asset available for benefit for employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r87",
      "r88",
      "r89",
      "r104"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Statement of Net Asset Available for Benefit [Abstract]",
        "terseLabel": "Statement of Net Assets"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems",
     "presentation": [
      "http://www.microsoft.com/role/StatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Statement of Net Asset Available for Benefit [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r73",
      "r74",
      "r75",
      "r76",
      "r77",
      "r78",
      "r79",
      "r80",
      "r81",
      "r82",
      "r102",
      "r104",
      "r119",
      "r120",
      "r121",
      "r122",
      "r123",
      "r124",
      "r125",
      "r126",
      "r127",
      "r128"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitTable",
     "presentation": [
      "http://www.microsoft.com/role/StatementsOfNetAssetsAvailableForBenefits"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Statement of Net Asset Available for Benefit [Table]",
        "documentation": "Presentation of information about net asset available for benefit for employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r73",
      "r74",
      "r75",
      "r76",
      "r77",
      "r78",
      "r79",
      "r80",
      "r81",
      "r82",
      "r102",
      "r104",
      "r119",
      "r120",
      "r121",
      "r122",
      "r123",
      "r124",
      "r125",
      "r126",
      "r127"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanTaxDeterminationLetterDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanTaxDeterminationLetterDate",
     "presentation": [
      "http://www.microsoft.com/role/TaxStatusAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Tax Determination Letter, Date",
        "terseLabel": "EBP, Tax Determination Letter, Date",
        "documentation": "Date of tax determination letter for employee stock purchase, saving, or similar plan (employee benefit plan (EBP)), in YYYY-MM-DD format."
       }
      }
     },
     "auth_ref": [
      "r142"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanTaxDeterminationLetterObtained": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanTaxDeterminationLetterObtained",
     "presentation": [
      "http://www.microsoft.com/role/TaxStatusAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Tax Determination Letter, Obtained [true false]",
        "documentation": "Indicates (true false) whether tax determination letter was obtained by employer of participant in employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r67",
      "r142"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanTaxStatusAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanTaxStatusAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Tax Status [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap-ebp_EmployeeBenefitPlanTaxStatusLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanTaxStatusLineItems",
     "presentation": [
      "http://www.microsoft.com/role/TaxStatus",
      "http://www.microsoft.com/role/TaxStatusAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Tax Status [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": [
      "r185"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanTaxStatusTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanTaxStatusTable",
     "presentation": [
      "http://www.microsoft.com/role/TaxStatus",
      "http://www.microsoft.com/role/TaxStatusAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Tax Status [Table]",
        "documentation": "Disclosure of information about tax status of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Includes, but is not limited to, information concerning whether tax ruling or determination letter was obtained and principal assumption on which plan relied in not making provision for federal income tax."
       }
      }
     },
     "auth_ref": [
      "r185"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanTaxStatusTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanTaxStatusTextBlock",
     "presentation": [
      "http://www.microsoft.com/role/TaxStatus"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Tax Status [Text Block]",
        "terseLabel": "Tax Status",
        "documentation": "The entire disclosure for tax status of employee stock purchase, saving, or similar plan (employee benefit plan (EBP)). Includes, but is not limited to, information concerning whether tax ruling or determination letter was obtained and principal assumption on which plan relied in not making provision for federal income tax."
       }
      }
     },
     "auth_ref": [
      "r67",
      "r71",
      "r142"
     ]
    },
    "us-gaap-ebp_EmployeeBenefitPlanUseOfEstimatePolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap-ebp/2025",
     "localname": "EmployeeBenefitPlanUseOfEstimatePolicyTextBlock",
     "presentation": [
      "http://www.microsoft.com/role/DescriptionOfThePlanAndAccountingPoliciesPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EBP, Use of Estimate [Policy Text Block]",
        "terseLabel": "Estimates and Assumptions",
        "documentation": "Disclosure of accounting policy for use of estimate in preparation of financial statement of employee stock purchase, saving, or similar plan (employee benefit plan (EBP))."
       }
      }
     },
     "auth_ref": [
      "r3",
      "r4",
      "r5",
      "r6",
      "r7",
      "r8",
      "r142"
     ]
    },
    "dei_EntityCentralIndexKey": {
     "xbrltype": "centralIndexKeyItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityCentralIndexKey",
     "presentation": [
      "http://www.microsoft.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Central Index Key",
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK."
       }
      }
     },
     "auth_ref": [
      "r144"
     ]
    },
    "dei_EntityDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityDomain",
     "presentation": [
      "http://www.microsoft.com/role/Cover",
      "http://www.microsoft.com/role/Derivatives",
      "http://www.microsoft.com/role/DescriptionOfThePlanAndAccountingPolicies",
      "http://www.microsoft.com/role/DescriptionOfThePlanAndAccountingPoliciesAdditionalInformationDetails",
      "http://www.microsoft.com/role/DescriptionOfThePlanAndAccountingPoliciesPolicies",
      "http://www.microsoft.com/role/FairValueMeasurements",
      "http://www.microsoft.com/role/FairValueMeasurementsSummaryOfFinancialInstrumentsMeasuredAtFairValueDetails",
      "http://www.microsoft.com/role/FairValueMeasurementsTables",
      "http://www.microsoft.com/role/FullyBenefitResponsiveInvestmentContracts",
      "http://www.microsoft.com/role/ParticipantLoans",
      "http://www.microsoft.com/role/ParticipantLoansAdditionalInformationDetail",
      "http://www.microsoft.com/role/PartyInInterestTransactions",
      "http://www.microsoft.com/role/PartyInInterestTransactionsAdditionalInformationDetail",
      "http://www.microsoft.com/role/ReconciliationOfFinancialStatementsToForm5500",
      "http://www.microsoft.com/role/ReconciliationOfFinancialStatementsToForm5500ScheduleOfNetAssetsAvailableForBenefitsPerTheFinancialStatementsToTheForm5500Detail",
      "http://www.microsoft.com/role/ReconciliationOfFinancialStatementsToForm5500ScheduleOfNetIncreaseInNetAssetsAvailableForBenefitsPerTheFinancialStatementsToTheForm5500Detail",
      "http://www.microsoft.com/role/ReconciliationOfFinancialStatementsToForm5500Tables",
      "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYear",
      "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYearSummaryOfEmployeeBenefitPlanStatementOfInvestmentDetail",
      "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYearSummaryOfEmployeeBenefitPlanStatementOfInvestmentDetailParenthetical",
      "http://www.microsoft.com/role/StatementOfChangesInNetAssetsAvailableForBenefits",
      "http://www.microsoft.com/role/StatementsOfNetAssetsAvailableForBenefits",
      "http://www.microsoft.com/role/SupplementalScheduleOfDelinquentParticipantContributions",
      "http://www.microsoft.com/role/SupplementalScheduleOfDelinquentParticipantContributionsDetail",
      "http://www.microsoft.com/role/TaxStatus",
      "http://www.microsoft.com/role/TaxStatusAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity [Domain]",
        "documentation": "All the names of the entities being reported upon in a document. Any legal structure used to conduct activities or to hold assets. Some examples of such structures are corporations, partnerships, limited liability companies, grantor trusts, and other trusts. This item does not include business and geographical segments which are included in the geographical or business segments domains."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityRegistrantName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "EntityRegistrantName",
     "presentation": [
      "http://www.microsoft.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Registrant Name",
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC."
       }
      }
     },
     "auth_ref": [
      "r144"
     ]
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "presentation": [
      "http://www.microsoft.com/role/FairValueMeasurementsSummaryOfFinancialInstrumentsMeasuredAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Hierarchy and NAV [Axis]"
       }
      }
     },
     "auth_ref": [
      "r35",
      "r36",
      "r37",
      "r38",
      "r41",
      "r42",
      "r44",
      "r103",
      "r142"
     ]
    },
    "us-gaap_FairValueInputsLevel12And3Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueInputsLevel12And3Member",
     "presentation": [
      "http://www.microsoft.com/role/FairValueMeasurementsSummaryOfFinancialInstrumentsMeasuredAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Inputs, Level 1, Level 2, and Level 3 [Member]",
        "terseLabel": "Level 1, Level 2, and Level 3 [Member]"
       }
      }
     },
     "auth_ref": [
      "r180",
      "r197",
      "r199"
     ]
    },
    "us-gaap_FairValueInputsLevel1Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueInputsLevel1Member",
     "presentation": [
      "http://www.microsoft.com/role/FairValueMeasurementsSummaryOfFinancialInstrumentsMeasuredAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Inputs, Level 1 [Member]",
        "terseLabel": "Level 1 [Member]"
       }
      }
     },
     "auth_ref": [
      "r35",
      "r41",
      "r129",
      "r142"
     ]
    },
    "us-gaap_FairValueInputsLevel2Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueInputsLevel2Member",
     "presentation": [
      "http://www.microsoft.com/role/FairValueMeasurementsSummaryOfFinancialInstrumentsMeasuredAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Inputs, Level 2 [Member]",
        "terseLabel": "Level 2 [Member]"
       }
      }
     },
     "auth_ref": [
      "r35",
      "r36",
      "r41",
      "r129",
      "r142"
     ]
    },
    "us-gaap_FairValueMeasuredAtNetAssetValuePerShareMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueMeasuredAtNetAssetValuePerShareMember",
     "presentation": [
      "http://www.microsoft.com/role/FairValueMeasurementsSummaryOfFinancialInstrumentsMeasuredAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Measured at Net Asset Value Per Share [Member]",
        "terseLabel": "Net Asset Value [Member]"
       }
      }
     },
     "auth_ref": [
      "r44",
      "r129"
     ]
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "presentation": [
      "http://www.microsoft.com/role/FairValueMeasurementsSummaryOfFinancialInstrumentsMeasuredAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Hierarchy and NAV [Domain]"
       }
      }
     },
     "auth_ref": [
      "r35",
      "r36",
      "r37",
      "r38",
      "r41",
      "r42",
      "r44",
      "r103",
      "r142"
     ]
    },
    "msft_GeneralLegacyLoanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.microsoft.com/20251231",
     "localname": "GeneralLegacyLoanMember",
     "presentation": [
      "http://www.microsoft.com/role/ParticipantLoansAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "General Legacy Loan [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "msft_GeneralLoanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.microsoft.com/20251231",
     "localname": "GeneralLoanMember",
     "presentation": [
      "http://www.microsoft.com/role/ParticipantLoansAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "General Loan [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentIdentifierAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentIdentifierAxis",
     "presentation": [
      "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYearSummaryOfEmployeeBenefitPlanStatementOfInvestmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment, Identifier [Axis]"
       }
      }
     },
     "auth_ref": [
      "r97",
      "r157",
      "r158",
      "r159",
      "r160",
      "r161",
      "r162",
      "r163",
      "r164",
      "r165",
      "r166",
      "r167",
      "r168",
      "r169",
      "r170",
      "r171",
      "r172",
      "r173",
      "r174",
      "r175",
      "r176",
      "r177",
      "r178"
     ]
    },
    "us-gaap_InvestmentIssuerNameAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentIssuerNameAxis",
     "presentation": [
      "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYearSummaryOfEmployeeBenefitPlanStatementOfInvestmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment, Issuer Name [Axis]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentIssuerNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentIssuerNameDomain",
     "presentation": [
      "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYearSummaryOfEmployeeBenefitPlanStatementOfInvestmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment, Issuer Name [Domain]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InvestmentTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentTypeAxis",
     "presentation": [
      "http://www.microsoft.com/role/FairValueMeasurementsSummaryOfFinancialInstrumentsMeasuredAtFairValueDetails",
      "http://www.microsoft.com/role/PartyInInterestTransactionsAdditionalInformationDetail",
      "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYearSummaryOfEmployeeBenefitPlanStatementOfInvestmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Type [Axis]"
       }
      }
     },
     "auth_ref": [
      "r14",
      "r15",
      "r16",
      "r17",
      "r20",
      "r21",
      "r22",
      "r23",
      "r24",
      "r25",
      "r27",
      "r34",
      "r35",
      "r36",
      "r37",
      "r38",
      "r41",
      "r42",
      "r44",
      "r45",
      "r46",
      "r47",
      "r48",
      "r49",
      "r50",
      "r69",
      "r73",
      "r74",
      "r75",
      "r76",
      "r77",
      "r78",
      "r85",
      "r87",
      "r88",
      "r89",
      "r90",
      "r97",
      "r102",
      "r111",
      "r115",
      "r116",
      "r118",
      "r119",
      "r120",
      "r121",
      "r122",
      "r123",
      "r124",
      "r125",
      "r126",
      "r127",
      "r128",
      "r131",
      "r132",
      "r133",
      "r134",
      "r135",
      "r136",
      "r137",
      "r138",
      "r139",
      "r142",
      "r143",
      "r160",
      "r179",
      "r194"
     ]
    },
    "us-gaap_InvestmentTypeCategorizationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "InvestmentTypeCategorizationMember",
     "presentation": [
      "http://www.microsoft.com/role/FairValueMeasurementsSummaryOfFinancialInstrumentsMeasuredAtFairValueDetails",
      "http://www.microsoft.com/role/PartyInInterestTransactionsAdditionalInformationDetail",
      "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYearSummaryOfEmployeeBenefitPlanStatementOfInvestmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments [Domain]"
       }
      }
     },
     "auth_ref": [
      "r14",
      "r15",
      "r16",
      "r17",
      "r20",
      "r21",
      "r22",
      "r23",
      "r24",
      "r25",
      "r27",
      "r34",
      "r35",
      "r36",
      "r37",
      "r38",
      "r41",
      "r42",
      "r44",
      "r45",
      "r46",
      "r47",
      "r48",
      "r49",
      "r50",
      "r69",
      "r73",
      "r74",
      "r75",
      "r76",
      "r77",
      "r78",
      "r85",
      "r87",
      "r88",
      "r89",
      "r90",
      "r97",
      "r102",
      "r111",
      "r115",
      "r116",
      "r118",
      "r119",
      "r120",
      "r121",
      "r122",
      "r123",
      "r124",
      "r125",
      "r126",
      "r127",
      "r128",
      "r131",
      "r132",
      "r133",
      "r134",
      "r135",
      "r136",
      "r137",
      "r138",
      "r139",
      "r142",
      "r143",
      "r160",
      "r179",
      "r194"
     ]
    },
    "msft_InxileAndDoubleFineMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.microsoft.com/20251231",
     "localname": "InxileAndDoubleFineMember",
     "presentation": [
      "http://www.microsoft.com/role/DescriptionOfThePlanAndAccountingPoliciesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "InXile and Double Fine [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "dei_LegalEntityAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2025",
     "localname": "LegalEntityAxis",
     "presentation": [
      "http://www.microsoft.com/role/Cover",
      "http://www.microsoft.com/role/Derivatives",
      "http://www.microsoft.com/role/DescriptionOfThePlanAndAccountingPolicies",
      "http://www.microsoft.com/role/DescriptionOfThePlanAndAccountingPoliciesAdditionalInformationDetails",
      "http://www.microsoft.com/role/DescriptionOfThePlanAndAccountingPoliciesPolicies",
      "http://www.microsoft.com/role/FairValueMeasurements",
      "http://www.microsoft.com/role/FairValueMeasurementsSummaryOfFinancialInstrumentsMeasuredAtFairValueDetails",
      "http://www.microsoft.com/role/FairValueMeasurementsTables",
      "http://www.microsoft.com/role/FullyBenefitResponsiveInvestmentContracts",
      "http://www.microsoft.com/role/ParticipantLoans",
      "http://www.microsoft.com/role/ParticipantLoansAdditionalInformationDetail",
      "http://www.microsoft.com/role/PartyInInterestTransactions",
      "http://www.microsoft.com/role/PartyInInterestTransactionsAdditionalInformationDetail",
      "http://www.microsoft.com/role/ReconciliationOfFinancialStatementsToForm5500",
      "http://www.microsoft.com/role/ReconciliationOfFinancialStatementsToForm5500ScheduleOfNetAssetsAvailableForBenefitsPerTheFinancialStatementsToTheForm5500Detail",
      "http://www.microsoft.com/role/ReconciliationOfFinancialStatementsToForm5500ScheduleOfNetIncreaseInNetAssetsAvailableForBenefitsPerTheFinancialStatementsToTheForm5500Detail",
      "http://www.microsoft.com/role/ReconciliationOfFinancialStatementsToForm5500Tables",
      "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYear",
      "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYearSummaryOfEmployeeBenefitPlanStatementOfInvestmentDetail",
      "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYearSummaryOfEmployeeBenefitPlanStatementOfInvestmentDetailParenthetical",
      "http://www.microsoft.com/role/StatementOfChangesInNetAssetsAvailableForBenefits",
      "http://www.microsoft.com/role/StatementsOfNetAssetsAvailableForBenefits",
      "http://www.microsoft.com/role/SupplementalScheduleOfDelinquentParticipantContributions",
      "http://www.microsoft.com/role/SupplementalScheduleOfDelinquentParticipantContributionsDetail",
      "http://www.microsoft.com/role/TaxStatus",
      "http://www.microsoft.com/role/TaxStatusAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Legal Entity [Axis]",
        "documentation": "The set of legal entities associated with a report."
       }
      }
     },
     "auth_ref": []
    },
    "srt_MaximumMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "MaximumMember",
     "presentation": [
      "http://www.microsoft.com/role/ParticipantLoansAdditionalInformationDetail",
      "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYearSummaryOfEmployeeBenefitPlanStatementOfInvestmentDetailParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum [Member]"
       }
      }
     },
     "auth_ref": [
      "r38",
      "r142",
      "r151",
      "r160"
     ]
    },
    "srt_MinimumMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "MinimumMember",
     "presentation": [
      "http://www.microsoft.com/role/ParticipantLoansAdditionalInformationDetail",
      "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYearSummaryOfEmployeeBenefitPlanStatementOfInvestmentDetailParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Minimum [Member]"
       }
      }
     },
     "auth_ref": [
      "r38",
      "r142",
      "r151",
      "r160"
     ]
    },
    "us-gaap_MutualFundMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "MutualFundMember",
     "presentation": [
      "http://www.microsoft.com/role/FairValueMeasurementsSummaryOfFinancialInstrumentsMeasuredAtFairValueDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Mutual Fund [Member]",
        "terseLabel": "Mutual funds"
       }
      }
     },
     "auth_ref": [
      "r119",
      "r130",
      "r131",
      "r140",
      "r142",
      "r143"
     ]
    },
    "msft_OthersMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.microsoft.com/20251231",
     "localname": "OthersMember",
     "presentation": [
      "http://www.microsoft.com/role/DescriptionOfThePlanAndAccountingPoliciesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Others [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "msft_ParticipantLoansAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.microsoft.com/20251231",
     "localname": "ParticipantLoansAxis",
     "presentation": [
      "http://www.microsoft.com/role/ParticipantLoansAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Participant Loans [Axis]"
       }
      }
     },
     "auth_ref": []
    },
    "msft_ParticipantLoansDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.microsoft.com/20251231",
     "localname": "ParticipantLoansDomain",
     "presentation": [
      "http://www.microsoft.com/role/ParticipantLoansAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Participant Loans [Domain]"
       }
      }
     },
     "auth_ref": []
    },
    "msft_PrimaryResidenceLegacyLoanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.microsoft.com/20251231",
     "localname": "PrimaryResidenceLegacyLoanMember",
     "presentation": [
      "http://www.microsoft.com/role/ParticipantLoansAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Primary Residence Legacy Loan [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "msft_PrimaryResidenceLoanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.microsoft.com/20251231",
     "localname": "PrimaryResidenceLoanMember",
     "presentation": [
      "http://www.microsoft.com/role/ParticipantLoansAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Primary Residence Loan [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "srt_RangeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "RangeAxis",
     "presentation": [
      "http://www.microsoft.com/role/ParticipantLoansAdditionalInformationDetail",
      "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYearSummaryOfEmployeeBenefitPlanStatementOfInvestmentDetail",
      "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYearSummaryOfEmployeeBenefitPlanStatementOfInvestmentDetailParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Axis]"
       }
      }
     },
     "auth_ref": [
      "r38",
      "r142",
      "r151",
      "r160"
     ]
    },
    "srt_RangeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2025",
     "localname": "RangeMember",
     "presentation": [
      "http://www.microsoft.com/role/ParticipantLoansAdditionalInformationDetail",
      "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYearSummaryOfEmployeeBenefitPlanStatementOfInvestmentDetail",
      "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYearSummaryOfEmployeeBenefitPlanStatementOfInvestmentDetailParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Domain]"
       }
      }
     },
     "auth_ref": [
      "r38",
      "r142",
      "r151",
      "r160"
     ]
    },
    "msft_SeparatelyManagedAccountsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.microsoft.com/20251231",
     "localname": "SeparatelyManagedAccountsAxis",
     "presentation": [
      "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYearSummaryOfEmployeeBenefitPlanStatementOfInvestmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Separately Managed Accounts [Axis]"
       }
      }
     },
     "auth_ref": []
    },
    "msft_SeparatelyManagedAccountsDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.microsoft.com/20251231",
     "localname": "SeparatelyManagedAccountsDomain",
     "presentation": [
      "http://www.microsoft.com/role/ScheduleOfAssetsHeldAtEndOfYearSummaryOfEmployeeBenefitPlanStatementOfInvestmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Separately Managed Accounts [Domain]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SubsequentEventMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SubsequentEventMember",
     "presentation": [
      "http://www.microsoft.com/role/PartyInInterestTransactionsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Event [Member]"
       }
      }
     },
     "auth_ref": [
      "r58"
     ]
    },
    "us-gaap_SubsequentEventTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SubsequentEventTypeAxis",
     "presentation": [
      "http://www.microsoft.com/role/PartyInInterestTransactionsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Event Type [Axis]"
       }
      }
     },
     "auth_ref": [
      "r58"
     ]
    },
    "us-gaap_SubsequentEventTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2025",
     "localname": "SubsequentEventTypeDomain",
     "presentation": [
      "http://www.microsoft.com/role/PartyInInterestTransactionsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsequent Event Type [Domain]"
       }
      }
     },
     "auth_ref": [
      "r58"
     ]
    }
   }
  }
 },
 "std_ref": {
  "r0": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(5))",
   "SubTopic": "205",
   "Topic": "962",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r1": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-1"
  },
  "r2": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "250",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483443/250-10-50-1"
  },
  "r3": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-1"
  },
  "r4": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-1"
  },
  "r5": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-11"
  },
  "r6": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-11"
  },
  "r7": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-12"
  },
  "r8": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-4"
  },
  "r9": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-1A"
  },
  "r10": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-1A"
  },
  "r11": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-1A"
  },
  "r12": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1A",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-1A"
  },
  "r13": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4"
  },
  "r14": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4A"
  },
  "r15": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4A",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4A"
  },
  "r16": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4B",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4B"
  },
  "r17": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4B",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4B"
  },
  "r18": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4H",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4H"
  },
  "r19": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4H",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4H"
  },
  "r20": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r21": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r22": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r23": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r24": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)(4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r25": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)(5)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r26": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r27": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r28": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r29": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r30": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4K"
  },
  "r31": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-5"
  },
  "r32": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-7A"
  },
  "r33": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r34": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r35": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r36": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r37": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r38": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)(2)(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r39": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-2"
  },
  "r40": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-3"
  },
  "r41": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-3"
  },
  "r42": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-3"
  },
  "r43": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r44": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r45": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r46": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r47": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r48": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r49": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r50": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-6A"
  },
  "r51": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-8"
  },
  "r52": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-21"
  },
  "r53": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "21",
   "Subparagraph": "(d)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-21"
  },
  "r54": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r55": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r56": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r57": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "850",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483326/850-10-50-1"
  },
  "r58": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "855",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147483399/855-10-50-2"
  },
  "r59": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477063/962-205-45-2"
  },
  "r60": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477063/962-205-45-2"
  },
  "r61": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477063/962-205-45-2"
  },
  "r62": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477063/962-205-45-7"
  },
  "r63": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477063/962-205-45-7"
  },
  "r64": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477063/962-205-45-7"
  },
  "r65": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478416/962-205-50-1"
  },
  "r66": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478416/962-205-50-1"
  },
  "r67": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478416/962-205-50-1"
  },
  "r68": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478416/962-205-50-1"
  },
  "r69": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-02(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r70": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-02(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r71": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-02(c))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r72": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-02(d))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r73": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r74": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(2)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r75": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(2)(b)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r76": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(2)(b)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r77": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r78": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r79": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(6)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r80": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(6)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r81": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(7)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r82": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(7)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r83": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r84": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(9))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r85": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(1)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r86": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(1)(a))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r87": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(2)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r88": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(2)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r89": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(2)(a)(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r90": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(2)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r91": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(3)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r92": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(4)(a)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r93": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(4)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r94": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(5)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r95": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(6))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r96": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(7))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r97": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-05(a)(Schedule I))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r98": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-05(a)(Schedule II))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r99": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-05(a)(Schedule III))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r100": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478642/962-310-45-1"
  },
  "r101": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "35",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478844/962-325-35-1B"
  },
  "r102": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r103": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-6"
  },
  "r104": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-8"
  },
  "r105": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-1"
  },
  "r106": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-2A"
  },
  "r107": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-2B"
  },
  "r108": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-3"
  },
  "r109": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-3"
  },
  "r110": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-3"
  },
  "r111": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-3"
  },
  "r112": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-5"
  },
  "r113": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-7"
  },
  "r114": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-7"
  },
  "r115": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r116": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8B"
  },
  "r117": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "962",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "25",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479750/962-40-25-1"
  },
  "r118": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "815",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4L",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147480434/815-10-50-4L"
  },
  "r119": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r120": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r121": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r122": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r123": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r124": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r125": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r126": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r127": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(j)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r128": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Subparagraph": "(k)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r129": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-6"
  },
  "r130": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-1"
  },
  "r131": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r132": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r133": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r134": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r135": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r136": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r137": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r138": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r139": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(j)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r140": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8B"
  },
  "r141": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8C",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8C"
  },
  "r142": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "17",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478873/962-325-55-17"
  },
  "r143": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "18",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478873/962-325-55-18"
  },
  "r144": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r145": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "23",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482907/825-10-50-23"
  },
  "r146": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477063/962-205-45-7"
  },
  "r147": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-05(a)(Schedule III))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r148": {
   "role": "http://www.xbrl.org/2003/role/recommendedDisclosureRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-2B"
  },
  "r149": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "SubTopic": "205",
   "Topic": "962",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478416/962-205-50-1"
  },
  "r150": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(6))",
   "SubTopic": "205",
   "Topic": "962",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r151": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-05(a)(Schedule I))",
   "SubTopic": "205",
   "Topic": "962",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r152": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-05(a)(Schedule III))",
   "SubTopic": "205",
   "Topic": "962",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r153": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "1",
   "Paragraph": "b",
   "Subparagraph": "(3)",
   "Publisher": "DOL-EBSA"
  },
  "r154": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "a",
   "Publisher": "DOL-EBSA"
  },
  "r155": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(1)",
   "Publisher": "DOL-EBSA"
  },
  "r156": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(1)(i)",
   "Publisher": "DOL-EBSA"
  },
  "r157": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(1)(i)(A)",
   "Publisher": "DOL-EBSA"
  },
  "r158": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(1)(i)(B)",
   "Publisher": "DOL-EBSA"
  },
  "r159": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(1)(i)(C)",
   "Publisher": "DOL-EBSA"
  },
  "r160": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(1)(i)(D)",
   "Publisher": "DOL-EBSA"
  },
  "r161": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(2)(i)(A)",
   "Publisher": "DOL-EBSA"
  },
  "r162": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(2)(i)(B)",
   "Publisher": "DOL-EBSA"
  },
  "r163": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(2)(i)(C)",
   "Publisher": "DOL-EBSA"
  },
  "r164": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(2)(i)(D)",
   "Publisher": "DOL-EBSA"
  },
  "r165": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(3)",
   "Publisher": "DOL-EBSA"
  },
  "r166": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "10",
   "Paragraph": "b",
   "Subparagraph": "(4)",
   "Publisher": "DOL-EBSA"
  },
  "r167": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(1)(i)",
   "Publisher": "DOL-EBSA"
  },
  "r168": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(1)(ii)",
   "Publisher": "DOL-EBSA"
  },
  "r169": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(1)(iii)",
   "Publisher": "DOL-EBSA"
  },
  "r170": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(1)(iv)",
   "Publisher": "DOL-EBSA"
  },
  "r171": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(1)(v)",
   "Publisher": "DOL-EBSA"
  },
  "r172": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(1)(vi)",
   "Publisher": "DOL-EBSA"
  },
  "r173": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(1)(vii)",
   "Publisher": "DOL-EBSA"
  },
  "r174": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(2)(i)",
   "Publisher": "DOL-EBSA"
  },
  "r175": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(2)(ii)",
   "Publisher": "DOL-EBSA"
  },
  "r176": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(2)(iii)",
   "Publisher": "DOL-EBSA"
  },
  "r177": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(2)(iv)",
   "Publisher": "DOL-EBSA"
  },
  "r178": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Employee Retirement Income Security Act of 1974",
   "Number": "2520",
   "Section": "103",
   "Subsection": "6",
   "Paragraph": "d",
   "Subparagraph": "(2)(v)",
   "Publisher": "DOL-EBSA"
  },
  "r179": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "275",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "18",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482861/275-10-50-18"
  },
  "r180": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147482106/820-10-50-3"
  },
  "r181": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477063/962-205-45-4"
  },
  "r182": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477063/962-205-45-7"
  },
  "r183": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "7",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477063/962-205-45-7"
  },
  "r184": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478416/962-205-50-1"
  },
  "r185": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478416/962-205-50-1"
  },
  "r186": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(i)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147478416/962-205-50-1"
  },
  "r187": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-02)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r188": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r189": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-03)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r190": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(1)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r191": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(2)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r192": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(4)(a)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r193": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-04(4)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r194": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "205",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.6A-05(a)(Schedule II))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477804/962-205-S99-1"
  },
  "r195": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "235",
   "Name": "Accounting Standards Codification",
   "Section": "S50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147479143/962-235-S50-1"
  },
  "r196": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-5"
  },
  "r197": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "6",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-6"
  },
  "r198": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477509/962-325-45-8"
  },
  "r199": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-1"
  },
  "r200": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-2B"
  },
  "r201": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-3"
  },
  "r202": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-7"
  },
  "r203": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8A",
   "Subparagraph": "(g)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8A"
  },
  "r204": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8B"
  },
  "r205": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "962",
   "SubTopic": "325",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "8C",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org/1943274/2147477783/962-325-50-8C"
  }
 }
}
