<?xml version="1.0" encoding="US-ASCII"?>
<!-- DFIN New ActiveDisclosure (SM) XBRL Schema Document - http://www.dfinsolutions.com/ -->
<!-- Creation Date :2026-03-23T17:51:47.4534+00:00 -->
<!-- Copyright (c) 2026 Donnelley Financial Solutions, Inc. All Rights Reserved. -->
<xsd:schema targetNamespace="http://www.microsoft.com/20251231" attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:dtr-types="http://www.xbrl.org/dtr/type/2024-01-31" xmlns:enum2="http://xbrl.org/2020/extensible-enumerations-2.0" xmlns:msft="http://www.microsoft.com/20251231" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:us-gaap-ebp="http://fasb.org/us-gaap-ebp/2025" xmlns:dei="http://xbrl.sec.gov/dei/2025" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:xlink="http://www.w3.org/1999/xlink">
  <xsd:import schemaLocation="http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd" namespace="http://www.xbrl.org/2003/instance"/>
  <xsd:import schemaLocation="http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" namespace="http://www.xbrl.org/2003/linkbase"/>
  <xsd:import schemaLocation="http://www.xbrl.org/2005/xbrldt-2005.xsd" namespace="http://xbrl.org/2005/xbrldt"/>
  <xsd:import schemaLocation="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd" namespace="http://fasb.org/us-gaap-ebp/2025"/>
  <xsd:import schemaLocation="https://www.xbrl.org/dtr/type/2024-01-31/types.xsd" namespace="http://www.xbrl.org/dtr/type/2024-01-31"/>
  <xsd:import schemaLocation="https://xbrl.sec.gov/dei/2025/dei-2025.xsd" namespace="http://xbrl.sec.gov/dei/2025"/>
  <xsd:import schemaLocation="https://www.xbrl.org/2023/calculation-1.1.xsd" namespace="https://xbrl.org/2023/calculation-1.1"/>
  <xsd:annotation>
    <xsd:appinfo>
      <link:roleType roleURI="http://www.microsoft.com/20251231/taxonomy/role/DocumentDocumentAndEntityInformation" id="DocumentDocumentAndEntityInformation">
        <link:definition>75000 - Document - Document and Entity Information</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.microsoft.com/20251231/taxonomy/role/StatementStatementsOfFinancialCondition" id="StatementStatementsOfFinancialCondition">
        <link:definition>75010 - Statement - STATEMENTS OF FINANCIAL CONDITION</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.microsoft.com/20251231/taxonomy/role/StatementStatementsOfIncomeAndChangesInPlanEquity" id="StatementStatementsOfIncomeAndChangesInPlanEquity">
        <link:definition>75020 - Statement - STATEMENTS OF INCOME AND CHANGES IN PLAN EQUITY</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.microsoft.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAndAccountingPolicies" id="DisclosureDescriptionOfThePlanAndAccountingPolicies">
        <link:definition>75030 - Disclosure - DESCRIPTION OF THE PLAN AND ACCOUNTING POLICIES</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.microsoft.com/20251231/taxonomy/role/DisclosurePlanAssets" id="DisclosurePlanAssets">
        <link:definition>75040 - Disclosure - PLAN ASSETS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.microsoft.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAndAccountingPoliciesPolicies" id="DisclosureDescriptionOfThePlanAndAccountingPoliciesPolicies">
        <link:definition>75050 - Disclosure - DESCRIPTION OF THE PLAN AND ACCOUNTING POLICIES (Policies)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType roleURI="http://www.microsoft.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAndAccountingPoliciesAdditionalInformationDetails" id="DisclosureDescriptionOfThePlanAndAccountingPoliciesAdditionalInformationDetails">
        <link:definition>75060 - Disclosure - DESCRIPTION OF THE PLAN AND ACCOUNTING POLICIES - Additional Information (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:linkbase id="lnk">
        <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all" xlink:type="simple"/>
        <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default" xlink:type="simple"/>
        <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain" xlink:type="simple"/>
        <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member" xlink:type="simple"/>
        <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension" xlink:type="simple"/>
        <link:arcroleRef arcroleURI="http://www.esma.europa.eu/xbrl/esef/arcrole/wider-narrower" xlink:href="http://www.xbrl.org/lrr/arcrole/esma-arcrole-2018-11-21.xsd#wider-narrower" xlink:type="simple"/>
        <link:arcroleRef arcroleURI="https://xbrl.org/2023/arcrole/summation-item" xlink:href="https://www.xbrl.org/2023/calculation-1.1.xsd#summation-item" xlink:type="simple"/>
        <link:roleRef roleURI="http://www.microsoft.com/20251231/taxonomy/role/DocumentDocumentAndEntityInformation" xlink:href="msft-20251231.xsd#DocumentDocumentAndEntityInformation" xlink:type="simple"/>
        <link:roleRef roleURI="http://www.microsoft.com/20251231/taxonomy/role/StatementStatementsOfFinancialCondition" xlink:href="msft-20251231.xsd#StatementStatementsOfFinancialCondition" xlink:type="simple"/>
        <link:roleRef roleURI="http://www.microsoft.com/20251231/taxonomy/role/StatementStatementsOfIncomeAndChangesInPlanEquity" xlink:href="msft-20251231.xsd#StatementStatementsOfIncomeAndChangesInPlanEquity" xlink:type="simple"/>
        <link:roleRef roleURI="http://www.microsoft.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAndAccountingPolicies" xlink:href="msft-20251231.xsd#DisclosureDescriptionOfThePlanAndAccountingPolicies" xlink:type="simple"/>
        <link:roleRef roleURI="http://www.microsoft.com/20251231/taxonomy/role/DisclosurePlanAssets" xlink:href="msft-20251231.xsd#DisclosurePlanAssets" xlink:type="simple"/>
        <link:roleRef roleURI="http://www.microsoft.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAndAccountingPoliciesPolicies" xlink:href="msft-20251231.xsd#DisclosureDescriptionOfThePlanAndAccountingPoliciesPolicies" xlink:type="simple"/>
        <link:roleRef roleURI="http://www.microsoft.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAndAccountingPoliciesAdditionalInformationDetails" xlink:href="msft-20251231.xsd#DisclosureDescriptionOfThePlanAndAccountingPoliciesAdditionalInformationDetails" xlink:type="simple"/>
        <link:labelLink xlink:role="http://www.xbrl.org/2003/role/link" xlink:title="labelLink" xlink:type="extended">
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseAbstract" xlink:label="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseAbstract"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForPaymentToParticipant" xlink:label="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForPaymentToParticipant"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentFiscalPeriodFocus" xlink:label="dei_DocumentFiscalPeriodFocus"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EBP001Member" xlink:label="msft_EBP001Member"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAdministrationCostAbsorbedByEmployer" xlink:label="us-gaap-ebp_EmployeeBenefitPlanAdministrationCostAbsorbedByEmployer"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:label="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanLiabilityAbstract" xlink:label="us-gaap-ebp_EmployeeBenefitPlanLiabilityAbstract"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanMaximumSharesOwnedPercentage" xlink:label="msft_EmployeeBenefitPlanMaximumSharesOwnedPercentage"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRolloverNetOfRefunds" xlink:label="msft_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRolloverNetOfRefunds"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable" xlink:label="us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems" xlink:label="us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanParticipantLiability" xlink:label="us-gaap-ebp_EmployeeBenefitPlanParticipantLiability"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForCostOfSharesPurchased" xlink:label="msft_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForCostOfSharesPurchased"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_AmendmentFlag" xlink:label="dei_AmendmentFlag"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract" xlink:label="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanPaymentToParticipantPolicyTextBlock" xlink:label="us-gaap-ebp_EmployeeBenefitPlanPaymentToParticipantPolicyTextBlock"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems" xlink:label="us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentType" xlink:label="dei_DocumentType"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityCentralIndexKey" xlink:label="dei_EntityCentralIndexKey"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock" xlink:label="us-gaap-ebp_EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_CurrentFiscalYearEndDate" xlink:label="dei_CurrentFiscalYearEndDate"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable" xlink:label="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanAssetsTextBlock" xlink:label="msft_EmployeeBenefitPlanAssetsTextBlock"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanLiabilitiesAndPlanEquity" xlink:label="msft_EmployeeBenefitPlanLiabilitiesAndPlanEquity"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanRefundsFromParticipantsWhoExceededContributionLimits" xlink:label="msft_EmployeeBenefitPlanRefundsFromParticipantsWhoExceededContributionLimits"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanCash" xlink:label="us-gaap-ebp_EmployeeBenefitPlanCash"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease" xlink:label="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanMaximumNumberOfSharesPerEmployee" xlink:label="msft_EmployeeBenefitPlanMaximumNumberOfSharesPerEmployee"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanMaximumSharesAvailableUnderThePlan" xlink:label="msft_EmployeeBenefitPlanMaximumSharesAvailableUnderThePlan"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanTerminationPolicyTextBlock" xlink:label="msft_EmployeeBenefitPlanTerminationPolicyTextBlock"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanExpensePolicyTextBlock" xlink:label="us-gaap-ebp_EmployeeBenefitPlanExpensePolicyTextBlock"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitAbstract" xlink:label="us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitAbstract"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanPlanAdministrationPolicyTextBlock" xlink:label="msft_EmployeeBenefitPlanPlanAdministrationPolicyTextBlock"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanSharesMaximumAggregateFairMarketValue" xlink:label="msft_EmployeeBenefitPlanSharesMaximumAggregateFairMarketValue"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanAbstract" xlink:label="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanAbstract"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems" xlink:label="us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentPeriodEndDate" xlink:label="dei_DocumentPeriodEndDate"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_CoverAbstract" xlink:label="dei_CoverAbstract"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanEmployeeStockPurchaseOfferingPeriodDuration" xlink:label="msft_EmployeeBenefitPlanEmployeeStockPurchaseOfferingPeriodDuration"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanSharesReservedForFutureIssuance" xlink:label="msft_EmployeeBenefitPlanSharesReservedForFutureIssuance"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit" xlink:label="us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentAbstract" xlink:label="us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentAbstract"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfSharesPurchased" xlink:label="us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfSharesPurchased"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitTable" xlink:label="us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitTable"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentFiscalYearFocus" xlink:label="dei_DocumentFiscalYearFocus"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitTable" xlink:label="us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitTable"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanPurchasePriceOfCommonStockPercent" xlink:label="msft_EmployeeBenefitPlanPurchasePriceOfCommonStockPercent"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAsset" xlink:label="us-gaap-ebp_EmployeeBenefitPlanAsset"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanContributionPolicyTextBlock" xlink:label="us-gaap-ebp_EmployeeBenefitPlanContributionPolicyTextBlock"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanEmployeeStockPurchaseEligibilityPeriod" xlink:label="msft_EmployeeBenefitPlanEmployeeStockPurchaseEligibilityPeriod"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanParticipantContributionPretaxMaximumAnnualCompensationToTotalCompensationPercentage" xlink:label="us-gaap-ebp_EmployeeBenefitPlanParticipantContributionPretaxMaximumAnnualCompensationToTotalCompensationPercentage"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAssetAbstract" xlink:label="us-gaap-ebp_EmployeeBenefitPlanAssetAbstract"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitAbstract" xlink:label="us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitAbstract"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityRegistrantName" xlink:label="dei_EntityRegistrantName"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease" xlink:label="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease" xlink:label="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanDescriptionOfPlanAndSummaryOfAccountingPolicyTextBlock" xlink:label="msft_EmployeeBenefitPlanDescriptionOfPlanAndSummaryOfAccountingPolicyTextBlock"/>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">EBP, Change in Net Asset Available for Benefit, Increase [Abstract]</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Additions</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForPaymentToParticipant_lbl" xlink:role="http://www.xbrl.org/2003/role/label">EBP, Change in Net Asset Available for Benefit, Decrease from Payment to Participant</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForPaymentToParticipant_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Payable to participants</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_DocumentFiscalPeriodFocus_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Document Fiscal Period Focus</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EBP001Member_lbl" xlink:role="http://www.xbrl.org/2003/role/label">EBP 001 [Member]</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EBP001Member_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">EBP 001.</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EBP001Member_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">EBP 001</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanAdministrationCostAbsorbedByEmployer_lbl" xlink:role="http://www.xbrl.org/2003/role/label">EBP, Administration Cost, Absorbed by Employer [true false]</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/label">EBP, Description of Plan [Line Items]</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanLiabilityAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">EBP, Liability [Abstract]</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanLiabilityAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Liabilities and plan equity</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanMaximumSharesOwnedPercentage_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Employee Benefit Plan Maximum Shares Owned Percentage</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanMaximumSharesOwnedPercentage_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Employee benefit plan maximum shares owned percentage.</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanMaximumSharesOwnedPercentage_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Total combined voting power or value of all classes of Shares, percentage of shares owned</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRolloverNetOfRefunds_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Employee contributions, net</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRolloverNetOfRefunds_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Employee Benefit Plan Change in Net Asset Available for Benefit Increase for Participant Contribution excluding Rollover Net of Refunds</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRolloverNetOfRefunds_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Amount, excluding rollover, of increase in net asset available for benefit from contribution by participant in employee stock purchase net of contribution limit, participant request, and termination refunds, saving, or similar plan (employee benefit plan (EBP)).</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_lbl" xlink:role="http://www.xbrl.org/2003/role/label">EBP, Schedule of Asset Held for Investment [Table]</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/label">EBP, Statement of Net Asset Available for Benefit [Line Items]</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanParticipantLiability_lbl" xlink:role="http://www.xbrl.org/2003/role/label">EBP, Liability to Participant</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanParticipantLiability_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Payable to participants</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForCostOfSharesPurchased_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Employee Benefit Plan Change In Net Asset Available For Benefit Decrease For Cost Of Shares Purchased</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForCostOfSharesPurchased_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Employee benefit plan change in net asset available for benefit decrease for cost of shares purchased.</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForCostOfSharesPurchased_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Cost of shares purchased</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_AmendmentFlag_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Amendment Flag</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">EBP, Change in Net Asset Available for Benefit, Decrease [Abstract]</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Deductions</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanPaymentToParticipantPolicyTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Payable to Participants</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanPaymentToParticipantPolicyTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">EBP, Payment to Participant [Policy Text Block]</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/label">EBP, Schedule of Asset Held for Investment [Line Items]</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_DocumentType_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Document Type</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_EntityCentralIndexKey_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Entity Central Index Key</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Accounting Principles</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">EBP, Basis of Accounting [Policy Text Block]</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_CurrentFiscalYearEndDate_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Current Fiscal Year End Date</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable_lbl" xlink:role="http://www.xbrl.org/2003/role/label">EBP, Description of Plan [Table]</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanAssetsTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Employee Benefit Plan Assets [Text Block]</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanAssetsTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">The entire disclosure of employee benefit plan assets.</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanAssetsTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">PLAN ASSETS</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanLiabilitiesAndPlanEquity_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Total liabilities and plan equity</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanLiabilitiesAndPlanEquity_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Employee Benefit Plan Liabilities and Plan Equity</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanLiabilitiesAndPlanEquity_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Employee benefit plan liabilities and plan equity.</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanRefundsFromParticipantsWhoExceededContributionLimits_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Employee Benefit Plan Refunds From Participants Who Exceeded Contribution Limits</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanRefundsFromParticipantsWhoExceededContributionLimits_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Employee benefit plan refunds from participants who exceeded contribution limits.</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanRefundsFromParticipantsWhoExceededContributionLimits_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Refunds from participants including payable</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanCash_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Plan cash held by Microsoft Corporation</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanCash_lbl" xlink:role="http://www.xbrl.org/2003/role/label">EBP, Noninterest-Bearing Cash</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease_lbl" xlink:role="http://www.xbrl.org/2003/role/label">EBP, Change in Net Asset Available for Benefit, Increase</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Total additions</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanMaximumNumberOfSharesPerEmployee_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Employee Benefit Plan Maximum Number Of Shares Per Employee</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanMaximumNumberOfSharesPerEmployee_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Employee benefit plan maximum number of shares per employee.</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanMaximumNumberOfSharesPerEmployee_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Maximum number of shares purchased per employee</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanMaximumSharesAvailableUnderThePlan_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Maximum number of shares offered</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanMaximumSharesAvailableUnderThePlan_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Employee Benefit Plan Maximum Shares Available Under the Plan</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanMaximumSharesAvailableUnderThePlan_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Employee benefit plan maximum shares available under the plan.</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanTerminationPolicyTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Termination</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanTerminationPolicyTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Employee Benefit Plan Termination [Policy Text Block]</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanTerminationPolicyTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Disclosure of accounting policy for termination in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)).</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanExpensePolicyTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">EBP, Expense [Policy Text Block]</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanExpensePolicyTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Administrative Expenses</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">EBP, Statement of Net Asset Available for Benefit [Abstract]</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_EntityDomain_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Entity [Domain]</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanPlanAdministrationPolicyTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Employee Benefit Plan, Plan Administration [Policy Text Block]</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanPlanAdministrationPolicyTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Disclosure of accounting policy for pla administration in employee stock purchase, saving, or similar plan (employee benefit plan (EBP)).</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanPlanAdministrationPolicyTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Plan Administration</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanSharesMaximumAggregateFairMarketValue_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Purchasing shares with aggregate fair market value</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanSharesMaximumAggregateFairMarketValue_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Employee Benefit Plan Shares Maximum Aggregate Fair Market Value</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanSharesMaximumAggregateFairMarketValue_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Employee benefit plan shares maximum aggregate fair market value.</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">EBP, Description of Plan and Accounting Change [Abstract]</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems_lbl" xlink:role="http://www.xbrl.org/2003/role/label">EBP, Statement of Change in Net Asset Available for Benefit [Line Items]</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_DocumentPeriodEndDate_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Document Period End Date</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_CoverAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Cover [Abstract]</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanEmployeeStockPurchaseOfferingPeriodDuration_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Employee stock purchase plan offering period duration</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanEmployeeStockPurchaseOfferingPeriodDuration_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Employee Benefit Plan Employee Stock Purchase Offering Period Duration</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanEmployeeStockPurchaseOfferingPeriodDuration_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Employee benefit plan employee stock purchase offering period duration.</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanSharesReservedForFutureIssuance_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Employee Benefit Plan Shares Reserved for Future Issuance</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanSharesReservedForFutureIssuance_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Number of shares reserved for future issuance held by employee stock purchase, saving, or similar plan (employee benefit plan (EBP))..</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanSharesReservedForFutureIssuance_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Shares reserved for future issuance</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit_lbl" xlink:role="http://www.xbrl.org/2003/role/label">EBP, Net Asset Available for Benefit</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Plan equity</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit_lbl" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel">Plan equity, beginning of year</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit_lbl" xlink:role="http://www.xbrl.org/2003/role/verboseLabel">Plan equity, beginning of year</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Plan equity, end of year</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit_lbl" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel">Plan equity, end of year</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">EBP, Schedule of Asset Held for Investment [Abstract]</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfSharesPurchased_lbl" xlink:role="http://www.xbrl.org/2003/role/label">EBP, Investment, Purchased, Number of Shares</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfSharesPurchased_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Number of shares participants purchased</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitTable_lbl" xlink:role="http://www.xbrl.org/2003/role/label">EBP, Statement of Net Asset Available for Benefit [Table]</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_DocumentFiscalYearFocus_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Document Fiscal Year Focus</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitTable_lbl" xlink:role="http://www.xbrl.org/2003/role/label">EBP, Statement of Change in Net Asset Available for Benefit [Table]</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanPurchasePriceOfCommonStockPercent_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Employee Benefit Plan Purchase Price of Common Stock Percent</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanPurchasePriceOfCommonStockPercent_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Employee benefit plan purchase price of common stock percent.</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanPurchasePriceOfCommonStockPercent_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Percentage of market value at which employees are able to purchase shares of common stock</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanAsset_lbl" xlink:role="http://www.xbrl.org/2003/role/label">EBP, Asset</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanAsset_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Total assets</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanContributionPolicyTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Contributions</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanContributionPolicyTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">EBP, Contribution [Policy Text Block]</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanEmployeeStockPurchaseEligibilityPeriod_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Employee stock purchase eligibility period</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanEmployeeStockPurchaseEligibilityPeriod_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Employee Benefit Plan Employee Stock Purchase Eligibility Period</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanEmployeeStockPurchaseEligibilityPeriod_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">Employee benefit plan employee stock purchase eligibility period.</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanParticipantContributionPretaxMaximumAnnualCompensationToTotalCompensationPercentage_lbl" xlink:role="http://www.xbrl.org/2003/role/label">EBP, Participant Contribution, Pretax, Maximum Annual Compensation to Total Compensation, Percentage</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanParticipantContributionPretaxMaximumAnnualCompensationToTotalCompensationPercentage_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Maximum percentage of gross compensation at which employees may purchase shares</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_LegalEntityAxis_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Legal Entity [Axis]</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanAssetAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">EBP, Asset [Abstract]</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanAssetAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Assets</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitAbstract_lbl" xlink:role="http://www.xbrl.org/2003/role/label">EBP, Statement of Change in Net Asset Available for Benefit [Abstract]</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="dei_EntityRegistrantName_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Entity Registrant Name</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Total deductions</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease_lbl" xlink:role="http://www.xbrl.org/2003/role/label">EBP, Change in Net Asset Available for Benefit, Decrease</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease_lbl" xlink:role="http://www.xbrl.org/2003/role/label">EBP, Change in Net Asset Available for Benefit, Increase (Decrease)</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">Changes in plan equity</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease_lbl" xlink:role="http://www.xbrl.org/2003/role/totalLabel">Changes in plan equity</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanDescriptionOfPlanAndSummaryOfAccountingPolicyTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/label">Employee Benefit Plan Description of Plan and Summary of Accounting Policy [Text Block]</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanDescriptionOfPlanAndSummaryOfAccountingPolicyTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/terseLabel">DESCRIPTION OF THE PLAN AND ACCOUNTING POLICIES</link:label>
          <link:label xml:lang="en-US" xlink:type="resource" xlink:label="msft_EmployeeBenefitPlanDescriptionOfPlanAndSummaryOfAccountingPolicyTextBlock_lbl" xlink:role="http://www.xbrl.org/2003/role/documentation">The entire disclosure for description of plan and summary of accounting policy.</link:label>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseAbstract" xlink:to="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseAbstract_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForPaymentToParticipant" xlink:to="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForPaymentToParticipant_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_DocumentFiscalPeriodFocus" xlink:to="dei_DocumentFiscalPeriodFocus_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="msft_EBP001Member" xlink:to="msft_EBP001Member_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap-ebp_EmployeeBenefitPlanAdministrationCostAbsorbedByEmployer" xlink:to="us-gaap-ebp_EmployeeBenefitPlanAdministrationCostAbsorbedByEmployer_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap-ebp_EmployeeBenefitPlanLiabilityAbstract" xlink:to="us-gaap-ebp_EmployeeBenefitPlanLiabilityAbstract_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="msft_EmployeeBenefitPlanMaximumSharesOwnedPercentage" xlink:to="msft_EmployeeBenefitPlanMaximumSharesOwnedPercentage_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="msft_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRolloverNetOfRefunds" xlink:to="msft_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRolloverNetOfRefunds_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable" xlink:to="us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems" xlink:to="us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap-ebp_EmployeeBenefitPlanParticipantLiability" xlink:to="us-gaap-ebp_EmployeeBenefitPlanParticipantLiability_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="msft_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForCostOfSharesPurchased" xlink:to="msft_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForCostOfSharesPurchased_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_AmendmentFlag" xlink:to="dei_AmendmentFlag_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract" xlink:to="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap-ebp_EmployeeBenefitPlanPaymentToParticipantPolicyTextBlock" xlink:to="us-gaap-ebp_EmployeeBenefitPlanPaymentToParticipantPolicyTextBlock_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems" xlink:to="us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_DocumentType" xlink:to="dei_DocumentType_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityCentralIndexKey" xlink:to="dei_EntityCentralIndexKey_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap-ebp_EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock" xlink:to="us-gaap-ebp_EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_CurrentFiscalYearEndDate" xlink:to="dei_CurrentFiscalYearEndDate_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable" xlink:to="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="msft_EmployeeBenefitPlanAssetsTextBlock" xlink:to="msft_EmployeeBenefitPlanAssetsTextBlock_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="msft_EmployeeBenefitPlanLiabilitiesAndPlanEquity" xlink:to="msft_EmployeeBenefitPlanLiabilitiesAndPlanEquity_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="msft_EmployeeBenefitPlanRefundsFromParticipantsWhoExceededContributionLimits" xlink:to="msft_EmployeeBenefitPlanRefundsFromParticipantsWhoExceededContributionLimits_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap-ebp_EmployeeBenefitPlanCash" xlink:to="us-gaap-ebp_EmployeeBenefitPlanCash_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease" xlink:to="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="msft_EmployeeBenefitPlanMaximumNumberOfSharesPerEmployee" xlink:to="msft_EmployeeBenefitPlanMaximumNumberOfSharesPerEmployee_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="msft_EmployeeBenefitPlanMaximumSharesAvailableUnderThePlan" xlink:to="msft_EmployeeBenefitPlanMaximumSharesAvailableUnderThePlan_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="msft_EmployeeBenefitPlanTerminationPolicyTextBlock" xlink:to="msft_EmployeeBenefitPlanTerminationPolicyTextBlock_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap-ebp_EmployeeBenefitPlanExpensePolicyTextBlock" xlink:to="us-gaap-ebp_EmployeeBenefitPlanExpensePolicyTextBlock_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitAbstract" xlink:to="us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitAbstract_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityDomain" xlink:to="dei_EntityDomain_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="msft_EmployeeBenefitPlanPlanAdministrationPolicyTextBlock" xlink:to="msft_EmployeeBenefitPlanPlanAdministrationPolicyTextBlock_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="msft_EmployeeBenefitPlanSharesMaximumAggregateFairMarketValue" xlink:to="msft_EmployeeBenefitPlanSharesMaximumAggregateFairMarketValue_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanAbstract" xlink:to="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanAbstract_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems" xlink:to="us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_DocumentPeriodEndDate" xlink:to="dei_DocumentPeriodEndDate_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_CoverAbstract" xlink:to="dei_CoverAbstract_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="msft_EmployeeBenefitPlanEmployeeStockPurchaseOfferingPeriodDuration" xlink:to="msft_EmployeeBenefitPlanEmployeeStockPurchaseOfferingPeriodDuration_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="msft_EmployeeBenefitPlanSharesReservedForFutureIssuance" xlink:to="msft_EmployeeBenefitPlanSharesReservedForFutureIssuance_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit" xlink:to="us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentAbstract" xlink:to="us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentAbstract_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfSharesPurchased" xlink:to="us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfSharesPurchased_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitTable" xlink:to="us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitTable_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_DocumentFiscalYearFocus" xlink:to="dei_DocumentFiscalYearFocus_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitTable" xlink:to="us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitTable_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="msft_EmployeeBenefitPlanPurchasePriceOfCommonStockPercent" xlink:to="msft_EmployeeBenefitPlanPurchasePriceOfCommonStockPercent_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap-ebp_EmployeeBenefitPlanAsset" xlink:to="us-gaap-ebp_EmployeeBenefitPlanAsset_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap-ebp_EmployeeBenefitPlanContributionPolicyTextBlock" xlink:to="us-gaap-ebp_EmployeeBenefitPlanContributionPolicyTextBlock_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="msft_EmployeeBenefitPlanEmployeeStockPurchaseEligibilityPeriod" xlink:to="msft_EmployeeBenefitPlanEmployeeStockPurchaseEligibilityPeriod_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap-ebp_EmployeeBenefitPlanParticipantContributionPretaxMaximumAnnualCompensationToTotalCompensationPercentage" xlink:to="us-gaap-ebp_EmployeeBenefitPlanParticipantContributionPretaxMaximumAnnualCompensationToTotalCompensationPercentage_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_LegalEntityAxis" xlink:to="dei_LegalEntityAxis_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap-ebp_EmployeeBenefitPlanAssetAbstract" xlink:to="us-gaap-ebp_EmployeeBenefitPlanAssetAbstract_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitAbstract" xlink:to="us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitAbstract_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="dei_EntityRegistrantName" xlink:to="dei_EntityRegistrantName_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease" xlink:to="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease" xlink:to="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease_lbl"/>
          <link:labelArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="msft_EmployeeBenefitPlanDescriptionOfPlanAndSummaryOfAccountingPolicyTextBlock" xlink:to="msft_EmployeeBenefitPlanDescriptionOfPlanAndSummaryOfAccountingPolicyTextBlock_lbl"/>
        </link:labelLink>
        <link:presentationLink xlink:role="http://www.microsoft.com/20251231/taxonomy/role/DocumentDocumentAndEntityInformation" xlink:title="presentationLink" xlink:type="extended">
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_CoverAbstract" xlink:label="dei_CoverAbstract"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentType" xlink:label="dei_DocumentType"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentPeriodEndDate" xlink:label="dei_DocumentPeriodEndDate"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_CurrentFiscalYearEndDate" xlink:label="dei_CurrentFiscalYearEndDate"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentFiscalYearFocus" xlink:label="dei_DocumentFiscalYearFocus"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentFiscalPeriodFocus" xlink:label="dei_DocumentFiscalPeriodFocus"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityCentralIndexKey" xlink:label="dei_EntityCentralIndexKey"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityRegistrantName" xlink:label="dei_EntityRegistrantName"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_AmendmentFlag" xlink:label="dei_AmendmentFlag"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_CoverAbstract" xlink:to="dei_DocumentType" order="49.0" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/label"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_CoverAbstract" xlink:to="dei_DocumentPeriodEndDate" order="50.0" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/label"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_CoverAbstract" xlink:to="dei_CurrentFiscalYearEndDate" order="51.0" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/label"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_CoverAbstract" xlink:to="dei_DocumentFiscalYearFocus" order="52.0" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/label"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_CoverAbstract" xlink:to="dei_DocumentFiscalPeriodFocus" order="53.0" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/label"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_CoverAbstract" xlink:to="dei_EntityCentralIndexKey" order="54.0" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/label"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_CoverAbstract" xlink:to="dei_EntityRegistrantName" order="55.0" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/label"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_CoverAbstract" xlink:to="dei_AmendmentFlag" order="56.0" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/label"/>
        </link:presentationLink>
        <link:presentationLink xlink:role="http://www.microsoft.com/20251231/taxonomy/role/StatementStatementsOfFinancialCondition" xlink:title="presentationLink" xlink:type="extended">
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanLiabilityAbstract" xlink:label="us-gaap-ebp_EmployeeBenefitPlanLiabilityAbstract"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanParticipantLiability" xlink:label="us-gaap-ebp_EmployeeBenefitPlanParticipantLiability"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems" xlink:label="us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAssetAbstract" xlink:label="us-gaap-ebp_EmployeeBenefitPlanAssetAbstract"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitAbstract" xlink:label="us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitAbstract"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitTable" xlink:label="us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitTable"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EBP001Member" xlink:label="msft_EBP001Member"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanCash" xlink:label="us-gaap-ebp_EmployeeBenefitPlanCash"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit" xlink:label="us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAsset" xlink:label="us-gaap-ebp_EmployeeBenefitPlanAsset"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanLiabilitiesAndPlanEquity" xlink:label="msft_EmployeeBenefitPlanLiabilitiesAndPlanEquity"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanLiabilityAbstract" xlink:to="us-gaap-ebp_EmployeeBenefitPlanParticipantLiability" order="0" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems" xlink:to="us-gaap-ebp_EmployeeBenefitPlanAssetAbstract" order="0" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitAbstract" xlink:to="us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitTable" order="0" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/label"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_EntityDomain" xlink:to="msft_EBP001Member" order="0" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitTable" xlink:to="dei_LegalEntityAxis" order="0" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/label"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanAssetAbstract" xlink:to="us-gaap-ebp_EmployeeBenefitPlanCash" order="0" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanLiabilityAbstract" xlink:to="us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit" order="1" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems" xlink:to="us-gaap-ebp_EmployeeBenefitPlanLiabilityAbstract" order="1" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitTable" xlink:to="us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems" order="1" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/label"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanAssetAbstract" xlink:to="us-gaap-ebp_EmployeeBenefitPlanAsset" order="1" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanLiabilityAbstract" xlink:to="msft_EmployeeBenefitPlanLiabilitiesAndPlanEquity" order="2" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" order="2.0" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/label"/>
        </link:presentationLink>
        <link:presentationLink xlink:role="http://www.microsoft.com/20251231/taxonomy/role/StatementStatementsOfIncomeAndChangesInPlanEquity" xlink:title="presentationLink" xlink:type="extended">
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseAbstract" xlink:label="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseAbstract"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRolloverNetOfRefunds" xlink:label="msft_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRolloverNetOfRefunds"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract" xlink:label="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForCostOfSharesPurchased" xlink:label="msft_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForCostOfSharesPurchased"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EBP001Member" xlink:label="msft_EBP001Member"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems" xlink:label="us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit" xlink:label="us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitTable" xlink:label="us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitTable"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitAbstract" xlink:label="us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitAbstract"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease" xlink:label="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForPaymentToParticipant" xlink:label="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForPaymentToParticipant"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease" xlink:label="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease" xlink:label="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit" xlink:label="us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit_4"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseAbstract" xlink:to="msft_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRolloverNetOfRefunds" order="0" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract" xlink:to="msft_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForCostOfSharesPurchased" order="0" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_EntityDomain" xlink:to="msft_EBP001Member" order="0" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems" xlink:to="us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit" order="0" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/periodStartLabel"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitTable" xlink:to="dei_LegalEntityAxis" order="0" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/label"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitAbstract" xlink:to="us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitTable" order="0" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/label"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseAbstract" xlink:to="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease" order="1" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract" xlink:to="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForPaymentToParticipant" order="1" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems" xlink:to="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseAbstract" order="1" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitTable" xlink:to="us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems" order="1" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/label"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract" xlink:to="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease" order="2" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems" xlink:to="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract" order="2" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" order="2.0" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/label"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems" xlink:to="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease" order="3" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/totalLabel"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems" xlink:to="us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit_4" order="4" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/periodEndLabel"/>
        </link:presentationLink>
        <link:presentationLink xlink:role="http://www.microsoft.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAndAccountingPolicies" xlink:title="presentationLink" xlink:type="extended">
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:label="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanDescriptionOfPlanAndSummaryOfAccountingPolicyTextBlock" xlink:label="msft_EmployeeBenefitPlanDescriptionOfPlanAndSummaryOfAccountingPolicyTextBlock"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable" xlink:label="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EBP001Member" xlink:label="msft_EBP001Member"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanAbstract" xlink:label="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanAbstract"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="msft_EmployeeBenefitPlanDescriptionOfPlanAndSummaryOfAccountingPolicyTextBlock" order="0" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable" xlink:to="dei_LegalEntityAxis" order="0" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/label"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_EntityDomain" xlink:to="msft_EBP001Member" order="0" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanAbstract" xlink:to="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable" order="0" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/label"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable" xlink:to="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" order="1" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/label"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" order="2.0" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/label"/>
        </link:presentationLink>
        <link:presentationLink xlink:role="http://www.microsoft.com/20251231/taxonomy/role/DisclosurePlanAssets" xlink:title="presentationLink" xlink:type="extended">
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable" xlink:label="us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems" xlink:label="us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanAssetsTextBlock" xlink:label="msft_EmployeeBenefitPlanAssetsTextBlock"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EBP001Member" xlink:label="msft_EBP001Member"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentAbstract" xlink:label="us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentAbstract"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable" xlink:to="dei_LegalEntityAxis" order="0" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/label"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems" xlink:to="msft_EmployeeBenefitPlanAssetsTextBlock" order="0" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_EntityDomain" xlink:to="msft_EBP001Member" order="0" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentAbstract" xlink:to="us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable" order="0" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/label"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable" xlink:to="us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems" order="1" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/label"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" order="2.0" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/label"/>
        </link:presentationLink>
        <link:presentationLink xlink:role="http://www.microsoft.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAndAccountingPoliciesPolicies" xlink:title="presentationLink" xlink:type="extended">
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:label="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock" xlink:label="us-gaap-ebp_EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable" xlink:label="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EBP001Member" xlink:label="msft_EBP001Member"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanAbstract" xlink:label="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanAbstract"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanPlanAdministrationPolicyTextBlock" xlink:label="msft_EmployeeBenefitPlanPlanAdministrationPolicyTextBlock"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanContributionPolicyTextBlock" xlink:label="us-gaap-ebp_EmployeeBenefitPlanContributionPolicyTextBlock"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanPaymentToParticipantPolicyTextBlock" xlink:label="us-gaap-ebp_EmployeeBenefitPlanPaymentToParticipantPolicyTextBlock"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanExpensePolicyTextBlock" xlink:label="us-gaap-ebp_EmployeeBenefitPlanExpensePolicyTextBlock"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanTerminationPolicyTextBlock" xlink:label="msft_EmployeeBenefitPlanTerminationPolicyTextBlock"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="us-gaap-ebp_EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock" order="0" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable" xlink:to="dei_LegalEntityAxis" order="0" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/label"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_EntityDomain" xlink:to="msft_EBP001Member" order="0" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanAbstract" xlink:to="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable" order="0" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/label"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="msft_EmployeeBenefitPlanPlanAdministrationPolicyTextBlock" order="1" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable" xlink:to="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" order="1" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/label"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="us-gaap-ebp_EmployeeBenefitPlanContributionPolicyTextBlock" order="2" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" order="2.0" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/label"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="us-gaap-ebp_EmployeeBenefitPlanPaymentToParticipantPolicyTextBlock" order="3" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="us-gaap-ebp_EmployeeBenefitPlanExpensePolicyTextBlock" order="4" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="msft_EmployeeBenefitPlanTerminationPolicyTextBlock" order="5" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
        </link:presentationLink>
        <link:presentationLink xlink:role="http://www.microsoft.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAndAccountingPoliciesAdditionalInformationDetails" xlink:title="presentationLink" xlink:type="extended">
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:label="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanEmployeeStockPurchaseOfferingPeriodDuration" xlink:label="msft_EmployeeBenefitPlanEmployeeStockPurchaseOfferingPeriodDuration"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable" xlink:label="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EBP001Member" xlink:label="msft_EBP001Member"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanAbstract" xlink:label="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanAbstract"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanEmployeeStockPurchaseEligibilityPeriod" xlink:label="msft_EmployeeBenefitPlanEmployeeStockPurchaseEligibilityPeriod"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanPurchasePriceOfCommonStockPercent" xlink:label="msft_EmployeeBenefitPlanPurchasePriceOfCommonStockPercent"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfSharesPurchased" xlink:label="us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfSharesPurchased"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanMaximumSharesAvailableUnderThePlan" xlink:label="msft_EmployeeBenefitPlanMaximumSharesAvailableUnderThePlan"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanSharesReservedForFutureIssuance" xlink:label="msft_EmployeeBenefitPlanSharesReservedForFutureIssuance"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanParticipantContributionPretaxMaximumAnnualCompensationToTotalCompensationPercentage" xlink:label="us-gaap-ebp_EmployeeBenefitPlanParticipantContributionPretaxMaximumAnnualCompensationToTotalCompensationPercentage"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanMaximumNumberOfSharesPerEmployee" xlink:label="msft_EmployeeBenefitPlanMaximumNumberOfSharesPerEmployee"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanSharesMaximumAggregateFairMarketValue" xlink:label="msft_EmployeeBenefitPlanSharesMaximumAggregateFairMarketValue"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanRefundsFromParticipantsWhoExceededContributionLimits" xlink:label="msft_EmployeeBenefitPlanRefundsFromParticipantsWhoExceededContributionLimits"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanMaximumSharesOwnedPercentage" xlink:label="msft_EmployeeBenefitPlanMaximumSharesOwnedPercentage"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAdministrationCostAbsorbedByEmployer" xlink:label="us-gaap-ebp_EmployeeBenefitPlanAdministrationCostAbsorbedByEmployer"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="msft_EmployeeBenefitPlanEmployeeStockPurchaseOfferingPeriodDuration" order="0" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable" xlink:to="dei_LegalEntityAxis" order="0" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/label"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_EntityDomain" xlink:to="msft_EBP001Member" order="0" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanAbstract" xlink:to="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable" order="0" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/label"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="msft_EmployeeBenefitPlanEmployeeStockPurchaseEligibilityPeriod" order="1" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable" xlink:to="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" order="1" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/label"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="msft_EmployeeBenefitPlanPurchasePriceOfCommonStockPercent" order="2" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" order="2.0" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/label"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfSharesPurchased" order="3" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="msft_EmployeeBenefitPlanMaximumSharesAvailableUnderThePlan" order="4" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="msft_EmployeeBenefitPlanSharesReservedForFutureIssuance" order="5" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="us-gaap-ebp_EmployeeBenefitPlanParticipantContributionPretaxMaximumAnnualCompensationToTotalCompensationPercentage" order="6" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="msft_EmployeeBenefitPlanMaximumNumberOfSharesPerEmployee" order="7" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="msft_EmployeeBenefitPlanSharesMaximumAggregateFairMarketValue" order="8" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="msft_EmployeeBenefitPlanRefundsFromParticipantsWhoExceededContributionLimits" order="9" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="msft_EmployeeBenefitPlanMaximumSharesOwnedPercentage" order="10" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
          <link:presentationArc xlink:type="arc" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="us-gaap-ebp_EmployeeBenefitPlanAdministrationCostAbsorbedByEmployer" order="11" priority="2" use="optional" preferredLabel="http://www.xbrl.org/2003/role/label"/>
        </link:presentationLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.microsoft.com/20251231/taxonomy/role/StatementStatementsOfFinancialCondition">
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems" xlink:label="us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitTable" xlink:label="us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitTable"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanLiabilityAbstract" xlink:label="us-gaap-ebp_EmployeeBenefitPlanLiabilityAbstract"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanParticipantLiability" xlink:label="us-gaap-ebp_EmployeeBenefitPlanParticipantLiability"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAssetAbstract" xlink:label="us-gaap-ebp_EmployeeBenefitPlanAssetAbstract"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EBP001Member" xlink:label="msft_EBP001Member"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_default"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanCash" xlink:label="us-gaap-ebp_EmployeeBenefitPlanCash"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit" xlink:label="us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAsset" xlink:label="us-gaap-ebp_EmployeeBenefitPlanAsset"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanLiabilitiesAndPlanEquity" xlink:label="msft_EmployeeBenefitPlanLiabilitiesAndPlanEquity"/>
          <link:definitionArc xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems" xlink:to="us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitTable" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="0" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap-ebp_EmployeeBenefitPlanLiabilityAbstract" xlink:to="us-gaap-ebp_EmployeeBenefitPlanParticipantLiability" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="0" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems" xlink:to="us-gaap-ebp_EmployeeBenefitPlanAssetAbstract" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="0" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="msft_EBP001Member" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="0" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitTable" xlink:to="dei_LegalEntityAxis" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="0" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="0" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_default" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="0" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap-ebp_EmployeeBenefitPlanAssetAbstract" xlink:to="us-gaap-ebp_EmployeeBenefitPlanCash" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="1" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap-ebp_EmployeeBenefitPlanLiabilityAbstract" xlink:to="us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="1" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap-ebp_EmployeeBenefitPlanStatementOfNetAssetAvailableForBenefitLineItems" xlink:to="us-gaap-ebp_EmployeeBenefitPlanLiabilityAbstract" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="1" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap-ebp_EmployeeBenefitPlanAssetAbstract" xlink:to="us-gaap-ebp_EmployeeBenefitPlanAsset" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="2" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap-ebp_EmployeeBenefitPlanLiabilityAbstract" xlink:to="msft_EmployeeBenefitPlanLiabilitiesAndPlanEquity" priority="2" use="optional"/>
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.microsoft.com/20251231/taxonomy/role/StatementStatementsOfIncomeAndChangesInPlanEquity">
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems" xlink:label="us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitTable" xlink:label="us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitTable"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseAbstract" xlink:label="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseAbstract"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRolloverNetOfRefunds" xlink:label="msft_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRolloverNetOfRefunds"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract" xlink:label="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForCostOfSharesPurchased" xlink:label="msft_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForCostOfSharesPurchased"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EBP001Member" xlink:label="msft_EBP001Member"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit" xlink:label="us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease" xlink:label="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForPaymentToParticipant" xlink:label="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForPaymentToParticipant"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease" xlink:label="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease" xlink:label="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease"/>
          <link:definitionArc xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems" xlink:to="us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitTable" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="0" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseAbstract" xlink:to="msft_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRolloverNetOfRefunds" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="0" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract" xlink:to="msft_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForCostOfSharesPurchased" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="0" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="msft_EBP001Member" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="0" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems" xlink:to="us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="0" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitTable" xlink:to="dei_LegalEntityAxis" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="0" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="1" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseAbstract" xlink:to="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="1" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract" xlink:to="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForPaymentToParticipant" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="1" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems" xlink:to="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseAbstract" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="2" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract" xlink:to="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="2" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems" xlink:to="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseAbstract" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="3" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap-ebp_EmployeeBenefitPlanStatementOfChangeInNetAssetAvailableForBenefitLineItems" xlink:to="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease" priority="2" use="optional"/>
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.microsoft.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAndAccountingPolicies">
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:label="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable" xlink:label="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanDescriptionOfPlanAndSummaryOfAccountingPolicyTextBlock" xlink:label="msft_EmployeeBenefitPlanDescriptionOfPlanAndSummaryOfAccountingPolicyTextBlock"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EBP001Member" xlink:label="msft_EBP001Member"/>
          <link:definitionArc xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="0" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="msft_EmployeeBenefitPlanDescriptionOfPlanAndSummaryOfAccountingPolicyTextBlock" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="0" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable" xlink:to="dei_LegalEntityAxis" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="0" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="msft_EBP001Member" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="0" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" priority="2" use="optional"/>
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.microsoft.com/20251231/taxonomy/role/DisclosurePlanAssets">
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems" xlink:label="us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable" xlink:label="us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanAssetsTextBlock" xlink:label="msft_EmployeeBenefitPlanAssetsTextBlock"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EBP001Member" xlink:label="msft_EBP001Member"/>
          <link:definitionArc xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems" xlink:to="us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="0" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentTable" xlink:to="dei_LegalEntityAxis" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="0" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap-ebp_EmployeeBenefitPlanScheduleOfAssetHeldForInvestmentLineItems" xlink:to="msft_EmployeeBenefitPlanAssetsTextBlock" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="0" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="msft_EBP001Member" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="0" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" priority="2" use="optional"/>
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.microsoft.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAndAccountingPoliciesPolicies">
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:label="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable" xlink:label="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock" xlink:label="us-gaap-ebp_EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EBP001Member" xlink:label="msft_EBP001Member"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanPlanAdministrationPolicyTextBlock" xlink:label="msft_EmployeeBenefitPlanPlanAdministrationPolicyTextBlock"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanContributionPolicyTextBlock" xlink:label="us-gaap-ebp_EmployeeBenefitPlanContributionPolicyTextBlock"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanPaymentToParticipantPolicyTextBlock" xlink:label="us-gaap-ebp_EmployeeBenefitPlanPaymentToParticipantPolicyTextBlock"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanExpensePolicyTextBlock" xlink:label="us-gaap-ebp_EmployeeBenefitPlanExpensePolicyTextBlock"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanTerminationPolicyTextBlock" xlink:label="msft_EmployeeBenefitPlanTerminationPolicyTextBlock"/>
          <link:definitionArc xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="0" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="us-gaap-ebp_EmployeeBenefitPlanBasisOfAccountingPolicyTextBlock" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="0" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable" xlink:to="dei_LegalEntityAxis" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="0" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="msft_EBP001Member" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="0" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="1" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="msft_EmployeeBenefitPlanPlanAdministrationPolicyTextBlock" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="2" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="us-gaap-ebp_EmployeeBenefitPlanContributionPolicyTextBlock" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="3" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="us-gaap-ebp_EmployeeBenefitPlanPaymentToParticipantPolicyTextBlock" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="4" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="us-gaap-ebp_EmployeeBenefitPlanExpensePolicyTextBlock" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="5" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="msft_EmployeeBenefitPlanTerminationPolicyTextBlock" priority="2" use="optional"/>
        </link:definitionLink>
        <link:definitionLink xlink:type="extended" xlink:role="http://www.microsoft.com/20251231/taxonomy/role/DisclosureDescriptionOfThePlanAndAccountingPoliciesAdditionalInformationDetails">
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:label="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable" xlink:label="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanEmployeeStockPurchaseOfferingPeriodDuration" xlink:label="msft_EmployeeBenefitPlanEmployeeStockPurchaseOfferingPeriodDuration"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EBP001Member" xlink:label="msft_EBP001Member"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanEmployeeStockPurchaseEligibilityPeriod" xlink:label="msft_EmployeeBenefitPlanEmployeeStockPurchaseEligibilityPeriod"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanPurchasePriceOfCommonStockPercent" xlink:label="msft_EmployeeBenefitPlanPurchasePriceOfCommonStockPercent"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfSharesPurchased" xlink:label="us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfSharesPurchased"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanMaximumSharesAvailableUnderThePlan" xlink:label="msft_EmployeeBenefitPlanMaximumSharesAvailableUnderThePlan"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanSharesReservedForFutureIssuance" xlink:label="msft_EmployeeBenefitPlanSharesReservedForFutureIssuance"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanParticipantContributionPretaxMaximumAnnualCompensationToTotalCompensationPercentage" xlink:label="us-gaap-ebp_EmployeeBenefitPlanParticipantContributionPretaxMaximumAnnualCompensationToTotalCompensationPercentage"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanMaximumNumberOfSharesPerEmployee" xlink:label="msft_EmployeeBenefitPlanMaximumNumberOfSharesPerEmployee"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanSharesMaximumAggregateFairMarketValue" xlink:label="msft_EmployeeBenefitPlanSharesMaximumAggregateFairMarketValue"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanRefundsFromParticipantsWhoExceededContributionLimits" xlink:label="msft_EmployeeBenefitPlanRefundsFromParticipantsWhoExceededContributionLimits"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanMaximumSharesOwnedPercentage" xlink:label="msft_EmployeeBenefitPlanMaximumSharesOwnedPercentage"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAdministrationCostAbsorbedByEmployer" xlink:label="us-gaap-ebp_EmployeeBenefitPlanAdministrationCostAbsorbedByEmployer"/>
          <link:definitionArc xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="0" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="msft_EmployeeBenefitPlanEmployeeStockPurchaseOfferingPeriodDuration" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="0" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanTable" xlink:to="dei_LegalEntityAxis" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="0" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="msft_EBP001Member" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="0" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="1" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="msft_EmployeeBenefitPlanEmployeeStockPurchaseEligibilityPeriod" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="2" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="msft_EmployeeBenefitPlanPurchasePriceOfCommonStockPercent" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="3" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="us-gaap-ebp_EmployeeBenefitPlanInvestmentNumberOfSharesPurchased" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="4" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="msft_EmployeeBenefitPlanMaximumSharesAvailableUnderThePlan" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="5" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="msft_EmployeeBenefitPlanSharesReservedForFutureIssuance" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="6" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="us-gaap-ebp_EmployeeBenefitPlanParticipantContributionPretaxMaximumAnnualCompensationToTotalCompensationPercentage" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="7" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="msft_EmployeeBenefitPlanMaximumNumberOfSharesPerEmployee" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="8" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="msft_EmployeeBenefitPlanSharesMaximumAggregateFairMarketValue" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="9" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="msft_EmployeeBenefitPlanRefundsFromParticipantsWhoExceededContributionLimits" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="10" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="msft_EmployeeBenefitPlanMaximumSharesOwnedPercentage" priority="2" use="optional"/>
          <link:definitionArc xlink:type="arc" order="11" xbrldt:closed="false" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="us-gaap-ebp_EmployeeBenefitPlanDescriptionOfPlanLineItems" xlink:to="us-gaap-ebp_EmployeeBenefitPlanAdministrationCostAbsorbedByEmployer" priority="2" use="optional"/>
        </link:definitionLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.microsoft.com/20251231/taxonomy/role/StatementStatementsOfFinancialCondition">
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="msft_EmployeeBenefitPlanLiabilitiesAndPlanEquity" xlink:to="us-gaap-ebp_EmployeeBenefitPlanParticipantLiability" order="0" weight="1" use="optional"/>
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap-ebp_EmployeeBenefitPlanAsset" xlink:to="us-gaap-ebp_EmployeeBenefitPlanCash" order="0" weight="1" use="optional"/>
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="msft_EmployeeBenefitPlanLiabilitiesAndPlanEquity" xlink:to="us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit" order="1" weight="-1" use="optional"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanLiabilitiesAndPlanEquity" xlink:label="msft_EmployeeBenefitPlanLiabilitiesAndPlanEquity"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanParticipantLiability" xlink:label="us-gaap-ebp_EmployeeBenefitPlanParticipantLiability"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanAsset" xlink:label="us-gaap-ebp_EmployeeBenefitPlanAsset"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanCash" xlink:label="us-gaap-ebp_EmployeeBenefitPlanCash"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit" xlink:label="us-gaap-ebp_EmployeeBenefitPlanNetAssetAvailableForBenefit"/>
        </link:calculationLink>
        <link:calculationLink xlink:type="extended" xlink:role="http://www.microsoft.com/20251231/taxonomy/role/StatementStatementsOfIncomeAndChangesInPlanEquity">
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease" xlink:to="msft_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRolloverNetOfRefunds" order="0" weight="1" use="optional"/>
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease" xlink:to="msft_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForCostOfSharesPurchased" order="0" weight="1" use="optional"/>
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease" xlink:to="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease" order="0" weight="1" use="optional"/>
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease" xlink:to="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease" order="1" weight="-1" use="optional"/>
          <link:calculationArc xlink:type="arc" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease" xlink:to="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForPaymentToParticipant" order="3" weight="1" use="optional"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease" xlink:label="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncrease"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRolloverNetOfRefunds" xlink:label="msft_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRolloverNetOfRefunds"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease" xlink:label="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecrease"/>
          <link:loc xlink:type="locator" xlink:href="msft-20251231.xsd#msft_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForCostOfSharesPurchased" xlink:label="msft_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForCostOfSharesPurchased"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease" xlink:label="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseDecrease"/>
          <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2025/ebp/elts/us-gaap-ebp-2025.xsd#us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForPaymentToParticipant" xlink:label="us-gaap-ebp_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForPaymentToParticipant"/>
        </link:calculationLink>
      </link:linkbase>
    </xsd:appinfo>
  </xsd:annotation>
  <xsd:element id="msft_EmployeeBenefitPlanMaximumNumberOfSharesPerEmployee" name="EmployeeBenefitPlanMaximumNumberOfSharesPerEmployee" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="msft_EmployeeBenefitPlanPlanAdministrationPolicyTextBlock" name="EmployeeBenefitPlanPlanAdministrationPolicyTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="msft_EmployeeBenefitPlanEmployeeStockPurchaseEligibilityPeriod" name="EmployeeBenefitPlanEmployeeStockPurchaseEligibilityPeriod" type="xbrli:durationItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="msft_EmployeeBenefitPlanLiabilitiesAndPlanEquity" name="EmployeeBenefitPlanLiabilitiesAndPlanEquity" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="msft_EmployeeBenefitPlanDescriptionOfPlanAndSummaryOfAccountingPolicyTextBlock" name="EmployeeBenefitPlanDescriptionOfPlanAndSummaryOfAccountingPolicyTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="msft_EmployeeBenefitPlanSharesMaximumAggregateFairMarketValue" name="EmployeeBenefitPlanSharesMaximumAggregateFairMarketValue" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="msft_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRolloverNetOfRefunds" name="EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitIncreaseForParticipantContributionExcludingRolloverNetOfRefunds" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit"/>
  <xsd:element id="msft_EmployeeBenefitPlanMaximumSharesAvailableUnderThePlan" name="EmployeeBenefitPlanMaximumSharesAvailableUnderThePlan" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" xbrli:periodType="instant" nillable="true" abstract="false"/>
  <xsd:element id="msft_EmployeeBenefitPlanMaximumSharesOwnedPercentage" name="EmployeeBenefitPlanMaximumSharesOwnedPercentage" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="msft_EmployeeBenefitPlanTerminationPolicyTextBlock" name="EmployeeBenefitPlanTerminationPolicyTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="msft_EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForCostOfSharesPurchased" name="EmployeeBenefitPlanChangeInNetAssetAvailableForBenefitDecreaseForCostOfSharesPurchased" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="credit"/>
  <xsd:element id="msft_EmployeeBenefitPlanEmployeeStockPurchaseOfferingPeriodDuration" name="EmployeeBenefitPlanEmployeeStockPurchaseOfferingPeriodDuration" type="xbrli:durationItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="msft_EmployeeBenefitPlanPurchasePriceOfCommonStockPercent" name="EmployeeBenefitPlanPurchasePriceOfCommonStockPercent" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="msft_EBP001Member" name="EBP001Member" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="true"/>
  <xsd:element id="msft_EmployeeBenefitPlanAssetsTextBlock" name="EmployeeBenefitPlanAssetsTextBlock" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="msft_EmployeeBenefitPlanSharesReservedForFutureIssuance" name="EmployeeBenefitPlanSharesReservedForFutureIssuance" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false"/>
  <xsd:element id="msft_EmployeeBenefitPlanRefundsFromParticipantsWhoExceededContributionLimits" name="EmployeeBenefitPlanRefundsFromParticipantsWhoExceededContributionLimits" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" xbrli:periodType="duration" nillable="true" abstract="false" xbrli:balance="debit"/>
</xsd:schema>
