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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2017 Workiva-->
<!--r:563134ec-a340-440a-9a04-de6daa58ca5a,g:8bac8b40-52cb-4df4-9899-7fd31d8902c4-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member"/>
  <link:roleRef roleURI="http://macrogenics.com/role/CoverPage" xlink:type="simple" xlink:href="mgnx-20190630.xsd#CoverPage"/>
  <link:definitionLink xlink:role="http://macrogenics.com/role/CoverPage" xlink:type="extended" id="i75be12debc784cc8a3d88beaf62a4055_67b479da-0fac-4271-bfa3-1dc07b630dba"/>
  <link:roleRef roleURI="http://macrogenics.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="mgnx-20190630.xsd#CONSOLIDATEDBALANCESHEETS"/>
  <link:definitionLink xlink:role="http://macrogenics.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="extended" id="i5073c74864334df8aaffe7305340013d_8d292fa6-cd56-444a-89fe-89bf31a760a9"/>
  <link:roleRef roleURI="http://macrogenics.com/role/CONSOLIDATEDBALANCESHEETSParenthetical" xlink:type="simple" xlink:href="mgnx-20190630.xsd#CONSOLIDATEDBALANCESHEETSParenthetical"/>
  <link:definitionLink xlink:role="http://macrogenics.com/role/CONSOLIDATEDBALANCESHEETSParenthetical" xlink:type="extended" id="ie9ac6afc52714299be077bedf0f46e68_dc9f0111-2206-4992-a092-7a0639bf5cc6"/>
  <link:roleRef roleURI="http://macrogenics.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS" xlink:type="simple" xlink:href="mgnx-20190630.xsd#CONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"/>
  <link:definitionLink xlink:role="http://macrogenics.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS" xlink:type="extended" id="ic25031ac3523453480a9dcb9f70ec5fa_b15ae5e0-d385-49ef-8253-cdc6affce895">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_0ab0311a-621e-47cf-91ec-d8d403c24e92" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenuesAbstract_5dd3b72f-40b4-44d0-b968-25593087df4c" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenuesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_0ab0311a-621e-47cf-91ec-d8d403c24e92" xlink:to="loc_us-gaap_RevenuesAbstract_5dd3b72f-40b4-44d0-b968-25593087df4c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_aacb0de7-23d6-4757-ad17-36539f6ab47c" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Revenues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesAbstract_5dd3b72f-40b4-44d0-b968-25593087df4c" xlink:to="loc_us-gaap_Revenues_aacb0de7-23d6-4757-ad17-36539f6ab47c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpensesAbstract_3bfbdaaa-09b4-4b21-ad69-57e11643638d" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CostsAndExpensesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_0ab0311a-621e-47cf-91ec-d8d403c24e92" xlink:to="loc_us-gaap_CostsAndExpensesAbstract_3bfbdaaa-09b4-4b21-ad69-57e11643638d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_f1f7fb7c-9e20-441a-9ff5-bab89f14fa2e" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ResearchAndDevelopmentExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_3bfbdaaa-09b4-4b21-ad69-57e11643638d" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_f1f7fb7c-9e20-441a-9ff5-bab89f14fa2e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_8bb8c12f-4ad4-4847-a3ad-bf2c59d97b45" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_3bfbdaaa-09b4-4b21-ad69-57e11643638d" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_8bb8c12f-4ad4-4847-a3ad-bf2c59d97b45" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_9bf9bc14-71f8-4ea7-8368-c5e39cbe31a1" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CostsAndExpenses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_3bfbdaaa-09b4-4b21-ad69-57e11643638d" xlink:to="loc_us-gaap_CostsAndExpenses_9bf9bc14-71f8-4ea7-8368-c5e39cbe31a1" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_7882471a-5a62-4c04-b9ca-6b6af06b8c6a" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_3bfbdaaa-09b4-4b21-ad69-57e11643638d" xlink:to="loc_us-gaap_OperatingIncomeLoss_7882471a-5a62-4c04-b9ca-6b6af06b8c6a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_f2e9cfb1-5de0-4504-9824-bfb613811ec3" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_3bfbdaaa-09b4-4b21-ad69-57e11643638d" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_f2e9cfb1-5de0-4504-9824-bfb613811ec3" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_1efe0c75-600f-413d-b485-4f76b7018f11" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_3bfbdaaa-09b4-4b21-ad69-57e11643638d" xlink:to="loc_us-gaap_NetIncomeLoss_1efe0c75-600f-413d-b485-4f76b7018f11" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract_d197e58c-8f36-42e2-a35d-2513ebdaa9cf" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_0ab0311a-621e-47cf-91ec-d8d403c24e92" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract_d197e58c-8f36-42e2-a35d-2513ebdaa9cf" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_744ff2e5-0c67-4877-bf82-3b32160560e3" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract_d197e58c-8f36-42e2-a35d-2513ebdaa9cf" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_744ff2e5-0c67-4877-bf82-3b32160560e3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_2ad785ef-50aa-4d8e-a4f6-688210be3c10" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract_d197e58c-8f36-42e2-a35d-2513ebdaa9cf" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_2ad785ef-50aa-4d8e-a4f6-688210be3c10" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasicAndDiluted_97ddeb03-ec05-4110-bfc5-7e0a26231602" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EarningsPerShareBasicAndDiluted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract_d197e58c-8f36-42e2-a35d-2513ebdaa9cf" xlink:to="loc_us-gaap_EarningsPerShareBasicAndDiluted_97ddeb03-ec05-4110-bfc5-7e0a26231602" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted_fc0f9df5-6692-4195-9184-f6db65e75715" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract_d197e58c-8f36-42e2-a35d-2513ebdaa9cf" xlink:to="loc_us-gaap_WeightedAverageNumberOfShareOutstandingBasicAndDiluted_fc0f9df5-6692-4195-9184-f6db65e75715" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_93c92020-82b5-4ace-bf27-906dae27e18c" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_0ab0311a-621e-47cf-91ec-d8d403c24e92" xlink:to="loc_us-gaap_StatementTable_93c92020-82b5-4ace-bf27-906dae27e18c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_1d3b3bbc-1dcd-494c-8836-4e26c509ee5c" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_93c92020-82b5-4ace-bf27-906dae27e18c" xlink:to="loc_srt_ProductOrServiceAxis_1d3b3bbc-1dcd-494c-8836-4e26c509ee5c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_1d3b3bbc-1dcd-494c-8836-4e26c509ee5c_default" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_1d3b3bbc-1dcd-494c-8836-4e26c509ee5c" xlink:to="loc_srt_ProductsAndServicesDomain_1d3b3bbc-1dcd-494c-8836-4e26c509ee5c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_08117ff1-425f-4871-89b6-b468583c3c73" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_1d3b3bbc-1dcd-494c-8836-4e26c509ee5c" xlink:to="loc_srt_ProductsAndServicesDomain_08117ff1-425f-4871-89b6-b468583c3c73" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_RevenueFromCollaborativeAgreementsMember_911ca6ba-0f11-4493-a4a8-e843b6230ff8" xlink:href="mgnx-20190630.xsd#mgnx_RevenueFromCollaborativeAgreementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_08117ff1-425f-4871-89b6-b468583c3c73" xlink:to="loc_mgnx_RevenueFromCollaborativeAgreementsMember_911ca6ba-0f11-4493-a4a8-e843b6230ff8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_RevenueFromGovernmentAgreementsMember_87e1669f-3730-4d4c-b4c8-c7e07a4358ae" xlink:href="mgnx-20190630.xsd#mgnx_RevenueFromGovernmentAgreementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_08117ff1-425f-4871-89b6-b468583c3c73" xlink:to="loc_mgnx_RevenueFromGovernmentAgreementsMember_87e1669f-3730-4d4c-b4c8-c7e07a4358ae" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://macrogenics.com/role/CONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY" xlink:type="simple" xlink:href="mgnx-20190630.xsd#CONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY"/>
  <link:definitionLink xlink:role="http://macrogenics.com/role/CONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY" xlink:type="extended" id="iebde342b6ddf4b32bddd23ad2fd7a5be_8950c80f-d5c8-4575-b6a0-8d60e5c532bd">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_3661de9d-6c1f-4c21-b072-3819413d1b54" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d41e9eb2-82d9-41df-a51a-3758b648c86f" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_3661de9d-6c1f-4c21-b072-3819413d1b54" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d41e9eb2-82d9-41df-a51a-3758b648c86f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesIssued_253b6b40-ecbc-41e4-9032-b9eff3605a44" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d41e9eb2-82d9-41df-a51a-3758b648c86f" xlink:to="loc_us-gaap_SharesIssued_253b6b40-ecbc-41e4-9032-b9eff3605a44" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_4ab4d5d4-b25c-4f88-a2e3-77bde09fd2ce" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d41e9eb2-82d9-41df-a51a-3758b648c86f" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_4ab4d5d4-b25c-4f88-a2e3-77bde09fd2ce" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_0029ff20-9cdf-4720-9c74-27a84d6fd7c2" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d41e9eb2-82d9-41df-a51a-3758b648c86f" xlink:to="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_0029ff20-9cdf-4720-9c74-27a84d6fd7c2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_505f0810-b121-4fee-b8b6-db683d3215aa" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d41e9eb2-82d9-41df-a51a-3758b648c86f" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_505f0810-b121-4fee-b8b6-db683d3215aa" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_7ae0fc3d-103b-4bd2-98cb-b16a391894c6" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesNewIssues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d41e9eb2-82d9-41df-a51a-3758b648c86f" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_7ae0fc3d-103b-4bd2-98cb-b16a391894c6" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_5cd8efb2-6e79-4ed6-b1d6-72fc5b84cb25" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueNewIssues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d41e9eb2-82d9-41df-a51a-3758b648c86f" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_5cd8efb2-6e79-4ed6-b1d6-72fc5b84cb25" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockGrantedDuringPeriodValueSharebasedCompensation_ea84742f-e866-4371-820a-e437673f90d4" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockGrantedDuringPeriodValueSharebasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d41e9eb2-82d9-41df-a51a-3758b648c86f" xlink:to="loc_us-gaap_StockGrantedDuringPeriodValueSharebasedCompensation_ea84742f-e866-4371-820a-e437673f90d4" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriod_80899877-a2b1-408a-9432-b888b0540555" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d41e9eb2-82d9-41df-a51a-3758b648c86f" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriod_80899877-a2b1-408a-9432-b888b0540555" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnInvestments_58a74dbe-e114-4fa6-894d-80d329e9a3b1" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_UnrealizedGainLossOnInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d41e9eb2-82d9-41df-a51a-3758b648c86f" xlink:to="loc_us-gaap_UnrealizedGainLossOnInvestments_58a74dbe-e114-4fa6-894d-80d329e9a3b1" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_c4e200aa-5791-443f-b92e-4b3e4672c4c7" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_d41e9eb2-82d9-41df-a51a-3758b648c86f" xlink:to="loc_us-gaap_NetIncomeLoss_c4e200aa-5791-443f-b92e-4b3e4672c4c7" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesIssued_88047dcd-6383-4654-8fb1-72a382f15ff4" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SharesIssued"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_da6cbe18-7311-4b00-9964-fcd6b33eb208" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_a00e55b4-f8c8-40e7-995b-b75c748e9aed" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_3661de9d-6c1f-4c21-b072-3819413d1b54" xlink:to="loc_us-gaap_StatementTable_a00e55b4-f8c8-40e7-995b-b75c748e9aed" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_209e4f8a-9e18-418a-9944-f28f6b8facb9" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_a00e55b4-f8c8-40e7-995b-b75c748e9aed" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_209e4f8a-9e18-418a-9944-f28f6b8facb9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_209e4f8a-9e18-418a-9944-f28f6b8facb9_default" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_209e4f8a-9e18-418a-9944-f28f6b8facb9" xlink:to="loc_us-gaap_EquityComponentDomain_209e4f8a-9e18-418a-9944-f28f6b8facb9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_a32cef5d-c685-4e29-a8e8-c7dbc72a88e4" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_209e4f8a-9e18-418a-9944-f28f6b8facb9" xlink:to="loc_us-gaap_EquityComponentDomain_a32cef5d-c685-4e29-a8e8-c7dbc72a88e4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_c898ab37-2d15-4ea2-bc21-93667a36fc13" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_a32cef5d-c685-4e29-a8e8-c7dbc72a88e4" xlink:to="loc_us-gaap_CommonStockMember_c898ab37-2d15-4ea2-bc21-93667a36fc13" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_935f46b4-3843-477d-958d-2e95c941cdf7" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_a32cef5d-c685-4e29-a8e8-c7dbc72a88e4" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_935f46b4-3843-477d-958d-2e95c941cdf7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_7dee526c-b3bd-4f62-8d7c-ec5f250c29a3" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_a32cef5d-c685-4e29-a8e8-c7dbc72a88e4" xlink:to="loc_us-gaap_RetainedEarningsMember_7dee526c-b3bd-4f62-8d7c-ec5f250c29a3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AociIncludingPortionAttributableToNoncontrollingInterestMember_3f70ce1f-292b-4482-8768-4bb4b7dbaf58" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AociIncludingPortionAttributableToNoncontrollingInterestMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_a32cef5d-c685-4e29-a8e8-c7dbc72a88e4" xlink:to="loc_us-gaap_AociIncludingPortionAttributableToNoncontrollingInterestMember_3f70ce1f-292b-4482-8768-4bb4b7dbaf58" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://macrogenics.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="mgnx-20190630.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:definitionLink xlink:role="http://macrogenics.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended" id="i0e6960207e4e4d0d80564795e91c886a_8b917b7a-f6ad-43b5-8c59-e2d914f51ae5"/>
  <link:roleRef roleURI="http://macrogenics.com/role/Details" xlink:type="simple" xlink:href="mgnx-20190630.xsd#Details"/>
  <link:definitionLink xlink:role="http://macrogenics.com/role/Details" xlink:type="extended" id="i49df336c0d7a40e0b545ead07afc7632_fa5c4512-90a3-4257-aa88-89590bc8f71f"/>
  <link:roleRef roleURI="http://macrogenics.com/role/BasisofPresentationandSignificantAccountingPolicies" xlink:type="simple" xlink:href="mgnx-20190630.xsd#BasisofPresentationandSignificantAccountingPolicies"/>
  <link:definitionLink xlink:role="http://macrogenics.com/role/BasisofPresentationandSignificantAccountingPolicies" xlink:type="extended" id="if782132421924880b671b498f9ce6ee8_2e34e280-83dd-4071-b020-b3386aeccd95"/>
  <link:roleRef roleURI="http://macrogenics.com/role/BasisofPresentationandSignificantAccountingPoliciesPolicies" xlink:type="simple" xlink:href="mgnx-20190630.xsd#BasisofPresentationandSignificantAccountingPoliciesPolicies"/>
  <link:definitionLink xlink:role="http://macrogenics.com/role/BasisofPresentationandSignificantAccountingPoliciesPolicies" xlink:type="extended" id="i86dfd2bb6a594d9ba13b9dd21aefe081_c6bb9a53-a456-4376-84d6-39f07124cb65"/>
  <link:roleRef roleURI="http://macrogenics.com/role/BasisofPresentationandSignificantAccountingPoliciesNarrativeDetails" xlink:type="simple" xlink:href="mgnx-20190630.xsd#BasisofPresentationandSignificantAccountingPoliciesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://macrogenics.com/role/BasisofPresentationandSignificantAccountingPoliciesNarrativeDetails" xlink:type="extended" id="i2bfa22974ffa42a3ae11cfee92c55eb9_c75a5a04-fa8e-49e7-b59a-d7d765d81ab7"/>
  <link:roleRef roleURI="http://macrogenics.com/role/FairValueofFinancialInstruments" xlink:type="simple" xlink:href="mgnx-20190630.xsd#FairValueofFinancialInstruments"/>
  <link:definitionLink xlink:role="http://macrogenics.com/role/FairValueofFinancialInstruments" xlink:type="extended" id="ibaa553bfb605448db3b0bd57e9e48233_e9859003-fd97-4b10-8433-b35351b3491f"/>
  <link:roleRef roleURI="http://macrogenics.com/role/FairValueofFinancialInstrumentsTables" xlink:type="simple" xlink:href="mgnx-20190630.xsd#FairValueofFinancialInstrumentsTables"/>
  <link:definitionLink xlink:role="http://macrogenics.com/role/FairValueofFinancialInstrumentsTables" xlink:type="extended" id="i79aeaeba72904bfe987d545c94e4c1e7_7d57a0e5-ba95-4399-adf7-364421b8e338"/>
  <link:roleRef roleURI="http://macrogenics.com/role/FairValueofFinancialInstrumentsDetails" xlink:type="simple" xlink:href="mgnx-20190630.xsd#FairValueofFinancialInstrumentsDetails"/>
  <link:definitionLink xlink:role="http://macrogenics.com/role/FairValueofFinancialInstrumentsDetails" xlink:type="extended" id="ic354bedbbc1b4487ac1b91d9090675b2_cc48bd27-7cb4-4ca6-ab66-51429b1fe89c">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_34ebc837-33db-479a-b489-194e1a816504" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosureAbstract_b35e3bea-ee7e-47a3-a649-de865e42100b" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsFairValueDisclosureAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_34ebc837-33db-479a-b489-194e1a816504" xlink:to="loc_us-gaap_AssetsFairValueDisclosureAbstract_b35e3bea-ee7e-47a3-a649-de865e42100b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_e5eadf60-b90d-40a3-8de5-85e1675dcecf" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_b35e3bea-ee7e-47a3-a649-de865e42100b" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_e5eadf60-b90d-40a3-8de5-85e1675dcecf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_c099d673-2c71-4946-ab91-ba50ce444dd4" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_b35e3bea-ee7e-47a3-a649-de865e42100b" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_c099d673-2c71-4946-ab91-ba50ce444dd4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_c28a109b-9501-4617-bb07-05b08882c28e" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_b35e3bea-ee7e-47a3-a649-de865e42100b" xlink:to="loc_us-gaap_AssetsFairValueDisclosure_c28a109b-9501-4617-bb07-05b08882c28e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_47ae5de6-3311-4bff-8502-2178874fea60" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_b35e3bea-ee7e-47a3-a649-de865e42100b" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_47ae5de6-3311-4bff-8502-2178874fea60" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_6404d71b-9fd1-4c6e-9c92-9faab520d24e" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_34ebc837-33db-479a-b489-194e1a816504" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_6404d71b-9fd1-4c6e-9c92-9faab520d24e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_f53b7a37-1afe-46e9-8d51-8612e1c0d2d6" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_6404d71b-9fd1-4c6e-9c92-9faab520d24e" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_f53b7a37-1afe-46e9-8d51-8612e1c0d2d6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_f53b7a37-1afe-46e9-8d51-8612e1c0d2d6_default" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_f53b7a37-1afe-46e9-8d51-8612e1c0d2d6" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_f53b7a37-1afe-46e9-8d51-8612e1c0d2d6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_552eb951-3cba-4ba5-a874-6bf27819edde" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_f53b7a37-1afe-46e9-8d51-8612e1c0d2d6" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_552eb951-3cba-4ba5-a874-6bf27819edde" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_314fc9f4-8be5-4ac6-a1c0-ef528f93faaf" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_552eb951-3cba-4ba5-a874-6bf27819edde" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_314fc9f4-8be5-4ac6-a1c0-ef528f93faaf" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByAssetClassAxis_359a3b6f-4513-47ee-bc88-866ce72c5040" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueByAssetClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_6404d71b-9fd1-4c6e-9c92-9faab520d24e" xlink:to="loc_us-gaap_FairValueByAssetClassAxis_359a3b6f-4513-47ee-bc88-866ce72c5040" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_359a3b6f-4513-47ee-bc88-866ce72c5040_default" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_359a3b6f-4513-47ee-bc88-866ce72c5040" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_359a3b6f-4513-47ee-bc88-866ce72c5040_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_9f31e45b-ad58-40db-bc22-fc0071b1b12e" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_359a3b6f-4513-47ee-bc88-866ce72c5040" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_9f31e45b-ad58-40db-bc22-fc0071b1b12e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MoneyMarketFundsMember_a240661c-cb7d-4a6f-8189-424ab594bdbe" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MoneyMarketFundsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_9f31e45b-ad58-40db-bc22-fc0071b1b12e" xlink:to="loc_us-gaap_MoneyMarketFundsMember_a240661c-cb7d-4a6f-8189-424ab594bdbe" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USTreasurySecuritiesMember_804de2ed-dfb3-4520-bc22-847242f4834b" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_USTreasurySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_9f31e45b-ad58-40db-bc22-fc0071b1b12e" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_804de2ed-dfb3-4520-bc22-847242f4834b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember_8f82584c-ebec-4cbf-9107-548ec1593929" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_9f31e45b-ad58-40db-bc22-fc0071b1b12e" xlink:to="loc_us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember_8f82584c-ebec-4cbf-9107-548ec1593929" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_059ca5c5-0afc-4e3b-8c6b-af3e649343bc" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CorporateDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_9f31e45b-ad58-40db-bc22-fc0071b1b12e" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_059ca5c5-0afc-4e3b-8c6b-af3e649343bc" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WarrantMember_34f27c04-11d3-45bf-bb54-10a436d578ac" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_WarrantMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_9f31e45b-ad58-40db-bc22-fc0071b1b12e" xlink:to="loc_us-gaap_WarrantMember_34f27c04-11d3-45bf-bb54-10a436d578ac" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_82a50c95-c600-4e6b-bb85-1bced0cc93a4" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_6404d71b-9fd1-4c6e-9c92-9faab520d24e" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_82a50c95-c600-4e6b-bb85-1bced0cc93a4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_82a50c95-c600-4e6b-bb85-1bced0cc93a4_default" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_82a50c95-c600-4e6b-bb85-1bced0cc93a4" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_82a50c95-c600-4e6b-bb85-1bced0cc93a4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_c5e3af84-edd1-413c-8bbc-710fe8963768" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_82a50c95-c600-4e6b-bb85-1bced0cc93a4" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_c5e3af84-edd1-413c-8bbc-710fe8963768" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_d466506a-6f77-4811-afe7-4ad2f5aae4bb" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_c5e3af84-edd1-413c-8bbc-710fe8963768" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_d466506a-6f77-4811-afe7-4ad2f5aae4bb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_5463d07d-ecca-4b89-914b-42b712c53488" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_c5e3af84-edd1-413c-8bbc-710fe8963768" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_5463d07d-ecca-4b89-914b-42b712c53488" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_c34a1c26-1d32-43b2-9d00-10a445fc8642" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_c5e3af84-edd1-413c-8bbc-710fe8963768" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_c34a1c26-1d32-43b2-9d00-10a445fc8642" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://macrogenics.com/role/MarketableSecurities" xlink:type="simple" xlink:href="mgnx-20190630.xsd#MarketableSecurities"/>
  <link:definitionLink xlink:role="http://macrogenics.com/role/MarketableSecurities" xlink:type="extended" id="i75a8366d0a5141668c90514070f32d22_a331f4ee-72a9-4e97-addc-e0c47d6a0703"/>
  <link:roleRef roleURI="http://macrogenics.com/role/MarketableSecuritiesTables" xlink:type="simple" xlink:href="mgnx-20190630.xsd#MarketableSecuritiesTables"/>
  <link:definitionLink xlink:role="http://macrogenics.com/role/MarketableSecuritiesTables" xlink:type="extended" id="ie9e3483991d046a0994f37ef7bc0521f_a1fec10c-70ec-49a9-8e96-e17a1a930cbc"/>
  <link:roleRef roleURI="http://macrogenics.com/role/MarketableSecuritiesDetails" xlink:type="simple" xlink:href="mgnx-20190630.xsd#MarketableSecuritiesDetails"/>
  <link:definitionLink xlink:role="http://macrogenics.com/role/MarketableSecuritiesDetails" xlink:type="extended" id="i2e2f9ea6903f41138291677257bc3afb_7b1551ba-6ba8-4271-87ce-040445ac6ce3">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_493d4a2d-c8e0-4173-9bbb-da0f129981fd" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_564bd714-8e52-480b-8ba9-2bd8f521f21b" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_493d4a2d-c8e0-4173-9bbb-da0f129981fd" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_564bd714-8e52-480b-8ba9-2bd8f521f21b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_4ad67144-19ba-426f-a060-7fd341b89dfd" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_493d4a2d-c8e0-4173-9bbb-da0f129981fd" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_4ad67144-19ba-426f-a060-7fd341b89dfd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_15bf37ae-ae8f-40a4-bce9-970b55d16ded" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_493d4a2d-c8e0-4173-9bbb-da0f129981fd" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_15bf37ae-ae8f-40a4-bce9-970b55d16ded" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_e035e8e8-78a5-4243-a0b3-58ec744050c4" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_493d4a2d-c8e0-4173-9bbb-da0f129981fd" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_e035e8e8-78a5-4243-a0b3-58ec744050c4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsAvailableforsaleSecurities_2810d122-c10c-4417-9376-d7b15bc8f41d" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsAvailableforsaleSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_493d4a2d-c8e0-4173-9bbb-da0f129981fd" xlink:to="loc_us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsAvailableforsaleSecurities_2810d122-c10c-4417-9376-d7b15bc8f41d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable_930b98db-ac87-4eb2-97ac-82eb47fd05af" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_493d4a2d-c8e0-4173-9bbb-da0f129981fd" xlink:to="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable_930b98db-ac87-4eb2-97ac-82eb47fd05af" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_ea361f28-dfe9-41df-b8c7-a205d7afd30a" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable_930b98db-ac87-4eb2-97ac-82eb47fd05af" xlink:to="loc_us-gaap_FinancialInstrumentAxis_ea361f28-dfe9-41df-b8c7-a205d7afd30a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_ea361f28-dfe9-41df-b8c7-a205d7afd30a_default" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_ea361f28-dfe9-41df-b8c7-a205d7afd30a" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_ea361f28-dfe9-41df-b8c7-a205d7afd30a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_3a0f92fc-f7ae-4ae5-9168-215cf3bec434" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_ea361f28-dfe9-41df-b8c7-a205d7afd30a" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_3a0f92fc-f7ae-4ae5-9168-215cf3bec434" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USTreasurySecuritiesMember_4f8bb5ba-c1e8-4c3b-be43-d8b88368dbdc" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_USTreasurySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_3a0f92fc-f7ae-4ae5-9168-215cf3bec434" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_4f8bb5ba-c1e8-4c3b-be43-d8b88368dbdc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember_8fd874df-8610-481e-9cf2-a1484cdc3246" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_3a0f92fc-f7ae-4ae5-9168-215cf3bec434" xlink:to="loc_us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember_8fd874df-8610-481e-9cf2-a1484cdc3246" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_d3075c6f-9fa5-492c-bafb-d9b89e0024db" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CorporateDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_3a0f92fc-f7ae-4ae5-9168-215cf3bec434" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_d3075c6f-9fa5-492c-bafb-d9b89e0024db" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://macrogenics.com/role/Leases" xlink:type="simple" xlink:href="mgnx-20190630.xsd#Leases"/>
  <link:definitionLink xlink:role="http://macrogenics.com/role/Leases" xlink:type="extended" id="i2a73a229735c42dd979b0cdb0947181f_0c9597a9-d1c9-4814-bbbf-41c78a9f75e7"/>
  <link:roleRef roleURI="http://macrogenics.com/role/LeasesTables" xlink:type="simple" xlink:href="mgnx-20190630.xsd#LeasesTables"/>
  <link:definitionLink xlink:role="http://macrogenics.com/role/LeasesTables" xlink:type="extended" id="ia2926bb0e61745eb9f44d98ad68d9207_60621918-899c-41fd-be0b-34d7776d7729"/>
  <link:roleRef roleURI="http://macrogenics.com/role/LeasesNarrativeDetails" xlink:type="simple" xlink:href="mgnx-20190630.xsd#LeasesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://macrogenics.com/role/LeasesNarrativeDetails" xlink:type="extended" id="id03199829bac465fba83fde8ecb48168_9d69adb7-6910-4d6d-a765-c927390cfe34">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionLineItems_511939ce-082f-430c-8a07-1c2fb0065b87" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LesseeLeaseDescriptionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1_8bb021f7-c2f9-45aa-9956-fbf2ddd507a6" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_511939ce-082f-430c-8a07-1c2fb0065b87" xlink:to="loc_us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1_8bb021f7-c2f9-45aa-9956-fbf2ddd507a6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseRenewalTerm_e4ad9bb6-6a1b-40e8-b662-6c922e569b21" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LesseeOperatingLeaseRenewalTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_511939ce-082f-430c-8a07-1c2fb0065b87" xlink:to="loc_us-gaap_LesseeOperatingLeaseRenewalTerm_e4ad9bb6-6a1b-40e8-b662-6c922e569b21" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseDiscountRate_e538f9ec-450c-412e-b52d-4739efc860cd" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LesseeOperatingLeaseDiscountRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_511939ce-082f-430c-8a07-1c2fb0065b87" xlink:to="loc_us-gaap_LesseeOperatingLeaseDiscountRate_e538f9ec-450c-412e-b52d-4739efc860cd" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_4c1e43c2-c811-47dc-b93b-893596a53c50" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_511939ce-082f-430c-8a07-1c2fb0065b87" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_4c1e43c2-c811-47dc-b93b-893596a53c50" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeasePayments_af4ab67d-c53b-4179-b119-eda61902da68" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeasePayments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_511939ce-082f-430c-8a07-1c2fb0065b87" xlink:to="loc_us-gaap_OperatingLeasePayments_af4ab67d-c53b-4179-b119-eda61902da68" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionTable_473da772-09e7-42e1-a065-1a1ee4047335" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LesseeLeaseDescriptionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_511939ce-082f-430c-8a07-1c2fb0065b87" xlink:to="loc_us-gaap_LesseeLeaseDescriptionTable_473da772-09e7-42e1-a065-1a1ee4047335" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_e6e28240-33ea-4da0-9c67-0530c37e6232" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_473da772-09e7-42e1-a065-1a1ee4047335" xlink:to="loc_srt_RangeAxis_e6e28240-33ea-4da0-9c67-0530c37e6232" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_e6e28240-33ea-4da0-9c67-0530c37e6232_default" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_e6e28240-33ea-4da0-9c67-0530c37e6232" xlink:to="loc_srt_RangeMember_e6e28240-33ea-4da0-9c67-0530c37e6232_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_7228fc87-f127-4dba-8b69-fd5975de0aaa" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_e6e28240-33ea-4da0-9c67-0530c37e6232" xlink:to="loc_srt_RangeMember_7228fc87-f127-4dba-8b69-fd5975de0aaa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_ec5f4f39-2b71-434e-9b31-9cbda5893fa0" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_7228fc87-f127-4dba-8b69-fd5975de0aaa" xlink:to="loc_srt_MaximumMember_ec5f4f39-2b71-434e-9b31-9cbda5893fa0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_a3fe1e80-71a0-40a5-8087-3689bfba0f51" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_7228fc87-f127-4dba-8b69-fd5975de0aaa" xlink:to="loc_srt_MinimumMember_a3fe1e80-71a0-40a5-8087-3689bfba0f51" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://macrogenics.com/role/LeaseCostsDetails" xlink:type="simple" xlink:href="mgnx-20190630.xsd#LeaseCostsDetails"/>
  <link:definitionLink xlink:role="http://macrogenics.com/role/LeaseCostsDetails" xlink:type="extended" id="i6d3358f8492845a4a36bcb3a22845e59_db1f10c7-2997-42af-8551-606965178a07"/>
  <link:roleRef roleURI="http://macrogenics.com/role/StockholdersEquity" xlink:type="simple" xlink:href="mgnx-20190630.xsd#StockholdersEquity"/>
  <link:definitionLink xlink:role="http://macrogenics.com/role/StockholdersEquity" xlink:type="extended" id="i83d6f180290b491e8e68521658d504a0_86479dd3-9118-406b-96d2-dc7244ba9365"/>
  <link:roleRef roleURI="http://macrogenics.com/role/StockholdersEquityDetails" xlink:type="simple" xlink:href="mgnx-20190630.xsd#StockholdersEquityDetails"/>
  <link:definitionLink xlink:role="http://macrogenics.com/role/StockholdersEquityDetails" xlink:type="extended" id="i41da910c971341738b8df1abfef687a7_02bc4cfb-9e2d-4521-b8d3-971af2214cbf">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockLineItems_2ae30d4f-2518-4539-8681-3780fa0dc077" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ClassOfStockLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_d222a05b-d67f-4421-9bd5-69dc675c64c5" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesNewIssues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_2ae30d4f-2518-4539-8681-3780fa0dc077" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_d222a05b-d67f-4421-9bd5-69dc675c64c5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesIssuedPricePerShare_61a298ed-31ff-45d6-a3d7-b5c8b0e7db45" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SharesIssuedPricePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_2ae30d4f-2518-4539-8681-3780fa0dc077" xlink:to="loc_us-gaap_SharesIssuedPricePerShare_61a298ed-31ff-45d6-a3d7-b5c8b0e7db45" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_334e6655-82ed-48ae-82c8-554a4e7cb36f" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_2ae30d4f-2518-4539-8681-3780fa0dc077" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_334e6655-82ed-48ae-82c8-554a4e7cb36f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_c0e3f9e3-ecfb-4d8a-b950-235423824b0e" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfStockByClassTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_2ae30d4f-2518-4539-8681-3780fa0dc077" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_c0e3f9e3-ecfb-4d8a-b950-235423824b0e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsidiarySaleOfStockAxis_14eea38c-8247-4cb0-a6ad-f41fce3cf449" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsidiarySaleOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_c0e3f9e3-ecfb-4d8a-b950-235423824b0e" xlink:to="loc_us-gaap_SubsidiarySaleOfStockAxis_14eea38c-8247-4cb0-a6ad-f41fce3cf449" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_14eea38c-8247-4cb0-a6ad-f41fce3cf449_default" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SaleOfStockNameOfTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_14eea38c-8247-4cb0-a6ad-f41fce3cf449" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_14eea38c-8247-4cb0-a6ad-f41fce3cf449_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_bdca5610-98f0-45ff-8604-cbb7049a0693" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SaleOfStockNameOfTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_14eea38c-8247-4cb0-a6ad-f41fce3cf449" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_bdca5610-98f0-45ff-8604-cbb7049a0693" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_FirmCommitmentPublicUnderwrittenOfferMember_b19f440d-4ad7-4bf1-8f5d-c1eaa1b2121e" xlink:href="mgnx-20190630.xsd#mgnx_FirmCommitmentPublicUnderwrittenOfferMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_bdca5610-98f0-45ff-8604-cbb7049a0693" xlink:to="loc_mgnx_FirmCommitmentPublicUnderwrittenOfferMember_b19f440d-4ad7-4bf1-8f5d-c1eaa1b2121e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OverAllotmentOptionMember_ca67dedb-698f-4d84-a19b-73638f79c90d" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OverAllotmentOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_bdca5610-98f0-45ff-8604-cbb7049a0693" xlink:to="loc_us-gaap_OverAllotmentOptionMember_ca67dedb-698f-4d84-a19b-73638f79c90d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_FollowOnEquityOfferingMember_6a6b3a00-4522-4e93-8a96-86af632a5a5e" xlink:href="mgnx-20190630.xsd#mgnx_FollowOnEquityOfferingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_bdca5610-98f0-45ff-8604-cbb7049a0693" xlink:to="loc_mgnx_FollowOnEquityOfferingMember_6a6b3a00-4522-4e93-8a96-86af632a5a5e" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://macrogenics.com/role/CollaborationandOtherAgreements" xlink:type="simple" xlink:href="mgnx-20190630.xsd#CollaborationandOtherAgreements"/>
  <link:definitionLink xlink:role="http://macrogenics.com/role/CollaborationandOtherAgreements" xlink:type="extended" id="icb2847ebfbc94af7ad6a571df042e349_60c5ca24-c5a5-4aca-b306-5ca0fbc813f2"/>
  <link:roleRef roleURI="http://macrogenics.com/role/CollaborationandOtherAgreementsIncyteDetails" xlink:type="simple" xlink:href="mgnx-20190630.xsd#CollaborationandOtherAgreementsIncyteDetails"/>
  <link:definitionLink xlink:role="http://macrogenics.com/role/CollaborationandOtherAgreementsIncyteDetails" xlink:type="extended" id="ia6e5222a12c94134be55b04b78aca334_26126108-ca9b-48de-a799-225be1be4548">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_d8b07d24-c116-448f-9fc4-55fc2db9cd8e" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_NonRefundableUpfrontFees_853fa55d-d6b7-43c5-86c2-82747e4735a9" xlink:href="mgnx-20190630.xsd#mgnx_NonRefundableUpfrontFees"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_d8b07d24-c116-448f-9fc4-55fc2db9cd8e" xlink:to="loc_mgnx_NonRefundableUpfrontFees_853fa55d-d6b7-43c5-86c2-82747e4735a9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_PotentialDevelopmentandRegulatoryMilestonePaymentsUnderAgreement_2882f3d1-5c19-4db7-a59b-d055958b5451" xlink:href="mgnx-20190630.xsd#mgnx_PotentialDevelopmentandRegulatoryMilestonePaymentsUnderAgreement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_d8b07d24-c116-448f-9fc4-55fc2db9cd8e" xlink:to="loc_mgnx_PotentialDevelopmentandRegulatoryMilestonePaymentsUnderAgreement_2882f3d1-5c19-4db7-a59b-d055958b5451" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_PotentialCommercialMilestonePaymentsUnderAgreement_a28ba112-aa5e-4b0b-9386-535ba8b7d547" xlink:href="mgnx-20190630.xsd#mgnx_PotentialCommercialMilestonePaymentsUnderAgreement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_d8b07d24-c116-448f-9fc4-55fc2db9cd8e" xlink:to="loc_mgnx_PotentialCommercialMilestonePaymentsUnderAgreement_a28ba112-aa5e-4b0b-9386-535ba8b7d547" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_DevelopmentAndRegulatoryMilestonePaymentsUnderAgreementRecognized_9bf7a8d9-8099-468b-98f2-26d1f121e4b6" xlink:href="mgnx-20190630.xsd#mgnx_DevelopmentAndRegulatoryMilestonePaymentsUnderAgreementRecognized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_d8b07d24-c116-448f-9fc4-55fc2db9cd8e" xlink:to="loc_mgnx_DevelopmentAndRegulatoryMilestonePaymentsUnderAgreementRecognized_9bf7a8d9-8099-468b-98f2-26d1f121e4b6" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_ProceedsfromRoyaltiesPercent_3cf9e962-2f0b-430b-8352-a02435483a8c" xlink:href="mgnx-20190630.xsd#mgnx_ProceedsfromRoyaltiesPercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_d8b07d24-c116-448f-9fc4-55fc2db9cd8e" xlink:to="loc_mgnx_ProceedsfromRoyaltiesPercent_3cf9e962-2f0b-430b-8352-a02435483a8c" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_NumberOfPerformanceObligations_a8b708ae-2095-4b20-85f9-a2cf0f48d4ec" xlink:href="mgnx-20190630.xsd#mgnx_NumberOfPerformanceObligations"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_d8b07d24-c116-448f-9fc4-55fc2db9cd8e" xlink:to="loc_mgnx_NumberOfPerformanceObligations_a8b708ae-2095-4b20-85f9-a2cf0f48d4ec" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_CollaborativeAgreementTransactionPrice_a2aa2443-add3-4f3c-984c-4ce135eb77a6" xlink:href="mgnx-20190630.xsd#mgnx_CollaborativeAgreementTransactionPrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_d8b07d24-c116-448f-9fc4-55fc2db9cd8e" xlink:to="loc_mgnx_CollaborativeAgreementTransactionPrice_a2aa2443-add3-4f3c-984c-4ce135eb77a6" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_d302c7a4-bb5a-478f-a3c8-a989b8ce82a5" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Revenues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_d8b07d24-c116-448f-9fc4-55fc2db9cd8e" xlink:to="loc_us-gaap_Revenues_d302c7a4-bb5a-478f-a3c8-a989b8ce82a5" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRecognitionMultipleDeliverableArrangementsDeterminationOfSellingPriceAmount_aade3092-3af4-46cb-ac74-16bba0303420" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueRecognitionMultipleDeliverableArrangementsDeterminationOfSellingPriceAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_d8b07d24-c116-448f-9fc4-55fc2db9cd8e" xlink:to="loc_us-gaap_RevenueRecognitionMultipleDeliverableArrangementsDeterminationOfSellingPriceAmount_aade3092-3af4-46cb-ac74-16bba0303420" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiability_f0fd07bf-2aa4-46a6-9a5e-bc4b4dc50b6e" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ContractWithCustomerLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_d8b07d24-c116-448f-9fc4-55fc2db9cd8e" xlink:to="loc_us-gaap_ContractWithCustomerLiability_f0fd07bf-2aa4-46a6-9a5e-bc4b4dc50b6e" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_066f8128-88c0-4331-a5b8-20c7bd37620f" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_d8b07d24-c116-448f-9fc4-55fc2db9cd8e" xlink:to="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_066f8128-88c0-4331-a5b8-20c7bd37620f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_3cd69d39-9d41-4004-8a4c-5f235f592426" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_066f8128-88c0-4331-a5b8-20c7bd37620f" xlink:to="loc_srt_ProductOrServiceAxis_3cd69d39-9d41-4004-8a4c-5f235f592426" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_3cd69d39-9d41-4004-8a4c-5f235f592426_default" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_3cd69d39-9d41-4004-8a4c-5f235f592426" xlink:to="loc_srt_ProductsAndServicesDomain_3cd69d39-9d41-4004-8a4c-5f235f592426_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_7894bd72-a1d6-4e9b-8bce-fdf145f8ae97" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_3cd69d39-9d41-4004-8a4c-5f235f592426" xlink:to="loc_srt_ProductsAndServicesDomain_7894bd72-a1d6-4e9b-8bce-fdf145f8ae97" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_RevenuesFromLicenseAgreementsMember_c291123e-04ea-4feb-babc-e09edbd5df31" xlink:href="mgnx-20190630.xsd#mgnx_RevenuesFromLicenseAgreementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_7894bd72-a1d6-4e9b-8bce-fdf145f8ae97" xlink:to="loc_mgnx_RevenuesFromLicenseAgreementsMember_c291123e-04ea-4feb-babc-e09edbd5df31" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_e7fe01e7-2cd4-476d-9d2d-341fb5924cc7" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_066f8128-88c0-4331-a5b8-20c7bd37620f" xlink:to="loc_srt_RangeAxis_e7fe01e7-2cd4-476d-9d2d-341fb5924cc7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_e7fe01e7-2cd4-476d-9d2d-341fb5924cc7_default" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_e7fe01e7-2cd4-476d-9d2d-341fb5924cc7" xlink:to="loc_srt_RangeMember_e7fe01e7-2cd4-476d-9d2d-341fb5924cc7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_175f0a66-e3ec-40f2-a009-42ac2afc36d8" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_e7fe01e7-2cd4-476d-9d2d-341fb5924cc7" xlink:to="loc_srt_RangeMember_175f0a66-e3ec-40f2-a009-42ac2afc36d8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_5a3e538b-5235-4b73-8be5-f85985e7c378" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_175f0a66-e3ec-40f2-a009-42ac2afc36d8" xlink:to="loc_srt_MaximumMember_5a3e538b-5235-4b73-8be5-f85985e7c378" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_8cbfc0e4-ec25-498b-a93e-a364cb567c4b" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_175f0a66-e3ec-40f2-a009-42ac2afc36d8" xlink:to="loc_srt_MinimumMember_8cbfc0e4-ec25-498b-a93e-a364cb567c4b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CounterpartyNameAxis_0540d0b3-1467-4da4-b158-2d2e766174da" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_CounterpartyNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_066f8128-88c0-4331-a5b8-20c7bd37620f" xlink:to="loc_srt_CounterpartyNameAxis_0540d0b3-1467-4da4-b158-2d2e766174da" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_0540d0b3-1467-4da4-b158-2d2e766174da_default" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CounterpartyNameAxis_0540d0b3-1467-4da4-b158-2d2e766174da" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_0540d0b3-1467-4da4-b158-2d2e766174da_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_c8b0e260-f72c-4edb-910d-2e220843cee3" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CounterpartyNameAxis_0540d0b3-1467-4da4-b158-2d2e766174da" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_c8b0e260-f72c-4edb-910d-2e220843cee3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_IncyteCorporationMember_082307a8-29c5-4585-93fd-a9c2f3e90248" xlink:href="mgnx-20190630.xsd#mgnx_IncyteCorporationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_c8b0e260-f72c-4edb-910d-2e220843cee3" xlink:to="loc_mgnx_IncyteCorporationMember_082307a8-29c5-4585-93fd-a9c2f3e90248" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersByTypeAxis_4ace851e-a76f-4580-a7ea-021050fda446" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_066f8128-88c0-4331-a5b8-20c7bd37620f" xlink:to="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersByTypeAxis_4ace851e-a76f-4580-a7ea-021050fda446" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain_4ace851e-a76f-4580-a7ea-021050fda446_default" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersByTypeAxis_4ace851e-a76f-4580-a7ea-021050fda446" xlink:to="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain_4ace851e-a76f-4580-a7ea-021050fda446_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain_bb997377-a70f-4226-891b-916314d2fc48" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersByTypeAxis_4ace851e-a76f-4580-a7ea-021050fda446" xlink:to="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain_bb997377-a70f-4226-891b-916314d2fc48" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_IncyteMGA012AgreementMember_a80e4a87-bc85-496d-8ef8-2cd4e1edb0a1" xlink:href="mgnx-20190630.xsd#mgnx_IncyteMGA012AgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain_bb997377-a70f-4226-891b-916314d2fc48" xlink:to="loc_mgnx_IncyteMGA012AgreementMember_a80e4a87-bc85-496d-8ef8-2cd4e1edb0a1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_IncyteMGA012AgreementClinicalActivitiesMember_232b6b0c-8a9f-4ddc-9ebd-0d53d9998553" xlink:href="mgnx-20190630.xsd#mgnx_IncyteMGA012AgreementClinicalActivitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mgnx_IncyteMGA012AgreementMember_a80e4a87-bc85-496d-8ef8-2cd4e1edb0a1" xlink:to="loc_mgnx_IncyteMGA012AgreementClinicalActivitiesMember_232b6b0c-8a9f-4ddc-9ebd-0d53d9998553" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_IncyteMGA012AgreementServicesMember_500cbe03-a009-453a-a1b2-461f62d38174" xlink:href="mgnx-20190630.xsd#mgnx_IncyteMGA012AgreementServicesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mgnx_IncyteMGA012AgreementMember_a80e4a87-bc85-496d-8ef8-2cd4e1edb0a1" xlink:to="loc_mgnx_IncyteMGA012AgreementServicesMember_500cbe03-a009-453a-a1b2-461f62d38174" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://macrogenics.com/role/CollaborationandOtherAgreementsLesLaboratoiresServierDetails" xlink:type="simple" xlink:href="mgnx-20190630.xsd#CollaborationandOtherAgreementsLesLaboratoiresServierDetails"/>
  <link:definitionLink xlink:role="http://macrogenics.com/role/CollaborationandOtherAgreementsLesLaboratoiresServierDetails" xlink:type="extended" id="i0956822c73be48f8b8a435a8706e5453_b28e2abe-fc9b-463a-824b-c478f4f988b1">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_0371cebc-de0b-440a-9d23-477176c73e01" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_NumberOfExclusiveOptionsToLicense_c1fa96a4-5036-4368-9d49-d463edbfc132" xlink:href="mgnx-20190630.xsd#mgnx_NumberOfExclusiveOptionsToLicense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_0371cebc-de0b-440a-9d23-477176c73e01" xlink:to="loc_mgnx_NumberOfExclusiveOptionsToLicense_c1fa96a4-5036-4368-9d49-d463edbfc132" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_NonRefundableUpfrontFees_5661bf1a-7a2e-40ea-bd54-eb555739b654" xlink:href="mgnx-20190630.xsd#mgnx_NonRefundableUpfrontFees"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_0371cebc-de0b-440a-9d23-477176c73e01" xlink:to="loc_mgnx_NonRefundableUpfrontFees_5661bf1a-7a2e-40ea-bd54-eb555739b654" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_CollaborativeAgreementTransactionPrice_12b8c1a6-c1b1-4898-8618-9b1a3cd3e304" xlink:href="mgnx-20190630.xsd#mgnx_CollaborativeAgreementTransactionPrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_0371cebc-de0b-440a-9d23-477176c73e01" xlink:to="loc_mgnx_CollaborativeAgreementTransactionPrice_12b8c1a6-c1b1-4898-8618-9b1a3cd3e304" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_NumberOfPerformanceObligations_9f1591ee-b958-4285-9f2f-fee4ece52dbd" xlink:href="mgnx-20190630.xsd#mgnx_NumberOfPerformanceObligations"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_0371cebc-de0b-440a-9d23-477176c73e01" xlink:to="loc_mgnx_NumberOfPerformanceObligations_9f1591ee-b958-4285-9f2f-fee4ece52dbd" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_NumberOfMilestonesAchieved_442ecff9-1e78-4877-824e-4104c819eb9e" xlink:href="mgnx-20190630.xsd#mgnx_NumberOfMilestonesAchieved"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_0371cebc-de0b-440a-9d23-477176c73e01" xlink:to="loc_mgnx_NumberOfMilestonesAchieved_442ecff9-1e78-4877-824e-4104c819eb9e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_MilestonePayment_4c6dc5fa-dae5-4f76-b942-d84a0cb4d455" xlink:href="mgnx-20190630.xsd#mgnx_MilestonePayment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_0371cebc-de0b-440a-9d23-477176c73e01" xlink:to="loc_mgnx_MilestonePayment_4c6dc5fa-dae5-4f76-b942-d84a0cb4d455" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_OptionExerciseFee_38776d7c-5688-4651-9b23-8bd08efae161" xlink:href="mgnx-20190630.xsd#mgnx_OptionExerciseFee"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_0371cebc-de0b-440a-9d23-477176c73e01" xlink:to="loc_mgnx_OptionExerciseFee_38776d7c-5688-4651-9b23-8bd08efae161" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_NumberOfComponentsInLicenseAgreement_e108c683-85d0-45de-a410-2cf9e18787d2" xlink:href="mgnx-20190630.xsd#mgnx_NumberOfComponentsInLicenseAgreement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_0371cebc-de0b-440a-9d23-477176c73e01" xlink:to="loc_mgnx_NumberOfComponentsInLicenseAgreement_e108c683-85d0-45de-a410-2cf9e18787d2" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_CollaborationArrangementOffsetToResearchAndDevelopmentCosts_c233515a-5114-4f3b-b588-e8e8772d452f" xlink:href="mgnx-20190630.xsd#mgnx_CollaborationArrangementOffsetToResearchAndDevelopmentCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_0371cebc-de0b-440a-9d23-477176c73e01" xlink:to="loc_mgnx_CollaborationArrangementOffsetToResearchAndDevelopmentCosts_c233515a-5114-4f3b-b588-e8e8772d452f" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_66103e52-ffc6-4221-8c73-e0d21626a80b" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Revenues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_0371cebc-de0b-440a-9d23-477176c73e01" xlink:to="loc_us-gaap_Revenues_66103e52-ffc6-4221-8c73-e0d21626a80b" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiability_abe7227a-f84d-477c-b64a-927258a96792" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ContractWithCustomerLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_0371cebc-de0b-440a-9d23-477176c73e01" xlink:to="loc_us-gaap_ContractWithCustomerLiability_abe7227a-f84d-477c-b64a-927258a96792" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_2a01a0fa-9ba3-434e-8498-049641385cba" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_0371cebc-de0b-440a-9d23-477176c73e01" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_2a01a0fa-9ba3-434e-8498-049641385cba" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_551b9055-6367-43b3-80fd-e04436b40e43" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ContractWithCustomerLiabilityNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_0371cebc-de0b-440a-9d23-477176c73e01" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_551b9055-6367-43b3-80fd-e04436b40e43" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_96e44a4b-a241-4cfb-b1f2-53cbb52e3dc8" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_0371cebc-de0b-440a-9d23-477176c73e01" xlink:to="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_96e44a4b-a241-4cfb-b1f2-53cbb52e3dc8" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_a8decd32-9f46-481e-b32c-43b03617cfcb" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_96e44a4b-a241-4cfb-b1f2-53cbb52e3dc8" xlink:to="loc_srt_ProductOrServiceAxis_a8decd32-9f46-481e-b32c-43b03617cfcb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_a8decd32-9f46-481e-b32c-43b03617cfcb_default" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_a8decd32-9f46-481e-b32c-43b03617cfcb" xlink:to="loc_srt_ProductsAndServicesDomain_a8decd32-9f46-481e-b32c-43b03617cfcb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_7a028d9f-81a9-4377-abc0-a4401e65454c" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_a8decd32-9f46-481e-b32c-43b03617cfcb" xlink:to="loc_srt_ProductsAndServicesDomain_7a028d9f-81a9-4377-abc0-a4401e65454c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_RevenuesFromLicenseAgreementsMember_7cb8e962-3e7a-43a2-ac10-9784ef7487ea" xlink:href="mgnx-20190630.xsd#mgnx_RevenuesFromLicenseAgreementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_7a028d9f-81a9-4377-abc0-a4401e65454c" xlink:to="loc_mgnx_RevenuesFromLicenseAgreementsMember_7cb8e962-3e7a-43a2-ac10-9784ef7487ea" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersByTypeAxis_557efa20-13fa-4a4d-ac80-c45547ba0ecb" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_96e44a4b-a241-4cfb-b1f2-53cbb52e3dc8" xlink:to="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersByTypeAxis_557efa20-13fa-4a4d-ac80-c45547ba0ecb" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain_557efa20-13fa-4a4d-ac80-c45547ba0ecb_default" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersByTypeAxis_557efa20-13fa-4a4d-ac80-c45547ba0ecb" xlink:to="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain_557efa20-13fa-4a4d-ac80-c45547ba0ecb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain_8e8c948e-b238-496e-acf5-83639f02afee" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersByTypeAxis_557efa20-13fa-4a4d-ac80-c45547ba0ecb" xlink:to="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain_8e8c948e-b238-496e-acf5-83639f02afee" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_LesLaboratoiresServierMGD007Member_e03070f7-b905-409f-8796-d8bc83e5860d" xlink:href="mgnx-20190630.xsd#mgnx_LesLaboratoiresServierMGD007Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain_8e8c948e-b238-496e-acf5-83639f02afee" xlink:to="loc_mgnx_LesLaboratoiresServierMGD007Member_e03070f7-b905-409f-8796-d8bc83e5860d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CounterpartyNameAxis_d47a0d7c-044b-4515-8015-8c5f28f0a397" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_CounterpartyNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_96e44a4b-a241-4cfb-b1f2-53cbb52e3dc8" xlink:to="loc_srt_CounterpartyNameAxis_d47a0d7c-044b-4515-8015-8c5f28f0a397" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_d47a0d7c-044b-4515-8015-8c5f28f0a397_default" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CounterpartyNameAxis_d47a0d7c-044b-4515-8015-8c5f28f0a397" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_d47a0d7c-044b-4515-8015-8c5f28f0a397_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_eb4a62cb-2781-4ab5-a8b7-3e7e71ca12c1" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CounterpartyNameAxis_d47a0d7c-044b-4515-8015-8c5f28f0a397" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_eb4a62cb-2781-4ab5-a8b7-3e7e71ca12c1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_ServierMember_3c7d8a6f-575f-4660-9294-c46fcc6c79ca" xlink:href="mgnx-20190630.xsd#mgnx_ServierMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_eb4a62cb-2781-4ab5-a8b7-3e7e71ca12c1" xlink:to="loc_mgnx_ServierMember_3c7d8a6f-575f-4660-9294-c46fcc6c79ca" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfArrangementAxis_d955db58-6d1b-4bf6-a3e0-bafc736df9e4" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TypeOfArrangementAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_96e44a4b-a241-4cfb-b1f2-53cbb52e3dc8" xlink:to="loc_us-gaap_TypeOfArrangementAxis_d955db58-6d1b-4bf6-a3e0-bafc736df9e4" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_d955db58-6d1b-4bf6-a3e0-bafc736df9e4_default" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ArrangementsAndNonarrangementTransactionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TypeOfArrangementAxis_d955db58-6d1b-4bf6-a3e0-bafc736df9e4" xlink:to="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_d955db58-6d1b-4bf6-a3e0-bafc736df9e4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_9ada4236-5014-422d-abbc-f73dd889e435" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ArrangementsAndNonarrangementTransactionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TypeOfArrangementAxis_d955db58-6d1b-4bf6-a3e0-bafc736df9e4" xlink:to="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_9ada4236-5014-422d-abbc-f73dd889e435" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_ServierDARTMember_f3639dc6-5559-4108-94e3-2879d98a4a0e" xlink:href="mgnx-20190630.xsd#mgnx_ServierDARTMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_9ada4236-5014-422d-abbc-f73dd889e435" xlink:to="loc_mgnx_ServierDARTMember_f3639dc6-5559-4108-94e3-2879d98a4a0e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_d6ec2fa9-5434-4495-9d85-b9e67ed981aa" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_96e44a4b-a241-4cfb-b1f2-53cbb52e3dc8" xlink:to="loc_srt_RangeAxis_d6ec2fa9-5434-4495-9d85-b9e67ed981aa" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_d6ec2fa9-5434-4495-9d85-b9e67ed981aa_default" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_d6ec2fa9-5434-4495-9d85-b9e67ed981aa" xlink:to="loc_srt_RangeMember_d6ec2fa9-5434-4495-9d85-b9e67ed981aa_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_00dfb6d6-d157-4990-97e1-14bce222019e" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_d6ec2fa9-5434-4495-9d85-b9e67ed981aa" xlink:to="loc_srt_RangeMember_00dfb6d6-d157-4990-97e1-14bce222019e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_45b567e9-bbf5-4019-ae74-7dc232c2740c" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_00dfb6d6-d157-4990-97e1-14bce222019e" xlink:to="loc_srt_MaximumMember_45b567e9-bbf5-4019-ae74-7dc232c2740c" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://macrogenics.com/role/CollaborationandOtherAgreementsRocheDetails" xlink:type="simple" xlink:href="mgnx-20190630.xsd#CollaborationandOtherAgreementsRocheDetails"/>
  <link:definitionLink xlink:role="http://macrogenics.com/role/CollaborationandOtherAgreementsRocheDetails" xlink:type="extended" id="i589964f70802405c9aeaab5a2ed65910_fe957356-7112-4668-b9a5-99c0fa840bb0">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_8e003cd7-96f9-4d2e-9678-2550b14507ee" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_NonRefundableUpfrontFees_1f01609f-e7ec-478a-908b-392da88239ea" xlink:href="mgnx-20190630.xsd#mgnx_NonRefundableUpfrontFees"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_8e003cd7-96f9-4d2e-9678-2550b14507ee" xlink:to="loc_mgnx_NonRefundableUpfrontFees_1f01609f-e7ec-478a-908b-392da88239ea" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_PotentialMilestonePaymentsandRoyaltiesonFutureSalesunderAgreement_31bedf64-ea1c-4951-b659-1e4d5bbe546b" xlink:href="mgnx-20190630.xsd#mgnx_PotentialMilestonePaymentsandRoyaltiesonFutureSalesunderAgreement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_8e003cd7-96f9-4d2e-9678-2550b14507ee" xlink:to="loc_mgnx_PotentialMilestonePaymentsandRoyaltiesonFutureSalesunderAgreement_31bedf64-ea1c-4951-b659-1e4d5bbe546b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_NumberOfPerformanceObligations_13e9998b-8103-4f43-b420-1984bafabfa2" xlink:href="mgnx-20190630.xsd#mgnx_NumberOfPerformanceObligations"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_8e003cd7-96f9-4d2e-9678-2550b14507ee" xlink:to="loc_mgnx_NumberOfPerformanceObligations_13e9998b-8103-4f43-b420-1984bafabfa2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_CollaborativeAgreementTransactionPrice_2f752b83-d6b7-4762-9dea-9c2c2fb03002" xlink:href="mgnx-20190630.xsd#mgnx_CollaborativeAgreementTransactionPrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_8e003cd7-96f9-4d2e-9678-2550b14507ee" xlink:to="loc_mgnx_CollaborativeAgreementTransactionPrice_2f752b83-d6b7-4762-9dea-9c2c2fb03002" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_UpfrontPaymentRecognitionPeriod_c6bd00b3-de23-4db1-be1f-460759196598" xlink:href="mgnx-20190630.xsd#mgnx_UpfrontPaymentRecognitionPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_8e003cd7-96f9-4d2e-9678-2550b14507ee" xlink:to="loc_mgnx_UpfrontPaymentRecognitionPeriod_c6bd00b3-de23-4db1-be1f-460759196598" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_8acf5314-1638-42f8-a747-433cafe9c40b" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Revenues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_8e003cd7-96f9-4d2e-9678-2550b14507ee" xlink:to="loc_us-gaap_Revenues_8acf5314-1638-42f8-a747-433cafe9c40b" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiability_013b0374-25bf-4511-9d9b-7c330f484131" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ContractWithCustomerLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_8e003cd7-96f9-4d2e-9678-2550b14507ee" xlink:to="loc_us-gaap_ContractWithCustomerLiability_013b0374-25bf-4511-9d9b-7c330f484131" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_1ae9d42e-d84e-47c4-9771-3ec7e3178c3b" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_8e003cd7-96f9-4d2e-9678-2550b14507ee" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_1ae9d42e-d84e-47c4-9771-3ec7e3178c3b" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_37e0f7f6-01b2-4e7c-82ae-7bb90f18a1c7" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ContractWithCustomerLiabilityNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_8e003cd7-96f9-4d2e-9678-2550b14507ee" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_37e0f7f6-01b2-4e7c-82ae-7bb90f18a1c7" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_50027a6e-e0fe-40c7-891c-c03215f49830" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_8e003cd7-96f9-4d2e-9678-2550b14507ee" xlink:to="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_50027a6e-e0fe-40c7-891c-c03215f49830" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_0f5ee738-ba0e-46d0-9353-f2c8acf78621" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_50027a6e-e0fe-40c7-891c-c03215f49830" xlink:to="loc_srt_ProductOrServiceAxis_0f5ee738-ba0e-46d0-9353-f2c8acf78621" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_0f5ee738-ba0e-46d0-9353-f2c8acf78621_default" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_0f5ee738-ba0e-46d0-9353-f2c8acf78621" xlink:to="loc_srt_ProductsAndServicesDomain_0f5ee738-ba0e-46d0-9353-f2c8acf78621_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_e4301757-584b-475f-8c89-5f098aa80b87" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_0f5ee738-ba0e-46d0-9353-f2c8acf78621" xlink:to="loc_srt_ProductsAndServicesDomain_e4301757-584b-475f-8c89-5f098aa80b87" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_RevenuesFromLicenseAgreementsMember_d87d1cf7-8fa5-4a27-9a6c-c8c03ee96a26" xlink:href="mgnx-20190630.xsd#mgnx_RevenuesFromLicenseAgreementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_e4301757-584b-475f-8c89-5f098aa80b87" xlink:to="loc_mgnx_RevenuesFromLicenseAgreementsMember_d87d1cf7-8fa5-4a27-9a6c-c8c03ee96a26" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CounterpartyNameAxis_4a3aa5cf-7ff9-4162-9686-3231b8e4de63" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_CounterpartyNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_50027a6e-e0fe-40c7-891c-c03215f49830" xlink:to="loc_srt_CounterpartyNameAxis_4a3aa5cf-7ff9-4162-9686-3231b8e4de63" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_4a3aa5cf-7ff9-4162-9686-3231b8e4de63_default" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CounterpartyNameAxis_4a3aa5cf-7ff9-4162-9686-3231b8e4de63" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_4a3aa5cf-7ff9-4162-9686-3231b8e4de63_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_08cceaf6-1d20-4b44-96d8-ade3e6da7c17" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CounterpartyNameAxis_4a3aa5cf-7ff9-4162-9686-3231b8e4de63" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_08cceaf6-1d20-4b44-96d8-ade3e6da7c17" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_F.HoffmannLaRocheLtd.andHoffmannLaRocheInc.Member_40da3daf-d850-4a4e-8ec2-580d8d53f7f7" xlink:href="mgnx-20190630.xsd#mgnx_F.HoffmannLaRocheLtd.andHoffmannLaRocheInc.Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_08cceaf6-1d20-4b44-96d8-ade3e6da7c17" xlink:to="loc_mgnx_F.HoffmannLaRocheLtd.andHoffmannLaRocheInc.Member_40da3daf-d850-4a4e-8ec2-580d8d53f7f7" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://macrogenics.com/role/CollaborationandOtherAgreementsZaiLabDetails" xlink:type="simple" xlink:href="mgnx-20190630.xsd#CollaborationandOtherAgreementsZaiLabDetails"/>
  <link:definitionLink xlink:role="http://macrogenics.com/role/CollaborationandOtherAgreementsZaiLabDetails" xlink:type="extended" id="i3c6c9c7501db4678b20d3282b939626a_88a448ae-c6dd-4128-b440-29a27f17f993">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_3a783eba-0c59-4609-a152-df8b19299d19" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_NonRefundableUpfrontFees_3473a2fe-b981-430f-ba86-d67be636921d" xlink:href="mgnx-20190630.xsd#mgnx_NonRefundableUpfrontFees"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_3a783eba-0c59-4609-a152-df8b19299d19" xlink:to="loc_mgnx_NonRefundableUpfrontFees_3473a2fe-b981-430f-ba86-d67be636921d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_NonrefundablePaymentTaxWithholding_6fd07c38-308c-4ba1-8b7b-a942c96a6d98" xlink:href="mgnx-20190630.xsd#mgnx_NonrefundablePaymentTaxWithholding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_3a783eba-0c59-4609-a152-df8b19299d19" xlink:to="loc_mgnx_NonrefundablePaymentTaxWithholding_6fd07c38-308c-4ba1-8b7b-a942c96a6d98" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_PotentialDevelopmentandRegulatoryMilestonePaymentsUnderAgreement_f506bb46-c483-4547-9c08-fc0f68d10136" xlink:href="mgnx-20190630.xsd#mgnx_PotentialDevelopmentandRegulatoryMilestonePaymentsUnderAgreement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_3a783eba-0c59-4609-a152-df8b19299d19" xlink:to="loc_mgnx_PotentialDevelopmentandRegulatoryMilestonePaymentsUnderAgreement_f506bb46-c483-4547-9c08-fc0f68d10136" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_7e8907aa-96a3-4fec-a53b-b1712606ddfb" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Revenues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_3a783eba-0c59-4609-a152-df8b19299d19" xlink:to="loc_us-gaap_Revenues_7e8907aa-96a3-4fec-a53b-b1712606ddfb" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiability_0adc2113-1080-49b0-9bad-3d6125a0054a" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ContractWithCustomerLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_3a783eba-0c59-4609-a152-df8b19299d19" xlink:to="loc_us-gaap_ContractWithCustomerLiability_0adc2113-1080-49b0-9bad-3d6125a0054a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_9ba175c4-5cdc-423c-8175-b3d720bc48f1" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_3a783eba-0c59-4609-a152-df8b19299d19" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_9ba175c4-5cdc-423c-8175-b3d720bc48f1" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_e3abe530-e4d1-4d42-a179-73286457ea73" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ContractWithCustomerLiabilityNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_3a783eba-0c59-4609-a152-df8b19299d19" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_e3abe530-e4d1-4d42-a179-73286457ea73" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_bd6e7320-f605-4a6c-ba83-3f4a417f52a9" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_3a783eba-0c59-4609-a152-df8b19299d19" xlink:to="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_bd6e7320-f605-4a6c-ba83-3f4a417f52a9" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_3237e778-7f61-4e0d-90f9-10964e6bb93b" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_bd6e7320-f605-4a6c-ba83-3f4a417f52a9" xlink:to="loc_srt_ProductOrServiceAxis_3237e778-7f61-4e0d-90f9-10964e6bb93b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_3237e778-7f61-4e0d-90f9-10964e6bb93b_default" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_3237e778-7f61-4e0d-90f9-10964e6bb93b" xlink:to="loc_srt_ProductsAndServicesDomain_3237e778-7f61-4e0d-90f9-10964e6bb93b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_8acb307b-6c45-408c-ab42-7e9fc83a82a7" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_3237e778-7f61-4e0d-90f9-10964e6bb93b" xlink:to="loc_srt_ProductsAndServicesDomain_8acb307b-6c45-408c-ab42-7e9fc83a82a7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_RevenuesFromLicenseAgreementsMember_8f3fd62c-7ddc-43c4-b554-134ff6feed75" xlink:href="mgnx-20190630.xsd#mgnx_RevenuesFromLicenseAgreementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_8acb307b-6c45-408c-ab42-7e9fc83a82a7" xlink:to="loc_mgnx_RevenuesFromLicenseAgreementsMember_8f3fd62c-7ddc-43c4-b554-134ff6feed75" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersByTypeAxis_5e41f126-b79e-4edf-aadc-03f55a12dad9" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_bd6e7320-f605-4a6c-ba83-3f4a417f52a9" xlink:to="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersByTypeAxis_5e41f126-b79e-4edf-aadc-03f55a12dad9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain_5e41f126-b79e-4edf-aadc-03f55a12dad9_default" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersByTypeAxis_5e41f126-b79e-4edf-aadc-03f55a12dad9" xlink:to="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain_5e41f126-b79e-4edf-aadc-03f55a12dad9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain_e370b9e7-e138-4ce7-ad3d-e1874a6e198b" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersByTypeAxis_5e41f126-b79e-4edf-aadc-03f55a12dad9" xlink:to="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain_e370b9e7-e138-4ce7-ad3d-e1874a6e198b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_ZaiLabCollaborationAndLicenseAgreementMember_b2fb574d-7326-4110-b28a-09a956b050f6" xlink:href="mgnx-20190630.xsd#mgnx_ZaiLabCollaborationAndLicenseAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain_e370b9e7-e138-4ce7-ad3d-e1874a6e198b" xlink:to="loc_mgnx_ZaiLabCollaborationAndLicenseAgreementMember_b2fb574d-7326-4110-b28a-09a956b050f6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CounterpartyNameAxis_02c2ba21-e68d-4955-98e7-c40e4db7a8f4" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_CounterpartyNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_bd6e7320-f605-4a6c-ba83-3f4a417f52a9" xlink:to="loc_srt_CounterpartyNameAxis_02c2ba21-e68d-4955-98e7-c40e4db7a8f4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_02c2ba21-e68d-4955-98e7-c40e4db7a8f4_default" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CounterpartyNameAxis_02c2ba21-e68d-4955-98e7-c40e4db7a8f4" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_02c2ba21-e68d-4955-98e7-c40e4db7a8f4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_7dc7a6a0-5c39-404b-9979-3f3900156145" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CounterpartyNameAxis_02c2ba21-e68d-4955-98e7-c40e4db7a8f4" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_7dc7a6a0-5c39-404b-9979-3f3900156145" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_ZaiLabMember_e0869124-28d5-446e-9ae9-ea86dc32370d" xlink:href="mgnx-20190630.xsd#mgnx_ZaiLabMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_7dc7a6a0-5c39-404b-9979-3f3900156145" xlink:to="loc_mgnx_ZaiLabMember_e0869124-28d5-446e-9ae9-ea86dc32370d" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://macrogenics.com/role/CollaborationandOtherAgreementsProventionDetails" xlink:type="simple" xlink:href="mgnx-20190630.xsd#CollaborationandOtherAgreementsProventionDetails"/>
  <link:definitionLink xlink:role="http://macrogenics.com/role/CollaborationandOtherAgreementsProventionDetails" xlink:type="extended" id="ib0df28f1bfed4f16ac5695e6d879cef7_7e67b20c-0f6c-40b8-9367-05655a8330ba">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_0bc93f84-bd91-446c-9689-d77b6b0ba0b9" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_CollaborativeAgreementConsiderationReceivedCommonStockWarrantExercisePricePerShare_d60515dd-d76d-44fd-953d-0b5ad56658a5" xlink:href="mgnx-20190630.xsd#mgnx_CollaborativeAgreementConsiderationReceivedCommonStockWarrantExercisePricePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_0bc93f84-bd91-446c-9689-d77b6b0ba0b9" xlink:to="loc_mgnx_CollaborativeAgreementConsiderationReceivedCommonStockWarrantExercisePricePerShare_d60515dd-d76d-44fd-953d-0b5ad56658a5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_PotentialDevelopmentandRegulatoryMilestonePaymentsUnderAgreement_7d65793c-4e22-416e-9ec4-746a6ae1fb4c" xlink:href="mgnx-20190630.xsd#mgnx_PotentialDevelopmentandRegulatoryMilestonePaymentsUnderAgreement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_0bc93f84-bd91-446c-9689-d77b6b0ba0b9" xlink:to="loc_mgnx_PotentialDevelopmentandRegulatoryMilestonePaymentsUnderAgreement_7d65793c-4e22-416e-9ec4-746a6ae1fb4c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_PotentialCommercialMilestonePaymentsUnderAgreement_1b58b988-a7b0-4a37-8fa1-c8ba02fb5e88" xlink:href="mgnx-20190630.xsd#mgnx_PotentialCommercialMilestonePaymentsUnderAgreement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_0bc93f84-bd91-446c-9689-d77b6b0ba0b9" xlink:to="loc_mgnx_PotentialCommercialMilestonePaymentsUnderAgreement_1b58b988-a7b0-4a37-8fa1-c8ba02fb5e88" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_PotentialMilestonePaymentToThirdPartiesForIntellectualPropertyUnderAgreement_91ae3f73-2dd0-498d-92fd-699a5a102d1c" xlink:href="mgnx-20190630.xsd#mgnx_PotentialMilestonePaymentToThirdPartiesForIntellectualPropertyUnderAgreement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_0bc93f84-bd91-446c-9689-d77b6b0ba0b9" xlink:to="loc_mgnx_PotentialMilestonePaymentToThirdPartiesForIntellectualPropertyUnderAgreement_91ae3f73-2dd0-498d-92fd-699a5a102d1c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_NumberOfPerformanceObligations_d3a85e78-8c49-45ee-9762-ed3effafb4b1" xlink:href="mgnx-20190630.xsd#mgnx_NumberOfPerformanceObligations"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_0bc93f84-bd91-446c-9689-d77b6b0ba0b9" xlink:to="loc_mgnx_NumberOfPerformanceObligations_d3a85e78-8c49-45ee-9762-ed3effafb4b1" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_CollaborativeAgreementTransactionPrice_402fc7bc-4964-48df-b63e-28a656f82759" xlink:href="mgnx-20190630.xsd#mgnx_CollaborativeAgreementTransactionPrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_0bc93f84-bd91-446c-9689-d77b6b0ba0b9" xlink:to="loc_mgnx_CollaborativeAgreementTransactionPrice_402fc7bc-4964-48df-b63e-28a656f82759" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_CollaborativeAgreementConsiderationReceivedCommonStockWarrantsNumberOfShares_fe2d0eb3-9087-42dd-9308-95cc3650f248" xlink:href="mgnx-20190630.xsd#mgnx_CollaborativeAgreementConsiderationReceivedCommonStockWarrantsNumberOfShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_0bc93f84-bd91-446c-9689-d77b6b0ba0b9" xlink:to="loc_mgnx_CollaborativeAgreementConsiderationReceivedCommonStockWarrantsNumberOfShares_fe2d0eb3-9087-42dd-9308-95cc3650f248" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_dc176760-2674-4556-afb8-a195081a8ec3" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Revenues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_0bc93f84-bd91-446c-9689-d77b6b0ba0b9" xlink:to="loc_us-gaap_Revenues_dc176760-2674-4556-afb8-a195081a8ec3" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedGainLoss_6d02d136-bf2c-4462-b943-6fcea640ebb8" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedGainLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_0bc93f84-bd91-446c-9689-d77b6b0ba0b9" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedGainLoss_6d02d136-bf2c-4462-b943-6fcea640ebb8" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_d5b910d8-0c0f-4a2b-a55f-a58ea346cebb" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_0bc93f84-bd91-446c-9689-d77b6b0ba0b9" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_d5b910d8-0c0f-4a2b-a55f-a58ea346cebb" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_ace060fa-9da7-4ce4-a4e9-4e4d0334e920" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_0bc93f84-bd91-446c-9689-d77b6b0ba0b9" xlink:to="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_ace060fa-9da7-4ce4-a4e9-4e4d0334e920" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_f288a5b7-495a-4053-9a82-3e7fd30c2851" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_ace060fa-9da7-4ce4-a4e9-4e4d0334e920" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_f288a5b7-495a-4053-9a82-3e7fd30c2851" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_f288a5b7-495a-4053-9a82-3e7fd30c2851_default" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_f288a5b7-495a-4053-9a82-3e7fd30c2851" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_f288a5b7-495a-4053-9a82-3e7fd30c2851_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_4b907d11-3951-4d6a-9a1b-d66ea82727af" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_f288a5b7-495a-4053-9a82-3e7fd30c2851" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_4b907d11-3951-4d6a-9a1b-d66ea82727af" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_50e19f94-1928-489a-91f7-1a79e574c95a" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_4b907d11-3951-4d6a-9a1b-d66ea82727af" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_50e19f94-1928-489a-91f7-1a79e574c95a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByAssetClassAxis_cec69489-fa03-49cb-91bd-304bf9bf6d2a" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueByAssetClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_ace060fa-9da7-4ce4-a4e9-4e4d0334e920" xlink:to="loc_us-gaap_FairValueByAssetClassAxis_cec69489-fa03-49cb-91bd-304bf9bf6d2a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_cec69489-fa03-49cb-91bd-304bf9bf6d2a_default" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_cec69489-fa03-49cb-91bd-304bf9bf6d2a" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_cec69489-fa03-49cb-91bd-304bf9bf6d2a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_7f4baf05-ed18-4baa-9eda-00c6221bc841" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_cec69489-fa03-49cb-91bd-304bf9bf6d2a" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_7f4baf05-ed18-4baa-9eda-00c6221bc841" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WarrantMember_50194d2f-5b56-4e18-b5d3-67d60584127e" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_WarrantMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_7f4baf05-ed18-4baa-9eda-00c6221bc841" xlink:to="loc_us-gaap_WarrantMember_50194d2f-5b56-4e18-b5d3-67d60584127e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_44ee402b-c1dd-4b8a-ac27-6151e4bc20ca" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_ace060fa-9da7-4ce4-a4e9-4e4d0334e920" xlink:to="loc_srt_ProductOrServiceAxis_44ee402b-c1dd-4b8a-ac27-6151e4bc20ca" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_44ee402b-c1dd-4b8a-ac27-6151e4bc20ca_default" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_44ee402b-c1dd-4b8a-ac27-6151e4bc20ca" xlink:to="loc_srt_ProductsAndServicesDomain_44ee402b-c1dd-4b8a-ac27-6151e4bc20ca_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_b64986aa-f775-4892-a18b-7cda92cfe0b0" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_44ee402b-c1dd-4b8a-ac27-6151e4bc20ca" xlink:to="loc_srt_ProductsAndServicesDomain_b64986aa-f775-4892-a18b-7cda92cfe0b0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_RevenuesFromLicenseAgreementsMember_c231ce31-bb11-41d7-b83a-e296459855bd" xlink:href="mgnx-20190630.xsd#mgnx_RevenuesFromLicenseAgreementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_b64986aa-f775-4892-a18b-7cda92cfe0b0" xlink:to="loc_mgnx_RevenuesFromLicenseAgreementsMember_c231ce31-bb11-41d7-b83a-e296459855bd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfArrangementAxis_4f1197a7-1580-4ba5-b897-b00132ea3d62" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TypeOfArrangementAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_ace060fa-9da7-4ce4-a4e9-4e4d0334e920" xlink:to="loc_us-gaap_TypeOfArrangementAxis_4f1197a7-1580-4ba5-b897-b00132ea3d62" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_4f1197a7-1580-4ba5-b897-b00132ea3d62_default" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ArrangementsAndNonarrangementTransactionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TypeOfArrangementAxis_4f1197a7-1580-4ba5-b897-b00132ea3d62" xlink:to="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_4f1197a7-1580-4ba5-b897-b00132ea3d62_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_9980fcb4-0110-4e54-8c13-5e5f6a737d80" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ArrangementsAndNonarrangementTransactionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TypeOfArrangementAxis_4f1197a7-1580-4ba5-b897-b00132ea3d62" xlink:to="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_9980fcb4-0110-4e54-8c13-5e5f6a737d80" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_ProventionLicenseAgreementMember_998a03d4-f7d4-481b-b423-be7126207d3a" xlink:href="mgnx-20190630.xsd#mgnx_ProventionLicenseAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_9980fcb4-0110-4e54-8c13-5e5f6a737d80" xlink:to="loc_mgnx_ProventionLicenseAgreementMember_998a03d4-f7d4-481b-b423-be7126207d3a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_AssetPurchaseAgreementMember_3b1b1877-a43b-4e5e-8a22-e073654cbcae" xlink:href="mgnx-20190630.xsd#mgnx_AssetPurchaseAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_9980fcb4-0110-4e54-8c13-5e5f6a737d80" xlink:to="loc_mgnx_AssetPurchaseAgreementMember_3b1b1877-a43b-4e5e-8a22-e073654cbcae" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CounterpartyNameAxis_3f82a98e-2ef3-4b92-9a1f-29743289e66d" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_CounterpartyNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_ace060fa-9da7-4ce4-a4e9-4e4d0334e920" xlink:to="loc_srt_CounterpartyNameAxis_3f82a98e-2ef3-4b92-9a1f-29743289e66d" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_3f82a98e-2ef3-4b92-9a1f-29743289e66d_default" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CounterpartyNameAxis_3f82a98e-2ef3-4b92-9a1f-29743289e66d" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_3f82a98e-2ef3-4b92-9a1f-29743289e66d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_b4e3b50b-c511-4d72-8267-b95b0611343d" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CounterpartyNameAxis_3f82a98e-2ef3-4b92-9a1f-29743289e66d" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_b4e3b50b-c511-4d72-8267-b95b0611343d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_ProventionBioInc.Member_20cda98c-264d-4b15-8262-4b9956422939" xlink:href="mgnx-20190630.xsd#mgnx_ProventionBioInc.Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_b4e3b50b-c511-4d72-8267-b95b0611343d" xlink:to="loc_mgnx_ProventionBioInc.Member_20cda98c-264d-4b15-8262-4b9956422939" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersByTypeAxis_4f97093d-c161-4641-92fe-24e8910358cf" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_ace060fa-9da7-4ce4-a4e9-4e4d0334e920" xlink:to="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersByTypeAxis_4f97093d-c161-4641-92fe-24e8910358cf" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain_4f97093d-c161-4641-92fe-24e8910358cf_default" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersByTypeAxis_4f97093d-c161-4641-92fe-24e8910358cf" xlink:to="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain_4f97093d-c161-4641-92fe-24e8910358cf_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain_87f3f15e-0b3f-4cec-935b-12a9a81cb4a7" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersByTypeAxis_4f97093d-c161-4641-92fe-24e8910358cf" xlink:to="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain_87f3f15e-0b3f-4cec-935b-12a9a81cb4a7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_ProventionPRV3279Member_c12455f6-371e-4d17-a353-d6b968cbe974" xlink:href="mgnx-20190630.xsd#mgnx_ProventionPRV3279Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain_87f3f15e-0b3f-4cec-935b-12a9a81cb4a7" xlink:to="loc_mgnx_ProventionPRV3279Member_c12455f6-371e-4d17-a353-d6b968cbe974" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_ProventionPRV031Member_d937bae7-7b9f-4a98-84e5-bef75288853d" xlink:href="mgnx-20190630.xsd#mgnx_ProventionPRV031Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain_87f3f15e-0b3f-4cec-935b-12a9a81cb4a7" xlink:to="loc_mgnx_ProventionPRV031Member_d937bae7-7b9f-4a98-84e5-bef75288853d" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://macrogenics.com/role/CollaborationandOtherAgreementsNIAIDContractDetails" xlink:type="simple" xlink:href="mgnx-20190630.xsd#CollaborationandOtherAgreementsNIAIDContractDetails"/>
  <link:definitionLink xlink:role="http://macrogenics.com/role/CollaborationandOtherAgreementsNIAIDContractDetails" xlink:type="extended" id="i48e922c68f2149ec9ee5091e3a041fae_510b3ae0-e946-44d2-8212-10be6357a284">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_60ac3d76-720b-4c98-8aed-6748655e2824" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_NumberOfMoleculesToBeDevelopedAndCommercializedUnderAgreement_f6e7d370-bb81-4948-9dc3-91a963e3b8d9" xlink:href="mgnx-20190630.xsd#mgnx_NumberOfMoleculesToBeDevelopedAndCommercializedUnderAgreement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_60ac3d76-720b-4c98-8aed-6748655e2824" xlink:to="loc_mgnx_NumberOfMoleculesToBeDevelopedAndCommercializedUnderAgreement_f6e7d370-bb81-4948-9dc3-91a963e3b8d9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_FundedValueOfBasePeriod_dd7640af-f541-46ae-8e1d-1c33b3bc2ea2" xlink:href="mgnx-20190630.xsd#mgnx_FundedValueOfBasePeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_60ac3d76-720b-4c98-8aed-6748655e2824" xlink:to="loc_mgnx_FundedValueOfBasePeriod_dd7640af-f541-46ae-8e1d-1c33b3bc2ea2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_AdditionalDevelopmentFundingOptionsUnderAgreement_33152119-91b9-464f-a21a-fed9712c1e87" xlink:href="mgnx-20190630.xsd#mgnx_AdditionalDevelopmentFundingOptionsUnderAgreement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_60ac3d76-720b-4c98-8aed-6748655e2824" xlink:to="loc_mgnx_AdditionalDevelopmentFundingOptionsUnderAgreement_33152119-91b9-464f-a21a-fed9712c1e87" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_TotalPotentialValueUnderAgreement_02127881-5cc4-4443-a0a6-fd6a357e3536" xlink:href="mgnx-20190630.xsd#mgnx_TotalPotentialValueUnderAgreement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_60ac3d76-720b-4c98-8aed-6748655e2824" xlink:to="loc_mgnx_TotalPotentialValueUnderAgreement_02127881-5cc4-4443-a0a6-fd6a357e3536" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_ExercisedAdditionalDevelopmentFundingOptionsUnderAgreement_78c1ebb5-7d4d-4da7-a8d1-f1afc4bf6fd9" xlink:href="mgnx-20190630.xsd#mgnx_ExercisedAdditionalDevelopmentFundingOptionsUnderAgreement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_60ac3d76-720b-4c98-8aed-6748655e2824" xlink:to="loc_mgnx_ExercisedAdditionalDevelopmentFundingOptionsUnderAgreement_78c1ebb5-7d4d-4da7-a8d1-f1afc4bf6fd9" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_29109cd8-8695-4ca4-b045-89a399267c4a" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Revenues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_60ac3d76-720b-4c98-8aed-6748655e2824" xlink:to="loc_us-gaap_Revenues_29109cd8-8695-4ca4-b045-89a399267c4a" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_a9eebf83-538e-4c3a-a65e-7d768ccb8978" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_60ac3d76-720b-4c98-8aed-6748655e2824" xlink:to="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_a9eebf83-538e-4c3a-a65e-7d768ccb8978" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_afe1c840-baa0-4093-b616-bfcf5899f230" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_a9eebf83-538e-4c3a-a65e-7d768ccb8978" xlink:to="loc_srt_ProductOrServiceAxis_afe1c840-baa0-4093-b616-bfcf5899f230" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_afe1c840-baa0-4093-b616-bfcf5899f230_default" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_afe1c840-baa0-4093-b616-bfcf5899f230" xlink:to="loc_srt_ProductsAndServicesDomain_afe1c840-baa0-4093-b616-bfcf5899f230_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_14a9b557-08cb-4482-b650-1567957dff25" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_afe1c840-baa0-4093-b616-bfcf5899f230" xlink:to="loc_srt_ProductsAndServicesDomain_14a9b557-08cb-4482-b650-1567957dff25" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_RevenuesFromGrantsMember_bbcf8dcc-a7ac-4780-a6cb-847ba6cf58b0" xlink:href="mgnx-20190630.xsd#mgnx_RevenuesFromGrantsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_14a9b557-08cb-4482-b650-1567957dff25" xlink:to="loc_mgnx_RevenuesFromGrantsMember_bbcf8dcc-a7ac-4780-a6cb-847ba6cf58b0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CounterpartyNameAxis_54a6f7d7-c86f-42d0-b17f-7dfac9648e54" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_CounterpartyNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_a9eebf83-538e-4c3a-a65e-7d768ccb8978" xlink:to="loc_srt_CounterpartyNameAxis_54a6f7d7-c86f-42d0-b17f-7dfac9648e54" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_54a6f7d7-c86f-42d0-b17f-7dfac9648e54_default" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CounterpartyNameAxis_54a6f7d7-c86f-42d0-b17f-7dfac9648e54" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_54a6f7d7-c86f-42d0-b17f-7dfac9648e54_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_f10b1558-cece-4449-827f-40a0667a21be" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CounterpartyNameAxis_54a6f7d7-c86f-42d0-b17f-7dfac9648e54" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_f10b1558-cece-4449-827f-40a0667a21be" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_NationalInstituteOfAllergyAndInfectiousDiseasesMember_9bc03c43-50dc-4383-9920-2c5207fac24a" xlink:href="mgnx-20190630.xsd#mgnx_NationalInstituteOfAllergyAndInfectiousDiseasesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_f10b1558-cece-4449-827f-40a0667a21be" xlink:to="loc_mgnx_NationalInstituteOfAllergyAndInfectiousDiseasesMember_9bc03c43-50dc-4383-9920-2c5207fac24a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_cdc1c35e-c736-4f0b-b3d0-3423b6697afc" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_a9eebf83-538e-4c3a-a65e-7d768ccb8978" xlink:to="loc_srt_RangeAxis_cdc1c35e-c736-4f0b-b3d0-3423b6697afc" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_cdc1c35e-c736-4f0b-b3d0-3423b6697afc_default" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_cdc1c35e-c736-4f0b-b3d0-3423b6697afc" xlink:to="loc_srt_RangeMember_cdc1c35e-c736-4f0b-b3d0-3423b6697afc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_d86d3dd8-d1cd-42dd-becb-475e63d8f71b" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_cdc1c35e-c736-4f0b-b3d0-3423b6697afc" xlink:to="loc_srt_RangeMember_d86d3dd8-d1cd-42dd-becb-475e63d8f71b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_cb0796ce-2a4c-4cc5-999a-d5569cd046aa" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_d86d3dd8-d1cd-42dd-becb-475e63d8f71b" xlink:to="loc_srt_MaximumMember_cb0796ce-2a4c-4cc5-999a-d5569cd046aa" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://macrogenics.com/role/StockBasedCompensation" xlink:type="simple" xlink:href="mgnx-20190630.xsd#StockBasedCompensation"/>
  <link:definitionLink xlink:role="http://macrogenics.com/role/StockBasedCompensation" xlink:type="extended" id="id9ebdf5f678f4489bfe38938c9c7044d_b87b679a-0ade-4bd7-842e-f369fc10039d"/>
  <link:roleRef roleURI="http://macrogenics.com/role/StockBasedCompensationTables" xlink:type="simple" xlink:href="mgnx-20190630.xsd#StockBasedCompensationTables"/>
  <link:definitionLink xlink:role="http://macrogenics.com/role/StockBasedCompensationTables" xlink:type="extended" id="i6127d1cc9280422993f7cabaf9dce061_a18ddb88-965d-4fc8-baea-e5cd42fa54d7"/>
  <link:roleRef roleURI="http://macrogenics.com/role/StockBasedCompensationStockBasedCompensationExpenseDetails" xlink:type="simple" xlink:href="mgnx-20190630.xsd#StockBasedCompensationStockBasedCompensationExpenseDetails"/>
  <link:definitionLink xlink:role="http://macrogenics.com/role/StockBasedCompensationStockBasedCompensationExpenseDetails" xlink:type="extended" id="ieec682e1daea4d089871b43132ff64c8_9972b02c-6785-4080-a7a1-3dec02ee9858">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c0a3d293-00b9-454f-bcde-4194745620ee" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_f0703405-6f53-4fb2-b8e5-74ff6b6d84c8" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c0a3d293-00b9-454f-bcde-4194745620ee" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_f0703405-6f53-4fb2-b8e5-74ff6b6d84c8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_EmployeeStockPurchasePlanMaximumAnnualContributionsPerEmployeePercent_69e3685e-c2c8-4736-91e0-3b067b6d0670" xlink:href="mgnx-20190630.xsd#mgnx_EmployeeStockPurchasePlanMaximumAnnualContributionsPerEmployeePercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c0a3d293-00b9-454f-bcde-4194745620ee" xlink:to="loc_mgnx_EmployeeStockPurchasePlanMaximumAnnualContributionsPerEmployeePercent_69e3685e-c2c8-4736-91e0-3b067b6d0670" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_29df8de9-f24e-4692-9760-49d5ca3cdb5a" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c0a3d293-00b9-454f-bcde-4194745620ee" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_29df8de9-f24e-4692-9760-49d5ca3cdb5a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod_6e055d03-de63-476b-9234-57e0fefd7a8d" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c0a3d293-00b9-454f-bcde-4194745620ee" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod_6e055d03-de63-476b-9234-57e0fefd7a8d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_CommonStockCapitalSharesMinimumIncreaseInSharesReservedForFutureIssuance_fe19f440-6744-42af-a4f8-3cf7369684cf" xlink:href="mgnx-20190630.xsd#mgnx_CommonStockCapitalSharesMinimumIncreaseInSharesReservedForFutureIssuance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c0a3d293-00b9-454f-bcde-4194745620ee" xlink:to="loc_mgnx_CommonStockCapitalSharesMinimumIncreaseInSharesReservedForFutureIssuance_fe19f440-6744-42af-a4f8-3cf7369684cf" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_PercentageOfSharesOfCompanysCommonStockOutstandingForIncreaseInSharesReservedForIssuanceUnderStockPlan_2898a8f2-8b83-46d6-8071-fb8d1f04c02b" xlink:href="mgnx-20190630.xsd#mgnx_PercentageOfSharesOfCompanysCommonStockOutstandingForIncreaseInSharesReservedForIssuanceUnderStockPlan"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c0a3d293-00b9-454f-bcde-4194745620ee" xlink:to="loc_mgnx_PercentageOfSharesOfCompanysCommonStockOutstandingForIncreaseInSharesReservedForIssuanceUnderStockPlan_2898a8f2-8b83-46d6-8071-fb8d1f04c02b" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_b1c8d121-845d-41d0-ab25-eaa4f4adb012" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c0a3d293-00b9-454f-bcde-4194745620ee" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_b1c8d121-845d-41d0-ab25-eaa4f4adb012" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_41c6371e-5a6e-44b9-b3b0-fed5b7bb49d2" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c0a3d293-00b9-454f-bcde-4194745620ee" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_41c6371e-5a6e-44b9-b3b0-fed5b7bb49d2" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockPlans_3a834ed2-35b9-4352-b141-82d75f3cca2f" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromStockPlans"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c0a3d293-00b9-454f-bcde-4194745620ee" xlink:to="loc_us-gaap_ProceedsFromStockPlans_3a834ed2-35b9-4352-b141-82d75f3cca2f" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_821a1f00-d388-4a5d-91d8-e0dd88635dda" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c0a3d293-00b9-454f-bcde-4194745620ee" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_821a1f00-d388-4a5d-91d8-e0dd88635dda" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameAxis_01b3f03f-1b6b-498c-8c56-6c8db5000653" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_821a1f00-d388-4a5d-91d8-e0dd88635dda" xlink:to="loc_us-gaap_PlanNameAxis_01b3f03f-1b6b-498c-8c56-6c8db5000653" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_01b3f03f-1b6b-498c-8c56-6c8db5000653_default" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_01b3f03f-1b6b-498c-8c56-6c8db5000653" xlink:to="loc_us-gaap_PlanNameDomain_01b3f03f-1b6b-498c-8c56-6c8db5000653_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_93213b07-5eb9-474b-821a-f3f383d116a2" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_01b3f03f-1b6b-498c-8c56-6c8db5000653" xlink:to="loc_us-gaap_PlanNameDomain_93213b07-5eb9-474b-821a-f3f383d116a2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_TwoThousandSixteenEmployeeStockPurchasePlanMember_355c1a22-479c-4468-a0d6-9e37fc7cf881" xlink:href="mgnx-20190630.xsd#mgnx_TwoThousandSixteenEmployeeStockPurchasePlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_93213b07-5eb9-474b-821a-f3f383d116a2" xlink:to="loc_mgnx_TwoThousandSixteenEmployeeStockPurchasePlanMember_355c1a22-479c-4468-a0d6-9e37fc7cf881" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_A2003StockIncentivePlanMember_599ed9eb-a2a5-4d5e-891d-0c71d8e13985" xlink:href="mgnx-20190630.xsd#mgnx_A2003StockIncentivePlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_93213b07-5eb9-474b-821a-f3f383d116a2" xlink:to="loc_mgnx_A2003StockIncentivePlanMember_599ed9eb-a2a5-4d5e-891d-0c71d8e13985" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_StockIncentivePlan2013Member_01c36d6b-03cb-4339-bdfa-afe5f8805d1e" xlink:href="mgnx-20190630.xsd#mgnx_StockIncentivePlan2013Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_93213b07-5eb9-474b-821a-f3f383d116a2" xlink:to="loc_mgnx_StockIncentivePlan2013Member_01c36d6b-03cb-4339-bdfa-afe5f8805d1e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_b5d35fd7-98ab-4c78-9848-4521a614ec1b" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_29c83e63-5468-4afb-a5b5-7cb1b006a7b0" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_b5d35fd7-98ab-4c78-9848-4521a614ec1b" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_29c83e63-5468-4afb-a5b5-7cb1b006a7b0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_a01ae469-79d9-4ae3-b473-306bb4d65c56" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_b5d35fd7-98ab-4c78-9848-4521a614ec1b" xlink:to="loc_us-gaap_ShareBasedCompensation_a01ae469-79d9-4ae3-b473-306bb4d65c56" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_9b5e1668-1292-48de-accb-a8aee58cb31a" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_b5d35fd7-98ab-4c78-9848-4521a614ec1b" xlink:to="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_9b5e1668-1292-48de-accb-a8aee58cb31a" xlink:type="arc" order="2" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_cb1140dd-1b17-4fe6-a80c-859dcaa1bc08" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_9b5e1668-1292-48de-accb-a8aee58cb31a" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_cb1140dd-1b17-4fe6-a80c-859dcaa1bc08" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_cb1140dd-1b17-4fe6-a80c-859dcaa1bc08_default" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_cb1140dd-1b17-4fe6-a80c-859dcaa1bc08" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_cb1140dd-1b17-4fe6-a80c-859dcaa1bc08_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_4175df8d-4aba-4f4f-a537-e1f4a4e17d9a" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_cb1140dd-1b17-4fe6-a80c-859dcaa1bc08" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_4175df8d-4aba-4f4f-a537-e1f4a4e17d9a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember_70293639-d2ff-4c15-81fe-4b11b544f6e5" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ResearchAndDevelopmentExpenseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_4175df8d-4aba-4f4f-a537-e1f4a4e17d9a" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_70293639-d2ff-4c15-81fe-4b11b544f6e5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpenseMember_5ddb86dc-4601-4b52-88e0-bcd10de83ba1" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GeneralAndAdministrativeExpenseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_4175df8d-4aba-4f4f-a537-e1f4a4e17d9a" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpenseMember_5ddb86dc-4601-4b52-88e0-bcd10de83ba1" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://macrogenics.com/role/StockBasedCompensationOptionPricingAssumptionsDetails" xlink:type="simple" xlink:href="mgnx-20190630.xsd#StockBasedCompensationOptionPricingAssumptionsDetails"/>
  <link:definitionLink xlink:role="http://macrogenics.com/role/StockBasedCompensationOptionPricingAssumptionsDetails" xlink:type="extended" id="if49d05b3cf5e4d1a84cbdd8bba708f74_924be14f-51ed-45ea-8e60-2dfbae8ae41e">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3600adb4-3278-4e8c-98e2-e55fb06602d1" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_a7fcbbb3-8217-46fa-afe4-e7508f0b7380" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3600adb4-3278-4e8c-98e2-e55fb06602d1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_a7fcbbb3-8217-46fa-afe4-e7508f0b7380" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_14f154ab-7688-492b-abbb-be0970345bd9" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3600adb4-3278-4e8c-98e2-e55fb06602d1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_14f154ab-7688-492b-abbb-be0970345bd9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_9bd05fae-684d-43f4-bf14-1f7673d7c80a" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3600adb4-3278-4e8c-98e2-e55fb06602d1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_9bd05fae-684d-43f4-bf14-1f7673d7c80a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_ed863df5-4244-415b-b78c-3eb28a7277c7" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3600adb4-3278-4e8c-98e2-e55fb06602d1" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_ed863df5-4244-415b-b78c-3eb28a7277c7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_081f7dad-d94f-41c9-9c45-de27ee704284" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3600adb4-3278-4e8c-98e2-e55fb06602d1" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_081f7dad-d94f-41c9-9c45-de27ee704284" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_03442abd-0ad0-47fc-9636-037696f50766" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_081f7dad-d94f-41c9-9c45-de27ee704284" xlink:to="loc_srt_RangeAxis_03442abd-0ad0-47fc-9636-037696f50766" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_03442abd-0ad0-47fc-9636-037696f50766_default" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_03442abd-0ad0-47fc-9636-037696f50766" xlink:to="loc_srt_RangeMember_03442abd-0ad0-47fc-9636-037696f50766_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_073abaa3-6bdf-417a-a15c-286bc0faab74" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_03442abd-0ad0-47fc-9636-037696f50766" xlink:to="loc_srt_RangeMember_073abaa3-6bdf-417a-a15c-286bc0faab74" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_97ee296b-1dc8-4e19-be60-bdb2bcc79e9f" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_073abaa3-6bdf-417a-a15c-286bc0faab74" xlink:to="loc_srt_MinimumMember_97ee296b-1dc8-4e19-be60-bdb2bcc79e9f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_d1133348-faac-4a6b-a75c-3ea305c35916" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_073abaa3-6bdf-417a-a15c-286bc0faab74" xlink:to="loc_srt_MaximumMember_d1133348-faac-4a6b-a75c-3ea305c35916" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://macrogenics.com/role/StockBasedCompensationStockOptionActivityDetails" xlink:type="simple" xlink:href="mgnx-20190630.xsd#StockBasedCompensationStockOptionActivityDetails"/>
  <link:definitionLink xlink:role="http://macrogenics.com/role/StockBasedCompensationStockOptionActivityDetails" xlink:type="extended" id="i421baa686ea54adeb23538230f7cd697_5b0105d6-475d-4b16-9cc3-ad3a1da29d0f"/>
  <link:roleRef roleURI="http://macrogenics.com/role/Notes" xlink:type="simple" xlink:href="mgnx-20190630.xsd#Notes"/>
  <link:definitionLink xlink:role="http://macrogenics.com/role/Notes" xlink:type="extended" id="i62ffbc2ef58d44bf9e672f9670ab83c2_19674b17-b362-4dc1-9746-6dd99b0914a1"/>
  <link:roleRef roleURI="http://macrogenics.com/role/SubsequentEventsNarrativeDetails" xlink:type="simple" xlink:href="mgnx-20190630.xsd#SubsequentEventsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://macrogenics.com/role/SubsequentEventsNarrativeDetails" xlink:type="extended" id="idbc8abfad62740c08c2f1848815afceb_9b2903d7-cf7e-4a80-bfd9-ddfa762adafb">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventLineItems_4ddbfb5b-e4bc-4781-b08b-d62011646448" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_NonRefundableUpfrontFees_838b62ee-f18b-4dbd-9958-3306b0c6e072" xlink:href="mgnx-20190630.xsd#mgnx_NonRefundableUpfrontFees"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_4ddbfb5b-e4bc-4781-b08b-d62011646448" xlink:to="loc_mgnx_NonRefundableUpfrontFees_838b62ee-f18b-4dbd-9958-3306b0c6e072" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_PotentialDevelopmentandRegulatoryMilestonePaymentsUnderAgreement_d51d566e-10cf-48a3-b1a4-f33f9af70da7" xlink:href="mgnx-20190630.xsd#mgnx_PotentialDevelopmentandRegulatoryMilestonePaymentsUnderAgreement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_4ddbfb5b-e4bc-4781-b08b-d62011646448" xlink:to="loc_mgnx_PotentialDevelopmentandRegulatoryMilestonePaymentsUnderAgreement_d51d566e-10cf-48a3-b1a4-f33f9af70da7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTable_f400ac50-6214-4c32-9ec9-0ee840b8e31a" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SubsequentEventLineItems_4ddbfb5b-e4bc-4781-b08b-d62011646448" xlink:to="loc_us-gaap_SubsequentEventTable_f400ac50-6214-4c32-9ec9-0ee840b8e31a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_60405a75-df89-49f6-8feb-b996bb8a7643" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_f400ac50-6214-4c32-9ec9-0ee840b8e31a" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_60405a75-df89-49f6-8feb-b996bb8a7643" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_60405a75-df89-49f6-8feb-b996bb8a7643_default" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_60405a75-df89-49f6-8feb-b996bb8a7643" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_60405a75-df89-49f6-8feb-b996bb8a7643_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_04dd1703-399b-4b32-8223-bdd78f16a24d" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_60405a75-df89-49f6-8feb-b996bb8a7643" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_04dd1703-399b-4b32-8223-bdd78f16a24d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventMember_b554d886-c768-46ba-bd13-c0d7b253ee63" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_04dd1703-399b-4b32-8223-bdd78f16a24d" xlink:to="loc_us-gaap_SubsequentEventMember_b554d886-c768-46ba-bd13-c0d7b253ee63" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CounterpartyNameAxis_50db80f7-de78-46d4-88f4-1bb10e1425d7" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_CounterpartyNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_f400ac50-6214-4c32-9ec9-0ee840b8e31a" xlink:to="loc_srt_CounterpartyNameAxis_50db80f7-de78-46d4-88f4-1bb10e1425d7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_50db80f7-de78-46d4-88f4-1bb10e1425d7_default" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CounterpartyNameAxis_50db80f7-de78-46d4-88f4-1bb10e1425d7" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_50db80f7-de78-46d4-88f4-1bb10e1425d7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_e2aa2110-f788-4677-9072-dd2e1a852a1d" xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CounterpartyNameAxis_50db80f7-de78-46d4-88f4-1bb10e1425d7" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_e2aa2110-f788-4677-9072-dd2e1a852a1d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mgnx_IMabBiopharmaMember_9f2546f0-9afb-415d-8ff0-eea2e6d7d064" xlink:href="mgnx-20190630.xsd#mgnx_IMabBiopharmaMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_e2aa2110-f788-4677-9072-dd2e1a852a1d" xlink:to="loc_mgnx_IMabBiopharmaMember_9f2546f0-9afb-415d-8ff0-eea2e6d7d064" xlink:type="arc" order="0"/>
  </link:definitionLink>
</link:linkbase>
