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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2020 Workiva-->
<!--r:f4b9e51f-e82f-44f5-b7bd-57908c3d52f5,g:018de726-b8d3-42ac-8065-a8577d552785-->
<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://www.exagen.com/role/Cover" xlink:type="simple" xlink:href="exdx-20191231.xsd#Cover"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/Cover" xlink:type="extended" id="i4cca81f2f72b44bbb8faea46bd687441_1213dcaf-d428-409a-b7aa-7fdad185799f"/>
  <link:roleRef roleURI="http://www.exagen.com/role/CondensedBalanceSheets" xlink:type="simple" xlink:href="exdx-20191231.xsd#CondensedBalanceSheets"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/CondensedBalanceSheets" xlink:type="extended" id="ic5663d0f8f7b4338932ba6a45412277b_7e0fa552-d5dd-4764-8e84-3d310ea1cd7b"/>
  <link:roleRef roleURI="http://www.exagen.com/role/CondensedBalanceSheetsParenthetical" xlink:type="simple" xlink:href="exdx-20191231.xsd#CondensedBalanceSheetsParenthetical"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/CondensedBalanceSheetsParenthetical" xlink:type="extended" id="i660eacbe9aab44f5a4483588f758527f_53647887-e180-412a-ac49-53cf302dd814">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_4bdbf21b-5ddc-48e5-b2e1-562935e9bed8" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPreferredStockAbstract_cda5024b-36e5-47b2-905c-237523d9f809" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DividendsPreferredStockAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_4bdbf21b-5ddc-48e5-b2e1-562935e9bed8" xlink:to="loc_us-gaap_DividendsPreferredStockAbstract_cda5024b-36e5-47b2-905c-237523d9f809" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityParOrStatedValuePerShare_94d7cfdc-968b-4fce-8c44-8f12c5e0549d" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TemporaryEquityParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPreferredStockAbstract_cda5024b-36e5-47b2-905c-237523d9f809" xlink:to="loc_us-gaap_TemporaryEquityParOrStatedValuePerShare_94d7cfdc-968b-4fce-8c44-8f12c5e0549d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquitySharesAuthorized_2c5fdc6c-32b9-4caf-a15c-4dd8e7d68eae" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TemporaryEquitySharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPreferredStockAbstract_cda5024b-36e5-47b2-905c-237523d9f809" xlink:to="loc_us-gaap_TemporaryEquitySharesAuthorized_2c5fdc6c-32b9-4caf-a15c-4dd8e7d68eae" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquitySharesOutstanding_c01fe1e4-10b3-4f28-b81b-2a2de1a82b63" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TemporaryEquitySharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPreferredStockAbstract_cda5024b-36e5-47b2-905c-237523d9f809" xlink:to="loc_us-gaap_TemporaryEquitySharesOutstanding_c01fe1e4-10b3-4f28-b81b-2a2de1a82b63" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityLiquidationPreference_70d40c91-1bde-4a15-a39e-6cf99f8c0f67" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TemporaryEquityLiquidationPreference"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPreferredStockAbstract_cda5024b-36e5-47b2-905c-237523d9f809" xlink:to="loc_us-gaap_TemporaryEquityLiquidationPreference_70d40c91-1bde-4a15-a39e-6cf99f8c0f67" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquitySharesIssued_e272a58b-1025-4328-ba25-9c3506e8445a" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TemporaryEquitySharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPreferredStockAbstract_cda5024b-36e5-47b2-905c-237523d9f809" xlink:to="loc_us-gaap_TemporaryEquitySharesIssued_e272a58b-1025-4328-ba25-9c3506e8445a" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract_40f7198d-29aa-4b00-aef3-43bfdca1340e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_4bdbf21b-5ddc-48e5-b2e1-562935e9bed8" xlink:to="loc_us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract_40f7198d-29aa-4b00-aef3-43bfdca1340e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockParOrStatedValuePerShare_2b0192bd-9b54-4c2e-a478-e5ecc95f99f6" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PreferredStockParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract_40f7198d-29aa-4b00-aef3-43bfdca1340e" xlink:to="loc_us-gaap_PreferredStockParOrStatedValuePerShare_2b0192bd-9b54-4c2e-a478-e5ecc95f99f6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesAuthorized_b6801368-bfad-4495-80e2-effc443d56ae" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PreferredStockSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract_40f7198d-29aa-4b00-aef3-43bfdca1340e" xlink:to="loc_us-gaap_PreferredStockSharesAuthorized_b6801368-bfad-4495-80e2-effc443d56ae" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesIssued_e19510cb-c3c2-436e-bb7d-be7c0cbdf37c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PreferredStockSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract_40f7198d-29aa-4b00-aef3-43bfdca1340e" xlink:to="loc_us-gaap_PreferredStockSharesIssued_e19510cb-c3c2-436e-bb7d-be7c0cbdf37c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesOutstanding_7a5fae05-4778-4ad2-a1aa-1a8eb6d89991" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PreferredStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract_40f7198d-29aa-4b00-aef3-43bfdca1340e" xlink:to="loc_us-gaap_PreferredStockSharesOutstanding_7a5fae05-4778-4ad2-a1aa-1a8eb6d89991" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract_23725754-1389-4491-8a40-4f6a93ecd9c4" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_4bdbf21b-5ddc-48e5-b2e1-562935e9bed8" xlink:to="loc_us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract_23725754-1389-4491-8a40-4f6a93ecd9c4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_00a567a9-344a-4dd9-958a-32d0d8afae8f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract_23725754-1389-4491-8a40-4f6a93ecd9c4" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_00a567a9-344a-4dd9-958a-32d0d8afae8f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_e22df51f-bb80-4d73-8f67-89412b5aabee" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract_23725754-1389-4491-8a40-4f6a93ecd9c4" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_e22df51f-bb80-4d73-8f67-89412b5aabee" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesIssued_4c4b39e1-f32b-416e-915b-979598962b51" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract_23725754-1389-4491-8a40-4f6a93ecd9c4" xlink:to="loc_us-gaap_CommonStockSharesIssued_4c4b39e1-f32b-416e-915b-979598962b51" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_c4e2182d-1659-4db5-940b-4811f374fcc2" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract_23725754-1389-4491-8a40-4f6a93ecd9c4" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_c4e2182d-1659-4db5-940b-4811f374fcc2" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_02671875-ed03-4aa1-a0f8-1280b3c0879e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_4bdbf21b-5ddc-48e5-b2e1-562935e9bed8" xlink:to="loc_us-gaap_StatementTable_02671875-ed03-4aa1-a0f8-1280b3c0879e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_bfe223d3-b54a-4fa9-a34b-671837c79164" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_02671875-ed03-4aa1-a0f8-1280b3c0879e" xlink:to="loc_us-gaap_StatementClassOfStockAxis_bfe223d3-b54a-4fa9-a34b-671837c79164" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_bfe223d3-b54a-4fa9-a34b-671837c79164_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_bfe223d3-b54a-4fa9-a34b-671837c79164" xlink:to="loc_us-gaap_ClassOfStockDomain_bfe223d3-b54a-4fa9-a34b-671837c79164_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_082fb313-700e-4f96-93b9-22a239400fce" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_bfe223d3-b54a-4fa9-a34b-671837c79164" xlink:to="loc_us-gaap_ClassOfStockDomain_082fb313-700e-4f96-93b9-22a239400fce" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RedeemableConvertiblePreferredStockMember_eb07f944-c27f-4ca8-838b-a7c1cb84cfa9" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RedeemableConvertiblePreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_082fb313-700e-4f96-93b9-22a239400fce" xlink:to="loc_us-gaap_RedeemableConvertiblePreferredStockMember_eb07f944-c27f-4ca8-838b-a7c1cb84cfa9" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/UnauditedCondensedStatementsofOperations" xlink:type="simple" xlink:href="exdx-20191231.xsd#UnauditedCondensedStatementsofOperations"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/UnauditedCondensedStatementsofOperations" xlink:type="extended" id="icb783df8c1b345e3b378152989f37ed1_a56787e7-5c64-4046-b6b0-8e20c5a99fc8"/>
  <link:roleRef roleURI="http://www.exagen.com/role/UnauditedCondensedStatementsofRedeemableConvertiblePreferredStockandStockholdersEquity" xlink:type="simple" xlink:href="exdx-20191231.xsd#UnauditedCondensedStatementsofRedeemableConvertiblePreferredStockandStockholdersEquity"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/UnauditedCondensedStatementsofRedeemableConvertiblePreferredStockandStockholdersEquity" xlink:type="extended" id="i367301dd13164f02b44d18c252c8bf31_fedd7075-7576-43ab-8ec4-33f41951621f">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_74175862-4d5f-477e-9be5-948bc528833f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_ee103a6e-7307-4631-b4f0-3f195885b3fa" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInTemporaryEquityRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_74175862-4d5f-477e-9be5-948bc528833f" xlink:to="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_ee103a6e-7307-4631-b4f0-3f195885b3fa" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquitySharesOutstanding_c3c3dd59-77c3-4c6b-b8fc-9eb0707d0b2a" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TemporaryEquitySharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_ee103a6e-7307-4631-b4f0-3f195885b3fa" xlink:to="loc_us-gaap_TemporaryEquitySharesOutstanding_c3c3dd59-77c3-4c6b-b8fc-9eb0707d0b2a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityCarryingAmountAttributableToParent_0aa3c8f8-6319-43db-aa9b-499a41b30b0e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TemporaryEquityCarryingAmountAttributableToParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_ee103a6e-7307-4631-b4f0-3f195885b3fa" xlink:to="loc_us-gaap_TemporaryEquityCarryingAmountAttributableToParent_0aa3c8f8-6319-43db-aa9b-499a41b30b0e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityAccretionToRedemptionValue_d1717073-35dc-44a9-baca-48964eca5c88" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TemporaryEquityAccretionToRedemptionValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_ee103a6e-7307-4631-b4f0-3f195885b3fa" xlink:to="loc_us-gaap_TemporaryEquityAccretionToRedemptionValue_d1717073-35dc-44a9-baca-48964eca5c88" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_TemporaryEquityIssuedDuringThePeriodSharesRedeemableConvertiblePreferredStock_08790a4a-6ad4-4bd3-ba02-5083de414721" xlink:href="exdx-20191231.xsd#exdx_TemporaryEquityIssuedDuringThePeriodSharesRedeemableConvertiblePreferredStock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_ee103a6e-7307-4631-b4f0-3f195885b3fa" xlink:to="loc_exdx_TemporaryEquityIssuedDuringThePeriodSharesRedeemableConvertiblePreferredStock_08790a4a-6ad4-4bd3-ba02-5083de414721" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_TemporaryEquityIssuedDuringThePeriodValueRedeemableConvertiblePreferredStock_7817e275-5a30-4d80-b5b0-96b596f50965" xlink:href="exdx-20191231.xsd#exdx_TemporaryEquityIssuedDuringThePeriodValueRedeemableConvertiblePreferredStock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_ee103a6e-7307-4631-b4f0-3f195885b3fa" xlink:to="loc_exdx_TemporaryEquityIssuedDuringThePeriodValueRedeemableConvertiblePreferredStock_7817e275-5a30-4d80-b5b0-96b596f50965" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_TemporaryEquityDeemedDividendsWithBeneficialConversionFeature_d700afb8-28cd-40e2-9de1-9fe61d52cd1b" xlink:href="exdx-20191231.xsd#exdx_TemporaryEquityDeemedDividendsWithBeneficialConversionFeature"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_ee103a6e-7307-4631-b4f0-3f195885b3fa" xlink:to="loc_exdx_TemporaryEquityDeemedDividendsWithBeneficialConversionFeature_d700afb8-28cd-40e2-9de1-9fe61d52cd1b" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_TemporaryEquityDeemedDividendSharesIssued_6f2dc32e-70d2-49ad-97b5-cf0149f2fd4d" xlink:href="exdx-20191231.xsd#exdx_TemporaryEquityDeemedDividendSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_ee103a6e-7307-4631-b4f0-3f195885b3fa" xlink:to="loc_exdx_TemporaryEquityDeemedDividendSharesIssued_6f2dc32e-70d2-49ad-97b5-cf0149f2fd4d" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_TemporaryEquityDeemedDividend_53be2170-94c5-464d-b637-23322549e78c" xlink:href="exdx-20191231.xsd#exdx_TemporaryEquityDeemedDividend"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_ee103a6e-7307-4631-b4f0-3f195885b3fa" xlink:to="loc_exdx_TemporaryEquityDeemedDividend_53be2170-94c5-464d-b637-23322549e78c" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_TemporaryEquitySharesRedeemedUponConversion_b63cd913-6b11-4d8c-bbe3-659a60ba396d" xlink:href="exdx-20191231.xsd#exdx_TemporaryEquitySharesRedeemedUponConversion"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_ee103a6e-7307-4631-b4f0-3f195885b3fa" xlink:to="loc_exdx_TemporaryEquitySharesRedeemedUponConversion_b63cd913-6b11-4d8c-bbe3-659a60ba396d" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_TemporaryEquitySharesRedeemedUponConversionAmount_e535e4f8-94aa-4b71-8094-7746f41b8f47" xlink:href="exdx-20191231.xsd#exdx_TemporaryEquitySharesRedeemedUponConversionAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_ee103a6e-7307-4631-b4f0-3f195885b3fa" xlink:to="loc_exdx_TemporaryEquitySharesRedeemedUponConversionAmount_e535e4f8-94aa-4b71-8094-7746f41b8f47" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquitySharesOutstanding_f922d517-8660-4a3f-966a-7a7e391b185b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TemporaryEquitySharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityCarryingAmountAttributableToParent_a3746bc6-4b2c-4fdf-a9ef-63261a03f609" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TemporaryEquityCarryingAmountAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c2255e5c-6387-435c-b45e-5b9f2b10de44" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_74175862-4d5f-477e-9be5-948bc528833f" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c2255e5c-6387-435c-b45e-5b9f2b10de44" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_09ece33e-c8b2-44f8-a1a8-71d2b5cc8861" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c2255e5c-6387-435c-b45e-5b9f2b10de44" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_09ece33e-c8b2-44f8-a1a8-71d2b5cc8861" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_b8773643-47db-43cc-b3e2-18ed192d4227" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c2255e5c-6387-435c-b45e-5b9f2b10de44" xlink:to="loc_us-gaap_StockholdersEquity_b8773643-47db-43cc-b3e2-18ed192d4227" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_c208baf9-92a9-4fda-af9f-b777e61b0a42" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c2255e5c-6387-435c-b45e-5b9f2b10de44" xlink:to="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_c208baf9-92a9-4fda-af9f-b777e61b0a42" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_AdjustmentsToAdditionalPaidInCapitalTemporaryEquityAccretionToRedemptionValue_e4c63473-366f-4121-a298-1aef52e40472" xlink:href="exdx-20191231.xsd#exdx_AdjustmentsToAdditionalPaidInCapitalTemporaryEquityAccretionToRedemptionValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c2255e5c-6387-435c-b45e-5b9f2b10de44" xlink:to="loc_exdx_AdjustmentsToAdditionalPaidInCapitalTemporaryEquityAccretionToRedemptionValue_e4c63473-366f-4121-a298-1aef52e40472" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_2d48cd15-f2a5-4813-ad00-7ae7ca30ac21" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c2255e5c-6387-435c-b45e-5b9f2b10de44" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_2d48cd15-f2a5-4813-ad00-7ae7ca30ac21" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_5a011f30-c79d-4714-a724-eb287ea8c407" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c2255e5c-6387-435c-b45e-5b9f2b10de44" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_5a011f30-c79d-4714-a724-eb287ea8c407" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_7e8338cd-921c-4f37-b704-c6ce2d977659" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c2255e5c-6387-435c-b45e-5b9f2b10de44" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_7e8338cd-921c-4f37-b704-c6ce2d977659" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_AdjustmentsToAdditionalPaidInCapitalIssuanceOfTemporaryEquity_441b3d32-301d-4e25-b3df-5f095ebcc863" xlink:href="exdx-20191231.xsd#exdx_AdjustmentsToAdditionalPaidInCapitalIssuanceOfTemporaryEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c2255e5c-6387-435c-b45e-5b9f2b10de44" xlink:to="loc_exdx_AdjustmentsToAdditionalPaidInCapitalIssuanceOfTemporaryEquity_441b3d32-301d-4e25-b3df-5f095ebcc863" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_AdjustmentsToAdditionalPaidInCapitalTemporaryEquityWithBeneficialConversionFeature_14524c65-3f70-4c1e-8c08-e01722b951db" xlink:href="exdx-20191231.xsd#exdx_AdjustmentsToAdditionalPaidInCapitalTemporaryEquityWithBeneficialConversionFeature"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c2255e5c-6387-435c-b45e-5b9f2b10de44" xlink:to="loc_exdx_AdjustmentsToAdditionalPaidInCapitalTemporaryEquityWithBeneficialConversionFeature_14524c65-3f70-4c1e-8c08-e01722b951db" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_AdjustmentsToAdditionalPaidInCapitalTemporaryEquityDeemedDividends_0127ade2-155a-429c-85fb-9483518b001d" xlink:href="exdx-20191231.xsd#exdx_AdjustmentsToAdditionalPaidInCapitalTemporaryEquityDeemedDividends"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c2255e5c-6387-435c-b45e-5b9f2b10de44" xlink:to="loc_exdx_AdjustmentsToAdditionalPaidInCapitalTemporaryEquityDeemedDividends_0127ade2-155a-429c-85fb-9483518b001d" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_a1be6e5a-7034-4214-bc6b-9a9ba642ec91" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c2255e5c-6387-435c-b45e-5b9f2b10de44" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_a1be6e5a-7034-4214-bc6b-9a9ba642ec91" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities_75b78431-520a-49bf-88b6-069a7299f45b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c2255e5c-6387-435c-b45e-5b9f2b10de44" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities_75b78431-520a-49bf-88b6-069a7299f45b" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_c06aa868-2767-4419-b5a0-6facefba1de6" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesNewIssues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c2255e5c-6387-435c-b45e-5b9f2b10de44" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_c06aa868-2767-4419-b5a0-6facefba1de6" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_d81c30ad-aa2b-4d9e-a991-4758485e164e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueNewIssues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c2255e5c-6387-435c-b45e-5b9f2b10de44" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_d81c30ad-aa2b-4d9e-a991-4758485e164e" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_StockIssuedDuringPeriodSharesWarrantsExercisedNet_f6f943d5-3919-4390-9adc-fa37684c92ed" xlink:href="exdx-20191231.xsd#exdx_StockIssuedDuringPeriodSharesWarrantsExercisedNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c2255e5c-6387-435c-b45e-5b9f2b10de44" xlink:to="loc_exdx_StockIssuedDuringPeriodSharesWarrantsExercisedNet_f6f943d5-3919-4390-9adc-fa37684c92ed" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_StockIssuedDuringPeriodValueWarrantsExercisedNet_1f331428-e7af-45c6-b2c2-4468ad232b06" xlink:href="exdx-20191231.xsd#exdx_StockIssuedDuringPeriodValueWarrantsExercisedNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c2255e5c-6387-435c-b45e-5b9f2b10de44" xlink:to="loc_exdx_StockIssuedDuringPeriodValueWarrantsExercisedNet_1f331428-e7af-45c6-b2c2-4468ad232b06" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_AdjustmentsToAdditionalPaidInCapitalReclassificationOfPreferredStockWarrantLiability_c2f758bb-2297-48eb-8705-d2f59e816326" xlink:href="exdx-20191231.xsd#exdx_AdjustmentsToAdditionalPaidInCapitalReclassificationOfPreferredStockWarrantLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c2255e5c-6387-435c-b45e-5b9f2b10de44" xlink:to="loc_exdx_AdjustmentsToAdditionalPaidInCapitalReclassificationOfPreferredStockWarrantLiability_c2f758bb-2297-48eb-8705-d2f59e816326" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_e91ec0bc-a03e-463c-a4eb-5c5c75eeaf0c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c2255e5c-6387-435c-b45e-5b9f2b10de44" xlink:to="loc_us-gaap_NetIncomeLoss_e91ec0bc-a03e-463c-a4eb-5c5c75eeaf0c" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_5eb7266e-7c81-447b-a09f-ca1b8c48bab3" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_06303c78-de75-48e6-a939-ec037c55ebcc" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_8e6c81c9-a956-4c31-a8e4-a215791bf686" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_74175862-4d5f-477e-9be5-948bc528833f" xlink:to="loc_us-gaap_StatementTable_8e6c81c9-a956-4c31-a8e4-a215791bf686" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_1406f8af-4668-4dbc-a296-c9c1ca5ba250" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_8e6c81c9-a956-4c31-a8e4-a215791bf686" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_1406f8af-4668-4dbc-a296-c9c1ca5ba250" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_1406f8af-4668-4dbc-a296-c9c1ca5ba250_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_1406f8af-4668-4dbc-a296-c9c1ca5ba250" xlink:to="loc_us-gaap_EquityComponentDomain_1406f8af-4668-4dbc-a296-c9c1ca5ba250_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_a58c3e64-2d94-4997-a32f-6468bc24dba6" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_1406f8af-4668-4dbc-a296-c9c1ca5ba250" xlink:to="loc_us-gaap_EquityComponentDomain_a58c3e64-2d94-4997-a32f-6468bc24dba6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_12240a7d-5c9f-421f-8f4b-6abefd88adfe" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_a58c3e64-2d94-4997-a32f-6468bc24dba6" xlink:to="loc_us-gaap_CommonStockMember_12240a7d-5c9f-421f-8f4b-6abefd88adfe" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_30ee3324-6f23-42ec-b1da-1ccc74d0f672" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_a58c3e64-2d94-4997-a32f-6468bc24dba6" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_30ee3324-6f23-42ec-b1da-1ccc74d0f672" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_8b4df34e-ef63-4358-ba0a-f6d801b2d884" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_a58c3e64-2d94-4997-a32f-6468bc24dba6" xlink:to="loc_us-gaap_RetainedEarningsMember_8b4df34e-ef63-4358-ba0a-f6d801b2d884" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_0a77bf75-6972-4a32-a2bf-04066ea8e951" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_8e6c81c9-a956-4c31-a8e4-a215791bf686" xlink:to="loc_us-gaap_StatementClassOfStockAxis_0a77bf75-6972-4a32-a2bf-04066ea8e951" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_0a77bf75-6972-4a32-a2bf-04066ea8e951_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_0a77bf75-6972-4a32-a2bf-04066ea8e951" xlink:to="loc_us-gaap_ClassOfStockDomain_0a77bf75-6972-4a32-a2bf-04066ea8e951_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_936257b4-f85f-45fb-ae7c-e2e67cc34a78" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_0a77bf75-6972-4a32-a2bf-04066ea8e951" xlink:to="loc_us-gaap_ClassOfStockDomain_936257b4-f85f-45fb-ae7c-e2e67cc34a78" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesFPreferredStockMember_3fdb3a1a-0016-458d-84f5-261c32ce0b33" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SeriesFPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_936257b4-f85f-45fb-ae7c-e2e67cc34a78" xlink:to="loc_us-gaap_SeriesFPreferredStockMember_3fdb3a1a-0016-458d-84f5-261c32ce0b33" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesGPreferredStockMember_0c3576ce-1914-4e6f-b1a7-bc34948661b7" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SeriesGPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_936257b4-f85f-45fb-ae7c-e2e67cc34a78" xlink:to="loc_us-gaap_SeriesGPreferredStockMember_0c3576ce-1914-4e6f-b1a7-bc34948661b7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesHPreferredStockMember_f9653abd-3169-4b8a-b5b0-9520bec4a5d3" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SeriesHPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_936257b4-f85f-45fb-ae7c-e2e67cc34a78" xlink:to="loc_us-gaap_SeriesHPreferredStockMember_f9653abd-3169-4b8a-b5b0-9520bec4a5d3" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/UnauditedCondensedStatementsofRedeemableConvertiblePreferredStockandStockholdersEquityDeficitParenthetical" xlink:type="simple" xlink:href="exdx-20191231.xsd#UnauditedCondensedStatementsofRedeemableConvertiblePreferredStockandStockholdersEquityDeficitParenthetical"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/UnauditedCondensedStatementsofRedeemableConvertiblePreferredStockandStockholdersEquityDeficitParenthetical" xlink:type="extended" id="i8af494977dc6491783311551b06aeb34_e2c18f06-710b-4454-8958-d4fd7139668a">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_0874641c-ea55-4531-89bc-ce29a4acfa03" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_SaleOfTemporaryEquityPricePerShare_a6c92863-2362-4928-9655-09165aa79997" xlink:href="exdx-20191231.xsd#exdx_SaleOfTemporaryEquityPricePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_0874641c-ea55-4531-89bc-ce29a4acfa03" xlink:to="loc_exdx_SaleOfTemporaryEquityPricePerShare_a6c92863-2362-4928-9655-09165aa79997" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_TemporaryEquityIssuanceCosts_47888264-e483-42c9-9eba-a2927fbe8a5a" xlink:href="exdx-20191231.xsd#exdx_TemporaryEquityIssuanceCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_0874641c-ea55-4531-89bc-ce29a4acfa03" xlink:to="loc_exdx_TemporaryEquityIssuanceCosts_47888264-e483-42c9-9eba-a2927fbe8a5a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_b0c63b6f-0269-460d-bb55-fa6245878674" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_0874641c-ea55-4531-89bc-ce29a4acfa03" xlink:to="loc_us-gaap_StatementTable_b0c63b6f-0269-460d-bb55-fa6245878674" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_cc5e22cc-7aa2-4259-b8e7-2825ca6bfcbe" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_b0c63b6f-0269-460d-bb55-fa6245878674" xlink:to="loc_us-gaap_StatementClassOfStockAxis_cc5e22cc-7aa2-4259-b8e7-2825ca6bfcbe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_cc5e22cc-7aa2-4259-b8e7-2825ca6bfcbe_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_cc5e22cc-7aa2-4259-b8e7-2825ca6bfcbe" xlink:to="loc_us-gaap_ClassOfStockDomain_cc5e22cc-7aa2-4259-b8e7-2825ca6bfcbe_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_2d6ebce2-0fd5-454e-a2f9-6ea9b937797a" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_cc5e22cc-7aa2-4259-b8e7-2825ca6bfcbe" xlink:to="loc_us-gaap_ClassOfStockDomain_2d6ebce2-0fd5-454e-a2f9-6ea9b937797a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesFPreferredStockMember_6cdb8d05-93ec-4742-81f9-05c61053df09" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SeriesFPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_2d6ebce2-0fd5-454e-a2f9-6ea9b937797a" xlink:to="loc_us-gaap_SeriesFPreferredStockMember_6cdb8d05-93ec-4742-81f9-05c61053df09" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesGPreferredStockMember_1efeac64-2e91-4e30-a964-a9eacdfa42fc" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SeriesGPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_2d6ebce2-0fd5-454e-a2f9-6ea9b937797a" xlink:to="loc_us-gaap_SeriesGPreferredStockMember_1efeac64-2e91-4e30-a964-a9eacdfa42fc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesHPreferredStockMember_b1bb8bf5-b0d4-478a-9329-2b0fbd55f2b6" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SeriesHPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_2d6ebce2-0fd5-454e-a2f9-6ea9b937797a" xlink:to="loc_us-gaap_SeriesHPreferredStockMember_b1bb8bf5-b0d4-478a-9329-2b0fbd55f2b6" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/StatementsofCashFlows" xlink:type="simple" xlink:href="exdx-20191231.xsd#StatementsofCashFlows"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/StatementsofCashFlows" xlink:type="extended" id="id17923b0c3a24b09a7b13521c5234359_eeb03502-7e1d-43a0-bf8e-587ac2e3d5cc">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_60d444bd-9fd4-4b08-988c-51b7acf7f2c2" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract_1036cbb5-6cc6-4788-bce5-1c5a3c6463d5" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_60d444bd-9fd4-4b08-988c-51b7acf7f2c2" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract_1036cbb5-6cc6-4788-bce5-1c5a3c6463d5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_942ff00f-fcf2-4a0a-bd05-4de1e9c9734b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract_1036cbb5-6cc6-4788-bce5-1c5a3c6463d5" xlink:to="loc_us-gaap_NetIncomeLoss_942ff00f-fcf2-4a0a-bd05-4de1e9c9734b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_d4ef1f03-dd47-4a08-8dfa-656eb3f2ec3e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract_1036cbb5-6cc6-4788-bce5-1c5a3c6463d5" xlink:to="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_d4ef1f03-dd47-4a08-8dfa-656eb3f2ec3e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSoldDepreciationAndAmortization_fdb59294-c7cb-4f88-8f80-58556f178c95" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CostOfGoodsAndServicesSoldDepreciationAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_d4ef1f03-dd47-4a08-8dfa-656eb3f2ec3e" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSoldDepreciationAndAmortization_fdb59294-c7cb-4f88-8f80-58556f178c95" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_18baf792-76e3-41bc-858c-5e1d9937e0c5" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AmortizationOfFinancingCostsAndDiscounts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_d4ef1f03-dd47-4a08-8dfa-656eb3f2ec3e" xlink:to="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_18baf792-76e3-41bc-858c-5e1d9937e0c5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaidInKindInterest_fadad62f-d1c6-4082-97ad-427ee4dde9a4" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaidInKindInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_d4ef1f03-dd47-4a08-8dfa-656eb3f2ec3e" xlink:to="loc_us-gaap_PaidInKindInterest_fadad62f-d1c6-4082-97ad-427ee4dde9a4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAdjustmentOfWarrants_19d72fa2-c55d-42fc-adca-6324d6731077" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueAdjustmentOfWarrants"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_d4ef1f03-dd47-4a08-8dfa-656eb3f2ec3e" xlink:to="loc_us-gaap_FairValueAdjustmentOfWarrants_19d72fa2-c55d-42fc-adca-6324d6731077" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_c240a455-911a-436b-bd69-e913d350a43e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredIncomeTaxesAndTaxCredits"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_d4ef1f03-dd47-4a08-8dfa-656eb3f2ec3e" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_c240a455-911a-436b-bd69-e913d350a43e" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnDispositionOfAssets1_323d981c-5ce4-4a83-90db-61e3a4d86a67" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_GainLossOnDispositionOfAssets1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_d4ef1f03-dd47-4a08-8dfa-656eb3f2ec3e" xlink:to="loc_us-gaap_GainLossOnDispositionOfAssets1_323d981c-5ce4-4a83-90db-61e3a4d86a67" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_d600342d-d2d1-4ee5-ac8b-2242ab8c8961" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_d4ef1f03-dd47-4a08-8dfa-656eb3f2ec3e" xlink:to="loc_us-gaap_ShareBasedCompensation_d600342d-d2d1-4ee5-ac8b-2242ab8c8961" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_ad6a2634-b0a7-4255-8e9e-9c1f07153721" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInOperatingCapitalAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_d4ef1f03-dd47-4a08-8dfa-656eb3f2ec3e" xlink:to="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_ad6a2634-b0a7-4255-8e9e-9c1f07153721" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_bc9441e6-1407-4021-ac06-8baa69b78f33" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_ad6a2634-b0a7-4255-8e9e-9c1f07153721" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_bc9441e6-1407-4021-ac06-8baa69b78f33" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_IncreaseDecreaseInPrepaidExpenseAndCurrentOtherAssets_7c73b24d-2b45-4a0b-b114-a6849f6d6b31" xlink:href="exdx-20191231.xsd#exdx_IncreaseDecreaseInPrepaidExpenseAndCurrentOtherAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_ad6a2634-b0a7-4255-8e9e-9c1f07153721" xlink:to="loc_exdx_IncreaseDecreaseInPrepaidExpenseAndCurrentOtherAssets_7c73b24d-2b45-4a0b-b114-a6849f6d6b31" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_277f13c3-61d1-4378-8610-b5a8afc86419" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_ad6a2634-b0a7-4255-8e9e-9c1f07153721" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_277f13c3-61d1-4378-8610-b5a8afc86419" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_be775b29-f23f-43a8-9f48-8add64b4e7b1" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_ad6a2634-b0a7-4255-8e9e-9c1f07153721" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_be775b29-f23f-43a8-9f48-8add64b4e7b1" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_cd238826-0129-4745-b0f7-8939e9875035" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_ad6a2634-b0a7-4255-8e9e-9c1f07153721" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_cd238826-0129-4745-b0f7-8939e9875035" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_3bb85c90-47d4-4add-b068-888b0d2df61d" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract_1036cbb5-6cc6-4788-bce5-1c5a3c6463d5" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_3bb85c90-47d4-4add-b068-888b0d2df61d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract_f222044c-1831-41b2-b899-f7b78b06ba18" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_60d444bd-9fd4-4b08-988c-51b7acf7f2c2" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract_f222044c-1831-41b2-b899-f7b78b06ba18" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_38ff3c09-0e65-4dda-8597-68269efaeb15" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract_f222044c-1831-41b2-b899-f7b78b06ba18" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_38ff3c09-0e65-4dda-8597-68269efaeb15" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_77bc94d0-a2f2-4212-a440-83072bd704e4" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract_f222044c-1831-41b2-b899-f7b78b06ba18" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_77bc94d0-a2f2-4212-a440-83072bd704e4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireMarketableSecurities_658d9ca2-f35d-4471-8087-0fff90ca46e4" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsToAcquireMarketableSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract_f222044c-1831-41b2-b899-f7b78b06ba18" xlink:to="loc_us-gaap_PaymentsToAcquireMarketableSecurities_658d9ca2-f35d-4471-8087-0fff90ca46e4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities_2a4ae57d-9c52-4268-bc78-8324ec2ac465" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract_f222044c-1831-41b2-b899-f7b78b06ba18" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities_2a4ae57d-9c52-4268-bc78-8324ec2ac465" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_6b0f8463-a0f3-428b-b41d-73a11fded7c2" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract_f222044c-1831-41b2-b899-f7b78b06ba18" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_6b0f8463-a0f3-428b-b41d-73a11fded7c2" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract_5bd018aa-3a28-47d8-9091-24d2149d0461" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_60d444bd-9fd4-4b08-988c-51b7acf7f2c2" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract_5bd018aa-3a28-47d8-9091-24d2149d0461" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_6bf1d22b-0a8c-43b6-8383-51d307ed6cf1" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromStockOptionsExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract_5bd018aa-3a28-47d8-9091-24d2149d0461" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_6bf1d22b-0a8c-43b6-8383-51d307ed6cf1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermCapitalLeaseObligations_7eeee770-ec48-4b07-8ab6-a0ce02fa56c1" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RepaymentsOfLongTermCapitalLeaseObligations"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract_5bd018aa-3a28-47d8-9091-24d2149d0461" xlink:to="loc_us-gaap_RepaymentsOfLongTermCapitalLeaseObligations_7eeee770-ec48-4b07-8ab6-a0ce02fa56c1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_527905e9-8118-4153-85d2-7ddf63f2b7e7" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract_5bd018aa-3a28-47d8-9091-24d2149d0461" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_527905e9-8118-4153-85d2-7ddf63f2b7e7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceInitialPublicOffering_ab628c7d-0801-4721-bd54-1132ea4b9a2e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromIssuanceInitialPublicOffering"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract_5bd018aa-3a28-47d8-9091-24d2149d0461" xlink:to="loc_us-gaap_ProceedsFromIssuanceInitialPublicOffering_ab628c7d-0801-4721-bd54-1132ea4b9a2e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_ProceedsFromIssuanceOrSaleOfTemporaryEquity_30cd42be-9522-4fc8-90a6-9270ccd7fd5b" xlink:href="exdx-20191231.xsd#exdx_ProceedsFromIssuanceOrSaleOfTemporaryEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract_5bd018aa-3a28-47d8-9091-24d2149d0461" xlink:to="loc_exdx_ProceedsFromIssuanceOrSaleOfTemporaryEquity_30cd42be-9522-4fc8-90a6-9270ccd7fd5b" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_3ef79ad1-7071-4551-87ab-49c452db773a" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract_5bd018aa-3a28-47d8-9091-24d2149d0461" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_3ef79ad1-7071-4551-87ab-49c452db773a" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_50129ab9-9b38-4323-8f30-f8a22121ed81" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_60d444bd-9fd4-4b08-988c-51b7acf7f2c2" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_50129ab9-9b38-4323-8f30-f8a22121ed81" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_9fe486fc-f3cb-4157-b835-8e77870a5214" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_60d444bd-9fd4-4b08-988c-51b7acf7f2c2" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_9fe486fc-f3cb-4157-b835-8e77870a5214" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_23413e5c-5065-485c-b5ea-86f2b66d4d87" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SupplementalCashFlowInformationAbstract_6e175d92-c8db-4cae-922e-a3399784fc2d" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SupplementalCashFlowInformationAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_60d444bd-9fd4-4b08-988c-51b7acf7f2c2" xlink:to="loc_us-gaap_SupplementalCashFlowInformationAbstract_6e175d92-c8db-4cae-922e-a3399784fc2d" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPaidNet_14d1bdcc-2d87-4324-ad88-774aee0708ea" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InterestPaidNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SupplementalCashFlowInformationAbstract_6e175d92-c8db-4cae-922e-a3399784fc2d" xlink:to="loc_us-gaap_InterestPaidNet_14d1bdcc-2d87-4324-ad88-774aee0708ea" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SupplementalCashFlowElementsAbstract_6698c062-8a01-4204-b9fe-120fe3a76bab" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SupplementalCashFlowElementsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_60d444bd-9fd4-4b08-988c-51b7acf7f2c2" xlink:to="loc_us-gaap_SupplementalCashFlowElementsAbstract_6698c062-8a01-4204-b9fe-120fe3a76bab" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityAccretionToRedemptionValue_76ef8f36-446a-4ec6-8d43-39e9b7f1e7f8" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TemporaryEquityAccretionToRedemptionValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SupplementalCashFlowElementsAbstract_6698c062-8a01-4204-b9fe-120fe3a76bab" xlink:to="loc_us-gaap_TemporaryEquityAccretionToRedemptionValue_76ef8f36-446a-4ec6-8d43-39e9b7f1e7f8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_EquipmentPurchasedUnderCapitalLease_4e3bb0bd-82bc-45f6-a21b-09e6b3408ab2" xlink:href="exdx-20191231.xsd#exdx_EquipmentPurchasedUnderCapitalLease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SupplementalCashFlowElementsAbstract_6698c062-8a01-4204-b9fe-120fe3a76bab" xlink:to="loc_exdx_EquipmentPurchasedUnderCapitalLease_4e3bb0bd-82bc-45f6-a21b-09e6b3408ab2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_FairValueOfWarrantLiabilitiesRecordedAsDiscountOnDebt_8df03c1c-dc9a-4907-99dd-9f2b7cc2bea6" xlink:href="exdx-20191231.xsd#exdx_FairValueOfWarrantLiabilitiesRecordedAsDiscountOnDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SupplementalCashFlowElementsAbstract_6698c062-8a01-4204-b9fe-120fe3a76bab" xlink:to="loc_exdx_FairValueOfWarrantLiabilitiesRecordedAsDiscountOnDebt_8df03c1c-dc9a-4907-99dd-9f2b7cc2bea6" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalExpendituresIncurredButNotYetPaid_f115ed33-613f-42df-bd89-9a09aa7b6800" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CapitalExpendituresIncurredButNotYetPaid"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SupplementalCashFlowElementsAbstract_6698c062-8a01-4204-b9fe-120fe3a76bab" xlink:to="loc_us-gaap_CapitalExpendituresIncurredButNotYetPaid_f115ed33-613f-42df-bd89-9a09aa7b6800" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConversionOfStockAmountConverted1_7751a1aa-a3cf-4ece-a165-9d598d5edd89" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConversionOfStockAmountConverted1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SupplementalCashFlowElementsAbstract_6698c062-8a01-4204-b9fe-120fe3a76bab" xlink:to="loc_us-gaap_ConversionOfStockAmountConverted1_7751a1aa-a3cf-4ece-a165-9d598d5edd89" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_NoncashExerciseOfStockPurchaseWarrants_8c278306-4db1-4834-8eca-caade6a8282e" xlink:href="exdx-20191231.xsd#exdx_NoncashExerciseOfStockPurchaseWarrants"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SupplementalCashFlowElementsAbstract_6698c062-8a01-4204-b9fe-120fe3a76bab" xlink:to="loc_exdx_NoncashExerciseOfStockPurchaseWarrants_8c278306-4db1-4834-8eca-caade6a8282e" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_DeferredOfferingCostsIncludedWithinCurrentLiabilities_efc33d83-49c1-4cae-b8b3-549bf8b276ed" xlink:href="exdx-20191231.xsd#exdx_DeferredOfferingCostsIncludedWithinCurrentLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SupplementalCashFlowElementsAbstract_6698c062-8a01-4204-b9fe-120fe3a76bab" xlink:to="loc_exdx_DeferredOfferingCostsIncludedWithinCurrentLiabilities_efc33d83-49c1-4cae-b8b3-549bf8b276ed" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_ReclassificationOfTemporaryEquityAndLiabilitiesToPermanentEquity_841b3a76-285b-4b87-adcc-4bf82f18ec96" xlink:href="exdx-20191231.xsd#exdx_ReclassificationOfTemporaryEquityAndLiabilitiesToPermanentEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SupplementalCashFlowElementsAbstract_6698c062-8a01-4204-b9fe-120fe3a76bab" xlink:to="loc_exdx_ReclassificationOfTemporaryEquityAndLiabilitiesToPermanentEquity_841b3a76-285b-4b87-adcc-4bf82f18ec96" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_TemporaryEquityDeemedDividendsWithBeneficialConversionFeature_ab5a4aac-709b-4739-9cb3-cd8623dd0089" xlink:href="exdx-20191231.xsd#exdx_TemporaryEquityDeemedDividendsWithBeneficialConversionFeature"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SupplementalCashFlowElementsAbstract_6698c062-8a01-4204-b9fe-120fe3a76bab" xlink:to="loc_exdx_TemporaryEquityDeemedDividendsWithBeneficialConversionFeature_ab5a4aac-709b-4739-9cb3-cd8623dd0089" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityAccretionOfDividends_935dd666-20c8-4632-953e-7356a4641192" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TemporaryEquityAccretionOfDividends"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SupplementalCashFlowElementsAbstract_6698c062-8a01-4204-b9fe-120fe3a76bab" xlink:to="loc_us-gaap_TemporaryEquityAccretionOfDividends_935dd666-20c8-4632-953e-7356a4641192" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_ConversionOfTemporaryEquityAmountConverted_2e6b87ba-0ab6-4cd2-9847-ced33f92f3ed" xlink:href="exdx-20191231.xsd#exdx_ConversionOfTemporaryEquityAmountConverted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SupplementalCashFlowElementsAbstract_6698c062-8a01-4204-b9fe-120fe3a76bab" xlink:to="loc_exdx_ConversionOfTemporaryEquityAmountConverted_2e6b87ba-0ab6-4cd2-9847-ced33f92f3ed" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_DeemedDividend_6f8e8103-7a8d-4271-b7a9-fd9d93810db3" xlink:href="exdx-20191231.xsd#exdx_DeemedDividend"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SupplementalCashFlowElementsAbstract_6698c062-8a01-4204-b9fe-120fe3a76bab" xlink:to="loc_exdx_DeemedDividend_6f8e8103-7a8d-4271-b7a9-fd9d93810db3" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_OtherNoncashTransactionChangeInAccountingPrinciple_b4537fde-5d26-4f70-80e9-13e2b6032a2d" xlink:href="exdx-20191231.xsd#exdx_OtherNoncashTransactionChangeInAccountingPrinciple"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SupplementalCashFlowElementsAbstract_6698c062-8a01-4204-b9fe-120fe3a76bab" xlink:to="loc_exdx_OtherNoncashTransactionChangeInAccountingPrinciple_b4537fde-5d26-4f70-80e9-13e2b6032a2d" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_169885e7-3acf-4ed9-a8fb-7c5aa0f2e0c6" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_60d444bd-9fd4-4b08-988c-51b7acf7f2c2" xlink:to="loc_us-gaap_StatementTable_169885e7-3acf-4ed9-a8fb-7c5aa0f2e0c6" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_ff06ec25-c4c6-4e4c-90e4-1be8a35f69e5" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_169885e7-3acf-4ed9-a8fb-7c5aa0f2e0c6" xlink:to="loc_us-gaap_StatementClassOfStockAxis_ff06ec25-c4c6-4e4c-90e4-1be8a35f69e5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_ff06ec25-c4c6-4e4c-90e4-1be8a35f69e5_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_ff06ec25-c4c6-4e4c-90e4-1be8a35f69e5" xlink:to="loc_us-gaap_ClassOfStockDomain_ff06ec25-c4c6-4e4c-90e4-1be8a35f69e5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_d6dc2ad2-4646-474c-a12d-9454febc0b6e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_ff06ec25-c4c6-4e4c-90e4-1be8a35f69e5" xlink:to="loc_us-gaap_ClassOfStockDomain_d6dc2ad2-4646-474c-a12d-9454febc0b6e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesFPreferredStockMember_8b9413ed-6a24-43b9-ae2f-40ce062c748c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SeriesFPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_d6dc2ad2-4646-474c-a12d-9454febc0b6e" xlink:to="loc_us-gaap_SeriesFPreferredStockMember_8b9413ed-6a24-43b9-ae2f-40ce062c748c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesGPreferredStockMember_418cf952-3b13-4312-9cde-a70867452ff8" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SeriesGPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_d6dc2ad2-4646-474c-a12d-9454febc0b6e" xlink:to="loc_us-gaap_SeriesGPreferredStockMember_418cf952-3b13-4312-9cde-a70867452ff8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesHPreferredStockMember_1ce35dcb-bb5b-4eda-8e3f-84cb800bee4c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SeriesHPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_d6dc2ad2-4646-474c-a12d-9454febc0b6e" xlink:to="loc_us-gaap_SeriesHPreferredStockMember_1ce35dcb-bb5b-4eda-8e3f-84cb800bee4c" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/StatementofCashFlowsParenthetical" xlink:type="simple" xlink:href="exdx-20191231.xsd#StatementofCashFlowsParenthetical"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/StatementofCashFlowsParenthetical" xlink:type="extended" id="ib1c1039fe51b4f9098888c8efcf14d80_781a381e-151e-4b9e-a0c5-7b79415bf303"/>
  <link:roleRef roleURI="http://www.exagen.com/role/OrganizationNotes" xlink:type="simple" xlink:href="exdx-20191231.xsd#OrganizationNotes"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/OrganizationNotes" xlink:type="extended" id="i0201c14af9f04f488b099c91476a811b_feb7dfef-5305-4a7c-bcde-5ccf04111339"/>
  <link:roleRef roleURI="http://www.exagen.com/role/OrganizationDetails" xlink:type="simple" xlink:href="exdx-20191231.xsd#OrganizationDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/OrganizationDetails" xlink:type="extended" id="ifee53e972b1f43a1b5d8e8c33e2dc8dd_7c33ff3c-5417-4db0-9cbc-f2dc1b222bd8">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsidiarySaleOfStockLineItems_4f838731-7133-4ac0-b8b6-a2fbf8ff6376" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsidiarySaleOfStockLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction_6c9c5a7f-cb4d-4465-be65-8f3a93b79bc0" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsidiarySaleOfStockLineItems_4f838731-7133-4ac0-b8b6-a2fbf8ff6376" xlink:to="loc_us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction_6c9c5a7f-cb4d-4465-be65-8f3a93b79bc0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockPricePerShare_08aaa4ff-3f07-40dc-a72e-4ad1e88f51b9" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SaleOfStockPricePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsidiarySaleOfStockLineItems_4f838731-7133-4ac0-b8b6-a2fbf8ff6376" xlink:to="loc_us-gaap_SaleOfStockPricePerShare_08aaa4ff-3f07-40dc-a72e-4ad1e88f51b9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockConsiderationReceivedOnTransaction_3d2787c1-fff3-48cd-9421-d7ec4de725ab" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SaleOfStockConsiderationReceivedOnTransaction"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsidiarySaleOfStockLineItems_4f838731-7133-4ac0-b8b6-a2fbf8ff6376" xlink:to="loc_us-gaap_SaleOfStockConsiderationReceivedOnTransaction_3d2787c1-fff3-48cd-9421-d7ec4de725ab" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_97c55388-a313-42a5-ad8a-9c9bdcfdcbdd" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsidiarySaleOfStockLineItems_4f838731-7133-4ac0-b8b6-a2fbf8ff6376" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_97c55388-a313-42a5-ad8a-9c9bdcfdcbdd" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityNoteStockSplitConversionRatio1_bd486f83-9438-4f6d-81d3-cd8beb04fcb3" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockholdersEquityNoteStockSplitConversionRatio1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsidiarySaleOfStockLineItems_4f838731-7133-4ac0-b8b6-a2fbf8ff6376" xlink:to="loc_us-gaap_StockholdersEquityNoteStockSplitConversionRatio1_bd486f83-9438-4f6d-81d3-cd8beb04fcb3" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_a466969c-a788-412d-bce8-1de45eb4d1bc" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsidiarySaleOfStockLineItems_4f838731-7133-4ac0-b8b6-a2fbf8ff6376" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_a466969c-a788-412d-bce8-1de45eb4d1bc" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_075fed3e-e19c-4f32-9dce-4929da82276f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsidiarySaleOfStockLineItems_4f838731-7133-4ac0-b8b6-a2fbf8ff6376" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_075fed3e-e19c-4f32-9dce-4929da82276f" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable_004f805f-c21e-45c6-8ecf-077ac561b9e7" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SubsidiarySaleOfStockLineItems_4f838731-7133-4ac0-b8b6-a2fbf8ff6376" xlink:to="loc_us-gaap_SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable_004f805f-c21e-45c6-8ecf-077ac561b9e7" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_afa5976a-f4be-4300-b304-dd93e15d17d2" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable_004f805f-c21e-45c6-8ecf-077ac561b9e7" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_afa5976a-f4be-4300-b304-dd93e15d17d2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_afa5976a-f4be-4300-b304-dd93e15d17d2_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_afa5976a-f4be-4300-b304-dd93e15d17d2" xlink:to="loc_us-gaap_EquityComponentDomain_afa5976a-f4be-4300-b304-dd93e15d17d2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_67ccba68-f81e-4f61-b940-f5dacfe28bc3" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_afa5976a-f4be-4300-b304-dd93e15d17d2" xlink:to="loc_us-gaap_EquityComponentDomain_67ccba68-f81e-4f61-b940-f5dacfe28bc3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_f1694595-0757-4a79-8c2d-e1d371a81249" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_67ccba68-f81e-4f61-b940-f5dacfe28bc3" xlink:to="loc_us-gaap_CommonStockMember_f1694595-0757-4a79-8c2d-e1d371a81249" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsidiarySaleOfStockAxis_9d0f63aa-921f-4166-bc69-47994fd21038" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsidiarySaleOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable_004f805f-c21e-45c6-8ecf-077ac561b9e7" xlink:to="loc_us-gaap_SubsidiarySaleOfStockAxis_9d0f63aa-921f-4166-bc69-47994fd21038" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_9d0f63aa-921f-4166-bc69-47994fd21038_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SaleOfStockNameOfTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_9d0f63aa-921f-4166-bc69-47994fd21038" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_9d0f63aa-921f-4166-bc69-47994fd21038_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_2fb93af1-0258-4aad-9024-0558da5d5769" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SaleOfStockNameOfTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_9d0f63aa-921f-4166-bc69-47994fd21038" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_2fb93af1-0258-4aad-9024-0558da5d5769" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IPOMember_7b7d7dfb-3e71-4781-88cc-aa11405aadd6" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IPOMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_2fb93af1-0258-4aad-9024-0558da5d5769" xlink:to="loc_us-gaap_IPOMember_7b7d7dfb-3e71-4781-88cc-aa11405aadd6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OverAllotmentOptionMember_d69fbb32-fba0-4b7e-984c-b6bbc223ce34" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OverAllotmentOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_2fb93af1-0258-4aad-9024-0558da5d5769" xlink:to="loc_us-gaap_OverAllotmentOptionMember_d69fbb32-fba0-4b7e-984c-b6bbc223ce34" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliciesNotes" xlink:type="simple" xlink:href="exdx-20191231.xsd#SummaryOfSignificantAccountingPoliciesNotes"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliciesNotes" xlink:type="extended" id="i687738c7c9484e3fb36718e1cdb43a1a_fa20b444-9a1d-4543-93d5-760ed24867fa"/>
  <link:roleRef roleURI="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:type="simple" xlink:href="exdx-20191231.xsd#SummaryOfSignificantAccountingPoliciesPolicies"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:type="extended" id="iac093a50ca3e478eb0a36a169d69fe9c_3256150e-52b6-4b0d-acd4-4ca5589fffa3"/>
  <link:roleRef roleURI="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliciesTables" xlink:type="simple" xlink:href="exdx-20191231.xsd#SummaryOfSignificantAccountingPoliciesTables"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliciesTables" xlink:type="extended" id="i5029bf3a23a24e25b3db2c8bbe942423_f715c58a-bcb6-4b47-aa72-16a4ee7849d0"/>
  <link:roleRef roleURI="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliciesNarrativeDetails" xlink:type="simple" xlink:href="exdx-20191231.xsd#SummaryOfSignificantAccountingPoliciesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliciesNarrativeDetails" xlink:type="extended" id="i0d3daf80de50484a85abac2ba2c7a962_f7fb1b56-c196-4ec6-8ef8-91e4cdda7f5e">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionLineItems_7c58dce8-f876-4e4c-afbb-369bf7e5259c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NewAccountingPronouncementEarlyAdoptionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCash_4f9c395b-a53a-477e-986b-6623edb5215f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestrictedCash"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionLineItems_7c58dce8-f876-4e4c-afbb-369bf7e5259c" xlink:to="loc_us-gaap_RestrictedCash_4f9c395b-a53a-477e-986b-6623edb5215f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_8dfc4d30-2284-4229-b149-584a85d6ee05" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionLineItems_7c58dce8-f876-4e4c-afbb-369bf7e5259c" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_8dfc4d30-2284-4229-b149-584a85d6ee05" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_94181053-f52d-4172-ab55-1ba46df39ac6" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionLineItems_7c58dce8-f876-4e4c-afbb-369bf7e5259c" xlink:to="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_94181053-f52d-4172-ab55-1ba46df39ac6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_d2038169-5289-43b2-8cc2-d81e64698f5e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionLineItems_7c58dce8-f876-4e4c-afbb-369bf7e5259c" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_d2038169-5289-43b2-8cc2-d81e64698f5e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdvertisingExpense_2210d2b7-569b-4418-97ac-2a35bd4698d4" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdvertisingExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionLineItems_7c58dce8-f876-4e4c-afbb-369bf7e5259c" xlink:to="loc_us-gaap_AdvertisingExpense_2210d2b7-569b-4418-97ac-2a35bd4698d4" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfRevenue_107a51fc-7122-4a36-9f44-01cf7cc3d9bc" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CostOfRevenue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionLineItems_7c58dce8-f876-4e4c-afbb-369bf7e5259c" xlink:to="loc_us-gaap_CostOfRevenue_107a51fc-7122-4a36-9f44-01cf7cc3d9bc" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_JointVentureQuarterlyPromotionFee_91c92d5c-259f-4c96-8825-79bb689fa797" xlink:href="exdx-20191231.xsd#exdx_JointVentureQuarterlyPromotionFee"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionLineItems_7c58dce8-f876-4e4c-afbb-369bf7e5259c" xlink:to="loc_exdx_JointVentureQuarterlyPromotionFee_91c92d5c-259f-4c96-8825-79bb689fa797" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionTable_4ee2d14a-f1a2-4f96-a04f-e7302fb0e165" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NewAccountingPronouncementEarlyAdoptionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionLineItems_7c58dce8-f876-4e4c-afbb-369bf7e5259c" xlink:to="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionTable_4ee2d14a-f1a2-4f96-a04f-e7302fb0e165" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_1df3e421-afb4-4d6e-819c-4cd29c3cc6e2" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BalanceSheetLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionTable_4ee2d14a-f1a2-4f96-a04f-e7302fb0e165" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_1df3e421-afb4-4d6e-819c-4cd29c3cc6e2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_1df3e421-afb4-4d6e-819c-4cd29c3cc6e2_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_1df3e421-afb4-4d6e-819c-4cd29c3cc6e2" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_1df3e421-afb4-4d6e-819c-4cd29c3cc6e2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_e379f65f-bba5-451d-bd82-9d45e2c88c60" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_1df3e421-afb4-4d6e-819c-4cd29c3cc6e2" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_e379f65f-bba5-451d-bd82-9d45e2c88c60" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsMember_75e34f7a-41be-4fd8-829b-314da632136b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_e379f65f-bba5-451d-bd82-9d45e2c88c60" xlink:to="loc_us-gaap_OtherAssetsMember_75e34f7a-41be-4fd8-829b-314da632136b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsidiarySaleOfStockAxis_d9179295-3225-40ff-9d93-b5ebc2d8758a" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsidiarySaleOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionTable_4ee2d14a-f1a2-4f96-a04f-e7302fb0e165" xlink:to="loc_us-gaap_SubsidiarySaleOfStockAxis_d9179295-3225-40ff-9d93-b5ebc2d8758a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_d9179295-3225-40ff-9d93-b5ebc2d8758a_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SaleOfStockNameOfTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_d9179295-3225-40ff-9d93-b5ebc2d8758a" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_d9179295-3225-40ff-9d93-b5ebc2d8758a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_59a0b66b-5f9f-4989-99d6-21e61a6f8846" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SaleOfStockNameOfTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_d9179295-3225-40ff-9d93-b5ebc2d8758a" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_59a0b66b-5f9f-4989-99d6-21e61a6f8846" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IPOMember_f6a97fc2-88ae-46c9-b1bf-5669f7400b22" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IPOMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_59a0b66b-5f9f-4989-99d6-21e61a6f8846" xlink:to="loc_us-gaap_IPOMember_f6a97fc2-88ae-46c9-b1bf-5669f7400b22" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_9603fa66-f313-4651-a129-666e44722f52" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionTable_4ee2d14a-f1a2-4f96-a04f-e7302fb0e165" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_9603fa66-f313-4651-a129-666e44722f52" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_9603fa66-f313-4651-a129-666e44722f52_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_9603fa66-f313-4651-a129-666e44722f52" xlink:to="loc_us-gaap_SegmentDomain_9603fa66-f313-4651-a129-666e44722f52_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_b941c0ab-e1af-414e-9f96-cbf07faff933" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_9603fa66-f313-4651-a129-666e44722f52" xlink:to="loc_us-gaap_SegmentDomain_b941c0ab-e1af-414e-9f96-cbf07faff933" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_JanssenSIMPONIMember_a1110145-b0fe-464e-9a83-67663d79ac9b" xlink:href="exdx-20191231.xsd#exdx_JanssenSIMPONIMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_b941c0ab-e1af-414e-9f96-cbf07faff933" xlink:to="loc_exdx_JanssenSIMPONIMember_a1110145-b0fe-464e-9a83-67663d79ac9b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionAxis_f6d7fbf9-9386-4aa0-9dbf-ac55770bc7a9" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NewAccountingPronouncementEarlyAdoptionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionTable_4ee2d14a-f1a2-4f96-a04f-e7302fb0e165" xlink:to="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionAxis_f6d7fbf9-9386-4aa0-9dbf-ac55770bc7a9" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NewAccountingPrinciplesEarlyAdoptionMember_f6d7fbf9-9386-4aa0-9dbf-ac55770bc7a9_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NewAccountingPrinciplesEarlyAdoptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionAxis_f6d7fbf9-9386-4aa0-9dbf-ac55770bc7a9" xlink:to="loc_us-gaap_NewAccountingPrinciplesEarlyAdoptionMember_f6d7fbf9-9386-4aa0-9dbf-ac55770bc7a9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NewAccountingPrinciplesEarlyAdoptionMember_fc79d537-3063-4769-a7eb-18ea8221b84c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NewAccountingPrinciplesEarlyAdoptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionAxis_f6d7fbf9-9386-4aa0-9dbf-ac55770bc7a9" xlink:to="loc_us-gaap_NewAccountingPrinciplesEarlyAdoptionMember_fc79d537-3063-4769-a7eb-18ea8221b84c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountingStandardsUpdate201409Member_404f41dc-68e7-4015-ae95-2d0863605ebf" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccountingStandardsUpdate201409Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPrinciplesEarlyAdoptionMember_fc79d537-3063-4769-a7eb-18ea8221b84c" xlink:to="loc_us-gaap_AccountingStandardsUpdate201409Member_404f41dc-68e7-4015-ae95-2d0863605ebf" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_b61bc1c2-df1f-447d-b0b0-ee5f3e0db1d3" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionTable_4ee2d14a-f1a2-4f96-a04f-e7302fb0e165" xlink:to="loc_srt_ProductOrServiceAxis_b61bc1c2-df1f-447d-b0b0-ee5f3e0db1d3" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_b61bc1c2-df1f-447d-b0b0-ee5f3e0db1d3_default" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_b61bc1c2-df1f-447d-b0b0-ee5f3e0db1d3" xlink:to="loc_srt_ProductsAndServicesDomain_b61bc1c2-df1f-447d-b0b0-ee5f3e0db1d3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_ae312054-5d61-44ba-b0b4-8ef350cf3354" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_b61bc1c2-df1f-447d-b0b0-ee5f3e0db1d3" xlink:to="loc_srt_ProductsAndServicesDomain_ae312054-5d61-44ba-b0b4-8ef350cf3354" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShippingAndHandlingMember_97fc51d0-1d77-4c74-a279-e57ba7398b79" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShippingAndHandlingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_ae312054-5d61-44ba-b0b4-8ef350cf3354" xlink:to="loc_us-gaap_ShippingAndHandlingMember_97fc51d0-1d77-4c74-a279-e57ba7398b79" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_1e18f9a6-29fd-448d-a784-3828ccae5f74" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionTable_4ee2d14a-f1a2-4f96-a04f-e7302fb0e165" xlink:to="loc_srt_RangeAxis_1e18f9a6-29fd-448d-a784-3828ccae5f74" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_1e18f9a6-29fd-448d-a784-3828ccae5f74_default" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_1e18f9a6-29fd-448d-a784-3828ccae5f74" xlink:to="loc_srt_RangeMember_1e18f9a6-29fd-448d-a784-3828ccae5f74_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_67674917-eeda-4817-bc42-bbd9959d0580" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_1e18f9a6-29fd-448d-a784-3828ccae5f74" xlink:to="loc_srt_RangeMember_67674917-eeda-4817-bc42-bbd9959d0580" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_ed639dd1-0c94-45c9-8a14-dc85224f0ae9" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_67674917-eeda-4817-bc42-bbd9959d0580" xlink:to="loc_srt_MinimumMember_ed639dd1-0c94-45c9-8a14-dc85224f0ae9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_1a833e44-a716-4cc2-a300-b1448789bfee" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_67674917-eeda-4817-bc42-bbd9959d0580" xlink:to="loc_srt_MaximumMember_1a833e44-a716-4cc2-a300-b1448789bfee" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliciesRevenuebyMajorPayersDetails" xlink:type="simple" xlink:href="exdx-20191231.xsd#SummaryOfSignificantAccountingPoliciesRevenuebyMajorPayersDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliciesRevenuebyMajorPayersDetails" xlink:type="extended" id="i3947fad0068d4e6493741183c2d16c20_f0695ded-0e74-4916-8ea8-bee689d9fed1">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_7047f7a1-28ac-4295-ab76-f88bddacacc7" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_ae26bb94-d639-4856-98e0-3eda02735645" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskPercentage1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_7047f7a1-28ac-4295-ab76-f88bddacacc7" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_ae26bb94-d639-4856-98e0-3eda02735645" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_402393fe-ff0d-49a8-a792-2f450c0ee659" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_7047f7a1-28ac-4295-ab76-f88bddacacc7" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_402393fe-ff0d-49a8-a792-2f450c0ee659" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_b4768bc1-908a-4b97-99e7-e0d9b6996c0e" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_402393fe-ff0d-49a8-a792-2f450c0ee659" xlink:to="loc_srt_ProductOrServiceAxis_b4768bc1-908a-4b97-99e7-e0d9b6996c0e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_b4768bc1-908a-4b97-99e7-e0d9b6996c0e_default" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_b4768bc1-908a-4b97-99e7-e0d9b6996c0e" xlink:to="loc_srt_ProductsAndServicesDomain_b4768bc1-908a-4b97-99e7-e0d9b6996c0e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_fe053fcf-5465-4418-8e5b-cb921370ec31" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_b4768bc1-908a-4b97-99e7-e0d9b6996c0e" xlink:to="loc_srt_ProductsAndServicesDomain_fe053fcf-5465-4418-8e5b-cb921370ec31" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_AVISECTDTestMember_79ab0351-fae9-47d8-8e21-4cf75b57ee8e" xlink:href="exdx-20191231.xsd#exdx_AVISECTDTestMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_fe053fcf-5465-4418-8e5b-cb921370ec31" xlink:to="loc_exdx_AVISECTDTestMember_79ab0351-fae9-47d8-8e21-4cf75b57ee8e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MajorCustomersAxis_81cc1585-1fbd-49af-b5d8-c85c9a7b86fe" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_MajorCustomersAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_402393fe-ff0d-49a8-a792-2f450c0ee659" xlink:to="loc_srt_MajorCustomersAxis_81cc1585-1fbd-49af-b5d8-c85c9a7b86fe" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_81cc1585-1fbd-49af-b5d8-c85c9a7b86fe_default" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_MajorCustomersAxis_81cc1585-1fbd-49af-b5d8-c85c9a7b86fe" xlink:to="loc_srt_NameOfMajorCustomerDomain_81cc1585-1fbd-49af-b5d8-c85c9a7b86fe_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_3d81b741-8372-41dd-8711-8a976625a2b4" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_MajorCustomersAxis_81cc1585-1fbd-49af-b5d8-c85c9a7b86fe" xlink:to="loc_srt_NameOfMajorCustomerDomain_3d81b741-8372-41dd-8711-8a976625a2b4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_MedicareMember_669ceeff-8ef2-490a-bd7d-36b20dc1f042" xlink:href="exdx-20191231.xsd#exdx_MedicareMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_3d81b741-8372-41dd-8711-8a976625a2b4" xlink:to="loc_exdx_MedicareMember_669ceeff-8ef2-490a-bd7d-36b20dc1f042" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_BlueShieldMember_a051656b-89a1-4358-8be4-87b3dccf6795" xlink:href="exdx-20191231.xsd#exdx_BlueShieldMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_3d81b741-8372-41dd-8711-8a976625a2b4" xlink:to="loc_exdx_BlueShieldMember_a051656b-89a1-4358-8be4-87b3dccf6795" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_UnitedHealthcareMember_aa09d380-cdc0-42f2-9241-fe3e98da6c27" xlink:href="exdx-20191231.xsd#exdx_UnitedHealthcareMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_3d81b741-8372-41dd-8711-8a976625a2b4" xlink:to="loc_exdx_UnitedHealthcareMember_aa09d380-cdc0-42f2-9241-fe3e98da6c27" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_MedicareAdvantageMember_428b9854-48e1-489b-b22d-7dae641c23e0" xlink:href="exdx-20191231.xsd#exdx_MedicareAdvantageMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_3d81b741-8372-41dd-8711-8a976625a2b4" xlink:to="loc_exdx_MedicareAdvantageMember_428b9854-48e1-489b-b22d-7dae641c23e0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_JanssenSIMPONIMember_8a622efd-5d37-4cbd-b4dc-abc43a406c8d" xlink:href="exdx-20191231.xsd#exdx_JanssenSIMPONIMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_3d81b741-8372-41dd-8711-8a976625a2b4" xlink:to="loc_exdx_JanssenSIMPONIMember_8a622efd-5d37-4cbd-b4dc-abc43a406c8d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_3e96a9ba-59b3-420b-8570-ceb21733d5e6" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_402393fe-ff0d-49a8-a792-2f450c0ee659" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_3e96a9ba-59b3-420b-8570-ceb21733d5e6" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_3e96a9ba-59b3-420b-8570-ceb21733d5e6_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_3e96a9ba-59b3-420b-8570-ceb21733d5e6" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_3e96a9ba-59b3-420b-8570-ceb21733d5e6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_6839344f-4bd4-489f-a3dc-07c9d664beee" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_3e96a9ba-59b3-420b-8570-ceb21733d5e6" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_6839344f-4bd4-489f-a3dc-07c9d664beee" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesRevenueNetMember_548d76a7-ae2f-4e39-9d9b-d9960595ecf0" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SalesRevenueNetMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_6839344f-4bd4-489f-a3dc-07c9d664beee" xlink:to="loc_us-gaap_SalesRevenueNetMember_548d76a7-ae2f-4e39-9d9b-d9960595ecf0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_ReceivableBenchmarkMember_17387e03-b908-4b97-bb7b-b49d89b9369c" xlink:href="exdx-20191231.xsd#exdx_ReceivableBenchmarkMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_6839344f-4bd4-489f-a3dc-07c9d664beee" xlink:to="loc_exdx_ReceivableBenchmarkMember_17387e03-b908-4b97-bb7b-b49d89b9369c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_55150b98-4bae-48d1-85fb-cc3c8bf2e693" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_402393fe-ff0d-49a8-a792-2f450c0ee659" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_55150b98-4bae-48d1-85fb-cc3c8bf2e693" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_55150b98-4bae-48d1-85fb-cc3c8bf2e693_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_55150b98-4bae-48d1-85fb-cc3c8bf2e693" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_55150b98-4bae-48d1-85fb-cc3c8bf2e693_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_944f607f-f6a4-4073-8ab6-36ca8b31cdff" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_55150b98-4bae-48d1-85fb-cc3c8bf2e693" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_944f607f-f6a4-4073-8ab6-36ca8b31cdff" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerConcentrationRiskMember_eb42b504-d1e8-4fc5-b820-e68fa9f319ba" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CustomerConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_944f607f-f6a4-4073-8ab6-36ca8b31cdff" xlink:to="loc_us-gaap_CustomerConcentrationRiskMember_eb42b504-d1e8-4fc5-b820-e68fa9f319ba" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductConcentrationRiskMember_b92d20e6-09ff-4fe7-bf41-109d84cdee3d" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProductConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_944f607f-f6a4-4073-8ab6-36ca8b31cdff" xlink:to="loc_us-gaap_ProductConcentrationRiskMember_b92d20e6-09ff-4fe7-bf41-109d84cdee3d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SupplierConcentrationRiskMember_4fe9ceb3-ce04-491c-b15a-76b1a136d4a4" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SupplierConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_944f607f-f6a4-4073-8ab6-36ca8b31cdff" xlink:to="loc_us-gaap_SupplierConcentrationRiskMember_4fe9ceb3-ce04-491c-b15a-76b1a136d4a4" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliciesDisaggregationofRevenueDetails" xlink:type="simple" xlink:href="exdx-20191231.xsd#SummaryOfSignificantAccountingPoliciesDisaggregationofRevenueDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliciesDisaggregationofRevenueDetails" xlink:type="extended" id="ia0b072712e3744a79a360f35b9424dfa_9aebec3e-bf42-405c-8dd8-8a1dc5a5f5ed">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_2c1a54df-eaba-4ef5-a0ee-696a306f3800" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_cb447559-b94c-4597-9369-9e4d2935cd88" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_2c1a54df-eaba-4ef5-a0ee-696a306f3800" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_cb447559-b94c-4597-9369-9e4d2935cd88" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_d6277b5d-ac64-45c3-bc10-ac2cbea4ee86" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_2c1a54df-eaba-4ef5-a0ee-696a306f3800" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_d6277b5d-ac64-45c3-bc10-ac2cbea4ee86" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_7ea7e830-ed24-4957-9f94-fae1deecba33" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_d6277b5d-ac64-45c3-bc10-ac2cbea4ee86" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_7ea7e830-ed24-4957-9f94-fae1deecba33" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_7ea7e830-ed24-4957-9f94-fae1deecba33_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_7ea7e830-ed24-4957-9f94-fae1deecba33" xlink:to="loc_us-gaap_SegmentDomain_7ea7e830-ed24-4957-9f94-fae1deecba33_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_634a5a29-b3e7-42ff-b3e0-7fbf47dcf575" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_7ea7e830-ed24-4957-9f94-fae1deecba33" xlink:to="loc_us-gaap_SegmentDomain_634a5a29-b3e7-42ff-b3e0-7fbf47dcf575" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_HealthcareInsurersMember_4da17c25-f964-4f42-8bf9-cc9647949b88" xlink:href="exdx-20191231.xsd#exdx_HealthcareInsurersMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_634a5a29-b3e7-42ff-b3e0-7fbf47dcf575" xlink:to="loc_exdx_HealthcareInsurersMember_4da17c25-f964-4f42-8bf9-cc9647949b88" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GovernmentMember_bf50980b-e330-4299-9846-901f7b1e967c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_GovernmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_634a5a29-b3e7-42ff-b3e0-7fbf47dcf575" xlink:to="loc_us-gaap_GovernmentMember_bf50980b-e330-4299-9846-901f7b1e967c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_ClientMember_4fe5e5be-9f5f-4b3f-adb9-24e13706567f" xlink:href="exdx-20191231.xsd#exdx_ClientMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_634a5a29-b3e7-42ff-b3e0-7fbf47dcf575" xlink:to="loc_exdx_ClientMember_4fe5e5be-9f5f-4b3f-adb9-24e13706567f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllOtherSegmentsMember_91b8a495-7e6a-4589-bb50-0a9cdab1c594" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AllOtherSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_634a5a29-b3e7-42ff-b3e0-7fbf47dcf575" xlink:to="loc_us-gaap_AllOtherSegmentsMember_91b8a495-7e6a-4589-bb50-0a9cdab1c594" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_JanssenSIMPONIMember_f89e9181-3fcb-4ca3-9e16-72ee8a7bfa2e" xlink:href="exdx-20191231.xsd#exdx_JanssenSIMPONIMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_634a5a29-b3e7-42ff-b3e0-7fbf47dcf575" xlink:to="loc_exdx_JanssenSIMPONIMember_f89e9181-3fcb-4ca3-9e16-72ee8a7bfa2e" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliciesCashcashequivalentsandrestrictedcashDetails" xlink:type="simple" xlink:href="exdx-20191231.xsd#SummaryOfSignificantAccountingPoliciesCashcashequivalentsandrestrictedcashDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliciesCashcashequivalentsandrestrictedcashDetails" xlink:type="extended" id="i2c8dddbd5d364b9682f9701422d35785_0dc48f87-78b0-4d53-9590-af78822390af"/>
  <link:roleRef roleURI="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliciesSecuritiesDetails" xlink:type="simple" xlink:href="exdx-20191231.xsd#SummaryOfSignificantAccountingPoliciesSecuritiesDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliciesSecuritiesDetails" xlink:type="extended" id="idc02d9aafcba4594860eccb7b37a070f_e984ce17-b62d-4103-a409-2c04a815ed5a">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockLineItems_6804a5c6-7574-42ce-b342-151316f5b693" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_9be7b80a-1099-44ed-b76c-1e918655b68a" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_6804a5c6-7574-42ce-b342-151316f5b693" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_9be7b80a-1099-44ed-b76c-1e918655b68a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_e85281ce-43d0-4a4a-b97d-dac59eb8d031" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfStockByClassTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_6804a5c6-7574-42ce-b342-151316f5b693" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_e85281ce-43d0-4a4a-b97d-dac59eb8d031" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_c8cfe5a5-8c5c-4bea-979b-5762cc9a5fd8" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_e85281ce-43d0-4a4a-b97d-dac59eb8d031" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_c8cfe5a5-8c5c-4bea-979b-5762cc9a5fd8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_c8cfe5a5-8c5c-4bea-979b-5762cc9a5fd8_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_c8cfe5a5-8c5c-4bea-979b-5762cc9a5fd8" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_c8cfe5a5-8c5c-4bea-979b-5762cc9a5fd8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_12c7ebaa-f188-472f-8127-3082c92c342c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_c8cfe5a5-8c5c-4bea-979b-5762cc9a5fd8" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_12c7ebaa-f188-472f-8127-3082c92c342c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RedeemablePreferredStockMember_7f41b50d-c550-455a-93b0-dd8e05bb2e6e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RedeemablePreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_12c7ebaa-f188-472f-8127-3082c92c342c" xlink:to="loc_us-gaap_RedeemablePreferredStockMember_7f41b50d-c550-455a-93b0-dd8e05bb2e6e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_WarrantsTemporaryEquityMember_08e19f51-dfff-4c5e-bb3f-16fc3529e2f0" xlink:href="exdx-20191231.xsd#exdx_WarrantsTemporaryEquityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_12c7ebaa-f188-472f-8127-3082c92c342c" xlink:to="loc_exdx_WarrantsTemporaryEquityMember_08e19f51-dfff-4c5e-bb3f-16fc3529e2f0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WarrantMember_92887219-8a33-441b-a9a1-f11e7066bd8f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_WarrantMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_12c7ebaa-f188-472f-8127-3082c92c342c" xlink:to="loc_us-gaap_WarrantMember_92887219-8a33-441b-a9a1-f11e7066bd8f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockOptionMember_a50feec3-4b56-4be0-9854-5f49fb18b1da" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_12c7ebaa-f188-472f-8127-3082c92c342c" xlink:to="loc_us-gaap_StockOptionMember_a50feec3-4b56-4be0-9854-5f49fb18b1da" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/OtherFinancialInformationNotes" xlink:type="simple" xlink:href="exdx-20191231.xsd#OtherFinancialInformationNotes"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/OtherFinancialInformationNotes" xlink:type="extended" id="i7f8142f5a8634df19930ae7ea306c391_d1fdf4fa-c38e-48ec-a911-7494694cd7ac"/>
  <link:roleRef roleURI="http://www.exagen.com/role/OtherFinancialInformationTables" xlink:type="simple" xlink:href="exdx-20191231.xsd#OtherFinancialInformationTables"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/OtherFinancialInformationTables" xlink:type="extended" id="i06f842c03aae4ee3af14367b58aeeabc_b17c4a02-d45b-47dd-af16-e2e018758d56"/>
  <link:roleRef roleURI="http://www.exagen.com/role/OtherFinancialInformationNarrativeDetails" xlink:type="simple" xlink:href="exdx-20191231.xsd#OtherFinancialInformationNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/OtherFinancialInformationNarrativeDetails" xlink:type="extended" id="ia9e119539de04e57b457005879cbf28f_8017e30b-cd96-43f5-97ec-33c87380cfe2">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_47feef76-eb87-4ab0-84a2-21728bb6b878" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_5e85bd85-5c29-44d4-b9a7-a818c648503e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_47feef76-eb87-4ab0-84a2-21728bb6b878" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_5e85bd85-5c29-44d4-b9a7-a818c648503e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_5d34c8f8-ef5b-41eb-a6bf-af3a075c30e9" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_47feef76-eb87-4ab0-84a2-21728bb6b878" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_5d34c8f8-ef5b-41eb-a6bf-af3a075c30e9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_449add63-82f6-48ac-b11a-d4d4ad1672fb" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_47feef76-eb87-4ab0-84a2-21728bb6b878" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_449add63-82f6-48ac-b11a-d4d4ad1672fb" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_682d19bc-1b38-4c2a-abd6-1506223269a9" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_449add63-82f6-48ac-b11a-d4d4ad1672fb" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_682d19bc-1b38-4c2a-abd6-1506223269a9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_682d19bc-1b38-4c2a-abd6-1506223269a9_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_682d19bc-1b38-4c2a-abd6-1506223269a9" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_682d19bc-1b38-4c2a-abd6-1506223269a9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_ff40f8c4-d666-4e7d-b66c-4aa969a4b066" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_682d19bc-1b38-4c2a-abd6-1506223269a9" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_ff40f8c4-d666-4e7d-b66c-4aa969a4b066" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_AssetsUnderCapitalLeaseMember_a773a174-2434-4c23-aef6-a332686ddcc4" xlink:href="exdx-20191231.xsd#exdx_AssetsUnderCapitalLeaseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_ff40f8c4-d666-4e7d-b66c-4aa969a4b066" xlink:to="loc_exdx_AssetsUnderCapitalLeaseMember_a773a174-2434-4c23-aef6-a332686ddcc4" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/OtherFinancialInformationPrepaidexpensesDetails" xlink:type="simple" xlink:href="exdx-20191231.xsd#OtherFinancialInformationPrepaidexpensesDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/OtherFinancialInformationPrepaidexpensesDetails" xlink:type="extended" id="ic400b9a415cd410f88a6330e5b9d3664_43afcdf6-e6fe-4e8c-8133-aad6032d5782"/>
  <link:roleRef roleURI="http://www.exagen.com/role/OtherFinancialInformationPropertyandequipmentDetails" xlink:type="simple" xlink:href="exdx-20191231.xsd#OtherFinancialInformationPropertyandequipmentDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/OtherFinancialInformationPropertyandequipmentDetails" xlink:type="extended" id="ie69a727beff64d89b1909468b526b7f2_a2f95270-c4cf-4df3-808f-47f9e2f80583">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_7ee0b2bc-a334-4aef-8a48-cb1318fa5aa7" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_65819066-6d1d-44b4-88de-5fb17031009a" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_7ee0b2bc-a334-4aef-8a48-cb1318fa5aa7" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_65819066-6d1d-44b4-88de-5fb17031009a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_32daf475-2d3a-486b-a1ec-3898a48ae3a1" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_7ee0b2bc-a334-4aef-8a48-cb1318fa5aa7" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_32daf475-2d3a-486b-a1ec-3898a48ae3a1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_19436494-bc95-45fa-a7ff-47b2ac345627" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_7ee0b2bc-a334-4aef-8a48-cb1318fa5aa7" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_19436494-bc95-45fa-a7ff-47b2ac345627" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_2d82ac5e-2df8-48db-a306-d8ccecde6e79" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_7ee0b2bc-a334-4aef-8a48-cb1318fa5aa7" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_2d82ac5e-2df8-48db-a306-d8ccecde6e79" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_f6883ae9-f8c7-4077-a826-65f3792722af" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_2d82ac5e-2df8-48db-a306-d8ccecde6e79" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_f6883ae9-f8c7-4077-a826-65f3792722af" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_f6883ae9-f8c7-4077-a826-65f3792722af_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_f6883ae9-f8c7-4077-a826-65f3792722af" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_f6883ae9-f8c7-4077-a826-65f3792722af_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_21993606-9514-429f-b4b5-15151a9b4186" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_f6883ae9-f8c7-4077-a826-65f3792722af" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_21993606-9514-429f-b4b5-15151a9b4186" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_2690aa95-45a7-41b7-919f-c5b7a227a347" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FurnitureAndFixturesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_21993606-9514-429f-b4b5-15151a9b4186" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_2690aa95-45a7-41b7-919f-c5b7a227a347" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_LaboratoryEquipmentMember_5fef81dd-7b99-4931-921a-cf292371972b" xlink:href="exdx-20191231.xsd#exdx_LaboratoryEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_21993606-9514-429f-b4b5-15151a9b4186" xlink:to="loc_exdx_LaboratoryEquipmentMember_5fef81dd-7b99-4931-921a-cf292371972b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_ComputerEquipmentAndSoftwareMember_e6e2e889-1744-4e7a-99d4-15869aac343e" xlink:href="exdx-20191231.xsd#exdx_ComputerEquipmentAndSoftwareMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_21993606-9514-429f-b4b5-15151a9b4186" xlink:to="loc_exdx_ComputerEquipmentAndSoftwareMember_e6e2e889-1744-4e7a-99d4-15869aac343e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseholdImprovementsMember_3b8818de-8bad-4aa2-abc0-b3c3d4345fe5" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LeaseholdImprovementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_21993606-9514-429f-b4b5-15151a9b4186" xlink:to="loc_us-gaap_LeaseholdImprovementsMember_3b8818de-8bad-4aa2-abc0-b3c3d4345fe5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConstructionInProgressMember_bfbfb96d-af25-4bd0-9ae3-e94c89dbae7c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConstructionInProgressMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_21993606-9514-429f-b4b5-15151a9b4186" xlink:to="loc_us-gaap_ConstructionInProgressMember_bfbfb96d-af25-4bd0-9ae3-e94c89dbae7c" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/OtherFinancialInformationAccruedliabilitiesDetails" xlink:type="simple" xlink:href="exdx-20191231.xsd#OtherFinancialInformationAccruedliabilitiesDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/OtherFinancialInformationAccruedliabilitiesDetails" xlink:type="extended" id="i2211a0a155d546999f67d72cdbe6664d_f590d8ad-b044-415c-bb27-62c7d7039481"/>
  <link:roleRef roleURI="http://www.exagen.com/role/BorrowingsNotes" xlink:type="simple" xlink:href="exdx-20191231.xsd#BorrowingsNotes"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/BorrowingsNotes" xlink:type="extended" id="id9330352aec74c2d850e89a5dd476ff4_41ee513a-654e-4530-811c-d27620f297ba"/>
  <link:roleRef roleURI="http://www.exagen.com/role/BorrowingsTables" xlink:type="simple" xlink:href="exdx-20191231.xsd#BorrowingsTables"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/BorrowingsTables" xlink:type="extended" id="i1272326c665248af833212ebe9013f97_df81c40f-f657-4b68-9b04-79cb2181dd66"/>
  <link:roleRef roleURI="http://www.exagen.com/role/BorrowingsNarrativeDetails" xlink:type="simple" xlink:href="exdx-20191231.xsd#BorrowingsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/BorrowingsNarrativeDetails" xlink:type="extended" id="i7ba653a7f3d3409bbdeb84bd775604d8_cb866034-2ab9-4cc3-9e28-af0578ea9cad">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_da286e53-5351-4b50-9385-94eb7bf42096" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_c66e8f0b-809a-4bc1-bea7-ea566897c71a" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_da286e53-5351-4b50-9385-94eb7bf42096" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_c66e8f0b-809a-4bc1-bea7-ea566897c71a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_fa3def1c-ce33-445a-a131-f409ee0be8dd" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RepaymentsOfLongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_da286e53-5351-4b50-9385-94eb7bf42096" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_fa3def1c-ce33-445a-a131-f409ee0be8dd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_8c1393aa-3522-4a23-8ffb-b1ba33501792" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_da286e53-5351-4b50-9385-94eb7bf42096" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_8c1393aa-3522-4a23-8ffb-b1ba33501792" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_DebtInstrumentStatedInterestRatePaidInKind_9b307bc7-03ff-4a82-8ed9-5a77d68ecc63" xlink:href="exdx-20191231.xsd#exdx_DebtInstrumentStatedInterestRatePaidInKind"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_da286e53-5351-4b50-9385-94eb7bf42096" xlink:to="loc_exdx_DebtInstrumentStatedInterestRatePaidInKind_9b307bc7-03ff-4a82-8ed9-5a77d68ecc63" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_5f0abe57-ad3e-41ed-a14f-3a5b2e06e949" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentInterestRateEffectivePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_da286e53-5351-4b50-9385-94eb7bf42096" xlink:to="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_5f0abe57-ad3e-41ed-a14f-3a5b2e06e949" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFeeAmount_0b18466a-a34c-43fe-b312-44a8b31bd745" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentFeeAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_da286e53-5351-4b50-9385-94eb7bf42096" xlink:to="loc_us-gaap_DebtInstrumentFeeAmount_0b18466a-a34c-43fe-b312-44a8b31bd745" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_DebtInstrumentPaidInKindLoansIssued_13cdf4ef-8216-497f-8b22-4d2e7515e965" xlink:href="exdx-20191231.xsd#exdx_DebtInstrumentPaidInKindLoansIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_da286e53-5351-4b50-9385-94eb7bf42096" xlink:to="loc_exdx_DebtInstrumentPaidInKindLoansIssued_13cdf4ef-8216-497f-8b22-4d2e7515e965" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_DebtInstrumentPrepaymentPremiumPercentage_a72269a9-da40-4da9-bc20-997faf7e7aef" xlink:href="exdx-20191231.xsd#exdx_DebtInstrumentPrepaymentPremiumPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_da286e53-5351-4b50-9385-94eb7bf42096" xlink:to="loc_exdx_DebtInstrumentPrepaymentPremiumPercentage_a72269a9-da40-4da9-bc20-997faf7e7aef" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_DebtInstrumentPrepaymentPremiumPercentageAnnualReduction_068319d0-0cbe-44c9-afe8-9c5ed24e7414" xlink:href="exdx-20191231.xsd#exdx_DebtInstrumentPrepaymentPremiumPercentageAnnualReduction"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_da286e53-5351-4b50-9385-94eb7bf42096" xlink:to="loc_exdx_DebtInstrumentPrepaymentPremiumPercentageAnnualReduction_068319d0-0cbe-44c9-afe8-9c5ed24e7414" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_DebtInstrumentCovenantComplianceMinimumUnrestrictedCashBalance_6251faf2-0623-43cf-b887-1f4fae40e176" xlink:href="exdx-20191231.xsd#exdx_DebtInstrumentCovenantComplianceMinimumUnrestrictedCashBalance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_da286e53-5351-4b50-9385-94eb7bf42096" xlink:to="loc_exdx_DebtInstrumentCovenantComplianceMinimumUnrestrictedCashBalance_6251faf2-0623-43cf-b887-1f4fae40e176" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_DebtInstrumentCovenantNonComplianceInterestRateIncreaseDecrease_bb8e1c47-b03a-44a6-bb97-f6c2b14fe5b7" xlink:href="exdx-20191231.xsd#exdx_DebtInstrumentCovenantNonComplianceInterestRateIncreaseDecrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_da286e53-5351-4b50-9385-94eb7bf42096" xlink:to="loc_exdx_DebtInstrumentCovenantNonComplianceInterestRateIncreaseDecrease_bb8e1c47-b03a-44a6-bb97-f6c2b14fe5b7" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_cefea3b5-fed1-48e5-a023-96cf8218e0c6" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredFinanceCostsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_da286e53-5351-4b50-9385-94eb7bf42096" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_cefea3b5-fed1-48e5-a023-96cf8218e0c6" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightOutstanding_f06a7b33-75a1-4dd4-b379-ffc6ed986731" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfWarrantOrRightOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_da286e53-5351-4b50-9385-94eb7bf42096" xlink:to="loc_us-gaap_ClassOfWarrantOrRightOutstanding_f06a7b33-75a1-4dd4-b379-ffc6ed986731" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1_540dca16-e100-41ed-a756-f95fac97ce07" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_da286e53-5351-4b50-9385-94eb7bf42096" xlink:to="loc_us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1_540dca16-e100-41ed-a756-f95fac97ce07" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights_66132551-52b2-429e-b6c0-d5b30aaf69c5" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_da286e53-5351-4b50-9385-94eb7bf42096" xlink:to="loc_us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights_66132551-52b2-429e-b6c0-d5b30aaf69c5" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_b1e6ca9e-a11f-4cff-98b9-53ddb5ebf890" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_da286e53-5351-4b50-9385-94eb7bf42096" xlink:to="loc_us-gaap_DebtInstrumentTable_b1e6ca9e-a11f-4cff-98b9-53ddb5ebf890" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_966c391e-dc08-42fd-9841-d9e0f6f46376" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_b1e6ca9e-a11f-4cff-98b9-53ddb5ebf890" xlink:to="loc_us-gaap_DebtInstrumentAxis_966c391e-dc08-42fd-9841-d9e0f6f46376" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_966c391e-dc08-42fd-9841-d9e0f6f46376_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_966c391e-dc08-42fd-9841-d9e0f6f46376" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_966c391e-dc08-42fd-9841-d9e0f6f46376_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_55eb522c-f22c-4f5b-a223-2b91e158af94" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_966c391e-dc08-42fd-9841-d9e0f6f46376" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_55eb522c-f22c-4f5b-a223-2b91e158af94" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_Term2017Member_ab689453-7e89-4a3a-968a-5d0042db679d" xlink:href="exdx-20191231.xsd#exdx_Term2017Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_55eb522c-f22c-4f5b-a223-2b91e158af94" xlink:to="loc_exdx_Term2017Member_ab689453-7e89-4a3a-968a-5d0042db679d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_4ff0d79c-8d54-4599-bd57-5e87324e2cea" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_b1e6ca9e-a11f-4cff-98b9-53ddb5ebf890" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_4ff0d79c-8d54-4599-bd57-5e87324e2cea" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_4ff0d79c-8d54-4599-bd57-5e87324e2cea_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_4ff0d79c-8d54-4599-bd57-5e87324e2cea" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_4ff0d79c-8d54-4599-bd57-5e87324e2cea_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_7e01e93d-d2eb-496d-bf75-e634826618c7" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_4ff0d79c-8d54-4599-bd57-5e87324e2cea" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_7e01e93d-d2eb-496d-bf75-e634826618c7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansPayableMember_bd5cec20-b29a-4b48-b49b-6bc0b0103e60" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LoansPayableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_7e01e93d-d2eb-496d-bf75-e634826618c7" xlink:to="loc_us-gaap_LoansPayableMember_bd5cec20-b29a-4b48-b49b-6bc0b0103e60" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentInKindPIKNoteMember_acb7c0e2-c9f3-49de-8d68-f2fc2d2a4b5d" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentInKindPIKNoteMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_7e01e93d-d2eb-496d-bf75-e634826618c7" xlink:to="loc_us-gaap_PaymentInKindPIKNoteMember_acb7c0e2-c9f3-49de-8d68-f2fc2d2a4b5d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityAxis_a1dfb8b6-ec45-4cf7-aed1-4e4a0111d354" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LineOfCreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_b1e6ca9e-a11f-4cff-98b9-53ddb5ebf890" xlink:to="loc_us-gaap_LineOfCreditFacilityAxis_a1dfb8b6-ec45-4cf7-aed1-4e4a0111d354" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityLenderDomain_a1dfb8b6-ec45-4cf7-aed1-4e4a0111d354_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LineOfCreditFacilityLenderDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LineOfCreditFacilityAxis_a1dfb8b6-ec45-4cf7-aed1-4e4a0111d354" xlink:to="loc_us-gaap_LineOfCreditFacilityLenderDomain_a1dfb8b6-ec45-4cf7-aed1-4e4a0111d354_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityLenderDomain_75d72ee7-2bfd-4235-a9b1-4eb2f505b5f1" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LineOfCreditFacilityLenderDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LineOfCreditFacilityAxis_a1dfb8b6-ec45-4cf7-aed1-4e4a0111d354" xlink:to="loc_us-gaap_LineOfCreditFacilityLenderDomain_75d72ee7-2bfd-4235-a9b1-4eb2f505b5f1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_InnovatusLifeSciencesLendingFundMember_b35fddc0-8a9d-48b0-8dcf-7e221fe6c472" xlink:href="exdx-20191231.xsd#exdx_InnovatusLifeSciencesLendingFundMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLenderDomain_75d72ee7-2bfd-4235-a9b1-4eb2f505b5f1" xlink:to="loc_exdx_InnovatusLifeSciencesLendingFundMember_b35fddc0-8a9d-48b0-8dcf-7e221fe6c472" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_CapitalRoyaltyPartnersIILPMember_f35b50fb-e054-4ee5-8198-0f4f57695975" xlink:href="exdx-20191231.xsd#exdx_CapitalRoyaltyPartnersIILPMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLenderDomain_75d72ee7-2bfd-4235-a9b1-4eb2f505b5f1" xlink:to="loc_exdx_CapitalRoyaltyPartnersIILPMember_f35b50fb-e054-4ee5-8198-0f4f57695975" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_e64a1eb4-18c9-4f3e-a0bc-89ee567b3c1a" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_b1e6ca9e-a11f-4cff-98b9-53ddb5ebf890" xlink:to="loc_us-gaap_StatementClassOfStockAxis_e64a1eb4-18c9-4f3e-a0bc-89ee567b3c1a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_e64a1eb4-18c9-4f3e-a0bc-89ee567b3c1a_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_e64a1eb4-18c9-4f3e-a0bc-89ee567b3c1a" xlink:to="loc_us-gaap_ClassOfStockDomain_e64a1eb4-18c9-4f3e-a0bc-89ee567b3c1a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_86f9213a-84d8-4dfa-8d3f-fa6db091fadb" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_e64a1eb4-18c9-4f3e-a0bc-89ee567b3c1a" xlink:to="loc_us-gaap_ClassOfStockDomain_86f9213a-84d8-4dfa-8d3f-fa6db091fadb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesFPreferredStockMember_7750bdd7-d65c-4140-93b8-10eee9fa00c7" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SeriesFPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_86f9213a-84d8-4dfa-8d3f-fa6db091fadb" xlink:to="loc_us-gaap_SeriesFPreferredStockMember_7750bdd7-d65c-4140-93b8-10eee9fa00c7" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/BorrowingsFutureminimumpaymentsDetails" xlink:type="simple" xlink:href="exdx-20191231.xsd#BorrowingsFutureminimumpaymentsDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/BorrowingsFutureminimumpaymentsDetails" xlink:type="extended" id="if67f4ab7abb449419ee2b3e6b9bbaa80_c516b8b6-530f-42ef-af82-d2b0c82e4bc4"/>
  <link:roleRef roleURI="http://www.exagen.com/role/WarrantstoPurchaseCommonorPreferredStockNotes" xlink:type="simple" xlink:href="exdx-20191231.xsd#WarrantstoPurchaseCommonorPreferredStockNotes"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/WarrantstoPurchaseCommonorPreferredStockNotes" xlink:type="extended" id="i789f24094a994f5dac30f8fe7802ea6a_e6cc7e0f-2965-47cd-8ddd-a33637af7730"/>
  <link:roleRef roleURI="http://www.exagen.com/role/WarrantstoPurchaseCommonorPreferredStockTables" xlink:type="simple" xlink:href="exdx-20191231.xsd#WarrantstoPurchaseCommonorPreferredStockTables"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/WarrantstoPurchaseCommonorPreferredStockTables" xlink:type="extended" id="ic9457a6a9659439f9a2e4e1ce0964d05_fc1e912e-97db-49b3-8905-08e469318906"/>
  <link:roleRef roleURI="http://www.exagen.com/role/WarrantstoPurchaseCommonorPreferredStockNarrativeDetails" xlink:type="simple" xlink:href="exdx-20191231.xsd#WarrantstoPurchaseCommonorPreferredStockNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/WarrantstoPurchaseCommonorPreferredStockNarrativeDetails" xlink:type="extended" id="i874f5f8f8a63495c90da41998c5715fd_9d08af27-f2c2-4b48-8690-aea019896a62">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityLineItems_f1de6551-b168-4052-b86a-2af05086c6a9" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TemporaryEquityLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights_dc1bc923-4b29-46bf-8e65-c1935608c318" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_f1de6551-b168-4052-b86a-2af05086c6a9" xlink:to="loc_us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights_dc1bc923-4b29-46bf-8e65-c1935608c318" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_ClassOfWarrantOrRightExercised_7fe31299-7d10-4f4e-9dcb-968e0cc98634" xlink:href="exdx-20191231.xsd#exdx_ClassOfWarrantOrRightExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_f1de6551-b168-4052-b86a-2af05086c6a9" xlink:to="loc_exdx_ClassOfWarrantOrRightExercised_7fe31299-7d10-4f4e-9dcb-968e0cc98634" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_ClassOfWarrantOrRightUnexercisedAndTerminated_066c82d5-c12c-4a39-ac5e-d3be8db256fc" xlink:href="exdx-20191231.xsd#exdx_ClassOfWarrantOrRightUnexercisedAndTerminated"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_f1de6551-b168-4052-b86a-2af05086c6a9" xlink:to="loc_exdx_ClassOfWarrantOrRightUnexercisedAndTerminated_066c82d5-c12c-4a39-ac5e-d3be8db256fc" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_StockIssuedDuringPeriodSharesWarrantsExercisedNet_19b381b5-7d44-42f9-8ed2-bc64d5d48fbd" xlink:href="exdx-20191231.xsd#exdx_StockIssuedDuringPeriodSharesWarrantsExercisedNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_f1de6551-b168-4052-b86a-2af05086c6a9" xlink:to="loc_exdx_StockIssuedDuringPeriodSharesWarrantsExercisedNet_19b381b5-7d44-42f9-8ed2-bc64d5d48fbd" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityByClassOfStockTable_24ae6f22-9679-4a70-aabf-316adb172d71" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TemporaryEquityByClassOfStockTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_TemporaryEquityLineItems_f1de6551-b168-4052-b86a-2af05086c6a9" xlink:to="loc_us-gaap_TemporaryEquityByClassOfStockTable_24ae6f22-9679-4a70-aabf-316adb172d71" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_2be97e6b-e26c-4938-97de-46e0bceb78ae" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_TemporaryEquityByClassOfStockTable_24ae6f22-9679-4a70-aabf-316adb172d71" xlink:to="loc_us-gaap_StatementClassOfStockAxis_2be97e6b-e26c-4938-97de-46e0bceb78ae" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_2be97e6b-e26c-4938-97de-46e0bceb78ae_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_2be97e6b-e26c-4938-97de-46e0bceb78ae" xlink:to="loc_us-gaap_ClassOfStockDomain_2be97e6b-e26c-4938-97de-46e0bceb78ae_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_615a873c-d125-488d-80a0-6dd4e1616368" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_2be97e6b-e26c-4938-97de-46e0bceb78ae" xlink:to="loc_us-gaap_ClassOfStockDomain_615a873c-d125-488d-80a0-6dd4e1616368" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesFPreferredStockMember_80778d97-70bb-4e5d-983d-29246dbe5a81" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SeriesFPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_615a873c-d125-488d-80a0-6dd4e1616368" xlink:to="loc_us-gaap_SeriesFPreferredStockMember_80778d97-70bb-4e5d-983d-29246dbe5a81" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_SeriesDAndSeriesEPreferredStockMember_61f543de-447d-4fac-8079-c443c145e5d3" xlink:href="exdx-20191231.xsd#exdx_SeriesDAndSeriesEPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_615a873c-d125-488d-80a0-6dd4e1616368" xlink:to="loc_exdx_SeriesDAndSeriesEPreferredStockMember_61f543de-447d-4fac-8079-c443c145e5d3" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/WarrantstoPurchaseCommonorPreferredStockOutstandingwarrantsDetails" xlink:type="simple" xlink:href="exdx-20191231.xsd#WarrantstoPurchaseCommonorPreferredStockOutstandingwarrantsDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/WarrantstoPurchaseCommonorPreferredStockOutstandingwarrantsDetails" xlink:type="extended" id="if8bf5e4e1b4741648fb043a72ec94dca_76c02d23-f6f4-474e-9a41-603403998051">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightLineItems_57a0d1fb-315d-4311-b13c-a28f9c75fa14" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfWarrantOrRightLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightOutstanding_08190221-f535-4a5e-9160-d6cffeffdb35" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfWarrantOrRightOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfWarrantOrRightLineItems_57a0d1fb-315d-4311-b13c-a28f9c75fa14" xlink:to="loc_us-gaap_ClassOfWarrantOrRightOutstanding_08190221-f535-4a5e-9160-d6cffeffdb35" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1_913c8488-0963-416f-b7bc-15a3177499b8" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfWarrantOrRightLineItems_57a0d1fb-315d-4311-b13c-a28f9c75fa14" xlink:to="loc_us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1_913c8488-0963-416f-b7bc-15a3177499b8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightTable_b1419a37-9487-48ae-be68-b07428f6c233" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfWarrantOrRightTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfWarrantOrRightLineItems_57a0d1fb-315d-4311-b13c-a28f9c75fa14" xlink:to="loc_us-gaap_ClassOfWarrantOrRightTable_b1419a37-9487-48ae-be68-b07428f6c233" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightAxis_28418fc9-1413-4656-9cce-2b5bb24fa7aa" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfWarrantOrRightAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ClassOfWarrantOrRightTable_b1419a37-9487-48ae-be68-b07428f6c233" xlink:to="loc_us-gaap_ClassOfWarrantOrRightAxis_28418fc9-1413-4656-9cce-2b5bb24fa7aa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightDomain_28418fc9-1413-4656-9cce-2b5bb24fa7aa_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfWarrantOrRightDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ClassOfWarrantOrRightAxis_28418fc9-1413-4656-9cce-2b5bb24fa7aa" xlink:to="loc_us-gaap_ClassOfWarrantOrRightDomain_28418fc9-1413-4656-9cce-2b5bb24fa7aa_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightDomain_d65d2e2b-990a-403e-9f74-e5e32aa30598" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfWarrantOrRightDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ClassOfWarrantOrRightAxis_28418fc9-1413-4656-9cce-2b5bb24fa7aa" xlink:to="loc_us-gaap_ClassOfWarrantOrRightDomain_d65d2e2b-990a-403e-9f74-e5e32aa30598" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_ExpirationJan192026Member_1fa99c67-c481-421e-8825-ce78ae9443e1" xlink:href="exdx-20191231.xsd#exdx_ExpirationJan192026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfWarrantOrRightDomain_d65d2e2b-990a-403e-9f74-e5e32aa30598" xlink:to="loc_exdx_ExpirationJan192026Member_1fa99c67-c481-421e-8825-ce78ae9443e1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_ExpirationMar312026Member_d2ae09a2-de03-47c2-bf12-b32ba504eda1" xlink:href="exdx-20191231.xsd#exdx_ExpirationMar312026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfWarrantOrRightDomain_d65d2e2b-990a-403e-9f74-e5e32aa30598" xlink:to="loc_exdx_ExpirationMar312026Member_d2ae09a2-de03-47c2-bf12-b32ba504eda1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_ExpirationApr12026Member_841b9f2c-bea4-468b-ad32-ad95738d42d7" xlink:href="exdx-20191231.xsd#exdx_ExpirationApr12026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfWarrantOrRightDomain_d65d2e2b-990a-403e-9f74-e5e32aa30598" xlink:to="loc_exdx_ExpirationApr12026Member_841b9f2c-bea4-468b-ad32-ad95738d42d7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_ExpirationSep82024Member_468a6777-7b2a-4b35-a14c-077e61a6e68c" xlink:href="exdx-20191231.xsd#exdx_ExpirationSep82024Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfWarrantOrRightDomain_d65d2e2b-990a-403e-9f74-e5e32aa30598" xlink:to="loc_exdx_ExpirationSep82024Member_468a6777-7b2a-4b35-a14c-077e61a6e68c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_ExpirationDec72025Member_410ee5ab-4dcc-4a76-9cd1-4cfbff158113" xlink:href="exdx-20191231.xsd#exdx_ExpirationDec72025Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfWarrantOrRightDomain_d65d2e2b-990a-403e-9f74-e5e32aa30598" xlink:to="loc_exdx_ExpirationDec72025Member_410ee5ab-4dcc-4a76-9cd1-4cfbff158113" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/CommitmentandContingenciesNotes" xlink:type="simple" xlink:href="exdx-20191231.xsd#CommitmentandContingenciesNotes"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/CommitmentandContingenciesNotes" xlink:type="extended" id="i7cc955d0c91e475e9bd1f220848c66d6_c16347ed-5884-4334-b05b-cbe58766f215"/>
  <link:roleRef roleURI="http://www.exagen.com/role/CommitmentandContingenciesTables" xlink:type="simple" xlink:href="exdx-20191231.xsd#CommitmentandContingenciesTables"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/CommitmentandContingenciesTables" xlink:type="extended" id="i7aef1ba89d124dc4aab5c0f6902dde79_1c455826-42d1-405a-ab0c-2e12091a0b7e"/>
  <link:roleRef roleURI="http://www.exagen.com/role/CommitmentandContingenciesNarrativeDetails" xlink:type="simple" xlink:href="exdx-20191231.xsd#CommitmentandContingenciesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/CommitmentandContingenciesNarrativeDetails" xlink:type="extended" id="i0c1a562892524919bc9af69ddaa50b70_cd592937-b714-46b3-a478-38349b7eea60">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesLineItems_1e9be317-116c-4d39-ad76-37c669997267" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LossContingenciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_NumberOfOperatingLeaseExtensions_14859bae-710c-4d67-be3e-6e178fe498de" xlink:href="exdx-20191231.xsd#exdx_NumberOfOperatingLeaseExtensions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_1e9be317-116c-4d39-ad76-37c669997267" xlink:to="loc_exdx_NumberOfOperatingLeaseExtensions_14859bae-710c-4d67-be3e-6e178fe498de" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseRenewalTerm_1489e04e-c3e2-4c40-bda2-1ae486e82579" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LesseeOperatingLeaseRenewalTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_1e9be317-116c-4d39-ad76-37c669997267" xlink:to="loc_us-gaap_LesseeOperatingLeaseRenewalTerm_1489e04e-c3e2-4c40-bda2-1ae486e82579" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseAndRentalExpense_035f4434-09c3-460e-9204-e8984e24fa0c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LeaseAndRentalExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_1e9be317-116c-4d39-ad76-37c669997267" xlink:to="loc_us-gaap_LeaseAndRentalExpense_035f4434-09c3-460e-9204-e8984e24fa0c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_MilestoneObligation_ac137fbe-04a8-496a-afa6-a85dbf1f4250" xlink:href="exdx-20191231.xsd#exdx_MilestoneObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_1e9be317-116c-4d39-ad76-37c669997267" xlink:to="loc_exdx_MilestoneObligation_ac137fbe-04a8-496a-afa6-a85dbf1f4250" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_MilestoneContingencyFairValueDisclosure_e32215d4-ba4f-48b2-a2d5-8ee1ac7177b5" xlink:href="exdx-20191231.xsd#exdx_MilestoneContingencyFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_1e9be317-116c-4d39-ad76-37c669997267" xlink:to="loc_exdx_MilestoneContingencyFairValueDisclosure_e32215d4-ba4f-48b2-a2d5-8ee1ac7177b5" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_RoyaltyObligationPercentageOfSales_a3edd86e-e844-4c60-b876-398719bee921" xlink:href="exdx-20191231.xsd#exdx_RoyaltyObligationPercentageOfSales"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_1e9be317-116c-4d39-ad76-37c669997267" xlink:to="loc_exdx_RoyaltyObligationPercentageOfSales_a3edd86e-e844-4c60-b876-398719bee921" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RoyaltyGuaranteesCommitmentsAmount_6b6299bd-747c-4348-84c4-2823d68a5942" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RoyaltyGuaranteesCommitmentsAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_1e9be317-116c-4d39-ad76-37c669997267" xlink:to="loc_us-gaap_RoyaltyGuaranteesCommitmentsAmount_6b6299bd-747c-4348-84c4-2823d68a5942" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_AdvancePayment_b9a96dd1-3616-4944-b370-d0558a1b4123" xlink:href="exdx-20191231.xsd#exdx_AdvancePayment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_1e9be317-116c-4d39-ad76-37c669997267" xlink:to="loc_exdx_AdvancePayment_b9a96dd1-3616-4944-b370-d0558a1b4123" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermPurchaseCommitmentAmount_b0b48bfb-cfe4-48da-bef6-70180e824444" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermPurchaseCommitmentAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_1e9be317-116c-4d39-ad76-37c669997267" xlink:to="loc_us-gaap_LongTermPurchaseCommitmentAmount_b0b48bfb-cfe4-48da-bef6-70180e824444" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermPurchaseCommitmentPeriod_e78cf03f-051d-4d88-b7a6-4cacd213ef27" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermPurchaseCommitmentPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_1e9be317-116c-4d39-ad76-37c669997267" xlink:to="loc_us-gaap_LongtermPurchaseCommitmentPeriod_e78cf03f-051d-4d88-b7a6-4cacd213ef27" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesTable_089ede55-05a0-430b-a0bb-a1388452cf03" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LossContingenciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LossContingenciesLineItems_1e9be317-116c-4d39-ad76-37c669997267" xlink:to="loc_us-gaap_LossContingenciesTable_089ede55-05a0-430b-a0bb-a1388452cf03" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_RentalPropertyByTypeAxis_4d9d970d-6d42-4dd4-8da0-9bbbb8a62404" xlink:href="exdx-20191231.xsd#exdx_RentalPropertyByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_089ede55-05a0-430b-a0bb-a1388452cf03" xlink:to="loc_exdx_RentalPropertyByTypeAxis_4d9d970d-6d42-4dd4-8da0-9bbbb8a62404" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_RentalPropertyByTypeDomain_4d9d970d-6d42-4dd4-8da0-9bbbb8a62404_default" xlink:href="exdx-20191231.xsd#exdx_RentalPropertyByTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_exdx_RentalPropertyByTypeAxis_4d9d970d-6d42-4dd4-8da0-9bbbb8a62404" xlink:to="loc_exdx_RentalPropertyByTypeDomain_4d9d970d-6d42-4dd4-8da0-9bbbb8a62404_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_RentalPropertyByTypeDomain_b2c6a6a8-65de-41c6-a331-46a750a6f19a" xlink:href="exdx-20191231.xsd#exdx_RentalPropertyByTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_exdx_RentalPropertyByTypeAxis_4d9d970d-6d42-4dd4-8da0-9bbbb8a62404" xlink:to="loc_exdx_RentalPropertyByTypeDomain_b2c6a6a8-65de-41c6-a331-46a750a6f19a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_OfficeAndLaboratoryMember_98ace14f-72a6-44bc-bb3b-0fce677bc7a6" xlink:href="exdx-20191231.xsd#exdx_OfficeAndLaboratoryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_exdx_RentalPropertyByTypeDomain_b2c6a6a8-65de-41c6-a331-46a750a6f19a" xlink:to="loc_exdx_OfficeAndLaboratoryMember_98ace14f-72a6-44bc-bb3b-0fce677bc7a6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_OfficeMember_78e92e8a-3c90-46e1-b498-9f3605384ebe" xlink:href="exdx-20191231.xsd#exdx_OfficeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_exdx_RentalPropertyByTypeDomain_b2c6a6a8-65de-41c6-a331-46a750a6f19a" xlink:to="loc_exdx_OfficeMember_78e92e8a-3c90-46e1-b498-9f3605384ebe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CounterpartyNameAxis_ab9a9ff6-9325-4e5d-9b28-481e88ffbcbb" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_CounterpartyNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_089ede55-05a0-430b-a0bb-a1388452cf03" xlink:to="loc_srt_CounterpartyNameAxis_ab9a9ff6-9325-4e5d-9b28-481e88ffbcbb" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_ab9a9ff6-9325-4e5d-9b28-481e88ffbcbb_default" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CounterpartyNameAxis_ab9a9ff6-9325-4e5d-9b28-481e88ffbcbb" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_ab9a9ff6-9325-4e5d-9b28-481e88ffbcbb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_675a9351-84d0-465b-83e3-8d7a6a475cd6" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CounterpartyNameAxis_ab9a9ff6-9325-4e5d-9b28-481e88ffbcbb" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_675a9351-84d0-465b-83e3-8d7a6a475cd6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_PrometheusLaboratoriesIncMember_cd97c47c-c263-4020-bfbb-3f60417c3fd8" xlink:href="exdx-20191231.xsd#exdx_PrometheusLaboratoriesIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_675a9351-84d0-465b-83e3-8d7a6a475cd6" xlink:to="loc_exdx_PrometheusLaboratoriesIncMember_cd97c47c-c263-4020-bfbb-3f60417c3fd8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_b75be5aa-cd2f-4a4c-8dd3-24e7b5b987dc" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_089ede55-05a0-430b-a0bb-a1388452cf03" xlink:to="loc_srt_RangeAxis_b75be5aa-cd2f-4a4c-8dd3-24e7b5b987dc" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_b75be5aa-cd2f-4a4c-8dd3-24e7b5b987dc_default" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_b75be5aa-cd2f-4a4c-8dd3-24e7b5b987dc" xlink:to="loc_srt_RangeMember_b75be5aa-cd2f-4a4c-8dd3-24e7b5b987dc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_53b4bf6a-e769-461c-a582-4301a7aea289" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_b75be5aa-cd2f-4a4c-8dd3-24e7b5b987dc" xlink:to="loc_srt_RangeMember_53b4bf6a-e769-461c-a582-4301a7aea289" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_ad0748d9-1d11-4690-abf1-d07c4c0865d4" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_53b4bf6a-e769-461c-a582-4301a7aea289" xlink:to="loc_srt_MinimumMember_ad0748d9-1d11-4690-abf1-d07c4c0865d4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_36e6eb02-c135-4d79-94d7-54e6ccb3929a" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_53b4bf6a-e769-461c-a582-4301a7aea289" xlink:to="loc_srt_MaximumMember_36e6eb02-c135-4d79-94d7-54e6ccb3929a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersByTypeAxis_eb35b104-1a72-4828-a7ee-831731829dfb" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_089ede55-05a0-430b-a0bb-a1388452cf03" xlink:to="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersByTypeAxis_eb35b104-1a72-4828-a7ee-831731829dfb" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain_eb35b104-1a72-4828-a7ee-831731829dfb_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersByTypeAxis_eb35b104-1a72-4828-a7ee-831731829dfb" xlink:to="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain_eb35b104-1a72-4828-a7ee-831731829dfb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain_8e72c387-c545-4a1c-8421-dc110303443c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersByTypeAxis_eb35b104-1a72-4828-a7ee-831731829dfb" xlink:to="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain_8e72c387-c545-4a1c-8421-dc110303443c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LicenseAgreementTermsMember_0a8b4ed0-3c98-4ac3-8189-3aea2e398a91" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LicenseAgreementTermsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain_8e72c387-c545-4a1c-8421-dc110303443c" xlink:to="loc_us-gaap_LicenseAgreementTermsMember_0a8b4ed0-3c98-4ac3-8189-3aea2e398a91" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/CommitmentandContingenciesMinimumannualleasepaymentsundernoncancelableleasearrangementsDetails" xlink:type="simple" xlink:href="exdx-20191231.xsd#CommitmentandContingenciesMinimumannualleasepaymentsundernoncancelableleasearrangementsDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/CommitmentandContingenciesMinimumannualleasepaymentsundernoncancelableleasearrangementsDetails" xlink:type="extended" id="ic4bc10f325014b3081ddb7657bc8a303_090c0eda-9bee-4f37-8204-ebc2aa229f72"/>
  <link:roleRef roleURI="http://www.exagen.com/role/FairValueMeasurementsNotes" xlink:type="simple" xlink:href="exdx-20191231.xsd#FairValueMeasurementsNotes"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/FairValueMeasurementsNotes" xlink:type="extended" id="ieeecc45e460e488ca086f2537788c5e6_b2b23c67-1ef9-4749-aa46-f0c922c37798"/>
  <link:roleRef roleURI="http://www.exagen.com/role/FairValueMeasuresandDisclosuresTables" xlink:type="simple" xlink:href="exdx-20191231.xsd#FairValueMeasuresandDisclosuresTables"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/FairValueMeasuresandDisclosuresTables" xlink:type="extended" id="i98a2e9fb5b2b48e690ff549ffa8db830_622d3e9a-bec5-497d-9942-33358a82f9cd"/>
  <link:roleRef roleURI="http://www.exagen.com/role/FairValueMeasurementsFairvaluemeasurementDetails" xlink:type="simple" xlink:href="exdx-20191231.xsd#FairValueMeasurementsFairvaluemeasurementDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/FairValueMeasurementsFairvaluemeasurementDetails" xlink:type="extended" id="i19023f10522344ee8d3930e83a71f3e7_834c6555-8b59-4473-a3fb-716d13ad7e69">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_6eb13355-6f03-44d6-aaa3-280a292847b8" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosureAbstract_aa74ecfc-8dad-430c-a7f7-974c0ffe1229" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AssetsFairValueDisclosureAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_6eb13355-6f03-44d6-aaa3-280a292847b8" xlink:to="loc_us-gaap_AssetsFairValueDisclosureAbstract_aa74ecfc-8dad-430c-a7f7-974c0ffe1229" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_85b8b0f9-7cdd-4d71-980b-de672db997f3" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_aa74ecfc-8dad-430c-a7f7-974c0ffe1229" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_85b8b0f9-7cdd-4d71-980b-de672db997f3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosureAbstract_89aaf0a2-1730-47d2-b5b8-00a9697f3ec8" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilitiesFairValueDisclosureAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_6eb13355-6f03-44d6-aaa3-280a292847b8" xlink:to="loc_us-gaap_LiabilitiesFairValueDisclosureAbstract_89aaf0a2-1730-47d2-b5b8-00a9697f3ec8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_9e7530d3-26e5-49a1-a18d-e1cee3307733" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosureAbstract_89aaf0a2-1730-47d2-b5b8-00a9697f3ec8" xlink:to="loc_us-gaap_DerivativeLiabilities_9e7530d3-26e5-49a1-a18d-e1cee3307733" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_bbc437b1-b53d-4dba-a745-5cd1447f5894" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_6eb13355-6f03-44d6-aaa3-280a292847b8" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_bbc437b1-b53d-4dba-a745-5cd1447f5894" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_90ffe6f1-7592-47a7-8d2b-b48cc0acae94" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_bbc437b1-b53d-4dba-a745-5cd1447f5894" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_90ffe6f1-7592-47a7-8d2b-b48cc0acae94" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_90ffe6f1-7592-47a7-8d2b-b48cc0acae94_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_90ffe6f1-7592-47a7-8d2b-b48cc0acae94" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_90ffe6f1-7592-47a7-8d2b-b48cc0acae94_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_1e7fc4f2-958e-4e7f-b193-79efa4f3de69" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_90ffe6f1-7592-47a7-8d2b-b48cc0acae94" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_1e7fc4f2-958e-4e7f-b193-79efa4f3de69" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_a9b872e2-b34c-436d-b08e-1fe4af930f8e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_1e7fc4f2-958e-4e7f-b193-79efa4f3de69" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_a9b872e2-b34c-436d-b08e-1fe4af930f8e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAxis_cddccde8-dc81-4aa9-9b4a-9af248525369" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CashAndCashEquivalentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_bbc437b1-b53d-4dba-a745-5cd1447f5894" xlink:to="loc_us-gaap_CashAndCashEquivalentsAxis_cddccde8-dc81-4aa9-9b4a-9af248525369" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_cddccde8-dc81-4aa9-9b4a-9af248525369_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CashAndCashEquivalentsAxis_cddccde8-dc81-4aa9-9b4a-9af248525369" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_cddccde8-dc81-4aa9-9b4a-9af248525369_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_20580124-503f-439f-af25-62ffe87494cc" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CashAndCashEquivalentsAxis_cddccde8-dc81-4aa9-9b4a-9af248525369" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_20580124-503f-439f-af25-62ffe87494cc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MoneyMarketFundsMember_2e67dc52-4478-40af-a8a2-522b84efcb11" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_MoneyMarketFundsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_20580124-503f-439f-af25-62ffe87494cc" xlink:to="loc_us-gaap_MoneyMarketFundsMember_2e67dc52-4478-40af-a8a2-522b84efcb11" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_f590fdda-bee1-420c-8b8f-808a40f0c7bc" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_bbc437b1-b53d-4dba-a745-5cd1447f5894" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_f590fdda-bee1-420c-8b8f-808a40f0c7bc" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_f590fdda-bee1-420c-8b8f-808a40f0c7bc_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_f590fdda-bee1-420c-8b8f-808a40f0c7bc" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_f590fdda-bee1-420c-8b8f-808a40f0c7bc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_80baca46-9912-4ecb-a8e8-a28b9510da26" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_f590fdda-bee1-420c-8b8f-808a40f0c7bc" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_80baca46-9912-4ecb-a8e8-a28b9510da26" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_a1fc747b-b10b-4a04-b93f-223723ab111d" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_80baca46-9912-4ecb-a8e8-a28b9510da26" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_a1fc747b-b10b-4a04-b93f-223723ab111d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_a7894662-a10a-4d02-8638-040eb9dee611" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_80baca46-9912-4ecb-a8e8-a28b9510da26" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_a7894662-a10a-4d02-8638-040eb9dee611" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_5428cdf5-8d24-4c7e-b4c4-7597cc80a3d1" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_80baca46-9912-4ecb-a8e8-a28b9510da26" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_5428cdf5-8d24-4c7e-b4c4-7597cc80a3d1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_ac3fa568-38e9-4d90-bee7-165ea49f6319" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_bbc437b1-b53d-4dba-a745-5cd1447f5894" xlink:to="loc_us-gaap_FinancialInstrumentAxis_ac3fa568-38e9-4d90-bee7-165ea49f6319" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_ac3fa568-38e9-4d90-bee7-165ea49f6319_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_ac3fa568-38e9-4d90-bee7-165ea49f6319" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_ac3fa568-38e9-4d90-bee7-165ea49f6319_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_3dd5d99a-746a-4edc-b3bb-62ef4c47ae11" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_ac3fa568-38e9-4d90-bee7-165ea49f6319" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_3dd5d99a-746a-4edc-b3bb-62ef4c47ae11" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WarrantMember_ed2928a3-016e-4978-8c42-806ed69318ce" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_WarrantMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_3dd5d99a-746a-4edc-b3bb-62ef4c47ae11" xlink:to="loc_us-gaap_WarrantMember_ed2928a3-016e-4978-8c42-806ed69318ce" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/FairValueMeasurementsFairvaluelevel3Details" xlink:type="simple" xlink:href="exdx-20191231.xsd#FairValueMeasurementsFairvaluelevel3Details"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/FairValueMeasurementsFairvaluelevel3Details" xlink:type="extended" id="i7df8c0ff2eaf435d817bf5b3d190d978_b87a6924-4d04-4dfe-ab11-38c84c429599">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_91c733ac-2ba2-456d-afa9-d6b25997bdd6" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationRollForward_e0eb6cc7-f533-45e4-bd3f-ef0554a0c071" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_91c733ac-2ba2-456d-afa9-d6b25997bdd6" xlink:to="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationRollForward_e0eb6cc7-f533-45e4-bd3f-ef0554a0c071" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisWithUnobservableInputs_2fb411a9-0dd9-48da-90e1-fddd39acb8d7" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisWithUnobservableInputs"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationRollForward_e0eb6cc7-f533-45e4-bd3f-ef0554a0c071" xlink:to="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisWithUnobservableInputs_2fb411a9-0dd9-48da-90e1-fddd39acb8d7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationIssues_a2e12b6e-0ff8-4b8a-a0bb-cdaf79597740" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationIssues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationRollForward_e0eb6cc7-f533-45e4-bd3f-ef0554a0c071" xlink:to="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationIssues_a2e12b6e-0ff8-4b8a-a0bb-cdaf79597740" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationGainLossIncludedInEarnings_674d30de-e445-43dc-a5ec-3f2718e498f4" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationGainLossIncludedInEarnings"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationRollForward_e0eb6cc7-f533-45e4-bd3f-ef0554a0c071" xlink:to="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationGainLossIncludedInEarnings_674d30de-e445-43dc-a5ec-3f2718e498f4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationSettlements_26032da5-0a79-48bd-9ba0-9e0b2767a046" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationSettlements"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationRollForward_e0eb6cc7-f533-45e4-bd3f-ef0554a0c071" xlink:to="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationSettlements_26032da5-0a79-48bd-9ba0-9e0b2767a046" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationTransfersOutOfLevel3_64bf06b3-2ca8-46a2-958a-52aae0d1965f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationTransfersOutOfLevel3"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationRollForward_e0eb6cc7-f533-45e4-bd3f-ef0554a0c071" xlink:to="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputsReconciliationTransfersOutOfLevel3_64bf06b3-2ca8-46a2-958a-52aae0d1965f" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisWithUnobservableInputs_57af075c-a495-46b6-85eb-12175f43d764" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisWithUnobservableInputs"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_189b2ee6-c0eb-4d4f-b73a-555a0f9cc76f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_91c733ac-2ba2-456d-afa9-d6b25997bdd6" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_189b2ee6-c0eb-4d4f-b73a-555a0f9cc76f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_4000833d-0c52-4a89-8294-96e0df5790b6" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_189b2ee6-c0eb-4d4f-b73a-555a0f9cc76f" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_4000833d-0c52-4a89-8294-96e0df5790b6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_4000833d-0c52-4a89-8294-96e0df5790b6_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_4000833d-0c52-4a89-8294-96e0df5790b6" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_4000833d-0c52-4a89-8294-96e0df5790b6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_7129ecd8-a3f4-49b7-bfed-63f39b19993b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_4000833d-0c52-4a89-8294-96e0df5790b6" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_7129ecd8-a3f4-49b7-bfed-63f39b19993b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_61b9b77a-ad23-4560-8931-c88310bf5d0e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_7129ecd8-a3f4-49b7-bfed-63f39b19993b" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_61b9b77a-ad23-4560-8931-c88310bf5d0e" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/RedeemableConvertiblePreferredStock" xlink:type="simple" xlink:href="exdx-20191231.xsd#RedeemableConvertiblePreferredStock"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/RedeemableConvertiblePreferredStock" xlink:type="extended" id="i5e7407774e4d4c9bb8669c9e8c85ced8_554402e2-002d-4642-8966-bf918e40c4b2"/>
  <link:roleRef roleURI="http://www.exagen.com/role/RedeemableConvertiblePreferredStockDetails" xlink:type="simple" xlink:href="exdx-20191231.xsd#RedeemableConvertiblePreferredStockDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/RedeemableConvertiblePreferredStockDetails" xlink:type="extended" id="i5317605e06bb42a6a7ac959c15887fa3_9d8da6e2-d924-4381-a245-202c81218410">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityLineItems_f88e1ae1-6899-411c-897a-b1ae25def7ca" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TemporaryEquityLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquitySharesAuthorized_0ebf87bc-69af-4b23-ad66-befec0f09128" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TemporaryEquitySharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_f88e1ae1-6899-411c-897a-b1ae25def7ca" xlink:to="loc_us-gaap_TemporaryEquitySharesAuthorized_0ebf87bc-69af-4b23-ad66-befec0f09128" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_101c67ee-0871-4b9b-8580-cc11c56f4ee3" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_f88e1ae1-6899-411c-897a-b1ae25def7ca" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_101c67ee-0871-4b9b-8580-cc11c56f4ee3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_SaleOfTemporaryEquityNumberOfSharesIssuedInTransaction_427e3539-b873-421b-a335-0051fb042ae1" xlink:href="exdx-20191231.xsd#exdx_SaleOfTemporaryEquityNumberOfSharesIssuedInTransaction"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_f88e1ae1-6899-411c-897a-b1ae25def7ca" xlink:to="loc_exdx_SaleOfTemporaryEquityNumberOfSharesIssuedInTransaction_427e3539-b873-421b-a335-0051fb042ae1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_SaleOfTemporaryEquityPricePerShare_bdc483c7-f5c8-4f82-a050-ec11f379f38a" xlink:href="exdx-20191231.xsd#exdx_SaleOfTemporaryEquityPricePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_f88e1ae1-6899-411c-897a-b1ae25def7ca" xlink:to="loc_exdx_SaleOfTemporaryEquityPricePerShare_bdc483c7-f5c8-4f82-a050-ec11f379f38a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_SaleOfTemporaryEquityConsiderationReceivedOnTransaction_14a6352c-9783-402c-a9a1-fddb2f71d865" xlink:href="exdx-20191231.xsd#exdx_SaleOfTemporaryEquityConsiderationReceivedOnTransaction"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_f88e1ae1-6899-411c-897a-b1ae25def7ca" xlink:to="loc_exdx_SaleOfTemporaryEquityConsiderationReceivedOnTransaction_14a6352c-9783-402c-a9a1-fddb2f71d865" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_TemporaryEquityRightsForMandatoryPurchase_2a59cee4-4f88-4bbb-b491-8a3362d60fe3" xlink:href="exdx-20191231.xsd#exdx_TemporaryEquityRightsForMandatoryPurchase"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_f88e1ae1-6899-411c-897a-b1ae25def7ca" xlink:to="loc_exdx_TemporaryEquityRightsForMandatoryPurchase_2a59cee4-4f88-4bbb-b491-8a3362d60fe3" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_TemporaryEquityConsiderationToBeReceivedUnderMandatoryPurchase_329c56cc-2b2f-4743-9ce9-0c2ce1c78ae5" xlink:href="exdx-20191231.xsd#exdx_TemporaryEquityConsiderationToBeReceivedUnderMandatoryPurchase"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_f88e1ae1-6899-411c-897a-b1ae25def7ca" xlink:to="loc_exdx_TemporaryEquityConsiderationToBeReceivedUnderMandatoryPurchase_329c56cc-2b2f-4743-9ce9-0c2ce1c78ae5" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_TemporaryEquitySharesRedeemedUponConversion_3260b57a-0e97-43b8-86d8-4d33260a85d2" xlink:href="exdx-20191231.xsd#exdx_TemporaryEquitySharesRedeemedUponConversion"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_f88e1ae1-6899-411c-897a-b1ae25def7ca" xlink:to="loc_exdx_TemporaryEquitySharesRedeemedUponConversion_3260b57a-0e97-43b8-86d8-4d33260a85d2" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_TemporaryEquityDeemedDividend_77a1d3ed-bd19-441c-90ca-3ee3275e8d63" xlink:href="exdx-20191231.xsd#exdx_TemporaryEquityDeemedDividend"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_f88e1ae1-6899-411c-897a-b1ae25def7ca" xlink:to="loc_exdx_TemporaryEquityDeemedDividend_77a1d3ed-bd19-441c-90ca-3ee3275e8d63" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_TemporaryEquitySharesIssuedUponConversion_7606f9c5-2ed4-4b9f-be89-8e898676e61b" xlink:href="exdx-20191231.xsd#exdx_TemporaryEquitySharesIssuedUponConversion"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_f88e1ae1-6899-411c-897a-b1ae25def7ca" xlink:to="loc_exdx_TemporaryEquitySharesIssuedUponConversion_7606f9c5-2ed4-4b9f-be89-8e898676e61b" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_TemporaryEquityDeemedDividendsWithBeneficialConversionFeature_caf9505d-8e58-4a75-ad3a-5f14f2a336d0" xlink:href="exdx-20191231.xsd#exdx_TemporaryEquityDeemedDividendsWithBeneficialConversionFeature"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_f88e1ae1-6899-411c-897a-b1ae25def7ca" xlink:to="loc_exdx_TemporaryEquityDeemedDividendsWithBeneficialConversionFeature_caf9505d-8e58-4a75-ad3a-5f14f2a336d0" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityByClassOfStockTable_5ead38c3-9403-4ac7-b70f-95cee4ec3c10" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TemporaryEquityByClassOfStockTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_TemporaryEquityLineItems_f88e1ae1-6899-411c-897a-b1ae25def7ca" xlink:to="loc_us-gaap_TemporaryEquityByClassOfStockTable_5ead38c3-9403-4ac7-b70f-95cee4ec3c10" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_2a5a2a73-3dcf-4835-97bc-084aa87769d7" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_TemporaryEquityByClassOfStockTable_5ead38c3-9403-4ac7-b70f-95cee4ec3c10" xlink:to="loc_us-gaap_StatementClassOfStockAxis_2a5a2a73-3dcf-4835-97bc-084aa87769d7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_2a5a2a73-3dcf-4835-97bc-084aa87769d7_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_2a5a2a73-3dcf-4835-97bc-084aa87769d7" xlink:to="loc_us-gaap_ClassOfStockDomain_2a5a2a73-3dcf-4835-97bc-084aa87769d7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_e1690a17-4ce4-46ae-ba7b-b6545054f6f9" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_2a5a2a73-3dcf-4835-97bc-084aa87769d7" xlink:to="loc_us-gaap_ClassOfStockDomain_e1690a17-4ce4-46ae-ba7b-b6545054f6f9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesGPreferredStockMember_bb75158b-ccb2-4d2d-8e8b-7ce1280f9a22" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SeriesGPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_e1690a17-4ce4-46ae-ba7b-b6545054f6f9" xlink:to="loc_us-gaap_SeriesGPreferredStockMember_bb75158b-ccb2-4d2d-8e8b-7ce1280f9a22" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesFPreferredStockMember_1647d678-6733-4d6f-8785-892e3104fc84" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SeriesFPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_e1690a17-4ce4-46ae-ba7b-b6545054f6f9" xlink:to="loc_us-gaap_SeriesFPreferredStockMember_1647d678-6733-4d6f-8785-892e3104fc84" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesHPreferredStockMember_b605c174-ee4a-42da-9326-b0ee4215e722" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SeriesHPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_e1690a17-4ce4-46ae-ba7b-b6545054f6f9" xlink:to="loc_us-gaap_SeriesHPreferredStockMember_b605c174-ee4a-42da-9326-b0ee4215e722" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_45e4d998-ac63-4fef-9b87-0dd927dd0502" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_TemporaryEquityByClassOfStockTable_5ead38c3-9403-4ac7-b70f-95cee4ec3c10" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_45e4d998-ac63-4fef-9b87-0dd927dd0502" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_45e4d998-ac63-4fef-9b87-0dd927dd0502_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_45e4d998-ac63-4fef-9b87-0dd927dd0502" xlink:to="loc_us-gaap_EquityComponentDomain_45e4d998-ac63-4fef-9b87-0dd927dd0502_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_15736f38-e9cc-4770-85d8-2aaed1eecc08" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_45e4d998-ac63-4fef-9b87-0dd927dd0502" xlink:to="loc_us-gaap_EquityComponentDomain_15736f38-e9cc-4770-85d8-2aaed1eecc08" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_5a1b9975-c9a5-4cd1-98e4-20995abd6476" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_15736f38-e9cc-4770-85d8-2aaed1eecc08" xlink:to="loc_us-gaap_CommonStockMember_5a1b9975-c9a5-4cd1-98e4-20995abd6476" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsidiarySaleOfStockAxis_1313d870-1bd8-45e4-a4e6-1419f6864340" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsidiarySaleOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_TemporaryEquityByClassOfStockTable_5ead38c3-9403-4ac7-b70f-95cee4ec3c10" xlink:to="loc_us-gaap_SubsidiarySaleOfStockAxis_1313d870-1bd8-45e4-a4e6-1419f6864340" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_1313d870-1bd8-45e4-a4e6-1419f6864340_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SaleOfStockNameOfTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_1313d870-1bd8-45e4-a4e6-1419f6864340" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_1313d870-1bd8-45e4-a4e6-1419f6864340_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_a0b463fb-20f1-464b-b322-aa966c6af5aa" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SaleOfStockNameOfTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_1313d870-1bd8-45e4-a4e6-1419f6864340" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_a0b463fb-20f1-464b-b322-aa966c6af5aa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IPOMember_40df6df1-79e8-47c3-8663-f9937e5eb980" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IPOMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_a0b463fb-20f1-464b-b322-aa966c6af5aa" xlink:to="loc_us-gaap_IPOMember_40df6df1-79e8-47c3-8663-f9937e5eb980" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/StockholdersEquityDeficit" xlink:type="simple" xlink:href="exdx-20191231.xsd#StockholdersEquityDeficit"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/StockholdersEquityDeficit" xlink:type="extended" id="i382c03f368a24735a3a8ef505c76f110_adec599e-feb4-4e9f-809c-893272afad6f"/>
  <link:roleRef roleURI="http://www.exagen.com/role/StockholdersEquityDeficitDetails" xlink:type="simple" xlink:href="exdx-20191231.xsd#StockholdersEquityDeficitDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/StockholdersEquityDeficitDetails" xlink:type="extended" id="i4d897eed62e04fe1a92e66f00cbf762b_eec3578f-fd31-4c3a-be2b-fe55ca2a5630">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsidiarySaleOfStockLineItems_de4d142b-8606-416a-9b57-7bc150a62619" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsidiarySaleOfStockLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_7fabd5a8-f288-4150-89a1-66a3472d900f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsidiarySaleOfStockLineItems_de4d142b-8606-416a-9b57-7bc150a62619" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_7fabd5a8-f288-4150-89a1-66a3472d900f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesAuthorized_62c60bd8-7af0-4ec5-bb99-bd0302031105" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PreferredStockSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsidiarySaleOfStockLineItems_de4d142b-8606-416a-9b57-7bc150a62619" xlink:to="loc_us-gaap_PreferredStockSharesAuthorized_62c60bd8-7af0-4ec5-bb99-bd0302031105" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction_cb262b9f-c21b-405b-baf2-d585c6b09a2e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsidiarySaleOfStockLineItems_de4d142b-8606-416a-9b57-7bc150a62619" xlink:to="loc_us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction_cb262b9f-c21b-405b-baf2-d585c6b09a2e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockPricePerShare_e74f033d-9dce-48bd-92e5-419e228098a5" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SaleOfStockPricePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsidiarySaleOfStockLineItems_de4d142b-8606-416a-9b57-7bc150a62619" xlink:to="loc_us-gaap_SaleOfStockPricePerShare_e74f033d-9dce-48bd-92e5-419e228098a5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockConsiderationReceivedOnTransaction_12cda32d-3bc1-4ff1-8ec7-f9dc6bbbdf74" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SaleOfStockConsiderationReceivedOnTransaction"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsidiarySaleOfStockLineItems_de4d142b-8606-416a-9b57-7bc150a62619" xlink:to="loc_us-gaap_SaleOfStockConsiderationReceivedOnTransaction_12cda32d-3bc1-4ff1-8ec7-f9dc6bbbdf74" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_StockIssuanceCosts_1f3ef532-acce-494c-8148-62cff46f41c9" xlink:href="exdx-20191231.xsd#exdx_StockIssuanceCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsidiarySaleOfStockLineItems_de4d142b-8606-416a-9b57-7bc150a62619" xlink:to="loc_exdx_StockIssuanceCosts_1f3ef532-acce-494c-8148-62cff46f41c9" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_0722f4ab-bb79-49f3-b7b8-84c2a2578068" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsidiarySaleOfStockLineItems_de4d142b-8606-416a-9b57-7bc150a62619" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_0722f4ab-bb79-49f3-b7b8-84c2a2578068" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable_9e8b9353-0a35-4ec8-bc05-148990922b2d" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SubsidiarySaleOfStockLineItems_de4d142b-8606-416a-9b57-7bc150a62619" xlink:to="loc_us-gaap_SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable_9e8b9353-0a35-4ec8-bc05-148990922b2d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsidiarySaleOfStockAxis_62c5d273-0e5c-4ce5-879d-eab502aac515" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsidiarySaleOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable_9e8b9353-0a35-4ec8-bc05-148990922b2d" xlink:to="loc_us-gaap_SubsidiarySaleOfStockAxis_62c5d273-0e5c-4ce5-879d-eab502aac515" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_62c5d273-0e5c-4ce5-879d-eab502aac515_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SaleOfStockNameOfTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_62c5d273-0e5c-4ce5-879d-eab502aac515" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_62c5d273-0e5c-4ce5-879d-eab502aac515_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_be494ac8-9d05-4288-9d83-f13b5c4fb260" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SaleOfStockNameOfTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_62c5d273-0e5c-4ce5-879d-eab502aac515" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_be494ac8-9d05-4288-9d83-f13b5c4fb260" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IPOMember_49b85105-8606-4f86-8ba9-87338d15a8b9" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IPOMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_be494ac8-9d05-4288-9d83-f13b5c4fb260" xlink:to="loc_us-gaap_IPOMember_49b85105-8606-4f86-8ba9-87338d15a8b9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OverAllotmentOptionMember_f4465638-a2d6-4e63-911e-b73ba6bd69ad" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OverAllotmentOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_be494ac8-9d05-4288-9d83-f13b5c4fb260" xlink:to="loc_us-gaap_OverAllotmentOptionMember_f4465638-a2d6-4e63-911e-b73ba6bd69ad" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_1a15f1d1-7b27-4526-8b14-b6ba4811f1be" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable_9e8b9353-0a35-4ec8-bc05-148990922b2d" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_1a15f1d1-7b27-4526-8b14-b6ba4811f1be" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_1a15f1d1-7b27-4526-8b14-b6ba4811f1be_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_1a15f1d1-7b27-4526-8b14-b6ba4811f1be" xlink:to="loc_us-gaap_EquityComponentDomain_1a15f1d1-7b27-4526-8b14-b6ba4811f1be_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_17989c32-6830-4ed3-b449-459e1cf9f487" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_1a15f1d1-7b27-4526-8b14-b6ba4811f1be" xlink:to="loc_us-gaap_EquityComponentDomain_17989c32-6830-4ed3-b449-459e1cf9f487" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_a1e96b9b-2c95-45d2-be9f-d5f28ea4f759" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_17989c32-6830-4ed3-b449-459e1cf9f487" xlink:to="loc_us-gaap_CommonStockMember_a1e96b9b-2c95-45d2-be9f-d5f28ea4f759" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/StockOptionPlan" xlink:type="simple" xlink:href="exdx-20191231.xsd#StockOptionPlan"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/StockOptionPlan" xlink:type="extended" id="i946596e8bab0410fbc5fd54a3e4eb088_a120239e-d160-4199-9629-2896f6885e39"/>
  <link:roleRef roleURI="http://www.exagen.com/role/StockOptionPlanTables" xlink:type="simple" xlink:href="exdx-20191231.xsd#StockOptionPlanTables"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/StockOptionPlanTables" xlink:type="extended" id="iff14c29befac481ca09b64f7de802885_7d9205d4-c8ae-4ee9-b80d-1049a3e3e217"/>
  <link:roleRef roleURI="http://www.exagen.com/role/StockOptionPlanNarrativeDetails" xlink:type="simple" xlink:href="exdx-20191231.xsd#StockOptionPlanNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/StockOptionPlanNarrativeDetails" xlink:type="extended" id="ic09f922ecd524938b9319f05f54185d8_3ec6732a-f4b1-446c-b0a8-4cba97f44ee2">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8f583795-33d8-4251-8338-6d25785cc7e2" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_d7bde62b-fb95-42b0-93da-7305f6e408cd" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8f583795-33d8-4251-8338-6d25785cc7e2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_d7bde62b-fb95-42b0-93da-7305f6e408cd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_ShareBasedCompensationArrangementByShareBasedPaymentAwardAdditionalSharesAuthorizedPercentage_71e64a7f-7cd2-4bb0-ad68-953624b2f116" xlink:href="exdx-20191231.xsd#exdx_ShareBasedCompensationArrangementByShareBasedPaymentAwardAdditionalSharesAuthorizedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8f583795-33d8-4251-8338-6d25785cc7e2" xlink:to="loc_exdx_ShareBasedCompensationArrangementByShareBasedPaymentAwardAdditionalSharesAuthorizedPercentage_71e64a7f-7cd2-4bb0-ad68-953624b2f116" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_ffb8a456-b799-47a7-a2ad-5f3261b6b883" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8f583795-33d8-4251-8338-6d25785cc7e2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_ffb8a456-b799-47a7-a2ad-5f3261b6b883" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_6d3090ea-e9e9-4366-b995-c098e0412f72" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8f583795-33d8-4251-8338-6d25785cc7e2" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_6d3090ea-e9e9-4366-b995-c098e0412f72" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_19fa3404-ef1f-4e6a-a71d-cf070b5eaea1" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8f583795-33d8-4251-8338-6d25785cc7e2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_19fa3404-ef1f-4e6a-a71d-cf070b5eaea1" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_10eec74b-f910-4a5e-9274-25bfdd2cde55" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8f583795-33d8-4251-8338-6d25785cc7e2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_10eec74b-f910-4a5e-9274-25bfdd2cde55" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_bbda6302-ffa1-4c5b-b319-3f481bfe926f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8f583795-33d8-4251-8338-6d25785cc7e2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_bbda6302-ffa1-4c5b-b319-3f481bfe926f" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_d5d59a7b-2623-444f-b8ba-23f649ef6c6c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8f583795-33d8-4251-8338-6d25785cc7e2" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_d5d59a7b-2623-444f-b8ba-23f649ef6c6c" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_4e2b446d-57ad-45b9-8b87-25a347f633f2" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8f583795-33d8-4251-8338-6d25785cc7e2" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_4e2b446d-57ad-45b9-8b87-25a347f633f2" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate_b9393a2f-45c0-4c49-a5cc-7d3cdad0b819" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8f583795-33d8-4251-8338-6d25785cc7e2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate_b9393a2f-45c0-4c49-a5cc-7d3cdad0b819" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_b9b662df-f4f0-4a60-ae9e-217a4315f535" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8f583795-33d8-4251-8338-6d25785cc7e2" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_b9b662df-f4f0-4a60-ae9e-217a4315f535" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_ShareBasedCompensationArrangementByShareBasedPaymentAwardIncreaseDecreaseInNumberOfSharesAuthorized_c30ec677-e2e2-4907-af6d-b15c1acd5e00" xlink:href="exdx-20191231.xsd#exdx_ShareBasedCompensationArrangementByShareBasedPaymentAwardIncreaseDecreaseInNumberOfSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8f583795-33d8-4251-8338-6d25785cc7e2" xlink:to="loc_exdx_ShareBasedCompensationArrangementByShareBasedPaymentAwardIncreaseDecreaseInNumberOfSharesAuthorized_c30ec677-e2e2-4907-af6d-b15c1acd5e00" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_b0f2ff59-878f-4907-af9c-a6233e405ef7" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_8f583795-33d8-4251-8338-6d25785cc7e2" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_b0f2ff59-878f-4907-af9c-a6233e405ef7" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameAxis_8dbea312-7d25-42e2-90b6-db1f0044a72b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_b0f2ff59-878f-4907-af9c-a6233e405ef7" xlink:to="loc_us-gaap_PlanNameAxis_8dbea312-7d25-42e2-90b6-db1f0044a72b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_8dbea312-7d25-42e2-90b6-db1f0044a72b_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_8dbea312-7d25-42e2-90b6-db1f0044a72b" xlink:to="loc_us-gaap_PlanNameDomain_8dbea312-7d25-42e2-90b6-db1f0044a72b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_5b9f7c22-118c-4246-bc4d-e79563be256d" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_8dbea312-7d25-42e2-90b6-db1f0044a72b" xlink:to="loc_us-gaap_PlanNameDomain_5b9f7c22-118c-4246-bc4d-e79563be256d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_StockOptionPlan2013Member_7f235e36-8118-452c-b11d-31c6a935bb3f" xlink:href="exdx-20191231.xsd#exdx_StockOptionPlan2013Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_5b9f7c22-118c-4246-bc4d-e79563be256d" xlink:to="loc_exdx_StockOptionPlan2013Member_7f235e36-8118-452c-b11d-31c6a935bb3f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_IncentiveAwardPlan2019Member_63180374-7e1e-426d-b5c0-39d1a798653c" xlink:href="exdx-20191231.xsd#exdx_IncentiveAwardPlan2019Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_5b9f7c22-118c-4246-bc4d-e79563be256d" xlink:to="loc_exdx_IncentiveAwardPlan2019Member_63180374-7e1e-426d-b5c0-39d1a798653c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_48002608-c8ce-4000-a3b4-ff290e50b34c" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_b0f2ff59-878f-4907-af9c-a6233e405ef7" xlink:to="loc_us-gaap_AwardTypeAxis_48002608-c8ce-4000-a3b4-ff290e50b34c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_48002608-c8ce-4000-a3b4-ff290e50b34c_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_48002608-c8ce-4000-a3b4-ff290e50b34c" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_48002608-c8ce-4000-a3b4-ff290e50b34c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3df4eee6-b419-4cda-9fa5-5bb35daa333e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_48002608-c8ce-4000-a3b4-ff290e50b34c" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3df4eee6-b419-4cda-9fa5-5bb35daa333e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_5cff19d9-f921-4a64-9008-142d22c3e1d4" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3df4eee6-b419-4cda-9fa5-5bb35daa333e" xlink:to="loc_us-gaap_EmployeeStockOptionMember_5cff19d9-f921-4a64-9008-142d22c3e1d4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockMember_619edffe-4854-48f0-8f50-0e8aa975098b" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EmployeeStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3df4eee6-b419-4cda-9fa5-5bb35daa333e" xlink:to="loc_us-gaap_EmployeeStockMember_619edffe-4854-48f0-8f50-0e8aa975098b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_378454fe-c04b-4a49-89e8-c93fc0b836c6" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsequentEventTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_b0f2ff59-878f-4907-af9c-a6233e405ef7" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_378454fe-c04b-4a49-89e8-c93fc0b836c6" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_378454fe-c04b-4a49-89e8-c93fc0b836c6_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_378454fe-c04b-4a49-89e8-c93fc0b836c6" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_378454fe-c04b-4a49-89e8-c93fc0b836c6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_a9e0b499-5623-4801-a97f-e300e5a62b80" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_378454fe-c04b-4a49-89e8-c93fc0b836c6" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_a9e0b499-5623-4801-a97f-e300e5a62b80" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventMember_a77f1824-1800-4cf5-bbf2-ecbd108c444f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsequentEventMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_a9e0b499-5623-4801-a97f-e300e5a62b80" xlink:to="loc_us-gaap_SubsequentEventMember_a77f1824-1800-4cf5-bbf2-ecbd108c444f" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/StockOptionPlanStockOptionActivityDetails" xlink:type="simple" xlink:href="exdx-20191231.xsd#StockOptionPlanStockOptionActivityDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/StockOptionPlanStockOptionActivityDetails" xlink:type="extended" id="ic35d88e25a574446884c40260b3414f2_d2759745-ba16-413c-98ee-26d135bb8f51"/>
  <link:roleRef roleURI="http://www.exagen.com/role/StockOptionPlanFairValueAssumptionsDetails" xlink:type="simple" xlink:href="exdx-20191231.xsd#StockOptionPlanFairValueAssumptionsDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/StockOptionPlanFairValueAssumptionsDetails" xlink:type="extended" id="i2f4586fd082a4340871f442fa14b981a_e04f983e-cf6e-44d0-8e5e-69e04afdcbcf">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_5036e560-93cc-4dec-8c4a-ada77c0f2c90" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum_91be94eb-0722-4fb2-93f3-134aa6998ea5" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_5036e560-93cc-4dec-8c4a-ada77c0f2c90" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum_91be94eb-0722-4fb2-93f3-134aa6998ea5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum_be2d997d-4ccd-462e-b369-14de73f113c4" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_5036e560-93cc-4dec-8c4a-ada77c0f2c90" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum_be2d997d-4ccd-462e-b369-14de73f113c4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_f227eff6-bc2e-4120-9718-6fa1ec5c37f6" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_5036e560-93cc-4dec-8c4a-ada77c0f2c90" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_f227eff6-bc2e-4120-9718-6fa1ec5c37f6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum_67f3a9e4-91ca-4733-96ca-0948ffcbc33e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_5036e560-93cc-4dec-8c4a-ada77c0f2c90" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum_67f3a9e4-91ca-4733-96ca-0948ffcbc33e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum_0c94f8cd-5568-494c-9cec-c1e02d86abec" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_5036e560-93cc-4dec-8c4a-ada77c0f2c90" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum_0c94f8cd-5568-494c-9cec-c1e02d86abec" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_0bb38b2f-c081-4870-a0ee-4e76b522bfd8" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_5036e560-93cc-4dec-8c4a-ada77c0f2c90" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_0bb38b2f-c081-4870-a0ee-4e76b522bfd8" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_b54f6ceb-40dd-47b2-850b-418d141d7f93" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_5036e560-93cc-4dec-8c4a-ada77c0f2c90" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_b54f6ceb-40dd-47b2-850b-418d141d7f93" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_339e14b5-1108-4d51-a429-04064748cee6" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_5036e560-93cc-4dec-8c4a-ada77c0f2c90" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_339e14b5-1108-4d51-a429-04064748cee6" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_e09cbd3f-2d41-442e-9ad8-176fb2e11dab" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_339e14b5-1108-4d51-a429-04064748cee6" xlink:to="loc_srt_RangeAxis_e09cbd3f-2d41-442e-9ad8-176fb2e11dab" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_e09cbd3f-2d41-442e-9ad8-176fb2e11dab_default" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_e09cbd3f-2d41-442e-9ad8-176fb2e11dab" xlink:to="loc_srt_RangeMember_e09cbd3f-2d41-442e-9ad8-176fb2e11dab_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_ae5a42f1-5e02-4ccc-a01f-f287d4fc34ca" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_e09cbd3f-2d41-442e-9ad8-176fb2e11dab" xlink:to="loc_srt_RangeMember_ae5a42f1-5e02-4ccc-a01f-f287d4fc34ca" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_9437ab68-f4d2-4cf8-a645-1beb4ff73eec" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_ae5a42f1-5e02-4ccc-a01f-f287d4fc34ca" xlink:to="loc_srt_MinimumMember_9437ab68-f4d2-4cf8-a645-1beb4ff73eec" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_71be3b3f-cdcd-45eb-a046-8619ea2de33a" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_ae5a42f1-5e02-4ccc-a01f-f287d4fc34ca" xlink:to="loc_srt_MaximumMember_71be3b3f-cdcd-45eb-a046-8619ea2de33a" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/StockOptionPlanStockBasedCompensationExpenseDetails" xlink:type="simple" xlink:href="exdx-20191231.xsd#StockOptionPlanStockBasedCompensationExpenseDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/StockOptionPlanStockBasedCompensationExpenseDetails" xlink:type="extended" id="ia993decffb344bd88e28173033a74954_05cb4891-a596-4b4f-b118-5f13eef1fbc9">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c5614c79-8ae5-4ff0-b898-08da25ad833a" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_9229daf4-2170-4bcf-8e60-194c163b3446" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c5614c79-8ae5-4ff0-b898-08da25ad833a" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_9229daf4-2170-4bcf-8e60-194c163b3446" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_a50cd070-46ca-49e8-abbb-ca3462f000be" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c5614c79-8ae5-4ff0-b898-08da25ad833a" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_a50cd070-46ca-49e8-abbb-ca3462f000be" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_af61f318-da9a-48c5-8016-33e520a695e7" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_a50cd070-46ca-49e8-abbb-ca3462f000be" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_af61f318-da9a-48c5-8016-33e520a695e7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_af61f318-da9a-48c5-8016-33e520a695e7_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_af61f318-da9a-48c5-8016-33e520a695e7" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_af61f318-da9a-48c5-8016-33e520a695e7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_808b4dff-70c6-468e-b428-1a9599854c42" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_af61f318-da9a-48c5-8016-33e520a695e7" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_808b4dff-70c6-468e-b428-1a9599854c42" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfSalesMember_98309ae0-8841-4ef7-b109-e6c3c55bd2be" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CostOfSalesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_808b4dff-70c6-468e-b428-1a9599854c42" xlink:to="loc_us-gaap_CostOfSalesMember_98309ae0-8841-4ef7-b109-e6c3c55bd2be" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_81ba7c5a-5145-49e8-9fe5-b68e8bea31cb" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpensesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_808b4dff-70c6-468e-b428-1a9599854c42" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_81ba7c5a-5145-49e8-9fe5-b68e8bea31cb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember_f6a8e430-8ef4-4736-8351-8fdef0090afb" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ResearchAndDevelopmentExpenseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_808b4dff-70c6-468e-b428-1a9599854c42" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_f6a8e430-8ef4-4736-8351-8fdef0090afb" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/StockOptionPlanCommonStockReservedForFutureIssuanceDetails" xlink:type="simple" xlink:href="exdx-20191231.xsd#StockOptionPlanCommonStockReservedForFutureIssuanceDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/StockOptionPlanCommonStockReservedForFutureIssuanceDetails" xlink:type="extended" id="i56aae2d1ab5f4104b216306806f1df59_f05d0c9a-e5ac-4226-9367-69adff861fb3">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_abecce11-42c7-4d7f-878b-cc24a05c79ea" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_06dd3141-cd59-4230-91fc-405e07ca38fa" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockCapitalSharesReservedForFutureIssuance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_abecce11-42c7-4d7f-878b-cc24a05c79ea" xlink:to="loc_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_06dd3141-cd59-4230-91fc-405e07ca38fa" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_ecf132ae-e02b-492e-9d0a-485548eb0eaa" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_abecce11-42c7-4d7f-878b-cc24a05c79ea" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_ecf132ae-e02b-492e-9d0a-485548eb0eaa" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_38be833f-bbc3-4618-a508-141cfbceb020" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_ecf132ae-e02b-492e-9d0a-485548eb0eaa" xlink:to="loc_us-gaap_AwardTypeAxis_38be833f-bbc3-4618-a508-141cfbceb020" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_38be833f-bbc3-4618-a508-141cfbceb020_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_38be833f-bbc3-4618-a508-141cfbceb020" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_38be833f-bbc3-4618-a508-141cfbceb020_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_78232f21-af49-49fc-a32b-589a0149236d" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_38be833f-bbc3-4618-a508-141cfbceb020" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_78232f21-af49-49fc-a32b-589a0149236d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WarrantMember_c293d60b-b7c2-45c1-8a04-79fc751d340e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_WarrantMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_78232f21-af49-49fc-a32b-589a0149236d" xlink:to="loc_us-gaap_WarrantMember_c293d60b-b7c2-45c1-8a04-79fc751d340e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_CommonStockOptionGrantsIssuedAndOutstandingMember_caf8a5a4-3384-48f0-8a8d-d59c4e9bc9e9" xlink:href="exdx-20191231.xsd#exdx_CommonStockOptionGrantsIssuedAndOutstandingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_78232f21-af49-49fc-a32b-589a0149236d" xlink:to="loc_exdx_CommonStockOptionGrantsIssuedAndOutstandingMember_caf8a5a4-3384-48f0-8a8d-d59c4e9bc9e9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_CommonSharesAvailableForGrantUnderTheStockOptionPlanMember_8bbb4ad1-9ff5-45f9-8faf-051a906ffcc1" xlink:href="exdx-20191231.xsd#exdx_CommonSharesAvailableForGrantUnderTheStockOptionPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_78232f21-af49-49fc-a32b-589a0149236d" xlink:to="loc_exdx_CommonSharesAvailableForGrantUnderTheStockOptionPlanMember_8bbb4ad1-9ff5-45f9-8faf-051a906ffcc1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockMember_a9bd2426-cc51-4406-bc68-c0594dfc7ea6" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EmployeeStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_78232f21-af49-49fc-a32b-589a0149236d" xlink:to="loc_us-gaap_EmployeeStockMember_a9bd2426-cc51-4406-bc68-c0594dfc7ea6" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/IncomeTaxes" xlink:type="simple" xlink:href="exdx-20191231.xsd#IncomeTaxes"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/IncomeTaxes" xlink:type="extended" id="id0f38ab8aff94ab687d6509303170699_0211e85d-90f8-43a0-948d-50d03a0e9d7f"/>
  <link:roleRef roleURI="http://www.exagen.com/role/IncomeTaxesTables" xlink:type="simple" xlink:href="exdx-20191231.xsd#IncomeTaxesTables"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/IncomeTaxesTables" xlink:type="extended" id="id50bf16cfa0f47c38608344727dad0a9_ae61f6e7-4dca-4f54-a420-48a5e9d287c7"/>
  <link:roleRef roleURI="http://www.exagen.com/role/IncomeTaxesDetails" xlink:type="simple" xlink:href="exdx-20191231.xsd#IncomeTaxesDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/IncomeTaxesDetails" xlink:type="extended" id="iae1fc1e19aed473885beaba0045ebc70_7992b597-52b4-4094-a8be-25942fae0116"/>
  <link:roleRef roleURI="http://www.exagen.com/role/IncomeTaxesComponentsofIncomeTaxExpenseBenefitDetails" xlink:type="simple" xlink:href="exdx-20191231.xsd#IncomeTaxesComponentsofIncomeTaxExpenseBenefitDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/IncomeTaxesComponentsofIncomeTaxExpenseBenefitDetails" xlink:type="extended" id="iaa73628e61134a36b942bc0a8b395aae_b85bbc02-5fb4-4733-9a4c-aabf38299a69"/>
  <link:roleRef roleURI="http://www.exagen.com/role/IncomeTaxesReconciliationofEffectiveIncomeTaxRateDetails" xlink:type="simple" xlink:href="exdx-20191231.xsd#IncomeTaxesReconciliationofEffectiveIncomeTaxRateDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/IncomeTaxesReconciliationofEffectiveIncomeTaxRateDetails" xlink:type="extended" id="i8b001c45abe0499d937def2344d20f52_f435247d-0be4-4048-b73e-996fc7f8327e"/>
  <link:roleRef roleURI="http://www.exagen.com/role/IncomeTaxesReconciliationofDeferredTaxAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="exdx-20191231.xsd#IncomeTaxesReconciliationofDeferredTaxAssetsandLiabilitiesDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/IncomeTaxesReconciliationofDeferredTaxAssetsandLiabilitiesDetails" xlink:type="extended" id="i59aedd00ea5348f0bc19713c7d6dbbcb_fb6179d7-6b61-43d2-8b03-2d1f5e2cbd4c"/>
  <link:roleRef roleURI="http://www.exagen.com/role/IncomeTaxesChangeInValuationAllowanceDetails" xlink:type="simple" xlink:href="exdx-20191231.xsd#IncomeTaxesChangeInValuationAllowanceDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/IncomeTaxesChangeInValuationAllowanceDetails" xlink:type="extended" id="ife5655c7a0994e2d97e1d8121a02da5d_cbfed512-ef65-4d13-8e44-515db613ca1c"/>
  <link:roleRef roleURI="http://www.exagen.com/role/RelatedParties" xlink:type="simple" xlink:href="exdx-20191231.xsd#RelatedParties"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/RelatedParties" xlink:type="extended" id="i34b3a26d05a1438c956dc3b11ca3cbf1_66add082-5c56-43ca-b4bb-3d1344933cef"/>
  <link:roleRef roleURI="http://www.exagen.com/role/RelatedPartiesDetails" xlink:type="simple" xlink:href="exdx-20191231.xsd#RelatedPartiesDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/RelatedPartiesDetails" xlink:type="extended" id="ie094b3995e4848edaa2f4ad19fade27f_436fa87c-0718-4a64-ac6d-7660d8d220c6">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionLineItems_ec8985c2-29fc-48d2-a15f-8541995c111f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RelatedPartyTransactionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty_043bdca4-d3e0-4d53-bce7-fd01d4a6c7db" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_ec8985c2-29fc-48d2-a15f-8541995c111f" xlink:to="loc_us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty_043bdca4-d3e0-4d53-bce7-fd01d4a6c7db" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_f1631514-3f0d-4bf2-9ff0-dea4bd09beaa" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_ec8985c2-29fc-48d2-a15f-8541995c111f" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_f1631514-3f0d-4bf2-9ff0-dea4bd09beaa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice_f1cbe3af-1f9e-4f81-ae75-176adbb1bf94" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_ec8985c2-29fc-48d2-a15f-8541995c111f" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice_f1cbe3af-1f9e-4f81-ae75-176adbb1bf94" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_629af98c-b27f-4542-9ae5-1e8c56d69daf" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_ec8985c2-29fc-48d2-a15f-8541995c111f" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_629af98c-b27f-4542-9ae5-1e8c56d69daf" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_RoyaltyObligationPercentageOfSales_7556b35a-0fc3-424b-a9d5-87fc655c67d4" xlink:href="exdx-20191231.xsd#exdx_RoyaltyObligationPercentageOfSales"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_ec8985c2-29fc-48d2-a15f-8541995c111f" xlink:to="loc_exdx_RoyaltyObligationPercentageOfSales_7556b35a-0fc3-424b-a9d5-87fc655c67d4" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_MilestoneObligation_f92bc78c-dc6f-4aa2-a770-82c62cf2d422" xlink:href="exdx-20191231.xsd#exdx_MilestoneObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_ec8985c2-29fc-48d2-a15f-8541995c111f" xlink:to="loc_exdx_MilestoneObligation_f92bc78c-dc6f-4aa2-a770-82c62cf2d422" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_c7e6dba9-278a-4d6a-a1d9-24170330b495" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_ec8985c2-29fc-48d2-a15f-8541995c111f" xlink:to="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_c7e6dba9-278a-4d6a-a1d9-24170330b495" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_6e8ab5b2-51ac-4a8c-922c-bac29f9d0459" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_c7e6dba9-278a-4d6a-a1d9-24170330b495" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_6e8ab5b2-51ac-4a8c-922c-bac29f9d0459" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_6e8ab5b2-51ac-4a8c-922c-bac29f9d0459_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_6e8ab5b2-51ac-4a8c-922c-bac29f9d0459" xlink:to="loc_us-gaap_RelatedPartyDomain_6e8ab5b2-51ac-4a8c-922c-bac29f9d0459_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_f1a94d5f-91c5-4f1b-80bd-06454fe6bbb9" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_6e8ab5b2-51ac-4a8c-922c-bac29f9d0459" xlink:to="loc_us-gaap_RelatedPartyDomain_f1a94d5f-91c5-4f1b-80bd-06454fe6bbb9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_DirectorMember_a0c547bd-1ca1-408e-8a7d-f6d0d5a8531a" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_DirectorMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_f1a94d5f-91c5-4f1b-80bd-06454fe6bbb9" xlink:to="loc_srt_DirectorMember_a0c547bd-1ca1-408e-8a7d-f6d0d5a8531a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ExecutiveOfficerMember_5196faed-fa21-4010-8389-b5f7b1f84e75" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ExecutiveOfficerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_f1a94d5f-91c5-4f1b-80bd-06454fe6bbb9" xlink:to="loc_srt_ExecutiveOfficerMember_5196faed-fa21-4010-8389-b5f7b1f84e75" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionAxis_c2d81c80-110c-4585-aa72-8ffcad21aed1" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RelatedPartyTransactionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_c7e6dba9-278a-4d6a-a1d9-24170330b495" xlink:to="loc_us-gaap_RelatedPartyTransactionAxis_c2d81c80-110c-4585-aa72-8ffcad21aed1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_c2d81c80-110c-4585-aa72-8ffcad21aed1_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RelatedPartyTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_c2d81c80-110c-4585-aa72-8ffcad21aed1" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_c2d81c80-110c-4585-aa72-8ffcad21aed1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_51a3eece-e709-4601-abcb-5847368d80e3" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RelatedPartyTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_c2d81c80-110c-4585-aa72-8ffcad21aed1" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_51a3eece-e709-4601-abcb-5847368d80e3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_ConsultingServicesMember_74d8ad4f-6f9a-43d2-9177-d85037a220de" xlink:href="exdx-20191231.xsd#exdx_ConsultingServicesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_51a3eece-e709-4601-abcb-5847368d80e3" xlink:to="loc_exdx_ConsultingServicesMember_74d8ad4f-6f9a-43d2-9177-d85037a220de" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LicensingAgreementsMember_e7ef8e64-df54-4640-927a-6c0f824356c2" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LicensingAgreementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_51a3eece-e709-4601-abcb-5847368d80e3" xlink:to="loc_us-gaap_LicensingAgreementsMember_e7ef8e64-df54-4640-927a-6c0f824356c2" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/A401kPlan" xlink:type="simple" xlink:href="exdx-20191231.xsd#A401kPlan"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/A401kPlan" xlink:type="extended" id="i2715f261e99c4fb8aae1cef8bc72adf7_89e1f577-9588-4cb0-9dc9-240fb7a17092"/>
  <link:roleRef roleURI="http://www.exagen.com/role/A401kPlanDetails" xlink:type="simple" xlink:href="exdx-20191231.xsd#A401kPlanDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/A401kPlanDetails" xlink:type="extended" id="i0821fe2e256440a9ace2f89250ef0b67_ed3e4e80-9f4b-4ee3-92e8-2431a9a45d10"/>
  <link:roleRef roleURI="http://www.exagen.com/role/SubsequentEvents" xlink:type="simple" xlink:href="exdx-20191231.xsd#SubsequentEvents"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/SubsequentEvents" xlink:type="extended" id="i164cd66c44564ce8b2fd8989f5871595_6e8a5f85-9186-4659-8e27-6ad4373236ae"/>
  <link:roleRef roleURI="http://www.exagen.com/role/SubsequentEventsDetails" xlink:type="simple" xlink:href="exdx-20191231.xsd#SubsequentEventsDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/SubsequentEventsDetails" xlink:type="extended" id="i0cf79adbd42f497bb901072d56dda57d_9997b099-17a8-458f-8604-d3e84f59b2b4">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventLineItems_0d2dbee7-2f84-4006-8423-de869edad8ed" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsequentEventLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriod_ff0b4f81-27d3-49be-9864-cff9df970de9" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_0d2dbee7-2f84-4006-8423-de869edad8ed" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriod_ff0b4f81-27d3-49be-9864-cff9df970de9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_OperatingLeaseMonthlyBaseRent_f0e08b73-3392-4142-8bad-3d634f54e7d0" xlink:href="exdx-20191231.xsd#exdx_OperatingLeaseMonthlyBaseRent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_0d2dbee7-2f84-4006-8423-de869edad8ed" xlink:to="loc_exdx_OperatingLeaseMonthlyBaseRent_f0e08b73-3392-4142-8bad-3d634f54e7d0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_OperatingLeaseAnnualIncreaseInBaseRentPaymentPercent_4d562b9f-617c-405d-ba4a-8b652fed6e9a" xlink:href="exdx-20191231.xsd#exdx_OperatingLeaseAnnualIncreaseInBaseRentPaymentPercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_0d2dbee7-2f84-4006-8423-de869edad8ed" xlink:to="loc_exdx_OperatingLeaseAnnualIncreaseInBaseRentPaymentPercent_4d562b9f-617c-405d-ba4a-8b652fed6e9a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_OperatingLeaseIncreaseDecreaseInMonthlyBaseRent_bdd7cfb9-a85c-409a-898c-13a6124b8fbc" xlink:href="exdx-20191231.xsd#exdx_OperatingLeaseIncreaseDecreaseInMonthlyBaseRent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_0d2dbee7-2f84-4006-8423-de869edad8ed" xlink:to="loc_exdx_OperatingLeaseIncreaseDecreaseInMonthlyBaseRent_bdd7cfb9-a85c-409a-898c-13a6124b8fbc" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTable_fe863402-72c5-475f-9cd9-dbca69d076fa" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsequentEventTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SubsequentEventLineItems_0d2dbee7-2f84-4006-8423-de869edad8ed" xlink:to="loc_us-gaap_SubsequentEventTable_fe863402-72c5-475f-9cd9-dbca69d076fa" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_52f450e3-37ad-46bf-8258-c96ee97c0364" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsequentEventTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_fe863402-72c5-475f-9cd9-dbca69d076fa" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_52f450e3-37ad-46bf-8258-c96ee97c0364" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_52f450e3-37ad-46bf-8258-c96ee97c0364_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_52f450e3-37ad-46bf-8258-c96ee97c0364" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_52f450e3-37ad-46bf-8258-c96ee97c0364_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_bba0ed4b-c30a-4cde-b710-2fb65a955453" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_52f450e3-37ad-46bf-8258-c96ee97c0364" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_bba0ed4b-c30a-4cde-b710-2fb65a955453" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventMember_15d57cc3-d676-4d11-a40a-7ed0a2b98f2e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsequentEventMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_bba0ed4b-c30a-4cde-b710-2fb65a955453" xlink:to="loc_us-gaap_SubsequentEventMember_15d57cc3-d676-4d11-a40a-7ed0a2b98f2e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_52a01840-9ce6-4434-b553-f162d86eac69" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_fe863402-72c5-475f-9cd9-dbca69d076fa" xlink:to="loc_us-gaap_AwardTypeAxis_52a01840-9ce6-4434-b553-f162d86eac69" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_52a01840-9ce6-4434-b553-f162d86eac69_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_52a01840-9ce6-4434-b553-f162d86eac69" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_52a01840-9ce6-4434-b553-f162d86eac69_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_e0560987-635a-4a9a-8839-d095e41b3ef1" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_52a01840-9ce6-4434-b553-f162d86eac69" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_e0560987-635a-4a9a-8839-d095e41b3ef1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockMember_c5d6b4b5-187c-4805-bc6d-8ecb74fe707e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EmployeeStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_e0560987-635a-4a9a-8839-d095e41b3ef1" xlink:to="loc_us-gaap_EmployeeStockMember_c5d6b4b5-187c-4805-bc6d-8ecb74fe707e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RealEstateAndAccumulatedDepreciationDescriptionOfPropertyAxis_26bd7e05-e798-417f-91df-b1c1c67db097" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RealEstateAndAccumulatedDepreciationDescriptionOfPropertyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_fe863402-72c5-475f-9cd9-dbca69d076fa" xlink:to="loc_srt_RealEstateAndAccumulatedDepreciationDescriptionOfPropertyAxis_26bd7e05-e798-417f-91df-b1c1c67db097" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RealEstateAndAccumulatedDepreciationNameOfPropertyDomain_26bd7e05-e798-417f-91df-b1c1c67db097_default" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RealEstateAndAccumulatedDepreciationNameOfPropertyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RealEstateAndAccumulatedDepreciationDescriptionOfPropertyAxis_26bd7e05-e798-417f-91df-b1c1c67db097" xlink:to="loc_srt_RealEstateAndAccumulatedDepreciationNameOfPropertyDomain_26bd7e05-e798-417f-91df-b1c1c67db097_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RealEstateAndAccumulatedDepreciationNameOfPropertyDomain_8d4256e6-97c3-4671-a645-08c5447dc229" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RealEstateAndAccumulatedDepreciationNameOfPropertyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RealEstateAndAccumulatedDepreciationDescriptionOfPropertyAxis_26bd7e05-e798-417f-91df-b1c1c67db097" xlink:to="loc_srt_RealEstateAndAccumulatedDepreciationNameOfPropertyDomain_8d4256e6-97c3-4671-a645-08c5447dc229" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_A1261SuiteALeaseMember_3deadca6-dc08-48ab-bbc7-21edff897dcd" xlink:href="exdx-20191231.xsd#exdx_A1261SuiteALeaseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RealEstateAndAccumulatedDepreciationNameOfPropertyDomain_8d4256e6-97c3-4671-a645-08c5447dc229" xlink:to="loc_exdx_A1261SuiteALeaseMember_3deadca6-dc08-48ab-bbc7-21edff897dcd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_A1221LeaseExtensionMember_14cbc3e1-4ae7-420d-984f-7d5dfa616230" xlink:href="exdx-20191231.xsd#exdx_A1221LeaseExtensionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RealEstateAndAccumulatedDepreciationNameOfPropertyDomain_8d4256e6-97c3-4671-a645-08c5447dc229" xlink:to="loc_exdx_A1221LeaseExtensionMember_14cbc3e1-4ae7-420d-984f-7d5dfa616230" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_A1261SuiteBCLeaseExtensionMember_41a6d749-6e97-43ef-b2b2-d602a00a9648" xlink:href="exdx-20191231.xsd#exdx_A1261SuiteBCLeaseExtensionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RealEstateAndAccumulatedDepreciationNameOfPropertyDomain_8d4256e6-97c3-4671-a645-08c5447dc229" xlink:to="loc_exdx_A1261SuiteBCLeaseExtensionMember_41a6d749-6e97-43ef-b2b2-d602a00a9648" xlink:type="arc" order="2"/>
  </link:definitionLink>
</link:linkbase>
