<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2024 Workiva-->
<!--r:8dbce59b-e7cb-41de-8446-707f712a2a92,g:3e6229e4-32a7-4caa-a132-cb74eb6cd115-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:mgnx="http://macrogenics.com/20231231" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:dtr-types1="http://www.xbrl.org/dtr/type/2020-01-21" xmlns:dtr-types="http://www.xbrl.org/dtr/type/2022-03-31" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://macrogenics.com/20231231">
  <xs:import namespace="http://fasb.org/srt/2023" schemaLocation="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd"/>
  <xs:import namespace="http://fasb.org/us-gaap/2023" schemaLocation="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd"/>
  <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="http://www.xbrl.org/2003/xlink-2003-12-31.xsd"/>
  <xs:import namespace="http://www.xbrl.org/2003/instance" schemaLocation="http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd"/>
  <xs:import namespace="http://www.xbrl.org/2003/linkbase" schemaLocation="http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd"/>
  <xs:import namespace="http://www.xbrl.org/dtr/type/2020-01-21" schemaLocation="https://www.xbrl.org/dtr/type/2020-01-21/types.xsd"/>
  <xs:import namespace="http://www.xbrl.org/dtr/type/2022-03-31" schemaLocation="https://www.xbrl.org/dtr/type/2022-03-31/types.xsd"/>
  <xs:import namespace="http://xbrl.org/2005/xbrldt" schemaLocation="http://www.xbrl.org/2005/xbrldt-2005.xsd"/>
  <xs:import namespace="http://xbrl.sec.gov/dei/2023" schemaLocation="https://xbrl.sec.gov/dei/2023/dei-2023.xsd"/>
  <xs:import namespace="http://xbrl.sec.gov/ecd/2023" schemaLocation="https://xbrl.sec.gov/ecd/2023/ecd-2023.xsd"/>
  <xs:annotation>
    <xs:appinfo>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="mgnx-20231231_pre.xml" xlink:role="http://www.xbrl.org/2003/role/presentationLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="mgnx-20231231_def.xml" xlink:role="http://www.xbrl.org/2003/role/definitionLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="mgnx-20231231_lab.xml" xlink:role="http://www.xbrl.org/2003/role/labelLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="mgnx-20231231_cal.xml" xlink:role="http://www.xbrl.org/2003/role/calculationLinkbaseRef" xlink:type="simple"/>
      <link:roleType id="CoverPage" roleURI="http://macrogenics.com/role/CoverPage">
        <link:definition>0000001 - Document - Cover Page</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="AuditInformation" roleURI="http://macrogenics.com/role/AuditInformation">
        <link:definition>0000002 - Document - Audit 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 id="CONSOLIDATEDBALANCESHEETS" roleURI="http://macrogenics.com/role/CONSOLIDATEDBALANCESHEETS">
        <link:definition>0000003 - Statement - CONSOLIDATED BALANCE SHEETS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONSOLIDATEDBALANCESHEETSParenthetical" roleURI="http://macrogenics.com/role/CONSOLIDATEDBALANCESHEETSParenthetical">
        <link:definition>0000004 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS" roleURI="http://macrogenics.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS">
        <link:definition>0000005 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS AND COMPREHENSIVE LOSS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY" roleURI="http://macrogenics.com/role/CONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY">
        <link:definition>0000006 - Statement - CONSOLIDATED STATEMENTS OF STOCKHOLDERS' 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 id="CONSOLIDATEDSTATEMENTSOFCASHFLOWS" roleURI="http://macrogenics.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS">
        <link:definition>0000007 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="OrganizationandNatureofOperations" roleURI="http://macrogenics.com/role/OrganizationandNatureofOperations">
        <link:definition>0000008 - Disclosure - Organization and Nature of Operations</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SummaryofSignificantAccountingPolicies" roleURI="http://macrogenics.com/role/SummaryofSignificantAccountingPolicies">
        <link:definition>0000009 - Disclosure - Summary of Significant 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 id="MarketableSecurities" roleURI="http://macrogenics.com/role/MarketableSecurities">
        <link:definition>0000010 - Disclosure - Marketable Securities</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Inventory" roleURI="http://macrogenics.com/role/Inventory">
        <link:definition>0000011 - Disclosure - Inventory</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="PropertyEquipmentandSoftware" roleURI="http://macrogenics.com/role/PropertyEquipmentandSoftware">
        <link:definition>0000012 - Disclosure - Property, Equipment and Software</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CommitmentsandContingencies" roleURI="http://macrogenics.com/role/CommitmentsandContingencies">
        <link:definition>0000013 - Disclosure - Commitments and Contingencies</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RoyaltyMonetizationArrangement" roleURI="http://macrogenics.com/role/RoyaltyMonetizationArrangement">
        <link:definition>0000014 - Disclosure - Royalty Monetization Arrangement</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StockholdersEquity" roleURI="http://macrogenics.com/role/StockholdersEquity">
        <link:definition>0000015 - Disclosure - Stockholders' 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 id="Revenue" roleURI="http://macrogenics.com/role/Revenue">
        <link:definition>0000016 - Disclosure - Revenue</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StockbasedCompensation" roleURI="http://macrogenics.com/role/StockbasedCompensation">
        <link:definition>0000017 - Disclosure - Stock-based Compensation</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="IncomeTaxes" roleURI="http://macrogenics.com/role/IncomeTaxes">
        <link:definition>0000018 - Disclosure - Income Taxes</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="EmployeeBenefitPlan" roleURI="http://macrogenics.com/role/EmployeeBenefitPlan">
        <link:definition>0000019 - Disclosure - Employee Benefit Plan</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SummaryofSignificantAccountingPoliciesPolicies" roleURI="http://macrogenics.com/role/SummaryofSignificantAccountingPoliciesPolicies">
        <link:definition>9954471 - Disclosure - Summary of Significant 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 id="SummaryofSignificantAccountingPoliciesTables" roleURI="http://macrogenics.com/role/SummaryofSignificantAccountingPoliciesTables">
        <link:definition>9954472 - Disclosure - Summary of Significant Accounting Policies (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="MarketableSecuritiesTables" roleURI="http://macrogenics.com/role/MarketableSecuritiesTables">
        <link:definition>9954473 - Disclosure - Marketable Securities (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="InventoryNetTables" roleURI="http://macrogenics.com/role/InventoryNetTables">
        <link:definition>9954474 - Disclosure - Inventory, Net (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="PropertyEquipmentandSoftwareTables" roleURI="http://macrogenics.com/role/PropertyEquipmentandSoftwareTables">
        <link:definition>9954475 - Disclosure - Property, Equipment and Software (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CommitmentsandContingenciesTables" roleURI="http://macrogenics.com/role/CommitmentsandContingenciesTables">
        <link:definition>9954476 - Disclosure - Commitments and Contingencies (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RoyaltyMonetizationArrangementTables" roleURI="http://macrogenics.com/role/RoyaltyMonetizationArrangementTables">
        <link:definition>9954477 - Disclosure - Royalty Monetization Arrangement (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StockbasedCompensationTables" roleURI="http://macrogenics.com/role/StockbasedCompensationTables">
        <link:definition>9954478 - Disclosure - Stock-based Compensation (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="IncomeTaxesTables" roleURI="http://macrogenics.com/role/IncomeTaxesTables">
        <link:definition>9954479 - Disclosure - Income Taxes (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SummaryofSignificantAccountingPoliciesDetails" roleURI="http://macrogenics.com/role/SummaryofSignificantAccountingPoliciesDetails">
        <link:definition>9954480 - Disclosure - Summary of Significant Accounting Policies (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SummaryofSignificantAccountingPoliciesSummaryofFairValueMeasurementFinancialAssetandLiabilitiesDetails" roleURI="http://macrogenics.com/role/SummaryofSignificantAccountingPoliciesSummaryofFairValueMeasurementFinancialAssetandLiabilitiesDetails">
        <link:definition>9954481 - Disclosure - Summary of Significant Accounting Policies - Summary of Fair Value Measurement Financial Asset and Liabilities (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SummaryofSignificantAccountingPoliciesSummaryofCollaboratorsthatRepresentMoreThan10ofTotalRevenueEarnedandAccountsReceivableDetails" roleURI="http://macrogenics.com/role/SummaryofSignificantAccountingPoliciesSummaryofCollaboratorsthatRepresentMoreThan10ofTotalRevenueEarnedandAccountsReceivableDetails">
        <link:definition>9954482 - Disclosure - Summary of Significant Accounting Policies - Summary of Collaborators that Represent More Than 10% of Total Revenue Earned and Accounts Receivable (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SummaryofSignificantAccountingPoliciesEstimatedUsefulLivesDetails" roleURI="http://macrogenics.com/role/SummaryofSignificantAccountingPoliciesEstimatedUsefulLivesDetails">
        <link:definition>9954483 - Disclosure - Summary of Significant Accounting Policies - Estimated Useful Lives (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SummaryofSignificantAccountingPoliciesScheduleofAntidilutiveSecuritiesExcludedfromtheCalculationofDilutedLossPerShareDetails" roleURI="http://macrogenics.com/role/SummaryofSignificantAccountingPoliciesScheduleofAntidilutiveSecuritiesExcludedfromtheCalculationofDilutedLossPerShareDetails">
        <link:definition>9954484 - Disclosure - Summary of Significant Accounting Policies - Schedule of Antidilutive Securities Excluded from the Calculation of Diluted Loss Per Share (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="MarketableSecuritiesDetails" roleURI="http://macrogenics.com/role/MarketableSecuritiesDetails">
        <link:definition>9954485 - Disclosure - Marketable Securities (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="MarketableSecuritiesAvailableForSaleSecuritiesDetails" roleURI="http://macrogenics.com/role/MarketableSecuritiesAvailableForSaleSecuritiesDetails">
        <link:definition>9954486 - Disclosure - Marketable Securities - Available-For-Sale Securities (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="InventoryNetScheduleofInventoryDetails" roleURI="http://macrogenics.com/role/InventoryNetScheduleofInventoryDetails">
        <link:definition>9954487 - Disclosure - Inventory, Net - Schedule of Inventory (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="InventoryNetDetails" roleURI="http://macrogenics.com/role/InventoryNetDetails">
        <link:definition>9954488 - Disclosure - Inventory, Net (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="PropertyEquipmentandSoftwareDetails" roleURI="http://macrogenics.com/role/PropertyEquipmentandSoftwareDetails">
        <link:definition>9954489 - Disclosure - Property, Equipment and Software (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CommitmentsandContingenciesDetails" roleURI="http://macrogenics.com/role/CommitmentsandContingenciesDetails">
        <link:definition>9954490 - Disclosure - Commitments and Contingencies (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RoyaltyMonetizationArrangementDetails" roleURI="http://macrogenics.com/role/RoyaltyMonetizationArrangementDetails">
        <link:definition>9954491 - Disclosure - Royalty Monetization Arrangement (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RoyaltyMonetizationArrangementRollforwardDetails" roleURI="http://macrogenics.com/role/RoyaltyMonetizationArrangementRollforwardDetails">
        <link:definition>9954492 - Disclosure - Royalty Monetization Arrangement Rollforward (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StockholdersEquityDetails" roleURI="http://macrogenics.com/role/StockholdersEquityDetails">
        <link:definition>9954493 - Disclosure - Stockholders' Equity (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RevenueIncyteCorporationDetails" roleURI="http://macrogenics.com/role/RevenueIncyteCorporationDetails">
        <link:definition>9954494 - Disclosure - Revenue - Incyte Corporation (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RevenueGileadSciencesIncDetails" roleURI="http://macrogenics.com/role/RevenueGileadSciencesIncDetails">
        <link:definition>9954495 - Disclosure - Revenue - Gilead Sciences Inc (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RevenueZaiLabDetails" roleURI="http://macrogenics.com/role/RevenueZaiLabDetails">
        <link:definition>9954496 - Disclosure - Revenue - Zai Lab (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RevenueProventionDetails" roleURI="http://macrogenics.com/role/RevenueProventionDetails">
        <link:definition>9954497 - Disclosure - Revenue - Provention (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RevenueManufacturingServiceAgreementsDetails" roleURI="http://macrogenics.com/role/RevenueManufacturingServiceAgreementsDetails">
        <link:definition>9954498 - Disclosure - Revenue - Manufacturing Service Agreements (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RevenueNIAIDContractDetails" roleURI="http://macrogenics.com/role/RevenueNIAIDContractDetails">
        <link:definition>9954499 - Disclosure - Revenue - NIAID Contract (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StockbasedCompensationNarrativeDetails" roleURI="http://macrogenics.com/role/StockbasedCompensationNarrativeDetails">
        <link:definition>9954500 - Disclosure - Stock-based Compensation - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StockbasedCompensationStockBasedCompensationExpenseDetails" roleURI="http://macrogenics.com/role/StockbasedCompensationStockBasedCompensationExpenseDetails">
        <link:definition>9954501 - Disclosure - Stock-based Compensation - Stock-Based Compensation Expense (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StockbasedCompensationOptionPricingAssumptionsDetails" roleURI="http://macrogenics.com/role/StockbasedCompensationOptionPricingAssumptionsDetails">
        <link:definition>9954502 - Disclosure - Stock-based Compensation - Option Pricing Assumptions (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StockbasedCompensationStockOptionandRestrictedStockUnitActivityDetails" roleURI="http://macrogenics.com/role/StockbasedCompensationStockOptionandRestrictedStockUnitActivityDetails">
        <link:definition>9954503 - Disclosure - Stock-based Compensation - Stock Option and Restricted Stock Unit Activity (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="IncomeTaxesAdditionalInformationDetails" roleURI="http://macrogenics.com/role/IncomeTaxesAdditionalInformationDetails">
        <link:definition>9954504 - Disclosure - Income Taxes - 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:roleType id="IncomeTaxesComponentsoftheCompanysDeferredTaxAssetsLiabilitiesDetails" roleURI="http://macrogenics.com/role/IncomeTaxesComponentsoftheCompanysDeferredTaxAssetsLiabilitiesDetails">
        <link:definition>9954505 - Disclosure - Income Taxes - Components of the Company's Deferred Tax Assets (Liabilities) (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="IncomeTaxesValuationAllowanceActivityDetails" roleURI="http://macrogenics.com/role/IncomeTaxesValuationAllowanceActivityDetails">
        <link:definition>9954506 - Disclosure - Income Taxes - Valuation Allowance Activity (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="IncomeTaxesReconciliationofReportedEstimatedIncomeTaxBenefitDetails" roleURI="http://macrogenics.com/role/IncomeTaxesReconciliationofReportedEstimatedIncomeTaxBenefitDetails">
        <link:definition>9954507 - Disclosure - Income Taxes - Reconciliation of Reported Estimated Income Tax Benefit (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="IncomeTaxesReconciliationoftheBeginningandEndingAmountofGrossUnrecognizedTaxBenefitsDetails" roleURI="http://macrogenics.com/role/IncomeTaxesReconciliationoftheBeginningandEndingAmountofGrossUnrecognizedTaxBenefitsDetails">
        <link:definition>9954508 - Disclosure - Income Taxes - Reconciliation of the Beginning and Ending Amount of Gross Unrecognized Tax Benefits (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="EmployeeBenefitPlanDetails" roleURI="http://macrogenics.com/role/EmployeeBenefitPlanDetails">
        <link:definition>9954509 - Disclosure - Employee Benefit Plan (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
    </xs:appinfo>
  </xs:annotation>
  <xs:element id="mgnx_StockIssuedDuringPeriodValueStockPlanActivity" abstract="false" name="StockIssuedDuringPeriodValueStockPlanActivity" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgnx_PotentialMilestonePaymentToThirdPartiesForIntellectualPropertyUnderAgreement" abstract="false" name="PotentialMilestonePaymentToThirdPartiesForIntellectualPropertyUnderAgreement" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgnx_CollaborationAndLicenseAgreementsDisclosureTextBlock" abstract="false" name="CollaborationAndLicenseAgreementsDisclosureTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:textBlockItemType"/>
  <xs:element id="mgnx_Section174DeferredTaxAsset" abstract="false" name="Section174DeferredTaxAsset" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgnx_IncyteMGA012AgreementMember" abstract="true" name="IncyteMGA012AgreementMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="mgnx_RevenuesFromGrantsMember" abstract="true" name="RevenuesFromGrantsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="mgnx_PremiumReceivedOnStockPurchase" abstract="false" name="PremiumReceivedOnStockPurchase" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgnx_ValuationAllowanceDeferredTaxAssetIncreaseAmount" abstract="false" name="ValuationAllowanceDeferredTaxAssetIncreaseAmount" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgnx_CommonStockMaximumAmountAvailableForIssuance" abstract="false" name="CommonStockMaximumAmountAvailableForIssuance" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgnx_StockOptionsAndRestrictedStockUnitsMember" abstract="true" name="StockOptionsAndRestrictedStockUnitsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="mgnx_IncyteCommercialSupplyAgreementMember" abstract="true" name="IncyteCommercialSupplyAgreementMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="mgnx_LiabilityRelatedToFutureRoyaltiesAndRelatedInterestExpensePolicyTextBlock" abstract="false" name="LiabilityRelatedToFutureRoyaltiesAndRelatedInterestExpensePolicyTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:textBlockItemType"/>
  <xs:element id="mgnx_LiabilityRelatedToFutureRoyaltyTableTextBlock" abstract="false" name="LiabilityRelatedToFutureRoyaltyTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:textBlockItemType"/>
  <xs:element id="mgnx_TaxYear2025To2037Member" abstract="true" name="TaxYear2025To2037Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="mgnx_LiabilityRelatedToSaleOfFutureRoyaltiesTextBlock" abstract="false" name="LiabilityRelatedToSaleOfFutureRoyaltiesTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:textBlockItemType"/>
  <xs:element id="mgnx_ScheduleOfInventoryReservesTableTextBlock" abstract="false" name="ScheduleOfInventoryReservesTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:textBlockItemType"/>
  <xs:element id="mgnx_ProventionBioMember" abstract="true" name="ProventionBioMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="mgnx_PropertyPlantAndEquipmentEstimatedUsefulLifeTableTableTextBlock" abstract="false" name="PropertyPlantAndEquipmentEstimatedUsefulLifeTableTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:textBlockItemType"/>
  <xs:element id="mgnx_ScheduleOfSupplementalBalanceSheetInformationOperatingLeasesTableTextBlock" abstract="false" name="ScheduleOfSupplementalBalanceSheetInformationOperatingLeasesTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:textBlockItemType"/>
  <xs:element id="mgnx_RevenuesFromLicenseAgreementsMember" abstract="true" name="RevenuesFromLicenseAgreementsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="mgnx_AssetPurchaseAgreementMember" abstract="true" name="AssetPurchaseAgreementMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="mgnx_ProceedsfromRoyaltiesPercent" abstract="false" name="ProceedsfromRoyaltiesPercent" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:percentItemType"/>
  <xs:element id="mgnx_RightOfUseAssetAndLeaseLiabilityIncrease" abstract="false" name="RightOfUseAssetAndLeaseLiabilityIncrease" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgnx_LiabilityRelatedToFutureRoyaltyLineItems" abstract="true" name="LiabilityRelatedToFutureRoyaltyLineItems" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="mgnx_UpfrontAndFixedPayments" abstract="false" name="UpfrontAndFixedPayments" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgnx_ZaiLabLimitedMember" abstract="true" name="ZaiLabLimitedMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="mgnx_ProceedsfromStockOptionsExercisedAndESPPPurchases" abstract="false" name="ProceedsfromStockOptionsExercisedAndESPPPurchases" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgnx_RevenuesFromCMOAgreementsMemberMember" abstract="true" name="RevenuesFromCMOAgreementsMemberMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="mgnx_IncreaseDecreaseInDeferredRent" abstract="false" name="IncreaseDecreaseInDeferredRent" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgnx_NumberOfPerformanceObligations" abstract="false" name="NumberOfPerformanceObligations" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="mgnx_IncyteCorporationMember" abstract="true" name="IncyteCorporationMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="mgnx_ValuationAllowanceDeferredTaxAssetDecreaseAmount" abstract="false" name="ValuationAllowanceDeferredTaxAssetDecreaseAmount" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgnx_EstimatedReimbursementForResearchAndDevelopmentT" abstract="false" name="EstimatedReimbursementForResearchAndDevelopmentT" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgnx_PotentialTargetNominationOptionFeesAndMilestonePayments" abstract="false" name="PotentialTargetNominationOptionFeesAndMilestonePayments" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgnx_OptInFee" abstract="false" name="OptInFee" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgnx_LaboratoryAndOfficeEquipmentMember" abstract="true" name="LaboratoryAndOfficeEquipmentMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="mgnx_CostOfManufacturingServices" abstract="false" name="CostOfManufacturingServices" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgnx_AtTheMarketOfferingMember" abstract="true" name="AtTheMarketOfferingMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="mgnx_TransactionCost" abstract="false" name="TransactionCost" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgnx_IncyteClinicalSupplyAgreementMember" abstract="true" name="IncyteClinicalSupplyAgreementMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="mgnx_TwoThousandSixteenEmployeeStockPurchasePlanMember" abstract="true" name="TwoThousandSixteenEmployeeStockPurchasePlanMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="mgnx_GileadMember" abstract="true" name="GileadMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="mgnx_TotalAnnualFixedPayments" abstract="false" name="TotalAnnualFixedPayments" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgnx_McKessonPlasmaBiologicsAndMcKessonSpecialtyCareDistributionLLCMember" abstract="true" name="McKessonPlasmaBiologicsAndMcKessonSpecialtyCareDistributionLLCMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="mgnx_CollaborativeAgreementConsiderationReceivedCommonStockWarrantExercisePricePerShare" abstract="false" name="CollaborativeAgreementConsiderationReceivedCommonStockWarrantExercisePricePerShare" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:perShareItemType"/>
  <xs:element id="mgnx_NonRefundableUpfrontFees" abstract="false" name="NonRefundableUpfrontFees" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgnx_ProceedsFromSaleOfFutureRoyalties" abstract="false" name="ProceedsFromSaleOfFutureRoyalties" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgnx_FurnitureAndOfficeEquipmentMember" abstract="true" name="FurnitureAndOfficeEquipmentMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="mgnx_StockIssuedDuringPeriodSharesStockPlanActivity" abstract="false" name="StockIssuedDuringPeriodSharesStockPlanActivity" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:sharesItemType"/>
  <xs:element id="mgnx_GainOnRoyaltyMonetizationArrangement" abstract="false" name="GainOnRoyaltyMonetizationArrangement" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgnx_DeferredTaxLiabilitiesOperatingLeaseRightOfUseAssets" abstract="false" name="DeferredTaxLiabilitiesOperatingLeaseRightOfUseAssets" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgnx_EffectiveIncomeTaxRateReconciliationDeferredTaxAdjustmentsAmount" abstract="false" name="EffectiveIncomeTaxRateReconciliationDeferredTaxAdjustmentsAmount" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgnx_RoyaltyMonetizationArrangementAbstract" abstract="true" name="RoyaltyMonetizationArrangementAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="mgnx_GileadFirstResearchProgramMember" abstract="true" name="GileadFirstResearchProgramMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mgnx_PotentialDevelopmentandRegulatoryMilestonePaymentsUnderAgreement" abstract="false" name="PotentialDevelopmentandRegulatoryMilestonePaymentsUnderAgreement" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgnx_NetProceedsFromSaleOfFutureRoyalties" abstract="false" name="NetProceedsFromSaleOfFutureRoyalties" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgnx_RevenueFromCollaborativeAgreementsMember" abstract="true" name="RevenueFromCollaborativeAgreementsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="mgnx_RevenueMultipleDeliverableArrangementsDeterminationOfSellingPriceAmount" abstract="false" name="RevenueMultipleDeliverableArrangementsDeterminationOfSellingPriceAmount" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgnx_ProventionPRV3279Member" abstract="true" name="ProventionPRV3279Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="mgnx_IMabBiopharmaMember" abstract="true" name="IMabBiopharmaMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="mgnx_StockIncentivePlan2023MemberMember" abstract="true" name="StockIncentivePlan2023MemberMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mgnx_DeferredTaxAssetsOperatingLeaseLiabilities" abstract="false" name="DeferredTaxAssetsOperatingLeaseLiabilities" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgnx_ContractManufacturingMember" abstract="true" name="ContractManufacturingMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="mgnx_TotalPotentialValueUnderAgreement" abstract="false" name="TotalPotentialValueUnderAgreement" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgnx_OperatingLeaseNoncashExpense" abstract="false" name="OperatingLeaseNoncashExpense" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgnx_AdditionalAnnualFixedPayments" abstract="false" name="AdditionalAnnualFixedPayments" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgnx_UndesignatedPreferredStockMember" abstract="true" name="UndesignatedPreferredStockMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="mgnx_ValuationAllowanceRollForward" abstract="true" name="ValuationAllowanceRollForward" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="mgnx_JeffreyPetersMember" abstract="true" name="JeffreyPetersMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mgnx_CollaborativeAgreementConsiderationReceivedCommonStockWarrantsNumberOfShares" abstract="false" name="CollaborativeAgreementConsiderationReceivedCommonStockWarrantsNumberOfShares" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:sharesItemType"/>
  <xs:element id="mgnx_EmployeeStockPurchasePlanMaximumAnnualContributionsPerEmployeePercent" abstract="false" name="EmployeeStockPurchasePlanMaximumAnnualContributionsPerEmployeePercent" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:percentItemType"/>
  <xs:element id="mgnx_StockIncentivePlan2013Member" abstract="true" name="StockIncentivePlan2013Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="mgnx_UnrecognizedTaxBenefitsIncreaseDecreaseResultingFromPriorPeriodTaxPositions" abstract="false" name="UnrecognizedTaxBenefitsIncreaseDecreaseResultingFromPriorPeriodTaxPositions" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgnx_ProventionLicenseAgreementMember" abstract="true" name="ProventionLicenseAgreementMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="mgnx_NumberOfProductCandidates" abstract="false" name="NumberOfProductCandidates" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="mgnx_JamesKarrelsMember" abstract="true" name="JamesKarrelsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mgnx_A2022GileadCollaborationAndLicenseAgreementMember" abstract="true" name="A2022GileadCollaborationAndLicenseAgreementMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="mgnx_EffectiveIncomeTaxRateReconciliationDeferredStateBlendedRateAdjustmentsAmount" abstract="false" name="EffectiveIncomeTaxRateReconciliationDeferredStateBlendedRateAdjustmentsAmount" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgnx_EmployeesEligibleAgeToParticipateInBenefitPlan" abstract="false" name="EmployeesEligibleAgeToParticipateInBenefitPlan" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="mgnx_CardinalHealthIncMember" abstract="true" name="CardinalHealthIncMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="mgnx_CollaborationAndLicenseAgreementsAbstract" abstract="true" name="CollaborationAndLicenseAgreementsAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="mgnx_ShareBasedCompensationArrangementByShareBasedPaymentAwardOfferingPeriod" abstract="false" name="ShareBasedCompensationArrangementByShareBasedPaymentAwardOfferingPeriod" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="mgnx_PotentialCommercialMilestonePaymentsUnderAgreement" abstract="false" name="PotentialCommercialMilestonePaymentsUnderAgreement" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgnx_CollaborativeAgreementTransactionPrice" abstract="false" name="CollaborativeAgreementTransactionPrice" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgnx_ASDHealthcareAndOncologySupplyMember" abstract="true" name="ASDHealthcareAndOncologySupplyMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="mgnx_A2021ZaiLabAgreementsMember" abstract="true" name="A2021ZaiLabAgreementsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="mgnx_RevenuesFromCMOAmendmentAgreementMember" abstract="true" name="RevenuesFromCMOAmendmentAgreementMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="mgnx_ProventionBioCMOAgreeemntMember" abstract="true" name="ProventionBioCMOAgreeemntMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="mgnx_RevenueFromGovernmentAgreementsMember" abstract="true" name="RevenueFromGovernmentAgreementsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="mgnx_FutureRevenue" abstract="false" name="FutureRevenue" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgnx_AuditorInformationAbstract" abstract="true" name="AuditorInformationAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="mgnx_NationalInstituteOfAllergyAndInfectiousDiseasesMember" abstract="true" name="NationalInstituteOfAllergyAndInfectiousDiseasesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="mgnx_DRIHealthcareAcquisitionsLPDRIMember" abstract="true" name="DRIHealthcareAcquisitionsLPDRIMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="mgnx_DefinedContributionPlanEmployeesContributionVestedPercentage" abstract="false" name="DefinedContributionPlanEmployeesContributionVestedPercentage" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:percentItemType"/>
  <xs:element id="mgnx_SynaffixBVMember" abstract="true" name="SynaffixBVMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="mgnx_ZaiLabMember" abstract="true" name="ZaiLabMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="mgnx_RevenueFromRoyalityAgreementsMemberMember" abstract="true" name="RevenueFromRoyalityAgreementsMemberMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="mgnx_DevelopmentAndRegulatoryMilestonePaymentsUnderAgreementRecognized" abstract="false" name="DevelopmentAndRegulatoryMilestonePaymentsUnderAgreementRecognized" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgnx_EffectiveIncomeTaxRateReconciliationTaxCreditOrphanDrugAmount" abstract="false" name="EffectiveIncomeTaxRateReconciliationTaxCreditOrphanDrugAmount" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgnx_DeferredTransactionCosts" abstract="false" name="DeferredTransactionCosts" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgnx_RoyaltyMonetizationArrangementTable" abstract="true" name="RoyaltyMonetizationArrangementTable" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrldt:hypercubeItem" type="xbrli:stringItemType"/>
  <xs:element id="mgnx_CommonStockMaximumAmountAvailableForIssuanceIncrease" abstract="false" name="CommonStockMaximumAmountAvailableForIssuanceIncrease" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgnx_CollaborativeArrangementTerm" abstract="false" name="CollaborativeArrangementTerm" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="mgnx_LiabilityRelatedToFutureRoyalties" abstract="false" name="LiabilityRelatedToFutureRoyalties" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgnx_IndefiniteMember" abstract="true" name="IndefiniteMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="mgnx_DomesticTaxAuthorityandStateandLocalJurisdictionMemberMember" abstract="true" name="DomesticTaxAuthorityandStateandLocalJurisdictionMemberMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="mgnx_ProventionPRV031Member" abstract="true" name="ProventionPRV031Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="mgnx_NonCashInterestExpenseRecognized" abstract="false" name="NonCashInterestExpenseRecognized" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgnx_IncreaseDecreaseInLeaseLiabilities" abstract="false" name="IncreaseDecreaseInLeaseLiabilities" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgnx_CollaborativeArrangementExtensionTerm" abstract="false" name="CollaborativeArrangementExtensionTerm" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="mgnx_UpfrontPayment" abstract="false" name="UpfrontPayment" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="mgnx_PrincipalPaymentsOnRoyaltyMonetizationArrangement" abstract="false" name="PrincipalPaymentsOnRoyaltyMonetizationArrangement" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
</xs:schema>
