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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2020 Workiva-->
<!--r:d3fa3d52-b806-49d3-9f27-527fb3fa9ed5,g:26e257c7-1e6d-4227-9f49-1c928386a104-->
<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-20200331.xsd#Cover"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/Cover" xlink:type="extended" id="i6d3a5bbff42548b5bd9601c6d73e7091_Cover"/>
  <link:roleRef roleURI="http://www.exagen.com/role/CondensedBalanceSheets" xlink:type="simple" xlink:href="exdx-20200331.xsd#CondensedBalanceSheets"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/CondensedBalanceSheets" xlink:type="extended" id="ia30def4569464a66b621b041a9398181_CondensedBalanceSheets"/>
  <link:roleRef roleURI="http://www.exagen.com/role/CondensedBalanceSheetsParenthetical" xlink:type="simple" xlink:href="exdx-20200331.xsd#CondensedBalanceSheetsParenthetical"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/CondensedBalanceSheetsParenthetical" xlink:type="extended" id="i972d258907744523a4e805811312e588_CondensedBalanceSheetsParenthetical"/>
  <link:roleRef roleURI="http://www.exagen.com/role/UnauditedCondensedStatementsofOperations" xlink:type="simple" xlink:href="exdx-20200331.xsd#UnauditedCondensedStatementsofOperations"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/UnauditedCondensedStatementsofOperations" xlink:type="extended" id="i81bfd57c50344b359499418bee495e4f_UnauditedCondensedStatementsofOperations"/>
  <link:roleRef roleURI="http://www.exagen.com/role/UnauditedCondensedStatementsofRedeemableConvertiblePreferredStockandStockholdersEquityDeficit" xlink:type="simple" xlink:href="exdx-20200331.xsd#UnauditedCondensedStatementsofRedeemableConvertiblePreferredStockandStockholdersEquityDeficit"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/UnauditedCondensedStatementsofRedeemableConvertiblePreferredStockandStockholdersEquityDeficit" xlink:type="extended" id="iac103a288f284902a72618c4edf941d0_UnauditedCondensedStatementsofRedeemableConvertiblePreferredStockandStockholdersEquityDeficit">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_ac224a70-5cb5-46f8-bf90-709111405c3b" 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_d608b6ee-e608-4173-930a-fefaa632a191" 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_ac224a70-5cb5-46f8-bf90-709111405c3b" xlink:to="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_d608b6ee-e608-4173-930a-fefaa632a191" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquitySharesOutstanding_4c7a54fa-2bd8-4c22-a64b-ff3e5111094e" 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_d608b6ee-e608-4173-930a-fefaa632a191" xlink:to="loc_us-gaap_TemporaryEquitySharesOutstanding_4c7a54fa-2bd8-4c22-a64b-ff3e5111094e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityCarryingAmountAttributableToParent_5d12ae5d-6781-4cb1-8319-15925e706d45" 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_d608b6ee-e608-4173-930a-fefaa632a191" xlink:to="loc_us-gaap_TemporaryEquityCarryingAmountAttributableToParent_5d12ae5d-6781-4cb1-8319-15925e706d45" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityAccretionToRedemptionValue_cb978c25-11ac-414a-8a58-82435d23dfee" 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_d608b6ee-e608-4173-930a-fefaa632a191" xlink:to="loc_us-gaap_TemporaryEquityAccretionToRedemptionValue_cb978c25-11ac-414a-8a58-82435d23dfee" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_TemporaryEquityIssuedDuringThePeriodSharesRedeemableConvertiblePreferredStock_149a6467-a3b8-4603-8fb3-ee44d164539b" xlink:href="exdx-20200331.xsd#exdx_TemporaryEquityIssuedDuringThePeriodSharesRedeemableConvertiblePreferredStock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_d608b6ee-e608-4173-930a-fefaa632a191" xlink:to="loc_exdx_TemporaryEquityIssuedDuringThePeriodSharesRedeemableConvertiblePreferredStock_149a6467-a3b8-4603-8fb3-ee44d164539b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_TemporaryEquityIssuedDuringThePeriodValueRedeemableConvertiblePreferredStock_025148a9-7b75-4f0b-a7b5-17ce37d70205" xlink:href="exdx-20200331.xsd#exdx_TemporaryEquityIssuedDuringThePeriodValueRedeemableConvertiblePreferredStock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_d608b6ee-e608-4173-930a-fefaa632a191" xlink:to="loc_exdx_TemporaryEquityIssuedDuringThePeriodValueRedeemableConvertiblePreferredStock_025148a9-7b75-4f0b-a7b5-17ce37d70205" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquitySharesOutstanding_af453805-2c9f-4b6d-b911-dbd8e1c7cd3e" 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_dde7c280-055c-4234-87ff-765a8d7c7542" 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_b413173a-55b5-4a61-9dcf-b251e9ad60f9" 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_ac224a70-5cb5-46f8-bf90-709111405c3b" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_b413173a-55b5-4a61-9dcf-b251e9ad60f9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_cb262525-13a7-43b7-a5f9-8859087bebf7" 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_b413173a-55b5-4a61-9dcf-b251e9ad60f9" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_cb262525-13a7-43b7-a5f9-8859087bebf7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_ba2ecb83-0777-4ae4-beea-43524d5587ed" 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_b413173a-55b5-4a61-9dcf-b251e9ad60f9" xlink:to="loc_us-gaap_StockholdersEquity_ba2ecb83-0777-4ae4-beea-43524d5587ed" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_AdjustmentsToAdditionalPaidInCapitalTemporaryEquityAccretionToRedemptionValue_4de6db2d-0fb7-4540-859e-bb83e003cca3" xlink:href="exdx-20200331.xsd#exdx_AdjustmentsToAdditionalPaidInCapitalTemporaryEquityAccretionToRedemptionValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_b413173a-55b5-4a61-9dcf-b251e9ad60f9" xlink:to="loc_exdx_AdjustmentsToAdditionalPaidInCapitalTemporaryEquityAccretionToRedemptionValue_4de6db2d-0fb7-4540-859e-bb83e003cca3" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_68321c24-879a-46f8-b0fa-6971593776b4" 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_b413173a-55b5-4a61-9dcf-b251e9ad60f9" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_68321c24-879a-46f8-b0fa-6971593776b4" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_45228d9c-5f0e-45e7-a46a-f37c5c2394ef" 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_b413173a-55b5-4a61-9dcf-b251e9ad60f9" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_45228d9c-5f0e-45e7-a46a-f37c5c2394ef" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_9bb727c6-27df-4b65-92ed-92b9ae0e7cbc" 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_b413173a-55b5-4a61-9dcf-b251e9ad60f9" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_9bb727c6-27df-4b65-92ed-92b9ae0e7cbc" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_StockIssuedDuringPeriodSharesWarrantsExercisedNet_98fa2a01-ef08-4453-891d-259a7ee41c3a" xlink:href="exdx-20200331.xsd#exdx_StockIssuedDuringPeriodSharesWarrantsExercisedNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_b413173a-55b5-4a61-9dcf-b251e9ad60f9" xlink:to="loc_exdx_StockIssuedDuringPeriodSharesWarrantsExercisedNet_98fa2a01-ef08-4453-891d-259a7ee41c3a" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_StockIssuedDuringPeriodValueWarrantsExercisedNet_8ee71481-0fb5-434b-a493-64ab94644cf5" xlink:href="exdx-20200331.xsd#exdx_StockIssuedDuringPeriodValueWarrantsExercisedNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_b413173a-55b5-4a61-9dcf-b251e9ad60f9" xlink:to="loc_exdx_StockIssuedDuringPeriodValueWarrantsExercisedNet_8ee71481-0fb5-434b-a493-64ab94644cf5" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_77949bcf-2757-4862-abea-f87c3b6d507b" 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_b413173a-55b5-4a61-9dcf-b251e9ad60f9" xlink:to="loc_us-gaap_NetIncomeLoss_77949bcf-2757-4862-abea-f87c3b6d507b" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_24ff1128-3e62-4b58-a23c-a3f19158f0cf" 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_cbff95e9-55ea-48ed-a18d-745c951ff435" 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_62b167c9-e9a0-4ed2-8427-65b625a9677f" 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_ac224a70-5cb5-46f8-bf90-709111405c3b" xlink:to="loc_us-gaap_StatementTable_62b167c9-e9a0-4ed2-8427-65b625a9677f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_beb1ab06-979e-42d9-8098-4ee10453c207" 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_62b167c9-e9a0-4ed2-8427-65b625a9677f" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_beb1ab06-979e-42d9-8098-4ee10453c207" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_beb1ab06-979e-42d9-8098-4ee10453c207_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_beb1ab06-979e-42d9-8098-4ee10453c207" xlink:to="loc_us-gaap_EquityComponentDomain_beb1ab06-979e-42d9-8098-4ee10453c207_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_aa7e9a13-f34c-40d6-bacd-b2a618bc0ae4" 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_beb1ab06-979e-42d9-8098-4ee10453c207" xlink:to="loc_us-gaap_EquityComponentDomain_aa7e9a13-f34c-40d6-bacd-b2a618bc0ae4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_9c3483fe-9343-404f-9fae-dcdec2d9788b" 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_aa7e9a13-f34c-40d6-bacd-b2a618bc0ae4" xlink:to="loc_us-gaap_CommonStockMember_9c3483fe-9343-404f-9fae-dcdec2d9788b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_8ab5358f-154e-492a-b40f-bc6115d624f0" 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_aa7e9a13-f34c-40d6-bacd-b2a618bc0ae4" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_8ab5358f-154e-492a-b40f-bc6115d624f0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_d1e9a02f-52f9-4bbc-a51b-69c92e93b35a" 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_aa7e9a13-f34c-40d6-bacd-b2a618bc0ae4" xlink:to="loc_us-gaap_RetainedEarningsMember_d1e9a02f-52f9-4bbc-a51b-69c92e93b35a" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/UnauditedCondensedStatementsofRedeemableConvertiblePreferredStockandStockholdersEquityDeficitParenthetical" xlink:type="simple" xlink:href="exdx-20200331.xsd#UnauditedCondensedStatementsofRedeemableConvertiblePreferredStockandStockholdersEquityDeficitParenthetical"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/UnauditedCondensedStatementsofRedeemableConvertiblePreferredStockandStockholdersEquityDeficitParenthetical" xlink:type="extended" id="i025cfe50dbfe40dd92c5f73b5bda1f9d_UnauditedCondensedStatementsofRedeemableConvertiblePreferredStockandStockholdersEquityDeficitParenthetical">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_eba53312-7e1d-4a59-a0cf-10ceb9f1a71c" 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_0e9c1d88-0d85-44b0-91ff-f009b56b63c0" xlink:href="exdx-20200331.xsd#exdx_SaleOfTemporaryEquityPricePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_eba53312-7e1d-4a59-a0cf-10ceb9f1a71c" xlink:to="loc_exdx_SaleOfTemporaryEquityPricePerShare_0e9c1d88-0d85-44b0-91ff-f009b56b63c0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_TemporaryEquityIssuanceCosts_523ac11d-151b-4463-860e-c822be90340c" xlink:href="exdx-20200331.xsd#exdx_TemporaryEquityIssuanceCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_eba53312-7e1d-4a59-a0cf-10ceb9f1a71c" xlink:to="loc_exdx_TemporaryEquityIssuanceCosts_523ac11d-151b-4463-860e-c822be90340c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_6641756d-1ffc-45d1-84c6-cd0e88c021a4" 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_eba53312-7e1d-4a59-a0cf-10ceb9f1a71c" xlink:to="loc_us-gaap_StatementTable_6641756d-1ffc-45d1-84c6-cd0e88c021a4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_4d1b9e1b-7947-4e53-94d2-0306190b0405" 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_6641756d-1ffc-45d1-84c6-cd0e88c021a4" xlink:to="loc_us-gaap_StatementClassOfStockAxis_4d1b9e1b-7947-4e53-94d2-0306190b0405" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_4d1b9e1b-7947-4e53-94d2-0306190b0405_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_4d1b9e1b-7947-4e53-94d2-0306190b0405" xlink:to="loc_us-gaap_ClassOfStockDomain_4d1b9e1b-7947-4e53-94d2-0306190b0405_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_76902a78-198c-4628-b268-df7d6d4ad1bc" 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_4d1b9e1b-7947-4e53-94d2-0306190b0405" xlink:to="loc_us-gaap_ClassOfStockDomain_76902a78-198c-4628-b268-df7d6d4ad1bc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesGPreferredStockMember_48a59881-4af5-409b-a776-b788939ec148" 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_76902a78-198c-4628-b268-df7d6d4ad1bc" xlink:to="loc_us-gaap_SeriesGPreferredStockMember_48a59881-4af5-409b-a776-b788939ec148" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/UnauditedStatementsofCashFlows" xlink:type="simple" xlink:href="exdx-20200331.xsd#UnauditedStatementsofCashFlows"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/UnauditedStatementsofCashFlows" xlink:type="extended" id="ic050cb21d5a54b52b4ed1fed485e4ba5_UnauditedStatementsofCashFlows">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_3b639d41-34fd-414d-aadb-bb7ea6fc967d" 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_bfa8a4ad-429f-4758-b3af-1e5a69fe00f2" 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_3b639d41-34fd-414d-aadb-bb7ea6fc967d" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract_bfa8a4ad-429f-4758-b3af-1e5a69fe00f2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_64a07b4b-3217-47df-917c-add7ee3e27e5" 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_bfa8a4ad-429f-4758-b3af-1e5a69fe00f2" xlink:to="loc_us-gaap_NetIncomeLoss_64a07b4b-3217-47df-917c-add7ee3e27e5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_3ee54b0b-b909-499d-a7fb-b1aaf0f85cc3" 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_bfa8a4ad-429f-4758-b3af-1e5a69fe00f2" xlink:to="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_3ee54b0b-b909-499d-a7fb-b1aaf0f85cc3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSoldDepreciationAndAmortization_43e20b43-d3e9-4595-93f5-cba6c7fe9b78" 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_3ee54b0b-b909-499d-a7fb-b1aaf0f85cc3" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSoldDepreciationAndAmortization_43e20b43-d3e9-4595-93f5-cba6c7fe9b78" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_04fe0369-2e6c-442c-a5aa-8f2e93e18648" 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_3ee54b0b-b909-499d-a7fb-b1aaf0f85cc3" xlink:to="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_04fe0369-2e6c-442c-a5aa-8f2e93e18648" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_6fa6222f-1e64-4665-b853-09814285ef6f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_3ee54b0b-b909-499d-a7fb-b1aaf0f85cc3" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_6fa6222f-1e64-4665-b853-09814285ef6f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaidInKindInterest_fc07869f-cf21-4638-a241-827bd96fdadc" 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_3ee54b0b-b909-499d-a7fb-b1aaf0f85cc3" xlink:to="loc_us-gaap_PaidInKindInterest_fc07869f-cf21-4638-a241-827bd96fdadc" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnDispositionOfAssets1_456468e7-1d48-46c4-89d5-ae636419a6e3" 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_3ee54b0b-b909-499d-a7fb-b1aaf0f85cc3" xlink:to="loc_us-gaap_GainLossOnDispositionOfAssets1_456468e7-1d48-46c4-89d5-ae636419a6e3" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_129cfa29-9a94-404e-b873-c357105b256f" 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_3ee54b0b-b909-499d-a7fb-b1aaf0f85cc3" xlink:to="loc_us-gaap_ShareBasedCompensation_129cfa29-9a94-404e-b873-c357105b256f" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_a09074f4-c3a0-459a-be8c-7d1b0a1d1c90" 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_3ee54b0b-b909-499d-a7fb-b1aaf0f85cc3" xlink:to="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_a09074f4-c3a0-459a-be8c-7d1b0a1d1c90" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_f355ec7b-0853-4273-ab87-8286553cbc5d" 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_a09074f4-c3a0-459a-be8c-7d1b0a1d1c90" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_f355ec7b-0853-4273-ab87-8286553cbc5d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_IncreaseDecreaseInPrepaidExpenseAndCurrentOtherAssets_1121e00c-95ec-46bf-b26c-4698965e5dd5" xlink:href="exdx-20200331.xsd#exdx_IncreaseDecreaseInPrepaidExpenseAndCurrentOtherAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_a09074f4-c3a0-459a-be8c-7d1b0a1d1c90" xlink:to="loc_exdx_IncreaseDecreaseInPrepaidExpenseAndCurrentOtherAssets_1121e00c-95ec-46bf-b26c-4698965e5dd5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_35f3671c-3f94-4644-9fc8-a2adb685e305" 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_a09074f4-c3a0-459a-be8c-7d1b0a1d1c90" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_35f3671c-3f94-4644-9fc8-a2adb685e305" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_031cf305-bc21-4df9-9510-142d95a546c6" 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_a09074f4-c3a0-459a-be8c-7d1b0a1d1c90" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_031cf305-bc21-4df9-9510-142d95a546c6" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_0dd7e078-42f2-4232-a423-31c2e95c23ec" 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_a09074f4-c3a0-459a-be8c-7d1b0a1d1c90" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_0dd7e078-42f2-4232-a423-31c2e95c23ec" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e02d3f9d-ce0a-49e9-8e34-62a61d02aa2e" 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_bfa8a4ad-429f-4758-b3af-1e5a69fe00f2" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_e02d3f9d-ce0a-49e9-8e34-62a61d02aa2e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract_28282e40-9a2f-480c-9bf8-9c085e16ceff" 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_3b639d41-34fd-414d-aadb-bb7ea6fc967d" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract_28282e40-9a2f-480c-9bf8-9c085e16ceff" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_bc6f6908-c8a5-4c83-9350-dc6a1246e219" 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_28282e40-9a2f-480c-9bf8-9c085e16ceff" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_bc6f6908-c8a5-4c83-9350-dc6a1246e219" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_10e8616a-03e2-45a3-b8ca-23cc44431d38" 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_28282e40-9a2f-480c-9bf8-9c085e16ceff" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_10e8616a-03e2-45a3-b8ca-23cc44431d38" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract_32c5b768-63bc-4f68-b523-6ae488dc5cfc" 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_3b639d41-34fd-414d-aadb-bb7ea6fc967d" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract_32c5b768-63bc-4f68-b523-6ae488dc5cfc" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_9a027f65-a6af-4d35-b2b2-0d8c54c2acf2" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract_32c5b768-63bc-4f68-b523-6ae488dc5cfc" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_9a027f65-a6af-4d35-b2b2-0d8c54c2acf2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermCapitalLeaseObligations_1bbbbc0c-67ac-4fa1-b675-b6fa951c708a" 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_32c5b768-63bc-4f68-b523-6ae488dc5cfc" xlink:to="loc_us-gaap_RepaymentsOfLongTermCapitalLeaseObligations_1bbbbc0c-67ac-4fa1-b675-b6fa951c708a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_ProceedsFromIssuanceOrSaleOfTemporaryEquity_9c9329d0-177b-4526-b92d-a370f783e27c" xlink:href="exdx-20200331.xsd#exdx_ProceedsFromIssuanceOrSaleOfTemporaryEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract_32c5b768-63bc-4f68-b523-6ae488dc5cfc" xlink:to="loc_exdx_ProceedsFromIssuanceOrSaleOfTemporaryEquity_9c9329d0-177b-4526-b92d-a370f783e27c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentOfFinancingAndStockIssuanceCosts_ab553720-09af-4160-875f-024d05baa69f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentOfFinancingAndStockIssuanceCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract_32c5b768-63bc-4f68-b523-6ae488dc5cfc" xlink:to="loc_us-gaap_PaymentOfFinancingAndStockIssuanceCosts_ab553720-09af-4160-875f-024d05baa69f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e5b6e48b-373a-4f95-8b4c-261d8877369f" 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_32c5b768-63bc-4f68-b523-6ae488dc5cfc" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e5b6e48b-373a-4f95-8b4c-261d8877369f" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_e9c6ff17-0577-4c8b-b71c-6e4f5ff56563" 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_3b639d41-34fd-414d-aadb-bb7ea6fc967d" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_e9c6ff17-0577-4c8b-b71c-6e4f5ff56563" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_a62b71e9-96c0-428b-8e23-9906d516b359" 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_3b639d41-34fd-414d-aadb-bb7ea6fc967d" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_a62b71e9-96c0-428b-8e23-9906d516b359" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_a6ea7f85-70c1-49e9-a74b-c4fd63748b5d" 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_5678a0eb-a59c-4afa-9bdb-ec0e0c85795b" 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_3b639d41-34fd-414d-aadb-bb7ea6fc967d" xlink:to="loc_us-gaap_SupplementalCashFlowInformationAbstract_5678a0eb-a59c-4afa-9bdb-ec0e0c85795b" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPaidNet_c1858799-75a7-48a0-8967-6025cab34532" 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_5678a0eb-a59c-4afa-9bdb-ec0e0c85795b" xlink:to="loc_us-gaap_InterestPaidNet_c1858799-75a7-48a0-8967-6025cab34532" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SupplementalCashFlowElementsAbstract_881339d9-84a6-49f8-9570-ab260309c72d" 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_3b639d41-34fd-414d-aadb-bb7ea6fc967d" xlink:to="loc_us-gaap_SupplementalCashFlowElementsAbstract_881339d9-84a6-49f8-9570-ab260309c72d" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityAccretionToRedemptionValue_4ec00761-efb2-4417-aa61-3a89e6872fe3" 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_881339d9-84a6-49f8-9570-ab260309c72d" xlink:to="loc_us-gaap_TemporaryEquityAccretionToRedemptionValue_4ec00761-efb2-4417-aa61-3a89e6872fe3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_EquipmentPurchasedUnderCapitalLease_72b75e87-2842-44cc-8ef6-45de83dc1cf8" xlink:href="exdx-20200331.xsd#exdx_EquipmentPurchasedUnderCapitalLease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SupplementalCashFlowElementsAbstract_881339d9-84a6-49f8-9570-ab260309c72d" xlink:to="loc_exdx_EquipmentPurchasedUnderCapitalLease_72b75e87-2842-44cc-8ef6-45de83dc1cf8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalExpendituresIncurredButNotYetPaid_340cad01-d685-4461-8150-b8dd0ba27ad0" 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_881339d9-84a6-49f8-9570-ab260309c72d" xlink:to="loc_us-gaap_CapitalExpendituresIncurredButNotYetPaid_340cad01-d685-4461-8150-b8dd0ba27ad0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_DeferredOfferingCostsIncludedWithinCurrentLiabilities_98347ef3-473a-4ff3-a117-cc9ebe7d88a4" xlink:href="exdx-20200331.xsd#exdx_DeferredOfferingCostsIncludedWithinCurrentLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SupplementalCashFlowElementsAbstract_881339d9-84a6-49f8-9570-ab260309c72d" xlink:to="loc_exdx_DeferredOfferingCostsIncludedWithinCurrentLiabilities_98347ef3-473a-4ff3-a117-cc9ebe7d88a4" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_c492abc9-1bbb-4607-8ed9-92163949821f" 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_3b639d41-34fd-414d-aadb-bb7ea6fc967d" xlink:to="loc_us-gaap_StatementTable_c492abc9-1bbb-4607-8ed9-92163949821f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_c1ec5cd5-fbe5-4234-88dc-f5bc9f58954a" 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_c492abc9-1bbb-4607-8ed9-92163949821f" xlink:to="loc_us-gaap_StatementClassOfStockAxis_c1ec5cd5-fbe5-4234-88dc-f5bc9f58954a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_c1ec5cd5-fbe5-4234-88dc-f5bc9f58954a_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_c1ec5cd5-fbe5-4234-88dc-f5bc9f58954a" xlink:to="loc_us-gaap_ClassOfStockDomain_c1ec5cd5-fbe5-4234-88dc-f5bc9f58954a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_45a36963-1ecb-4bf5-a9c2-9c51feb85140" 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_c1ec5cd5-fbe5-4234-88dc-f5bc9f58954a" xlink:to="loc_us-gaap_ClassOfStockDomain_45a36963-1ecb-4bf5-a9c2-9c51feb85140" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesGPreferredStockMember_36308f7f-c08e-48df-8a3d-d2edef9de750" 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_45a36963-1ecb-4bf5-a9c2-9c51feb85140" xlink:to="loc_us-gaap_SeriesGPreferredStockMember_36308f7f-c08e-48df-8a3d-d2edef9de750" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/Organization" xlink:type="simple" xlink:href="exdx-20200331.xsd#Organization"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/Organization" xlink:type="extended" id="ida6014790253488f85c30eadda3c5883_Organization"/>
  <link:roleRef roleURI="http://www.exagen.com/role/OrganizationDetails" xlink:type="simple" xlink:href="exdx-20200331.xsd#OrganizationDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/OrganizationDetails" xlink:type="extended" id="if7682c4efe79407ea3af96232826000a_OrganizationDetails"/>
  <link:roleRef roleURI="http://www.exagen.com/role/SummaryOfSignificantAccountingPolicies" xlink:type="simple" xlink:href="exdx-20200331.xsd#SummaryOfSignificantAccountingPolicies"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/SummaryOfSignificantAccountingPolicies" xlink:type="extended" id="i3c9a472857f0445a8ce1507335c484c8_SummaryOfSignificantAccountingPolicies"/>
  <link:roleRef roleURI="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliciesPolicy" xlink:type="simple" xlink:href="exdx-20200331.xsd#SummaryOfSignificantAccountingPoliciesPolicy"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliciesPolicy" xlink:type="extended" id="i24d66456a9b94a92b92bb6acd439d030_SummaryOfSignificantAccountingPoliciesPolicy"/>
  <link:roleRef roleURI="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliciesTables" xlink:type="simple" xlink:href="exdx-20200331.xsd#SummaryOfSignificantAccountingPoliciesTables"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliciesTables" xlink:type="extended" id="i70dfc9d1a3954a4f8594609f4d1cc27c_SummaryOfSignificantAccountingPoliciesTables"/>
  <link:roleRef roleURI="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliciesNarrativeDetails" xlink:type="simple" xlink:href="exdx-20200331.xsd#SummaryOfSignificantAccountingPoliciesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliciesNarrativeDetails" xlink:type="extended" id="i88cbcb48ce4349e6959c723c1e90d3a1_SummaryOfSignificantAccountingPoliciesNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionLineItems_de23dedf-b835-481e-b1d0-d7eec44c3125" 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_ConcentrationRiskPercentage1_ec2a114e-ffe8-45d1-8133-d623f3829b48" 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_NewAccountingPronouncementEarlyAdoptionLineItems_de23dedf-b835-481e-b1d0-d7eec44c3125" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_ec2a114e-ffe8-45d1-8133-d623f3829b48" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCash_dd511992-7a65-45d9-8ecd-f9dbac788fae" 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_de23dedf-b835-481e-b1d0-d7eec44c3125" xlink:to="loc_us-gaap_RestrictedCash_dd511992-7a65-45d9-8ecd-f9dbac788fae" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_JointVentureQuarterlyPromotionFee_dcd26b10-6b80-4baa-bdb6-180285c2af41" xlink:href="exdx-20200331.xsd#exdx_JointVentureQuarterlyPromotionFee"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionLineItems_de23dedf-b835-481e-b1d0-d7eec44c3125" xlink:to="loc_exdx_JointVentureQuarterlyPromotionFee_dcd26b10-6b80-4baa-bdb6-180285c2af41" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_2fe55de2-1487-4e84-961a-254fde8f1d07" 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_de23dedf-b835-481e-b1d0-d7eec44c3125" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_2fe55de2-1487-4e84-961a-254fde8f1d07" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdvertisingExpense_66e1452c-0b41-4dda-b945-3cca134f736f" 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_de23dedf-b835-481e-b1d0-d7eec44c3125" xlink:to="loc_us-gaap_AdvertisingExpense_66e1452c-0b41-4dda-b945-3cca134f736f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfRevenue_5aa32f8f-92d0-4c6f-9711-747a8f9564ac" 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_de23dedf-b835-481e-b1d0-d7eec44c3125" xlink:to="loc_us-gaap_CostOfRevenue_5aa32f8f-92d0-4c6f-9711-747a8f9564ac" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionTable_0b976372-43d5-4b7f-b9b3-f73f6a12937c" 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_de23dedf-b835-481e-b1d0-d7eec44c3125" xlink:to="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionTable_0b976372-43d5-4b7f-b9b3-f73f6a12937c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsidiarySaleOfStockAxis_dd949468-7bcb-4293-bcd4-d1c9aaed29d0" 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_0b976372-43d5-4b7f-b9b3-f73f6a12937c" xlink:to="loc_us-gaap_SubsidiarySaleOfStockAxis_dd949468-7bcb-4293-bcd4-d1c9aaed29d0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_dd949468-7bcb-4293-bcd4-d1c9aaed29d0_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_dd949468-7bcb-4293-bcd4-d1c9aaed29d0" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_dd949468-7bcb-4293-bcd4-d1c9aaed29d0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_a6be0e2d-6e01-4f76-bc39-1c1623788ffe" 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_dd949468-7bcb-4293-bcd4-d1c9aaed29d0" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_a6be0e2d-6e01-4f76-bc39-1c1623788ffe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IPOMember_b64b6014-40c0-40f2-9a5c-89f1edbd1d26" 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_a6be0e2d-6e01-4f76-bc39-1c1623788ffe" xlink:to="loc_us-gaap_IPOMember_b64b6014-40c0-40f2-9a5c-89f1edbd1d26" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_00ae2281-8d81-47c3-acf4-47c231847299" 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_0b976372-43d5-4b7f-b9b3-f73f6a12937c" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_00ae2281-8d81-47c3-acf4-47c231847299" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_00ae2281-8d81-47c3-acf4-47c231847299_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_00ae2281-8d81-47c3-acf4-47c231847299" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_00ae2281-8d81-47c3-acf4-47c231847299_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_a32967d9-476c-406b-b7fe-118819238790" 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_00ae2281-8d81-47c3-acf4-47c231847299" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_a32967d9-476c-406b-b7fe-118819238790" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsMember_db40de9b-5708-4689-8d06-c2f66b7bb89b" 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_a32967d9-476c-406b-b7fe-118819238790" xlink:to="loc_us-gaap_OtherAssetsMember_db40de9b-5708-4689-8d06-c2f66b7bb89b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_46f24ee8-8088-4a75-b054-641e9b2c26cc" 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_0b976372-43d5-4b7f-b9b3-f73f6a12937c" xlink:to="loc_srt_ProductOrServiceAxis_46f24ee8-8088-4a75-b054-641e9b2c26cc" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_46f24ee8-8088-4a75-b054-641e9b2c26cc_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_46f24ee8-8088-4a75-b054-641e9b2c26cc" xlink:to="loc_srt_ProductsAndServicesDomain_46f24ee8-8088-4a75-b054-641e9b2c26cc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_b94798e3-f09d-4550-a160-de26b4fc85be" 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_46f24ee8-8088-4a75-b054-641e9b2c26cc" xlink:to="loc_srt_ProductsAndServicesDomain_b94798e3-f09d-4550-a160-de26b4fc85be" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShippingAndHandlingMember_981191ba-005d-4071-bbf2-8598647873b0" 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_b94798e3-f09d-4550-a160-de26b4fc85be" xlink:to="loc_us-gaap_ShippingAndHandlingMember_981191ba-005d-4071-bbf2-8598647873b0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_5c0889d3-90f2-4e4a-b872-9d9112a22d06" 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_0b976372-43d5-4b7f-b9b3-f73f6a12937c" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_5c0889d3-90f2-4e4a-b872-9d9112a22d06" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_5c0889d3-90f2-4e4a-b872-9d9112a22d06_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_5c0889d3-90f2-4e4a-b872-9d9112a22d06" xlink:to="loc_us-gaap_SegmentDomain_5c0889d3-90f2-4e4a-b872-9d9112a22d06_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_8d0e5329-fa15-4b89-b9c3-b98207577098" 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_5c0889d3-90f2-4e4a-b872-9d9112a22d06" xlink:to="loc_us-gaap_SegmentDomain_8d0e5329-fa15-4b89-b9c3-b98207577098" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_JanssenSIMPONIMember_2a1eb9c8-421b-43f3-b85a-8c08dd37e1b9" xlink:href="exdx-20200331.xsd#exdx_JanssenSIMPONIMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_8d0e5329-fa15-4b89-b9c3-b98207577098" xlink:to="loc_exdx_JanssenSIMPONIMember_2a1eb9c8-421b-43f3-b85a-8c08dd37e1b9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_f940af05-bef3-47f6-8838-1ed077abb93e" 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_NewAccountingPronouncementEarlyAdoptionTable_0b976372-43d5-4b7f-b9b3-f73f6a12937c" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_f940af05-bef3-47f6-8838-1ed077abb93e" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_f940af05-bef3-47f6-8838-1ed077abb93e_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_f940af05-bef3-47f6-8838-1ed077abb93e" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_f940af05-bef3-47f6-8838-1ed077abb93e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_fafe665c-2a91-401d-b4e6-7ba68af03f5a" 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_f940af05-bef3-47f6-8838-1ed077abb93e" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_fafe665c-2a91-401d-b4e6-7ba68af03f5a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesRevenueNetMember_69bba733-be6d-4bfd-b47e-62e3e4c4c537" 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_fafe665c-2a91-401d-b4e6-7ba68af03f5a" xlink:to="loc_us-gaap_SalesRevenueNetMember_69bba733-be6d-4bfd-b47e-62e3e4c4c537" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_7813808f-3635-4e45-bb0e-b38fe139dbb7" 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_NewAccountingPronouncementEarlyAdoptionTable_0b976372-43d5-4b7f-b9b3-f73f6a12937c" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_7813808f-3635-4e45-bb0e-b38fe139dbb7" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_7813808f-3635-4e45-bb0e-b38fe139dbb7_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_7813808f-3635-4e45-bb0e-b38fe139dbb7" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_7813808f-3635-4e45-bb0e-b38fe139dbb7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_f3290326-1caf-4608-bfa3-7730bcfebb40" 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_7813808f-3635-4e45-bb0e-b38fe139dbb7" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_f3290326-1caf-4608-bfa3-7730bcfebb40" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SupplierConcentrationRiskMember_37b77525-5ea9-4082-955b-528213f092fa" 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_f3290326-1caf-4608-bfa3-7730bcfebb40" xlink:to="loc_us-gaap_SupplierConcentrationRiskMember_37b77525-5ea9-4082-955b-528213f092fa" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_58f10a42-be13-4afb-ad17-dccfd1423fae" 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_0b976372-43d5-4b7f-b9b3-f73f6a12937c" xlink:to="loc_srt_RangeAxis_58f10a42-be13-4afb-ad17-dccfd1423fae" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_58f10a42-be13-4afb-ad17-dccfd1423fae_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_58f10a42-be13-4afb-ad17-dccfd1423fae" xlink:to="loc_srt_RangeMember_58f10a42-be13-4afb-ad17-dccfd1423fae_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_e87522ab-b6e4-467a-aa0f-fc1963c404d8" 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_58f10a42-be13-4afb-ad17-dccfd1423fae" xlink:to="loc_srt_RangeMember_e87522ab-b6e4-467a-aa0f-fc1963c404d8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_33ece04c-1deb-4c30-b5fc-8e2924cf4552" 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_e87522ab-b6e4-467a-aa0f-fc1963c404d8" xlink:to="loc_srt_MinimumMember_33ece04c-1deb-4c30-b5fc-8e2924cf4552" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_f1ba9f42-23f4-46f5-b0c9-be32fe122f8f" 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_e87522ab-b6e4-467a-aa0f-fc1963c404d8" xlink:to="loc_srt_MaximumMember_f1ba9f42-23f4-46f5-b0c9-be32fe122f8f" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliceiesRevenuebyMajorPayersDetails" xlink:type="simple" xlink:href="exdx-20200331.xsd#SummaryOfSignificantAccountingPoliceiesRevenuebyMajorPayersDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliceiesRevenuebyMajorPayersDetails" xlink:type="extended" id="ice801f51c617476daca02345e826e134_SummaryOfSignificantAccountingPoliceiesRevenuebyMajorPayersDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_88348c3f-0c64-41b5-bbb8-f94dcef76a56" 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_bb33fab0-4a8c-400d-b818-836fbf580481" 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_88348c3f-0c64-41b5-bbb8-f94dcef76a56" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_bb33fab0-4a8c-400d-b818-836fbf580481" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_14b9032d-a010-4f09-bc3e-5e909c2b761b" 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_88348c3f-0c64-41b5-bbb8-f94dcef76a56" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_14b9032d-a010-4f09-bc3e-5e909c2b761b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_3983605c-80b7-4c59-96c0-6a166ed6d016" 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_14b9032d-a010-4f09-bc3e-5e909c2b761b" xlink:to="loc_srt_ProductOrServiceAxis_3983605c-80b7-4c59-96c0-6a166ed6d016" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_3983605c-80b7-4c59-96c0-6a166ed6d016_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_3983605c-80b7-4c59-96c0-6a166ed6d016" xlink:to="loc_srt_ProductsAndServicesDomain_3983605c-80b7-4c59-96c0-6a166ed6d016_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_c4b464b3-4f58-4303-af52-a9d96f208b50" 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_3983605c-80b7-4c59-96c0-6a166ed6d016" xlink:to="loc_srt_ProductsAndServicesDomain_c4b464b3-4f58-4303-af52-a9d96f208b50" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_AVISECTDTestMember_b1555640-2020-46d4-acf5-e2ae296f3741" xlink:href="exdx-20200331.xsd#exdx_AVISECTDTestMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_c4b464b3-4f58-4303-af52-a9d96f208b50" xlink:to="loc_exdx_AVISECTDTestMember_b1555640-2020-46d4-acf5-e2ae296f3741" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MajorCustomersAxis_408725d6-2121-43b7-8be0-9819ce2a7a6a" 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_14b9032d-a010-4f09-bc3e-5e909c2b761b" xlink:to="loc_srt_MajorCustomersAxis_408725d6-2121-43b7-8be0-9819ce2a7a6a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_408725d6-2121-43b7-8be0-9819ce2a7a6a_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_408725d6-2121-43b7-8be0-9819ce2a7a6a" xlink:to="loc_srt_NameOfMajorCustomerDomain_408725d6-2121-43b7-8be0-9819ce2a7a6a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_48e50315-af5f-4876-8f2b-8bcad65aa360" 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_408725d6-2121-43b7-8be0-9819ce2a7a6a" xlink:to="loc_srt_NameOfMajorCustomerDomain_48e50315-af5f-4876-8f2b-8bcad65aa360" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_MedicareMember_ec839dd5-4866-451f-9dce-06bf9d80fec3" xlink:href="exdx-20200331.xsd#exdx_MedicareMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_48e50315-af5f-4876-8f2b-8bcad65aa360" xlink:to="loc_exdx_MedicareMember_ec839dd5-4866-451f-9dce-06bf9d80fec3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_BlueShieldMember_b48dff64-2fc1-4066-baed-8faa15d93d7f" xlink:href="exdx-20200331.xsd#exdx_BlueShieldMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_48e50315-af5f-4876-8f2b-8bcad65aa360" xlink:to="loc_exdx_BlueShieldMember_b48dff64-2fc1-4066-baed-8faa15d93d7f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_UnitedHealthcareMember_a3d326d9-a7f0-4481-a043-448aedf4b976" xlink:href="exdx-20200331.xsd#exdx_UnitedHealthcareMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_48e50315-af5f-4876-8f2b-8bcad65aa360" xlink:to="loc_exdx_UnitedHealthcareMember_a3d326d9-a7f0-4481-a043-448aedf4b976" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_MedicareAdvantageMember_a76b78f1-e7be-4585-a84c-e3973769a704" xlink:href="exdx-20200331.xsd#exdx_MedicareAdvantageMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_48e50315-af5f-4876-8f2b-8bcad65aa360" xlink:to="loc_exdx_MedicareAdvantageMember_a76b78f1-e7be-4585-a84c-e3973769a704" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_JanssenSIMPONIMember_3ac8398a-dd23-4cc8-8027-4a6efcf5cf23" xlink:href="exdx-20200331.xsd#exdx_JanssenSIMPONIMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_48e50315-af5f-4876-8f2b-8bcad65aa360" xlink:to="loc_exdx_JanssenSIMPONIMember_3ac8398a-dd23-4cc8-8027-4a6efcf5cf23" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_0c8a2115-f922-4373-9a0d-55fbff106872" 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_14b9032d-a010-4f09-bc3e-5e909c2b761b" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_0c8a2115-f922-4373-9a0d-55fbff106872" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_0c8a2115-f922-4373-9a0d-55fbff106872_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_0c8a2115-f922-4373-9a0d-55fbff106872" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_0c8a2115-f922-4373-9a0d-55fbff106872_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_5d137b97-cfb6-4738-88f5-085b60562858" 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_0c8a2115-f922-4373-9a0d-55fbff106872" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_5d137b97-cfb6-4738-88f5-085b60562858" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesRevenueNetMember_0640ee8f-3f49-426a-8678-a97ef7e7a0da" 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_5d137b97-cfb6-4738-88f5-085b60562858" xlink:to="loc_us-gaap_SalesRevenueNetMember_0640ee8f-3f49-426a-8678-a97ef7e7a0da" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_ReceivableBenchmarkMember_a25d3824-2ec2-4ea0-a9d8-1120e3aa0337" xlink:href="exdx-20200331.xsd#exdx_ReceivableBenchmarkMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_5d137b97-cfb6-4738-88f5-085b60562858" xlink:to="loc_exdx_ReceivableBenchmarkMember_a25d3824-2ec2-4ea0-a9d8-1120e3aa0337" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_c2123c0e-6bb4-43ab-9ef5-bf4b86846b09" 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_14b9032d-a010-4f09-bc3e-5e909c2b761b" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_c2123c0e-6bb4-43ab-9ef5-bf4b86846b09" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_c2123c0e-6bb4-43ab-9ef5-bf4b86846b09_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_c2123c0e-6bb4-43ab-9ef5-bf4b86846b09" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_c2123c0e-6bb4-43ab-9ef5-bf4b86846b09_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_c2d2a496-0749-488f-b2b6-af730f98c1cd" 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_c2123c0e-6bb4-43ab-9ef5-bf4b86846b09" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_c2d2a496-0749-488f-b2b6-af730f98c1cd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerConcentrationRiskMember_8d96b708-693d-4c52-a55c-c97b3696637b" 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_c2d2a496-0749-488f-b2b6-af730f98c1cd" xlink:to="loc_us-gaap_CustomerConcentrationRiskMember_8d96b708-693d-4c52-a55c-c97b3696637b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductConcentrationRiskMember_c6095892-9254-42f1-8e35-2d8eeca4fae7" 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_c2d2a496-0749-488f-b2b6-af730f98c1cd" xlink:to="loc_us-gaap_ProductConcentrationRiskMember_c6095892-9254-42f1-8e35-2d8eeca4fae7" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliciesDisaggregationofRevenueDetails" xlink:type="simple" xlink:href="exdx-20200331.xsd#SummaryOfSignificantAccountingPoliciesDisaggregationofRevenueDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliciesDisaggregationofRevenueDetails" xlink:type="extended" id="i28d8a55ee3d144c79eb08b444d3c4e7d_SummaryOfSignificantAccountingPoliciesDisaggregationofRevenueDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_e2e90f89-6a62-413a-8f49-a3e9e0f8535c" 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_1bb40248-ef23-435b-86dc-c62f6cba4455" 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_e2e90f89-6a62-413a-8f49-a3e9e0f8535c" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_1bb40248-ef23-435b-86dc-c62f6cba4455" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_9ee6bbad-853e-4400-a9a2-8dc1b391364c" 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_e2e90f89-6a62-413a-8f49-a3e9e0f8535c" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_9ee6bbad-853e-4400-a9a2-8dc1b391364c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_eb13b7c2-8dd4-44b3-8545-3d41bbc97a39" 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_9ee6bbad-853e-4400-a9a2-8dc1b391364c" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_eb13b7c2-8dd4-44b3-8545-3d41bbc97a39" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_eb13b7c2-8dd4-44b3-8545-3d41bbc97a39_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_eb13b7c2-8dd4-44b3-8545-3d41bbc97a39" xlink:to="loc_us-gaap_SegmentDomain_eb13b7c2-8dd4-44b3-8545-3d41bbc97a39_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_1b3d150f-00f8-4b02-97bc-9ae7f6122579" 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_eb13b7c2-8dd4-44b3-8545-3d41bbc97a39" xlink:to="loc_us-gaap_SegmentDomain_1b3d150f-00f8-4b02-97bc-9ae7f6122579" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_HealthcareInsurersMember_c92db382-6978-412a-8f71-a5de309c9906" xlink:href="exdx-20200331.xsd#exdx_HealthcareInsurersMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_1b3d150f-00f8-4b02-97bc-9ae7f6122579" xlink:to="loc_exdx_HealthcareInsurersMember_c92db382-6978-412a-8f71-a5de309c9906" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GovernmentMember_c4cc11c7-4905-4367-b8d1-2a3b68a0ff10" 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_1b3d150f-00f8-4b02-97bc-9ae7f6122579" xlink:to="loc_us-gaap_GovernmentMember_c4cc11c7-4905-4367-b8d1-2a3b68a0ff10" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_ClientMember_cb7538cb-ec80-4499-bcb7-12b177003e52" xlink:href="exdx-20200331.xsd#exdx_ClientMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_1b3d150f-00f8-4b02-97bc-9ae7f6122579" xlink:to="loc_exdx_ClientMember_cb7538cb-ec80-4499-bcb7-12b177003e52" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllOtherSegmentsMember_231cfae9-4dda-4a8f-af7b-9679e5d404b5" 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_1b3d150f-00f8-4b02-97bc-9ae7f6122579" xlink:to="loc_us-gaap_AllOtherSegmentsMember_231cfae9-4dda-4a8f-af7b-9679e5d404b5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_JanssenSIMPONIMember_cb16b308-e864-4ca9-8078-30494f6fc7d4" xlink:href="exdx-20200331.xsd#exdx_JanssenSIMPONIMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_1b3d150f-00f8-4b02-97bc-9ae7f6122579" xlink:to="loc_exdx_JanssenSIMPONIMember_cb16b308-e864-4ca9-8078-30494f6fc7d4" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliciesCashcashequivalentsandrestrictedcashDetails" xlink:type="simple" xlink:href="exdx-20200331.xsd#SummaryOfSignificantAccountingPoliciesCashcashequivalentsandrestrictedcashDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliciesCashcashequivalentsandrestrictedcashDetails" xlink:type="extended" id="i5684d092a732491c8bd543496a83e30a_SummaryOfSignificantAccountingPoliciesCashcashequivalentsandrestrictedcashDetails"/>
  <link:roleRef roleURI="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliciesSecuritiesDetails" xlink:type="simple" xlink:href="exdx-20200331.xsd#SummaryOfSignificantAccountingPoliciesSecuritiesDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliciesSecuritiesDetails" xlink:type="extended" id="i110d4d0cd4c84431bcded60606efb2af_SummaryOfSignificantAccountingPoliciesSecuritiesDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockLineItems_54fd695c-4278-44a6-88e2-d7035e72ddc2" 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_389182c2-8741-484b-80be-4f897296d241" 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_54fd695c-4278-44a6-88e2-d7035e72ddc2" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_389182c2-8741-484b-80be-4f897296d241" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_758067bf-4a9f-4b55-9d31-0d4adadd69ec" 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_54fd695c-4278-44a6-88e2-d7035e72ddc2" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_758067bf-4a9f-4b55-9d31-0d4adadd69ec" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_0648d124-f94d-4032-82b5-1e11bdcbb726" 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_758067bf-4a9f-4b55-9d31-0d4adadd69ec" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_0648d124-f94d-4032-82b5-1e11bdcbb726" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_0648d124-f94d-4032-82b5-1e11bdcbb726_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_0648d124-f94d-4032-82b5-1e11bdcbb726" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_0648d124-f94d-4032-82b5-1e11bdcbb726_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_a21120ad-5a14-4719-bf5f-3693ae02a278" 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_0648d124-f94d-4032-82b5-1e11bdcbb726" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_a21120ad-5a14-4719-bf5f-3693ae02a278" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RedeemablePreferredStockMember_55753efd-18f7-4237-bd6c-debe2e3a1efb" 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_a21120ad-5a14-4719-bf5f-3693ae02a278" xlink:to="loc_us-gaap_RedeemablePreferredStockMember_55753efd-18f7-4237-bd6c-debe2e3a1efb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_WarrantsTemporaryEquityMember_dd5f07c3-94c8-4348-82bc-ea4dd1680fe3" xlink:href="exdx-20200331.xsd#exdx_WarrantsTemporaryEquityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_a21120ad-5a14-4719-bf5f-3693ae02a278" xlink:to="loc_exdx_WarrantsTemporaryEquityMember_dd5f07c3-94c8-4348-82bc-ea4dd1680fe3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WarrantMember_cccd009e-89a1-4b94-aee0-31bdb2dac4ae" 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_a21120ad-5a14-4719-bf5f-3693ae02a278" xlink:to="loc_us-gaap_WarrantMember_cccd009e-89a1-4b94-aee0-31bdb2dac4ae" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockOptionMember_1e6396bb-9e3a-4f79-8c99-9ac21529f931" 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_a21120ad-5a14-4719-bf5f-3693ae02a278" xlink:to="loc_us-gaap_StockOptionMember_1e6396bb-9e3a-4f79-8c99-9ac21529f931" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/OtherFinancialInformation" xlink:type="simple" xlink:href="exdx-20200331.xsd#OtherFinancialInformation"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/OtherFinancialInformation" xlink:type="extended" id="i7078314f2037416db878e7c1e7869767_OtherFinancialInformation"/>
  <link:roleRef roleURI="http://www.exagen.com/role/OtherFinancialInformationTables" xlink:type="simple" xlink:href="exdx-20200331.xsd#OtherFinancialInformationTables"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/OtherFinancialInformationTables" xlink:type="extended" id="i50d1a07422f046838aedf78f4cff310a_OtherFinancialInformationTables"/>
  <link:roleRef roleURI="http://www.exagen.com/role/OtherFinancialInformationNarrativeDetails" xlink:type="simple" xlink:href="exdx-20200331.xsd#OtherFinancialInformationNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/OtherFinancialInformationNarrativeDetails" xlink:type="extended" id="ibc71ada267e44d4c954ecb575566dd09_OtherFinancialInformationNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_dead62d3-72d2-43e5-bf40-cffa2f047d99" 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_a909479d-6e21-4d51-833e-9c93ce03080e" 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_dead62d3-72d2-43e5-bf40-cffa2f047d99" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_a909479d-6e21-4d51-833e-9c93ce03080e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_de601c28-96ea-4fc8-af01-f1983a041aad" 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_dead62d3-72d2-43e5-bf40-cffa2f047d99" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_de601c28-96ea-4fc8-af01-f1983a041aad" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_2e45e740-ba6a-4126-91fe-972ee931d304" 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_dead62d3-72d2-43e5-bf40-cffa2f047d99" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_2e45e740-ba6a-4126-91fe-972ee931d304" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_60adb148-75e5-4ede-93ff-563eea839412" 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_2e45e740-ba6a-4126-91fe-972ee931d304" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_60adb148-75e5-4ede-93ff-563eea839412" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_60adb148-75e5-4ede-93ff-563eea839412_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_60adb148-75e5-4ede-93ff-563eea839412" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_60adb148-75e5-4ede-93ff-563eea839412_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_7659a515-d200-4a82-9521-ba36702f200c" 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_60adb148-75e5-4ede-93ff-563eea839412" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_7659a515-d200-4a82-9521-ba36702f200c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_AssetsUnderCapitalLeaseMember_1f500f14-ad42-42a2-83ad-ca14336e512a" xlink:href="exdx-20200331.xsd#exdx_AssetsUnderCapitalLeaseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_7659a515-d200-4a82-9521-ba36702f200c" xlink:to="loc_exdx_AssetsUnderCapitalLeaseMember_1f500f14-ad42-42a2-83ad-ca14336e512a" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/OtherFinancialInformationPrepaidexpensesDetails" xlink:type="simple" xlink:href="exdx-20200331.xsd#OtherFinancialInformationPrepaidexpensesDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/OtherFinancialInformationPrepaidexpensesDetails" xlink:type="extended" id="i66e1aafe1cf840fbb17b1f104fb36824_OtherFinancialInformationPrepaidexpensesDetails"/>
  <link:roleRef roleURI="http://www.exagen.com/role/OtherFinancialInformationPropertyandequipmentDetails" xlink:type="simple" xlink:href="exdx-20200331.xsd#OtherFinancialInformationPropertyandequipmentDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/OtherFinancialInformationPropertyandequipmentDetails" xlink:type="extended" id="i213bdddaad774131b5c070eb8b4cec91_OtherFinancialInformationPropertyandequipmentDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_19f1c267-1665-4806-83ab-9ed8e0327a50" 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_15f90d7f-d618-45de-8253-da08fad0a219" 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_19f1c267-1665-4806-83ab-9ed8e0327a50" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_15f90d7f-d618-45de-8253-da08fad0a219" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_bc528e7a-5fad-476c-9c99-79627e4b0086" 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_19f1c267-1665-4806-83ab-9ed8e0327a50" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_bc528e7a-5fad-476c-9c99-79627e4b0086" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_0901c219-88f9-4a74-917a-7df60ec69cc6" 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_19f1c267-1665-4806-83ab-9ed8e0327a50" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_0901c219-88f9-4a74-917a-7df60ec69cc6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_22d0fbfa-cdf5-4277-8eff-2b8f78ec5252" 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_19f1c267-1665-4806-83ab-9ed8e0327a50" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_22d0fbfa-cdf5-4277-8eff-2b8f78ec5252" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_c322bbff-0fb0-4d76-ac16-3c61634523fd" 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_22d0fbfa-cdf5-4277-8eff-2b8f78ec5252" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_c322bbff-0fb0-4d76-ac16-3c61634523fd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_c322bbff-0fb0-4d76-ac16-3c61634523fd_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_c322bbff-0fb0-4d76-ac16-3c61634523fd" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_c322bbff-0fb0-4d76-ac16-3c61634523fd_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_5c44b125-8fa1-4dc2-ba65-af7544e3b922" 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_c322bbff-0fb0-4d76-ac16-3c61634523fd" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_5c44b125-8fa1-4dc2-ba65-af7544e3b922" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_5a3d02a8-2f98-470b-86c7-e5813e486361" 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_5c44b125-8fa1-4dc2-ba65-af7544e3b922" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_5a3d02a8-2f98-470b-86c7-e5813e486361" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_LaboratoryEquipmentMember_0e67372a-e0ac-4368-af76-d3507e6e7222" xlink:href="exdx-20200331.xsd#exdx_LaboratoryEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_5c44b125-8fa1-4dc2-ba65-af7544e3b922" xlink:to="loc_exdx_LaboratoryEquipmentMember_0e67372a-e0ac-4368-af76-d3507e6e7222" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_ComputerEquipmentAndSoftwareMember_48dc20f0-3343-45a4-9286-6090c172cf97" xlink:href="exdx-20200331.xsd#exdx_ComputerEquipmentAndSoftwareMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_5c44b125-8fa1-4dc2-ba65-af7544e3b922" xlink:to="loc_exdx_ComputerEquipmentAndSoftwareMember_48dc20f0-3343-45a4-9286-6090c172cf97" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseholdImprovementsMember_ed0a64e0-a90e-41de-b122-3c132e21ffbc" 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_5c44b125-8fa1-4dc2-ba65-af7544e3b922" xlink:to="loc_us-gaap_LeaseholdImprovementsMember_ed0a64e0-a90e-41de-b122-3c132e21ffbc" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConstructionInProgressMember_8671168d-d10e-4221-9138-ffa0b43d9b6d" 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_5c44b125-8fa1-4dc2-ba65-af7544e3b922" xlink:to="loc_us-gaap_ConstructionInProgressMember_8671168d-d10e-4221-9138-ffa0b43d9b6d" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/OtherFinancialInformationAccruedliabilitiesDetails" xlink:type="simple" xlink:href="exdx-20200331.xsd#OtherFinancialInformationAccruedliabilitiesDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/OtherFinancialInformationAccruedliabilitiesDetails" xlink:type="extended" id="ia9fec07317684ca3a4fc041907cb8513_OtherFinancialInformationAccruedliabilitiesDetails"/>
  <link:roleRef roleURI="http://www.exagen.com/role/Borrowings" xlink:type="simple" xlink:href="exdx-20200331.xsd#Borrowings"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/Borrowings" xlink:type="extended" id="i848717313a5746a1816cafdbffce3c53_Borrowings"/>
  <link:roleRef roleURI="http://www.exagen.com/role/BorrowingsTables" xlink:type="simple" xlink:href="exdx-20200331.xsd#BorrowingsTables"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/BorrowingsTables" xlink:type="extended" id="i4b060f6fd645411aa0979ecbaa1d0d49_BorrowingsTables"/>
  <link:roleRef roleURI="http://www.exagen.com/role/BorrowingsNarrativeDetails" xlink:type="simple" xlink:href="exdx-20200331.xsd#BorrowingsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/BorrowingsNarrativeDetails" xlink:type="extended" id="i644d1c6c92f94da0b9cc2b60173195bc_BorrowingsNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_8704373e-8abd-4f99-84e2-c363a4c41a11" 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_31ff5e1d-a360-4bc7-877f-ac93dcc6c54b" 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_8704373e-8abd-4f99-84e2-c363a4c41a11" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_31ff5e1d-a360-4bc7-877f-ac93dcc6c54b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_78de8254-ef03-4303-8a71-4a837b212a8e" 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_8704373e-8abd-4f99-84e2-c363a4c41a11" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_78de8254-ef03-4303-8a71-4a837b212a8e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_244ac0b0-c31a-40bf-b5dd-f72863ec879a" 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_8704373e-8abd-4f99-84e2-c363a4c41a11" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_244ac0b0-c31a-40bf-b5dd-f72863ec879a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_DebtInstrumentStatedInterestRatePaidInKind_d0ced890-dba7-461d-be01-926b64619807" xlink:href="exdx-20200331.xsd#exdx_DebtInstrumentStatedInterestRatePaidInKind"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8704373e-8abd-4f99-84e2-c363a4c41a11" xlink:to="loc_exdx_DebtInstrumentStatedInterestRatePaidInKind_d0ced890-dba7-461d-be01-926b64619807" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_8efbfdc6-b52f-492b-bbaa-640220a3a4e1" 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_8704373e-8abd-4f99-84e2-c363a4c41a11" xlink:to="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_8efbfdc6-b52f-492b-bbaa-640220a3a4e1" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFeeAmount_ffe53d98-d8e6-47ed-9873-7157e9545cdc" 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_8704373e-8abd-4f99-84e2-c363a4c41a11" xlink:to="loc_us-gaap_DebtInstrumentFeeAmount_ffe53d98-d8e6-47ed-9873-7157e9545cdc" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_DebtInstrumentPaidInKindLoansIssued_fabdafd3-5269-442f-bfee-53ac3cb30398" xlink:href="exdx-20200331.xsd#exdx_DebtInstrumentPaidInKindLoansIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8704373e-8abd-4f99-84e2-c363a4c41a11" xlink:to="loc_exdx_DebtInstrumentPaidInKindLoansIssued_fabdafd3-5269-442f-bfee-53ac3cb30398" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_DebtInstrumentPrepaymentPremiumPercentage_6d9b47b0-1d4f-4d04-a782-6460584caea6" xlink:href="exdx-20200331.xsd#exdx_DebtInstrumentPrepaymentPremiumPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8704373e-8abd-4f99-84e2-c363a4c41a11" xlink:to="loc_exdx_DebtInstrumentPrepaymentPremiumPercentage_6d9b47b0-1d4f-4d04-a782-6460584caea6" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_DebtInstrumentPrepaymentPremiumPercentageAnnualReduction_964285e8-687f-4701-8424-9b28ea17fc6d" xlink:href="exdx-20200331.xsd#exdx_DebtInstrumentPrepaymentPremiumPercentageAnnualReduction"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8704373e-8abd-4f99-84e2-c363a4c41a11" xlink:to="loc_exdx_DebtInstrumentPrepaymentPremiumPercentageAnnualReduction_964285e8-687f-4701-8424-9b28ea17fc6d" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_DebtInstrumentCovenantComplianceMinimumUnrestrictedCashBalance_f1925c13-3c03-40bb-a317-ffe73acb7737" xlink:href="exdx-20200331.xsd#exdx_DebtInstrumentCovenantComplianceMinimumUnrestrictedCashBalance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8704373e-8abd-4f99-84e2-c363a4c41a11" xlink:to="loc_exdx_DebtInstrumentCovenantComplianceMinimumUnrestrictedCashBalance_f1925c13-3c03-40bb-a317-ffe73acb7737" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_DebtInstrumentCovenantNonComplianceInterestRateIncreaseDecrease_520fd00c-49c9-4601-879f-71f18c94a949" xlink:href="exdx-20200331.xsd#exdx_DebtInstrumentCovenantNonComplianceInterestRateIncreaseDecrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8704373e-8abd-4f99-84e2-c363a4c41a11" xlink:to="loc_exdx_DebtInstrumentCovenantNonComplianceInterestRateIncreaseDecrease_520fd00c-49c9-4601-879f-71f18c94a949" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_933d1165-9f86-40e7-a078-72cd5115ff67" 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_8704373e-8abd-4f99-84e2-c363a4c41a11" xlink:to="loc_us-gaap_DebtInstrumentTable_933d1165-9f86-40e7-a078-72cd5115ff67" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_c43276a3-931f-4b6a-8863-665c5db2c95f" 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_933d1165-9f86-40e7-a078-72cd5115ff67" xlink:to="loc_us-gaap_DebtInstrumentAxis_c43276a3-931f-4b6a-8863-665c5db2c95f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_c43276a3-931f-4b6a-8863-665c5db2c95f_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_c43276a3-931f-4b6a-8863-665c5db2c95f" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_c43276a3-931f-4b6a-8863-665c5db2c95f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_38eb55be-b24a-4a93-bf5f-99eeff954658" 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_c43276a3-931f-4b6a-8863-665c5db2c95f" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_38eb55be-b24a-4a93-bf5f-99eeff954658" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_Term2017Member_21e06fdf-b635-4f78-bdcf-2a7e8d69afb3" xlink:href="exdx-20200331.xsd#exdx_Term2017Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_38eb55be-b24a-4a93-bf5f-99eeff954658" xlink:to="loc_exdx_Term2017Member_21e06fdf-b635-4f78-bdcf-2a7e8d69afb3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_17526416-b4ae-4c7c-adb1-97aab7758759" 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_933d1165-9f86-40e7-a078-72cd5115ff67" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_17526416-b4ae-4c7c-adb1-97aab7758759" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_17526416-b4ae-4c7c-adb1-97aab7758759_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_17526416-b4ae-4c7c-adb1-97aab7758759" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_17526416-b4ae-4c7c-adb1-97aab7758759_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_ae68b5c4-1167-4efd-b14d-dbc9b2dbc9ba" 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_17526416-b4ae-4c7c-adb1-97aab7758759" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_ae68b5c4-1167-4efd-b14d-dbc9b2dbc9ba" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansPayableMember_23cd2ede-db6d-4a2e-81c3-cee70682d6bb" 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_ae68b5c4-1167-4efd-b14d-dbc9b2dbc9ba" xlink:to="loc_us-gaap_LoansPayableMember_23cd2ede-db6d-4a2e-81c3-cee70682d6bb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentInKindPIKNoteMember_27fca362-2c16-4fb4-b212-f5109902dc7c" 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_ae68b5c4-1167-4efd-b14d-dbc9b2dbc9ba" xlink:to="loc_us-gaap_PaymentInKindPIKNoteMember_27fca362-2c16-4fb4-b212-f5109902dc7c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityAxis_53c17c50-8fd5-4ec1-8c6f-8b5326798213" 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_933d1165-9f86-40e7-a078-72cd5115ff67" xlink:to="loc_us-gaap_LineOfCreditFacilityAxis_53c17c50-8fd5-4ec1-8c6f-8b5326798213" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityLenderDomain_53c17c50-8fd5-4ec1-8c6f-8b5326798213_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_53c17c50-8fd5-4ec1-8c6f-8b5326798213" xlink:to="loc_us-gaap_LineOfCreditFacilityLenderDomain_53c17c50-8fd5-4ec1-8c6f-8b5326798213_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityLenderDomain_239fbf21-b22d-4e9b-b624-6cffdce2b12a" 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_53c17c50-8fd5-4ec1-8c6f-8b5326798213" xlink:to="loc_us-gaap_LineOfCreditFacilityLenderDomain_239fbf21-b22d-4e9b-b624-6cffdce2b12a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_InnovatusLifeSciencesLendingFundMember_81f0d4fb-755f-4923-b957-67c54f3adde4" xlink:href="exdx-20200331.xsd#exdx_InnovatusLifeSciencesLendingFundMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLenderDomain_239fbf21-b22d-4e9b-b624-6cffdce2b12a" xlink:to="loc_exdx_InnovatusLifeSciencesLendingFundMember_81f0d4fb-755f-4923-b957-67c54f3adde4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_CapitalRoyaltyPartnersIILPMember_59ed6e00-3014-4b3c-893c-2b6ccb22a2f9" xlink:href="exdx-20200331.xsd#exdx_CapitalRoyaltyPartnersIILPMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLenderDomain_239fbf21-b22d-4e9b-b624-6cffdce2b12a" xlink:to="loc_exdx_CapitalRoyaltyPartnersIILPMember_59ed6e00-3014-4b3c-893c-2b6ccb22a2f9" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/BorrowingsFutureminimumpaymentsDetails" xlink:type="simple" xlink:href="exdx-20200331.xsd#BorrowingsFutureminimumpaymentsDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/BorrowingsFutureminimumpaymentsDetails" xlink:type="extended" id="i9479933b3b394ef8bd0b6220d30da747_BorrowingsFutureminimumpaymentsDetails"/>
  <link:roleRef roleURI="http://www.exagen.com/role/CommitmentandContingencies" xlink:type="simple" xlink:href="exdx-20200331.xsd#CommitmentandContingencies"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/CommitmentandContingencies" xlink:type="extended" id="i585bb0feded24dc1b74d105a93855bb5_CommitmentandContingencies"/>
  <link:roleRef roleURI="http://www.exagen.com/role/CommitmentandContingenciesNarrativeDetails" xlink:type="simple" xlink:href="exdx-20200331.xsd#CommitmentandContingenciesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/CommitmentandContingenciesNarrativeDetails" xlink:type="extended" id="ib8fd2cbbbff443a08431575d1601d7c3_CommitmentandContingenciesNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesLineItems_44ad0f72-be5b-446c-8916-b573e914fdf8" 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_us-gaap_LesseeOperatingLeaseRenewalTerm_b06a2194-d7a9-4e4c-88f6-6ce4c9b0077f" 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_44ad0f72-be5b-446c-8916-b573e914fdf8" xlink:to="loc_us-gaap_LesseeOperatingLeaseRenewalTerm_b06a2194-d7a9-4e4c-88f6-6ce4c9b0077f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseExpense_9567bdeb-c1d4-49ed-a500-3577234131b0" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeaseExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_44ad0f72-be5b-446c-8916-b573e914fdf8" xlink:to="loc_us-gaap_OperatingLeaseExpense_9567bdeb-c1d4-49ed-a500-3577234131b0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_MilestoneObligation_3cccd3d3-d081-49de-902b-874513df95c5" xlink:href="exdx-20200331.xsd#exdx_MilestoneObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_44ad0f72-be5b-446c-8916-b573e914fdf8" xlink:to="loc_exdx_MilestoneObligation_3cccd3d3-d081-49de-902b-874513df95c5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_MilestoneContingencyFairValueDisclosure_8e4274d5-d934-4132-9242-80d2f0afb02a" xlink:href="exdx-20200331.xsd#exdx_MilestoneContingencyFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_44ad0f72-be5b-446c-8916-b573e914fdf8" xlink:to="loc_exdx_MilestoneContingencyFairValueDisclosure_8e4274d5-d934-4132-9242-80d2f0afb02a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_RoyaltyObligationPercentageOfSales_9a4d00b1-320d-4614-bfc1-84dbe2d6ce19" xlink:href="exdx-20200331.xsd#exdx_RoyaltyObligationPercentageOfSales"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_44ad0f72-be5b-446c-8916-b573e914fdf8" xlink:to="loc_exdx_RoyaltyObligationPercentageOfSales_9a4d00b1-320d-4614-bfc1-84dbe2d6ce19" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RoyaltyGuaranteesCommitmentsAmount_faf3d4b0-04de-4917-9690-e8084d4109d7" 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_44ad0f72-be5b-446c-8916-b573e914fdf8" xlink:to="loc_us-gaap_RoyaltyGuaranteesCommitmentsAmount_faf3d4b0-04de-4917-9690-e8084d4109d7" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_AdvancePayment_6c16dacf-5359-4e14-b275-c91a3643312c" xlink:href="exdx-20200331.xsd#exdx_AdvancePayment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_44ad0f72-be5b-446c-8916-b573e914fdf8" xlink:to="loc_exdx_AdvancePayment_6c16dacf-5359-4e14-b275-c91a3643312c" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermPurchaseCommitmentAmount_72535148-54be-4f09-9275-cfa30ac98aea" 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_44ad0f72-be5b-446c-8916-b573e914fdf8" xlink:to="loc_us-gaap_LongTermPurchaseCommitmentAmount_72535148-54be-4f09-9275-cfa30ac98aea" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermPurchaseCommitmentPeriod_81b74b0e-13ee-45b7-8009-506189fb1187" 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_44ad0f72-be5b-446c-8916-b573e914fdf8" xlink:to="loc_us-gaap_LongtermPurchaseCommitmentPeriod_81b74b0e-13ee-45b7-8009-506189fb1187" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesTable_53885a0f-c1cd-4ca6-a2f7-18c4c2718fb0" 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_44ad0f72-be5b-446c-8916-b573e914fdf8" xlink:to="loc_us-gaap_LossContingenciesTable_53885a0f-c1cd-4ca6-a2f7-18c4c2718fb0" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_RentalPropertyByTypeAxis_a91418bc-eda8-45a9-8a99-e41bdec9b2a8" xlink:href="exdx-20200331.xsd#exdx_RentalPropertyByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_53885a0f-c1cd-4ca6-a2f7-18c4c2718fb0" xlink:to="loc_exdx_RentalPropertyByTypeAxis_a91418bc-eda8-45a9-8a99-e41bdec9b2a8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_RentalPropertyByTypeDomain_a91418bc-eda8-45a9-8a99-e41bdec9b2a8_default" xlink:href="exdx-20200331.xsd#exdx_RentalPropertyByTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_exdx_RentalPropertyByTypeAxis_a91418bc-eda8-45a9-8a99-e41bdec9b2a8" xlink:to="loc_exdx_RentalPropertyByTypeDomain_a91418bc-eda8-45a9-8a99-e41bdec9b2a8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_RentalPropertyByTypeDomain_b6ff1aa6-9b5e-4c16-a16f-0131c55a679b" xlink:href="exdx-20200331.xsd#exdx_RentalPropertyByTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_exdx_RentalPropertyByTypeAxis_a91418bc-eda8-45a9-8a99-e41bdec9b2a8" xlink:to="loc_exdx_RentalPropertyByTypeDomain_b6ff1aa6-9b5e-4c16-a16f-0131c55a679b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_OfficeAndLaboratoryMember_bf214c26-6ca9-4259-93f7-07fb771dc878" xlink:href="exdx-20200331.xsd#exdx_OfficeAndLaboratoryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_exdx_RentalPropertyByTypeDomain_b6ff1aa6-9b5e-4c16-a16f-0131c55a679b" xlink:to="loc_exdx_OfficeAndLaboratoryMember_bf214c26-6ca9-4259-93f7-07fb771dc878" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_OfficeMember_b4188848-818a-413e-91dc-d8be2ca3e413" xlink:href="exdx-20200331.xsd#exdx_OfficeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_exdx_RentalPropertyByTypeDomain_b6ff1aa6-9b5e-4c16-a16f-0131c55a679b" xlink:to="loc_exdx_OfficeMember_b4188848-818a-413e-91dc-d8be2ca3e413" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CounterpartyNameAxis_d7700c74-dea9-4961-b424-e4581bbd2497" 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_53885a0f-c1cd-4ca6-a2f7-18c4c2718fb0" xlink:to="loc_srt_CounterpartyNameAxis_d7700c74-dea9-4961-b424-e4581bbd2497" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_d7700c74-dea9-4961-b424-e4581bbd2497_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_d7700c74-dea9-4961-b424-e4581bbd2497" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_d7700c74-dea9-4961-b424-e4581bbd2497_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_1379d05e-c194-4f92-a9fd-d84dd8c38e35" 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_d7700c74-dea9-4961-b424-e4581bbd2497" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_1379d05e-c194-4f92-a9fd-d84dd8c38e35" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_PrometheusLaboratoriesIncMember_6bb0b84d-0941-4603-a7d9-76384b0fbc70" xlink:href="exdx-20200331.xsd#exdx_PrometheusLaboratoriesIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_1379d05e-c194-4f92-a9fd-d84dd8c38e35" xlink:to="loc_exdx_PrometheusLaboratoriesIncMember_6bb0b84d-0941-4603-a7d9-76384b0fbc70" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_fbaa2acf-b78b-4bcd-8dc7-8c7cef5a85ed" 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_53885a0f-c1cd-4ca6-a2f7-18c4c2718fb0" xlink:to="loc_srt_RangeAxis_fbaa2acf-b78b-4bcd-8dc7-8c7cef5a85ed" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_fbaa2acf-b78b-4bcd-8dc7-8c7cef5a85ed_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_fbaa2acf-b78b-4bcd-8dc7-8c7cef5a85ed" xlink:to="loc_srt_RangeMember_fbaa2acf-b78b-4bcd-8dc7-8c7cef5a85ed_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_9a573415-bab7-4cc4-a52f-02c3af663ed6" 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_fbaa2acf-b78b-4bcd-8dc7-8c7cef5a85ed" xlink:to="loc_srt_RangeMember_9a573415-bab7-4cc4-a52f-02c3af663ed6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_24a77258-42a9-41cd-b583-45211bf2b2ad" 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_9a573415-bab7-4cc4-a52f-02c3af663ed6" xlink:to="loc_srt_MinimumMember_24a77258-42a9-41cd-b583-45211bf2b2ad" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_ee334f8a-268b-4178-8995-e1dc8eb06275" 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_9a573415-bab7-4cc4-a52f-02c3af663ed6" xlink:to="loc_srt_MaximumMember_ee334f8a-268b-4178-8995-e1dc8eb06275" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersByTypeAxis_d0131635-a677-491d-a96a-4bffb0da936e" 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_53885a0f-c1cd-4ca6-a2f7-18c4c2718fb0" xlink:to="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersByTypeAxis_d0131635-a677-491d-a96a-4bffb0da936e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain_d0131635-a677-491d-a96a-4bffb0da936e_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_d0131635-a677-491d-a96a-4bffb0da936e" xlink:to="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain_d0131635-a677-491d-a96a-4bffb0da936e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain_ee5fac54-a1da-4c25-8b1d-856e0a24dd3c" 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_d0131635-a677-491d-a96a-4bffb0da936e" xlink:to="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain_ee5fac54-a1da-4c25-8b1d-856e0a24dd3c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LicenseAgreementTermsMember_9f2d2079-cd3a-48d4-bcd7-71806394fbb2" 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_ee5fac54-a1da-4c25-8b1d-856e0a24dd3c" xlink:to="loc_us-gaap_LicenseAgreementTermsMember_9f2d2079-cd3a-48d4-bcd7-71806394fbb2" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/FairValueMeasurements" xlink:type="simple" xlink:href="exdx-20200331.xsd#FairValueMeasurements"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/FairValueMeasurements" xlink:type="extended" id="i7f25d4de98894cd097e18c2b99a06f5e_FairValueMeasurements"/>
  <link:roleRef roleURI="http://www.exagen.com/role/FairValueMeasuresandDisclosuresTables" xlink:type="simple" xlink:href="exdx-20200331.xsd#FairValueMeasuresandDisclosuresTables"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/FairValueMeasuresandDisclosuresTables" xlink:type="extended" id="i55542092efb34b55a379bdd483dcbdb5_FairValueMeasuresandDisclosuresTables"/>
  <link:roleRef roleURI="http://www.exagen.com/role/FairValueMeasurementsFairvaluemeasurementDetails" xlink:type="simple" xlink:href="exdx-20200331.xsd#FairValueMeasurementsFairvaluemeasurementDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/FairValueMeasurementsFairvaluemeasurementDetails" xlink:type="extended" id="i6b1eeb4c59f043ba82837602cafc213a_FairValueMeasurementsFairvaluemeasurementDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_64991b42-2fcb-4aca-a57e-798a9c7a9f66" 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_0a8309da-3325-4604-9bad-80921b40979f" 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_64991b42-2fcb-4aca-a57e-798a9c7a9f66" xlink:to="loc_us-gaap_AssetsFairValueDisclosureAbstract_0a8309da-3325-4604-9bad-80921b40979f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_be1f3cc5-4adb-4a7b-b0d5-621b1eb9298c" 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_0a8309da-3325-4604-9bad-80921b40979f" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_be1f3cc5-4adb-4a7b-b0d5-621b1eb9298c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_ffd4e945-df34-47da-b345-5e548d5626e1" 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_64991b42-2fcb-4aca-a57e-798a9c7a9f66" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_ffd4e945-df34-47da-b345-5e548d5626e1" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_7ff91ff1-2211-4731-9b82-fd7061e85fef" 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_ffd4e945-df34-47da-b345-5e548d5626e1" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_7ff91ff1-2211-4731-9b82-fd7061e85fef" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_7ff91ff1-2211-4731-9b82-fd7061e85fef_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_7ff91ff1-2211-4731-9b82-fd7061e85fef" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_7ff91ff1-2211-4731-9b82-fd7061e85fef_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_19752234-3252-4e72-befb-450034b78032" 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_7ff91ff1-2211-4731-9b82-fd7061e85fef" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_19752234-3252-4e72-befb-450034b78032" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_47fd3342-5c23-4e5b-b71f-d88fa53d9a62" 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_19752234-3252-4e72-befb-450034b78032" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_47fd3342-5c23-4e5b-b71f-d88fa53d9a62" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAxis_ae417142-9fb9-427b-a806-222e09104f48" 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_ffd4e945-df34-47da-b345-5e548d5626e1" xlink:to="loc_us-gaap_CashAndCashEquivalentsAxis_ae417142-9fb9-427b-a806-222e09104f48" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_ae417142-9fb9-427b-a806-222e09104f48_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_ae417142-9fb9-427b-a806-222e09104f48" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_ae417142-9fb9-427b-a806-222e09104f48_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_87174912-5484-4dd4-a6f9-481c09fa56cd" 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_ae417142-9fb9-427b-a806-222e09104f48" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_87174912-5484-4dd4-a6f9-481c09fa56cd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MoneyMarketFundsMember_eed88702-25c1-445d-ba4f-2fdc1ad66269" 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_87174912-5484-4dd4-a6f9-481c09fa56cd" xlink:to="loc_us-gaap_MoneyMarketFundsMember_eed88702-25c1-445d-ba4f-2fdc1ad66269" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_ec5c2c1a-cf0b-475d-b5a1-02c894403bcd" 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_ffd4e945-df34-47da-b345-5e548d5626e1" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_ec5c2c1a-cf0b-475d-b5a1-02c894403bcd" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_ec5c2c1a-cf0b-475d-b5a1-02c894403bcd_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_ec5c2c1a-cf0b-475d-b5a1-02c894403bcd" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_ec5c2c1a-cf0b-475d-b5a1-02c894403bcd_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_08904030-7cc3-4922-8bba-f2eb2b35c55c" 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_ec5c2c1a-cf0b-475d-b5a1-02c894403bcd" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_08904030-7cc3-4922-8bba-f2eb2b35c55c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_69315fe1-dc6b-42be-aa38-e78fc5eaa83a" 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_08904030-7cc3-4922-8bba-f2eb2b35c55c" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_69315fe1-dc6b-42be-aa38-e78fc5eaa83a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_1e8db820-7eac-46ff-9464-2ebe077ebd2a" 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_08904030-7cc3-4922-8bba-f2eb2b35c55c" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_1e8db820-7eac-46ff-9464-2ebe077ebd2a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_891e8055-8b80-4f8a-b184-0ab9c1658b53" 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_08904030-7cc3-4922-8bba-f2eb2b35c55c" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_891e8055-8b80-4f8a-b184-0ab9c1658b53" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_0fbb8439-0e5d-44da-a349-358e421c188d" 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_ffd4e945-df34-47da-b345-5e548d5626e1" xlink:to="loc_us-gaap_FinancialInstrumentAxis_0fbb8439-0e5d-44da-a349-358e421c188d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_0fbb8439-0e5d-44da-a349-358e421c188d_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_0fbb8439-0e5d-44da-a349-358e421c188d" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_0fbb8439-0e5d-44da-a349-358e421c188d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_df28c2af-246f-401a-bef0-0aa2ee9ef163" 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_0fbb8439-0e5d-44da-a349-358e421c188d" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_df28c2af-246f-401a-bef0-0aa2ee9ef163" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WarrantMember_37d3ea13-727a-458c-88ad-d4dc0e291b15" 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_df28c2af-246f-401a-bef0-0aa2ee9ef163" xlink:to="loc_us-gaap_WarrantMember_37d3ea13-727a-458c-88ad-d4dc0e291b15" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/RedeemableConvertiblePreferredStock" xlink:type="simple" xlink:href="exdx-20200331.xsd#RedeemableConvertiblePreferredStock"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/RedeemableConvertiblePreferredStock" xlink:type="extended" id="i045745dd28244173b7726da84ecb7684_RedeemableConvertiblePreferredStock"/>
  <link:roleRef roleURI="http://www.exagen.com/role/RedeemableConvertiblePreferredStockDetails" xlink:type="simple" xlink:href="exdx-20200331.xsd#RedeemableConvertiblePreferredStockDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/RedeemableConvertiblePreferredStockDetails" xlink:type="extended" id="i5472724da8aa4a0ca7b49c4175d617bc_RedeemableConvertiblePreferredStockDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityLineItems_ebd58b2a-098b-478d-9c47-36f1d92a1736" 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_exdx_SaleOfTemporaryEquityPricePerShare_7208c4b9-5e8e-4e8a-80d4-7ae70d35bf1a" xlink:href="exdx-20200331.xsd#exdx_SaleOfTemporaryEquityPricePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_ebd58b2a-098b-478d-9c47-36f1d92a1736" xlink:to="loc_exdx_SaleOfTemporaryEquityPricePerShare_7208c4b9-5e8e-4e8a-80d4-7ae70d35bf1a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_eea997c4-49f3-4cc6-a8fa-9145e7468f7c" 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_ebd58b2a-098b-478d-9c47-36f1d92a1736" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_eea997c4-49f3-4cc6-a8fa-9145e7468f7c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityByClassOfStockTable_e7a86048-af9d-4001-8e70-9dd10e879fe9" 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_ebd58b2a-098b-478d-9c47-36f1d92a1736" xlink:to="loc_us-gaap_TemporaryEquityByClassOfStockTable_e7a86048-af9d-4001-8e70-9dd10e879fe9" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_59f7c08d-7e62-4aed-8637-1da31658900a" 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_e7a86048-af9d-4001-8e70-9dd10e879fe9" xlink:to="loc_us-gaap_StatementClassOfStockAxis_59f7c08d-7e62-4aed-8637-1da31658900a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_59f7c08d-7e62-4aed-8637-1da31658900a_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_59f7c08d-7e62-4aed-8637-1da31658900a" xlink:to="loc_us-gaap_ClassOfStockDomain_59f7c08d-7e62-4aed-8637-1da31658900a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_3eed1814-a214-402d-b8eb-0c8701cacd96" 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_59f7c08d-7e62-4aed-8637-1da31658900a" xlink:to="loc_us-gaap_ClassOfStockDomain_3eed1814-a214-402d-b8eb-0c8701cacd96" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesGPreferredStockMember_7a2a5fbd-c9d7-4918-9591-6f0aa264be76" 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_3eed1814-a214-402d-b8eb-0c8701cacd96" xlink:to="loc_us-gaap_SeriesGPreferredStockMember_7a2a5fbd-c9d7-4918-9591-6f0aa264be76" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_42e640e2-a115-4d98-989b-5809782dceb8" 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_e7a86048-af9d-4001-8e70-9dd10e879fe9" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_42e640e2-a115-4d98-989b-5809782dceb8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_42e640e2-a115-4d98-989b-5809782dceb8_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_42e640e2-a115-4d98-989b-5809782dceb8" xlink:to="loc_us-gaap_EquityComponentDomain_42e640e2-a115-4d98-989b-5809782dceb8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_742bb551-2244-4d8b-9319-7d583332c5eb" 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_42e640e2-a115-4d98-989b-5809782dceb8" xlink:to="loc_us-gaap_EquityComponentDomain_742bb551-2244-4d8b-9319-7d583332c5eb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_6123b9de-faa4-4033-a9a3-7837360f94b8" 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_742bb551-2244-4d8b-9319-7d583332c5eb" xlink:to="loc_us-gaap_CommonStockMember_6123b9de-faa4-4033-a9a3-7837360f94b8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsidiarySaleOfStockAxis_7e137135-ec77-4560-9708-e5b7bf98a969" 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_e7a86048-af9d-4001-8e70-9dd10e879fe9" xlink:to="loc_us-gaap_SubsidiarySaleOfStockAxis_7e137135-ec77-4560-9708-e5b7bf98a969" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_7e137135-ec77-4560-9708-e5b7bf98a969_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_7e137135-ec77-4560-9708-e5b7bf98a969" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_7e137135-ec77-4560-9708-e5b7bf98a969_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_518a83d2-5db8-44d9-aa59-16d60a306d81" 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_7e137135-ec77-4560-9708-e5b7bf98a969" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_518a83d2-5db8-44d9-aa59-16d60a306d81" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IPOMember_85b43cda-7e85-4503-ac0c-3aadc03af395" 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_518a83d2-5db8-44d9-aa59-16d60a306d81" xlink:to="loc_us-gaap_IPOMember_85b43cda-7e85-4503-ac0c-3aadc03af395" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/StockholdersEquity" xlink:type="simple" xlink:href="exdx-20200331.xsd#StockholdersEquity"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/StockholdersEquity" xlink:type="extended" id="i47312a4e27974de7bb73a8a56626261f_StockholdersEquity"/>
  <link:roleRef roleURI="http://www.exagen.com/role/StockholdersEquityDetails" xlink:type="simple" xlink:href="exdx-20200331.xsd#StockholdersEquityDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/StockholdersEquityDetails" xlink:type="extended" id="ib25f3291ebe743caafba9ec8b14bc287_StockholdersEquityDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsidiarySaleOfStockLineItems_90a3b86f-6c27-40b2-8dec-9596a38f9560" 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_ClassOfWarrantOrRightOutstanding_d11be7bf-f376-403e-b7fa-4ba7feeab616" 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_SubsidiarySaleOfStockLineItems_90a3b86f-6c27-40b2-8dec-9596a38f9560" xlink:to="loc_us-gaap_ClassOfWarrantOrRightOutstanding_d11be7bf-f376-403e-b7fa-4ba7feeab616" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1_32405eec-df8c-4c10-8107-f645c87223d9" 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_SubsidiarySaleOfStockLineItems_90a3b86f-6c27-40b2-8dec-9596a38f9560" xlink:to="loc_us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1_32405eec-df8c-4c10-8107-f645c87223d9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_ClassOfWarrantOrRightExercised_fc8bc00e-707d-47dd-a188-2867a6e1367d" xlink:href="exdx-20200331.xsd#exdx_ClassOfWarrantOrRightExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsidiarySaleOfStockLineItems_90a3b86f-6c27-40b2-8dec-9596a38f9560" xlink:to="loc_exdx_ClassOfWarrantOrRightExercised_fc8bc00e-707d-47dd-a188-2867a6e1367d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights_2b2b8235-424b-472f-8bd3-bdde80dacb20" 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_SubsidiarySaleOfStockLineItems_90a3b86f-6c27-40b2-8dec-9596a38f9560" xlink:to="loc_us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights_2b2b8235-424b-472f-8bd3-bdde80dacb20" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable_5dcafb93-f979-4715-98d2-ac2626ae63a8" 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_90a3b86f-6c27-40b2-8dec-9596a38f9560" xlink:to="loc_us-gaap_SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable_5dcafb93-f979-4715-98d2-ac2626ae63a8" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightAxis_9c5bee88-c5db-4f55-8a0b-5766f23c001f" 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_SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable_5dcafb93-f979-4715-98d2-ac2626ae63a8" xlink:to="loc_us-gaap_ClassOfWarrantOrRightAxis_9c5bee88-c5db-4f55-8a0b-5766f23c001f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightDomain_9c5bee88-c5db-4f55-8a0b-5766f23c001f_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_9c5bee88-c5db-4f55-8a0b-5766f23c001f" xlink:to="loc_us-gaap_ClassOfWarrantOrRightDomain_9c5bee88-c5db-4f55-8a0b-5766f23c001f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightDomain_9c4773f0-1601-4b51-8be1-e2284abac809" 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_9c5bee88-c5db-4f55-8a0b-5766f23c001f" xlink:to="loc_us-gaap_ClassOfWarrantOrRightDomain_9c4773f0-1601-4b51-8be1-e2284abac809" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_ExpirationJan192026Member_89708d02-58bc-4db2-a05d-bea2c6439956" xlink:href="exdx-20200331.xsd#exdx_ExpirationJan192026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfWarrantOrRightDomain_9c4773f0-1601-4b51-8be1-e2284abac809" xlink:to="loc_exdx_ExpirationJan192026Member_89708d02-58bc-4db2-a05d-bea2c6439956" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_ExpirationMar312026Member_282e88ef-c72f-4215-96e6-1fa1524640d3" xlink:href="exdx-20200331.xsd#exdx_ExpirationMar312026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfWarrantOrRightDomain_9c4773f0-1601-4b51-8be1-e2284abac809" xlink:to="loc_exdx_ExpirationMar312026Member_282e88ef-c72f-4215-96e6-1fa1524640d3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_ExpirationApr12026Member_ff9382e1-19b3-40e4-89c0-f9748a6861dd" xlink:href="exdx-20200331.xsd#exdx_ExpirationApr12026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfWarrantOrRightDomain_9c4773f0-1601-4b51-8be1-e2284abac809" xlink:to="loc_exdx_ExpirationApr12026Member_ff9382e1-19b3-40e4-89c0-f9748a6861dd" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_ExpirationSep82024Member_4dc771fd-cea4-4862-a3d1-fd3f6b2a47eb" xlink:href="exdx-20200331.xsd#exdx_ExpirationSep82024Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfWarrantOrRightDomain_9c4773f0-1601-4b51-8be1-e2284abac809" xlink:to="loc_exdx_ExpirationSep82024Member_4dc771fd-cea4-4862-a3d1-fd3f6b2a47eb" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_ExpirationDec72025Member_46038dae-f7f8-45cd-b4c6-9a80bd07a47d" xlink:href="exdx-20200331.xsd#exdx_ExpirationDec72025Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfWarrantOrRightDomain_9c4773f0-1601-4b51-8be1-e2284abac809" xlink:to="loc_exdx_ExpirationDec72025Member_46038dae-f7f8-45cd-b4c6-9a80bd07a47d" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/StockOptionPlan" xlink:type="simple" xlink:href="exdx-20200331.xsd#StockOptionPlan"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/StockOptionPlan" xlink:type="extended" id="i177114d7d06b4180a95bdea124bb4279_StockOptionPlan"/>
  <link:roleRef roleURI="http://www.exagen.com/role/StockOptionPlanTables" xlink:type="simple" xlink:href="exdx-20200331.xsd#StockOptionPlanTables"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/StockOptionPlanTables" xlink:type="extended" id="i113ebb7789c24725a85cf9cee9c8d244_StockOptionPlanTables"/>
  <link:roleRef roleURI="http://www.exagen.com/role/StockOptionPlanNarrativeDetails" xlink:type="simple" xlink:href="exdx-20200331.xsd#StockOptionPlanNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/StockOptionPlanNarrativeDetails" xlink:type="extended" id="i3070f31323ae4b77ac90cd17d07903e2_StockOptionPlanNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e1aedab4-20fb-4ad5-99f4-9d188009b75b" 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_4c53d47f-8146-480b-9eae-409139226235" 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_e1aedab4-20fb-4ad5-99f4-9d188009b75b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_4c53d47f-8146-480b-9eae-409139226235" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_ShareBasedCompensationArrangementByShareBasedPaymentAwardAdditionalSharesAuthorizedPercentage_3d8b6d14-6a9f-4735-83ba-2fbc15753c8e" xlink:href="exdx-20200331.xsd#exdx_ShareBasedCompensationArrangementByShareBasedPaymentAwardAdditionalSharesAuthorizedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e1aedab4-20fb-4ad5-99f4-9d188009b75b" xlink:to="loc_exdx_ShareBasedCompensationArrangementByShareBasedPaymentAwardAdditionalSharesAuthorizedPercentage_3d8b6d14-6a9f-4735-83ba-2fbc15753c8e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_2e55d2a3-360f-4eec-bc57-6781aba4562b" 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_e1aedab4-20fb-4ad5-99f4-9d188009b75b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_2e55d2a3-360f-4eec-bc57-6781aba4562b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_a735611b-7b79-4b36-bcc4-5ebe120d87af" 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_e1aedab4-20fb-4ad5-99f4-9d188009b75b" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_a735611b-7b79-4b36-bcc4-5ebe120d87af" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_becf2274-4eac-45c1-a528-51a7985b8a15" 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_e1aedab4-20fb-4ad5-99f4-9d188009b75b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_becf2274-4eac-45c1-a528-51a7985b8a15" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_570b2d69-b9ec-476d-9c53-ed7e3f92f4a0" 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_e1aedab4-20fb-4ad5-99f4-9d188009b75b" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_570b2d69-b9ec-476d-9c53-ed7e3f92f4a0" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_76dc6f2c-f9ad-49d3-99e8-0a9673c6bcbb" 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_e1aedab4-20fb-4ad5-99f4-9d188009b75b" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_76dc6f2c-f9ad-49d3-99e8-0a9673c6bcbb" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_fd4b67df-29f1-459e-baca-84a790bfd6ee" 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_e1aedab4-20fb-4ad5-99f4-9d188009b75b" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_fd4b67df-29f1-459e-baca-84a790bfd6ee" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameAxis_b45a31dc-ca8d-4039-b48b-b70c0fe46a24" 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_fd4b67df-29f1-459e-baca-84a790bfd6ee" xlink:to="loc_us-gaap_PlanNameAxis_b45a31dc-ca8d-4039-b48b-b70c0fe46a24" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_b45a31dc-ca8d-4039-b48b-b70c0fe46a24_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_b45a31dc-ca8d-4039-b48b-b70c0fe46a24" xlink:to="loc_us-gaap_PlanNameDomain_b45a31dc-ca8d-4039-b48b-b70c0fe46a24_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_e8baa87b-8db3-4690-835c-add6bc5124a3" 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_b45a31dc-ca8d-4039-b48b-b70c0fe46a24" xlink:to="loc_us-gaap_PlanNameDomain_e8baa87b-8db3-4690-835c-add6bc5124a3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_IncentiveAwardPlan2019Member_2354a819-2763-4522-9105-502c037c73dc" xlink:href="exdx-20200331.xsd#exdx_IncentiveAwardPlan2019Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_e8baa87b-8db3-4690-835c-add6bc5124a3" xlink:to="loc_exdx_IncentiveAwardPlan2019Member_2354a819-2763-4522-9105-502c037c73dc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_343ecde8-a0d5-4e97-9493-7933ba2375c9" 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_fd4b67df-29f1-459e-baca-84a790bfd6ee" xlink:to="loc_us-gaap_AwardTypeAxis_343ecde8-a0d5-4e97-9493-7933ba2375c9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_343ecde8-a0d5-4e97-9493-7933ba2375c9_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_343ecde8-a0d5-4e97-9493-7933ba2375c9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_343ecde8-a0d5-4e97-9493-7933ba2375c9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_a2331431-d9b5-4e00-8a91-cc1328b97b1f" 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_343ecde8-a0d5-4e97-9493-7933ba2375c9" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_a2331431-d9b5-4e00-8a91-cc1328b97b1f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_506384b8-7e1f-4105-b6a6-6dd3657a24d3" 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_a2331431-d9b5-4e00-8a91-cc1328b97b1f" xlink:to="loc_us-gaap_EmployeeStockOptionMember_506384b8-7e1f-4105-b6a6-6dd3657a24d3" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/StockOptionPlanStockOptionActivityDetails" xlink:type="simple" xlink:href="exdx-20200331.xsd#StockOptionPlanStockOptionActivityDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/StockOptionPlanStockOptionActivityDetails" xlink:type="extended" id="ie09a411d1b5647008eafdc3757c87e27_StockOptionPlanStockOptionActivityDetails"/>
  <link:roleRef roleURI="http://www.exagen.com/role/StockOptionPlanFairValueAssumptionsDetails" xlink:type="simple" xlink:href="exdx-20200331.xsd#StockOptionPlanFairValueAssumptionsDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/StockOptionPlanFairValueAssumptionsDetails" xlink:type="extended" id="i0e71ef8a89bf4ac5879b51388c1d9b7e_StockOptionPlanFairValueAssumptionsDetails"/>
  <link:roleRef roleURI="http://www.exagen.com/role/StockOptionPlanStockBasedCompensationExpenseDetails" xlink:type="simple" xlink:href="exdx-20200331.xsd#StockOptionPlanStockBasedCompensationExpenseDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/StockOptionPlanStockBasedCompensationExpenseDetails" xlink:type="extended" id="iec170e0fa17d4d53b05621baa94a9512_StockOptionPlanStockBasedCompensationExpenseDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_379afe82-8baa-4711-8b99-fb2d30aaaa34" 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_0ff52b50-5861-484d-8ea5-d1358436281e" 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_379afe82-8baa-4711-8b99-fb2d30aaaa34" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_0ff52b50-5861-484d-8ea5-d1358436281e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_891702d6-3bf4-4d36-972f-c96aa54abb82" 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_379afe82-8baa-4711-8b99-fb2d30aaaa34" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_891702d6-3bf4-4d36-972f-c96aa54abb82" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_f84b3b79-16ce-420c-9c55-42a266a146ce" 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_891702d6-3bf4-4d36-972f-c96aa54abb82" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_f84b3b79-16ce-420c-9c55-42a266a146ce" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_f84b3b79-16ce-420c-9c55-42a266a146ce_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_f84b3b79-16ce-420c-9c55-42a266a146ce" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_f84b3b79-16ce-420c-9c55-42a266a146ce_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_da60a3ec-9da3-4033-90f4-b08c1bea0d40" 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_f84b3b79-16ce-420c-9c55-42a266a146ce" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_da60a3ec-9da3-4033-90f4-b08c1bea0d40" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfSalesMember_e3dffc79-2dc1-45b9-b8c9-dd12e5c44e3e" 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_da60a3ec-9da3-4033-90f4-b08c1bea0d40" xlink:to="loc_us-gaap_CostOfSalesMember_e3dffc79-2dc1-45b9-b8c9-dd12e5c44e3e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_4cbdcd08-0b66-4089-8fb5-472ea9b220bd" 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_da60a3ec-9da3-4033-90f4-b08c1bea0d40" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_4cbdcd08-0b66-4089-8fb5-472ea9b220bd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember_b3015196-d430-4ec3-8cd8-4757584b0981" 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_da60a3ec-9da3-4033-90f4-b08c1bea0d40" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_b3015196-d430-4ec3-8cd8-4757584b0981" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/RelatedParties" xlink:type="simple" xlink:href="exdx-20200331.xsd#RelatedParties"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/RelatedParties" xlink:type="extended" id="i1c3aa8de3d5d4e9d9a8cd1e1ea9d3655_RelatedParties"/>
  <link:roleRef roleURI="http://www.exagen.com/role/Covid19" xlink:type="simple" xlink:href="exdx-20200331.xsd#Covid19"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/Covid19" xlink:type="extended" id="i58a4bf2729484d8196bb147e3f6c215e_Covid19"/>
  <link:roleRef roleURI="http://www.exagen.com/role/Covid19Details" xlink:type="simple" xlink:href="exdx-20200331.xsd#Covid19Details"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/Covid19Details" xlink:type="extended" id="i983805cd56d04e0ea6a68d3cebae2238_Covid19Details">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_d7471c17-e326-459d-b290-d5962a00e82f" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_AVISECTDTestVolumePercentage_cbe93552-e55b-45b3-bb48-fec6b4d00bb6" xlink:href="exdx-20200331.xsd#exdx_AVISECTDTestVolumePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_d7471c17-e326-459d-b290-d5962a00e82f" xlink:to="loc_exdx_AVISECTDTestVolumePercentage_cbe93552-e55b-45b3-bb48-fec6b4d00bb6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCharges_fe8ae5d4-1945-4826-9124-34234f575f8d" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestructuringCharges"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_d7471c17-e326-459d-b290-d5962a00e82f" xlink:to="loc_us-gaap_RestructuringCharges_fe8ae5d4-1945-4826-9124-34234f575f8d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_d75d567a-3efd-4dad-ab8a-9c651dc20e8b" 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_RestructuringCostAndReserveLineItems_d7471c17-e326-459d-b290-d5962a00e82f" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_d75d567a-3efd-4dad-ab8a-9c651dc20e8b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_CoronavirusAidReliefAndEconomicSecuritiesCARESActDeferredTaxAssetsValuationAllowance_074f05fb-33e4-420e-8be1-fb9cc0623440" xlink:href="exdx-20200331.xsd#exdx_CoronavirusAidReliefAndEconomicSecuritiesCARESActDeferredTaxAssetsValuationAllowance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_d7471c17-e326-459d-b290-d5962a00e82f" xlink:to="loc_exdx_CoronavirusAidReliefAndEconomicSecuritiesCARESActDeferredTaxAssetsValuationAllowance_074f05fb-33e4-420e-8be1-fb9cc0623440" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_CoronavirusAidReliefAndEconomicSecuritiesCARESActDeferredTaxAssetsIncomeTaxBenefit_20e34859-b51a-4ba2-9131-7bc498fe6bcf" xlink:href="exdx-20200331.xsd#exdx_CoronavirusAidReliefAndEconomicSecuritiesCARESActDeferredTaxAssetsIncomeTaxBenefit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_d7471c17-e326-459d-b290-d5962a00e82f" xlink:to="loc_exdx_CoronavirusAidReliefAndEconomicSecuritiesCARESActDeferredTaxAssetsIncomeTaxBenefit_20e34859-b51a-4ba2-9131-7bc498fe6bcf" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_6054b038-6f67-42a6-ab1f-c3dc0259a878" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_d7471c17-e326-459d-b290-d5962a00e82f" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_6054b038-6f67-42a6-ab1f-c3dc0259a878" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_028f14b3-f903-450d-a2b1-524e55806ab0" 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_ScheduleOfRestructuringAndRelatedCostsTable_6054b038-6f67-42a6-ab1f-c3dc0259a878" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_028f14b3-f903-450d-a2b1-524e55806ab0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_028f14b3-f903-450d-a2b1-524e55806ab0_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_028f14b3-f903-450d-a2b1-524e55806ab0" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_028f14b3-f903-450d-a2b1-524e55806ab0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_35b5ebe8-01a6-40e3-9743-27aa9b49a675" 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_028f14b3-f903-450d-a2b1-524e55806ab0" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_35b5ebe8-01a6-40e3-9743-27aa9b49a675" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventMember_aaadaef8-f503-49e1-a331-9dae06abaa6b" 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_35b5ebe8-01a6-40e3-9743-27aa9b49a675" xlink:to="loc_us-gaap_SubsequentEventMember_aaadaef8-f503-49e1-a331-9dae06abaa6b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_8a40b445-7acd-4c63-8287-83855da3dfe5" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RestructuringCostAndReserveAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_6054b038-6f67-42a6-ab1f-c3dc0259a878" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_8a40b445-7acd-4c63-8287-83855da3dfe5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_8a40b445-7acd-4c63-8287-83855da3dfe5_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TypeOfRestructuringDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_8a40b445-7acd-4c63-8287-83855da3dfe5" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_8a40b445-7acd-4c63-8287-83855da3dfe5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_bd241364-abf5-43bb-9807-10d3031cef78" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TypeOfRestructuringDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_8a40b445-7acd-4c63-8287-83855da3dfe5" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_bd241364-abf5-43bb-9807-10d3031cef78" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OneTimeTerminationBenefitsMember_19172e5d-c8e4-42ae-bc9a-54f3e49c09e1" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OneTimeTerminationBenefitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_bd241364-abf5-43bb-9807-10d3031cef78" xlink:to="loc_us-gaap_OneTimeTerminationBenefitsMember_19172e5d-c8e4-42ae-bc9a-54f3e49c09e1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GranteeStatusAxis_6ce6854f-c510-4288-94c4-fa6e0eeda1ee" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_GranteeStatusAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_6054b038-6f67-42a6-ab1f-c3dc0259a878" xlink:to="loc_us-gaap_GranteeStatusAxis_6ce6854f-c510-4288-94c4-fa6e0eeda1ee" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GranteeStatusDomain_6ce6854f-c510-4288-94c4-fa6e0eeda1ee_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_GranteeStatusDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GranteeStatusAxis_6ce6854f-c510-4288-94c4-fa6e0eeda1ee" xlink:to="loc_us-gaap_GranteeStatusDomain_6ce6854f-c510-4288-94c4-fa6e0eeda1ee_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GranteeStatusDomain_6a079268-6af6-4928-a350-9b17ba0b7e67" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_GranteeStatusDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GranteeStatusAxis_6ce6854f-c510-4288-94c4-fa6e0eeda1ee" xlink:to="loc_us-gaap_GranteeStatusDomain_6a079268-6af6-4928-a350-9b17ba0b7e67" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedPaymentArrangementEmployeeMember_3678bf96-5583-49ff-89ac-4443b6afc963" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedPaymentArrangementEmployeeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GranteeStatusDomain_6a079268-6af6-4928-a350-9b17ba0b7e67" xlink:to="loc_us-gaap_ShareBasedPaymentArrangementEmployeeMember_3678bf96-5583-49ff-89ac-4443b6afc963" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/SubsequentEvents" xlink:type="simple" xlink:href="exdx-20200331.xsd#SubsequentEvents"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/SubsequentEvents" xlink:type="extended" id="i63a3010f722e4523a2df110ee0b072b0_SubsequentEvents"/>
  <link:roleRef roleURI="http://www.exagen.com/role/SubsequentEventsNarrativeDetails" xlink:type="simple" xlink:href="exdx-20200331.xsd#SubsequentEventsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/SubsequentEventsNarrativeDetails" xlink:type="extended" id="i81e4d0056b68423fa331c579861aa2fe_SubsequentEventsNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventLineItems_7149a4a0-f6bd-4091-bb87-5cc30731af99" 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_exdx_CoronavirusAidReliefAndEconomicSecuritiesCARESActProceedsFromLoan_dcff6d1a-cf1a-4a37-887a-3c8f55f80a6e" xlink:href="exdx-20200331.xsd#exdx_CoronavirusAidReliefAndEconomicSecuritiesCARESActProceedsFromLoan"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_7149a4a0-f6bd-4091-bb87-5cc30731af99" xlink:to="loc_exdx_CoronavirusAidReliefAndEconomicSecuritiesCARESActProceedsFromLoan_dcff6d1a-cf1a-4a37-887a-3c8f55f80a6e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTable_411e5a0b-cb2d-4a80-807e-16439fb765f1" 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_7149a4a0-f6bd-4091-bb87-5cc30731af99" xlink:to="loc_us-gaap_SubsequentEventTable_411e5a0b-cb2d-4a80-807e-16439fb765f1" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_fd643c51-d1d3-4b34-b3d5-4cf499c9296e" 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_411e5a0b-cb2d-4a80-807e-16439fb765f1" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_fd643c51-d1d3-4b34-b3d5-4cf499c9296e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_fd643c51-d1d3-4b34-b3d5-4cf499c9296e_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_fd643c51-d1d3-4b34-b3d5-4cf499c9296e" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_fd643c51-d1d3-4b34-b3d5-4cf499c9296e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_b8c38c07-b4c7-456c-aac2-e5ff86554672" 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_fd643c51-d1d3-4b34-b3d5-4cf499c9296e" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_b8c38c07-b4c7-456c-aac2-e5ff86554672" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventMember_891cec7b-c5f5-4a44-ad12-729d2e0353a6" 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_b8c38c07-b4c7-456c-aac2-e5ff86554672" xlink:to="loc_us-gaap_SubsequentEventMember_891cec7b-c5f5-4a44-ad12-729d2e0353a6" xlink:type="arc" order="0"/>
  </link:definitionLink>
</link:linkbase>
