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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2020 Workiva-->
<!--r:20acc633-3d55-4a88-83b3-dde651761e12,g:988c6990-1dd7-4866-ab8d-43ea230f2ecb-->
<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-20200630.xsd#Cover"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/Cover" xlink:type="extended" id="if887a01ba82648da8ad4ba4e52ed22a4_Cover"/>
  <link:roleRef roleURI="http://www.exagen.com/role/CondensedBalanceSheets" xlink:type="simple" xlink:href="exdx-20200630.xsd#CondensedBalanceSheets"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/CondensedBalanceSheets" xlink:type="extended" id="iba6247b13ef64670954efd20ea867038_CondensedBalanceSheets"/>
  <link:roleRef roleURI="http://www.exagen.com/role/CondensedBalanceSheetsParenthetical" xlink:type="simple" xlink:href="exdx-20200630.xsd#CondensedBalanceSheetsParenthetical"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/CondensedBalanceSheetsParenthetical" xlink:type="extended" id="i44d1679bb3d04df8a7eab1e8864bcc9d_CondensedBalanceSheetsParenthetical"/>
  <link:roleRef roleURI="http://www.exagen.com/role/UnauditedCondensedStatementsofOperations" xlink:type="simple" xlink:href="exdx-20200630.xsd#UnauditedCondensedStatementsofOperations"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/UnauditedCondensedStatementsofOperations" xlink:type="extended" id="iaf8500fd102c4d45adaeb52829998f4e_UnauditedCondensedStatementsofOperations"/>
  <link:roleRef roleURI="http://www.exagen.com/role/UnauditedCondensedStatementsofRedeemableConvertiblePreferredStockandStockholdersEquityDeficit" xlink:type="simple" xlink:href="exdx-20200630.xsd#UnauditedCondensedStatementsofRedeemableConvertiblePreferredStockandStockholdersEquityDeficit"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/UnauditedCondensedStatementsofRedeemableConvertiblePreferredStockandStockholdersEquityDeficit" xlink:type="extended" id="i758836d6c2584a068f7bbb47e64a9c0e_UnauditedCondensedStatementsofRedeemableConvertiblePreferredStockandStockholdersEquityDeficit">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_db41ede6-3672-45d2-9802-117f42602c6f" 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_IncreaseDecreaseInStockholdersEquityRollForward_77073304-6a11-4df0-8c76-6b977fab8e7f" 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_db41ede6-3672-45d2-9802-117f42602c6f" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_77073304-6a11-4df0-8c76-6b977fab8e7f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_54d71732-b2e5-44c7-a9d6-5a99408a97de" 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_77073304-6a11-4df0-8c76-6b977fab8e7f" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_54d71732-b2e5-44c7-a9d6-5a99408a97de" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_bddd5592-a0fb-4bde-bf69-ef6998cceec3" 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_77073304-6a11-4df0-8c76-6b977fab8e7f" xlink:to="loc_us-gaap_StockholdersEquity_bddd5592-a0fb-4bde-bf69-ef6998cceec3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_AdjustmentsToAdditionalPaidInCapitalTemporaryEquityAccretionToRedemptionValue_1c080738-f724-416b-b924-38d8662036c8" xlink:href="exdx-20200630.xsd#exdx_AdjustmentsToAdditionalPaidInCapitalTemporaryEquityAccretionToRedemptionValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_77073304-6a11-4df0-8c76-6b977fab8e7f" xlink:to="loc_exdx_AdjustmentsToAdditionalPaidInCapitalTemporaryEquityAccretionToRedemptionValue_1c080738-f724-416b-b924-38d8662036c8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_499dcec5-6599-471f-887b-72e3161cb346" 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_77073304-6a11-4df0-8c76-6b977fab8e7f" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_499dcec5-6599-471f-887b-72e3161cb346" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_e40286ee-d7c1-4140-b5e5-82e29ddcad0b" 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_77073304-6a11-4df0-8c76-6b977fab8e7f" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_e40286ee-d7c1-4140-b5e5-82e29ddcad0b" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_a1c76c9e-034e-41ad-ab65-ae6785639048" 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_77073304-6a11-4df0-8c76-6b977fab8e7f" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_a1c76c9e-034e-41ad-ab65-ae6785639048" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_StockIssuedDuringPeriodSharesWarrantsExercisedNet_1c41e355-b7fa-4b46-a566-b332c1d6262f" xlink:href="exdx-20200630.xsd#exdx_StockIssuedDuringPeriodSharesWarrantsExercisedNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_77073304-6a11-4df0-8c76-6b977fab8e7f" xlink:to="loc_exdx_StockIssuedDuringPeriodSharesWarrantsExercisedNet_1c41e355-b7fa-4b46-a566-b332c1d6262f" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_StockIssuedDuringPeriodValueWarrantsExercisedNet_43a8927f-6afb-4bfc-8a1f-c7d644b80c3a" xlink:href="exdx-20200630.xsd#exdx_StockIssuedDuringPeriodValueWarrantsExercisedNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_77073304-6a11-4df0-8c76-6b977fab8e7f" xlink:to="loc_exdx_StockIssuedDuringPeriodValueWarrantsExercisedNet_43a8927f-6afb-4bfc-8a1f-c7d644b80c3a" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_eed01199-c22d-439b-aa78-b358f54ba22f" 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_77073304-6a11-4df0-8c76-6b977fab8e7f" xlink:to="loc_us-gaap_NetIncomeLoss_eed01199-c22d-439b-aa78-b358f54ba22f" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_13412952-33ad-44a9-a4ca-c2c3cffa013e" 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_ecee22ae-1920-4507-a8e9-738954990f78" 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_IncreaseDecreaseInTemporaryEquityRollForward_90683a9e-82b0-4443-a740-cd3d02e9ebe1" 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_db41ede6-3672-45d2-9802-117f42602c6f" xlink:to="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_90683a9e-82b0-4443-a740-cd3d02e9ebe1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquitySharesOutstanding_2df7990a-b0d5-427c-8637-ec3b6dd8481a" 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_90683a9e-82b0-4443-a740-cd3d02e9ebe1" xlink:to="loc_us-gaap_TemporaryEquitySharesOutstanding_2df7990a-b0d5-427c-8637-ec3b6dd8481a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityCarryingAmountAttributableToParent_dc29b23f-9558-4329-a2a7-08d36205e6ff" 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_90683a9e-82b0-4443-a740-cd3d02e9ebe1" xlink:to="loc_us-gaap_TemporaryEquityCarryingAmountAttributableToParent_dc29b23f-9558-4329-a2a7-08d36205e6ff" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityAccretionToRedemptionValue_c0ccd3ee-9afc-4a68-8488-cb1a103ae005" 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_90683a9e-82b0-4443-a740-cd3d02e9ebe1" xlink:to="loc_us-gaap_TemporaryEquityAccretionToRedemptionValue_c0ccd3ee-9afc-4a68-8488-cb1a103ae005" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_TemporaryEquityIssuedDuringThePeriodSharesRedeemableConvertiblePreferredStock_38acac81-2ee3-4a10-9606-8512d38a78ab" xlink:href="exdx-20200630.xsd#exdx_TemporaryEquityIssuedDuringThePeriodSharesRedeemableConvertiblePreferredStock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_90683a9e-82b0-4443-a740-cd3d02e9ebe1" xlink:to="loc_exdx_TemporaryEquityIssuedDuringThePeriodSharesRedeemableConvertiblePreferredStock_38acac81-2ee3-4a10-9606-8512d38a78ab" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_TemporaryEquityIssuedDuringThePeriodValueRedeemableConvertiblePreferredStock_02f10ad9-ca90-48a1-9586-d9530d64d02b" xlink:href="exdx-20200630.xsd#exdx_TemporaryEquityIssuedDuringThePeriodValueRedeemableConvertiblePreferredStock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInTemporaryEquityRollForward_90683a9e-82b0-4443-a740-cd3d02e9ebe1" xlink:to="loc_exdx_TemporaryEquityIssuedDuringThePeriodValueRedeemableConvertiblePreferredStock_02f10ad9-ca90-48a1-9586-d9530d64d02b" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquitySharesOutstanding_a3bfc194-3fc8-47e3-b229-e98fd2ebc52b" 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_da85f6bb-d145-4b41-be9f-8877c6b5c12c" 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_StatementTable_2c3fb6ef-a86f-49a0-8cbb-c17a9458d13e" 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_db41ede6-3672-45d2-9802-117f42602c6f" xlink:to="loc_us-gaap_StatementTable_2c3fb6ef-a86f-49a0-8cbb-c17a9458d13e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_70c28874-aa95-4e46-91da-30af39e15c14" 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_2c3fb6ef-a86f-49a0-8cbb-c17a9458d13e" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_70c28874-aa95-4e46-91da-30af39e15c14" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_70c28874-aa95-4e46-91da-30af39e15c14_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_70c28874-aa95-4e46-91da-30af39e15c14" xlink:to="loc_us-gaap_EquityComponentDomain_70c28874-aa95-4e46-91da-30af39e15c14_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_5a1c188a-9fac-4cd8-943e-536f2fef8d7a" 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_70c28874-aa95-4e46-91da-30af39e15c14" xlink:to="loc_us-gaap_EquityComponentDomain_5a1c188a-9fac-4cd8-943e-536f2fef8d7a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_0688154d-747c-4f25-84f7-0d8357406fc2" 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_5a1c188a-9fac-4cd8-943e-536f2fef8d7a" xlink:to="loc_us-gaap_CommonStockMember_0688154d-747c-4f25-84f7-0d8357406fc2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_599804d7-cdad-4e1f-b67c-a4c6856413ad" 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_5a1c188a-9fac-4cd8-943e-536f2fef8d7a" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_599804d7-cdad-4e1f-b67c-a4c6856413ad" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_e88a4292-a38e-4d26-bd67-dbbca6fd9e00" 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_5a1c188a-9fac-4cd8-943e-536f2fef8d7a" xlink:to="loc_us-gaap_RetainedEarningsMember_e88a4292-a38e-4d26-bd67-dbbca6fd9e00" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/UnauditedCondensedStatementsofRedeemableConvertiblePreferredStockandStockholdersEquityDeficitParenthetical" xlink:type="simple" xlink:href="exdx-20200630.xsd#UnauditedCondensedStatementsofRedeemableConvertiblePreferredStockandStockholdersEquityDeficitParenthetical"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/UnauditedCondensedStatementsofRedeemableConvertiblePreferredStockandStockholdersEquityDeficitParenthetical" xlink:type="extended" id="i84165bc2753c4074b14fe90b638ea292_UnauditedCondensedStatementsofRedeemableConvertiblePreferredStockandStockholdersEquityDeficitParenthetical">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_80d856f0-7a20-4ebe-89b7-a3f29f0a7c9c" 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_81897f84-3310-4f4d-ae5e-340ac806a7f8" xlink:href="exdx-20200630.xsd#exdx_SaleOfTemporaryEquityPricePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_80d856f0-7a20-4ebe-89b7-a3f29f0a7c9c" xlink:to="loc_exdx_SaleOfTemporaryEquityPricePerShare_81897f84-3310-4f4d-ae5e-340ac806a7f8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_TemporaryEquityIssuanceCosts_7c7d71a2-97a6-499a-844c-e368759fe060" xlink:href="exdx-20200630.xsd#exdx_TemporaryEquityIssuanceCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_80d856f0-7a20-4ebe-89b7-a3f29f0a7c9c" xlink:to="loc_exdx_TemporaryEquityIssuanceCosts_7c7d71a2-97a6-499a-844c-e368759fe060" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_debf3fe6-8c13-4f99-af40-3126b2bc3230" 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_80d856f0-7a20-4ebe-89b7-a3f29f0a7c9c" xlink:to="loc_us-gaap_StatementTable_debf3fe6-8c13-4f99-af40-3126b2bc3230" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_49f72027-6f46-49dc-8150-ffdc8a6441c1" 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_debf3fe6-8c13-4f99-af40-3126b2bc3230" xlink:to="loc_us-gaap_StatementClassOfStockAxis_49f72027-6f46-49dc-8150-ffdc8a6441c1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_49f72027-6f46-49dc-8150-ffdc8a6441c1_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_49f72027-6f46-49dc-8150-ffdc8a6441c1" xlink:to="loc_us-gaap_ClassOfStockDomain_49f72027-6f46-49dc-8150-ffdc8a6441c1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_9cd14464-065d-4906-a2d1-cb123bf15875" 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_49f72027-6f46-49dc-8150-ffdc8a6441c1" xlink:to="loc_us-gaap_ClassOfStockDomain_9cd14464-065d-4906-a2d1-cb123bf15875" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesGPreferredStockMember_8a51cd95-bcea-4b9f-b175-562f9afd1db2" 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_9cd14464-065d-4906-a2d1-cb123bf15875" xlink:to="loc_us-gaap_SeriesGPreferredStockMember_8a51cd95-bcea-4b9f-b175-562f9afd1db2" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/UnauditedStatementsofCashFlows" xlink:type="simple" xlink:href="exdx-20200630.xsd#UnauditedStatementsofCashFlows"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/UnauditedStatementsofCashFlows" xlink:type="extended" id="id78d967cb4f642b7a14950ad6daf4789_UnauditedStatementsofCashFlows">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_5748fb2d-706d-4e94-9649-e8910efaf603" 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_dcf020c9-2406-4935-94ac-2df4a4e221ba" 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_5748fb2d-706d-4e94-9649-e8910efaf603" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract_dcf020c9-2406-4935-94ac-2df4a4e221ba" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_a62ae81d-c89b-4ee1-a993-ddb5094f6adf" 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_dcf020c9-2406-4935-94ac-2df4a4e221ba" xlink:to="loc_us-gaap_NetIncomeLoss_a62ae81d-c89b-4ee1-a993-ddb5094f6adf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_9188b421-e91d-4e88-884a-c161b1389f36" 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_dcf020c9-2406-4935-94ac-2df4a4e221ba" xlink:to="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_9188b421-e91d-4e88-884a-c161b1389f36" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSoldDepreciationAndAmortization_cff2899b-357e-419b-81ac-c10783d4e339" 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_9188b421-e91d-4e88-884a-c161b1389f36" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSoldDepreciationAndAmortization_cff2899b-357e-419b-81ac-c10783d4e339" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_a996a809-5da6-4ab9-a644-964c9a97138f" 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_9188b421-e91d-4e88-884a-c161b1389f36" xlink:to="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_a996a809-5da6-4ab9-a644-964c9a97138f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaidInKindInterest_82545d64-57b1-4c88-a55a-a97ab81ac05a" 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_9188b421-e91d-4e88-884a-c161b1389f36" xlink:to="loc_us-gaap_PaidInKindInterest_82545d64-57b1-4c88-a55a-a97ab81ac05a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAdjustmentOfWarrants_95a463fe-c73d-4794-b379-34a7e310abec" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueAdjustmentOfWarrants"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_9188b421-e91d-4e88-884a-c161b1389f36" xlink:to="loc_us-gaap_FairValueAdjustmentOfWarrants_95a463fe-c73d-4794-b379-34a7e310abec" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_4f90d453-5208-445a-9cc3-29507b0b440a" 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_9188b421-e91d-4e88-884a-c161b1389f36" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_4f90d453-5208-445a-9cc3-29507b0b440a" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnDispositionOfAssets1_a3dc1222-225d-4316-8ea9-4c58f1b8d14f" 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_9188b421-e91d-4e88-884a-c161b1389f36" xlink:to="loc_us-gaap_GainLossOnDispositionOfAssets1_a3dc1222-225d-4316-8ea9-4c58f1b8d14f" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_515f03c1-95be-454d-8589-f00768ca85fa" 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_9188b421-e91d-4e88-884a-c161b1389f36" xlink:to="loc_us-gaap_ShareBasedCompensation_515f03c1-95be-454d-8589-f00768ca85fa" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_3955b1e3-064d-4b38-8a1e-a282898ee8e6" 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_9188b421-e91d-4e88-884a-c161b1389f36" xlink:to="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_3955b1e3-064d-4b38-8a1e-a282898ee8e6" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_10c2895d-5966-4741-903d-bfd78cdbabb7" 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_3955b1e3-064d-4b38-8a1e-a282898ee8e6" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_10c2895d-5966-4741-903d-bfd78cdbabb7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_IncreaseDecreaseInPrepaidExpenseAndCurrentOtherAssets_dfea51f3-722f-4ab4-abf1-0a12abe216fc" xlink:href="exdx-20200630.xsd#exdx_IncreaseDecreaseInPrepaidExpenseAndCurrentOtherAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_3955b1e3-064d-4b38-8a1e-a282898ee8e6" xlink:to="loc_exdx_IncreaseDecreaseInPrepaidExpenseAndCurrentOtherAssets_dfea51f3-722f-4ab4-abf1-0a12abe216fc" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_86bf8812-09f0-441b-95bd-6c02f76d2087" 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_3955b1e3-064d-4b38-8a1e-a282898ee8e6" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_86bf8812-09f0-441b-95bd-6c02f76d2087" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_d6970c9a-4f49-4933-9bc9-c445fa41328e" 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_3955b1e3-064d-4b38-8a1e-a282898ee8e6" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_d6970c9a-4f49-4933-9bc9-c445fa41328e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_4ca156d1-09b7-42ee-b660-1bd621e50fb7" 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_3955b1e3-064d-4b38-8a1e-a282898ee8e6" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_4ca156d1-09b7-42ee-b660-1bd621e50fb7" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8e9ee355-f290-4bd8-8b4f-cc09d7fef642" 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_dcf020c9-2406-4935-94ac-2df4a4e221ba" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_8e9ee355-f290-4bd8-8b4f-cc09d7fef642" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract_cd829f51-e694-4850-9929-31aace42b931" 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_5748fb2d-706d-4e94-9649-e8910efaf603" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract_cd829f51-e694-4850-9929-31aace42b931" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_acd8b14f-f418-4362-aee0-877376c56bb9" 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_cd829f51-e694-4850-9929-31aace42b931" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_acd8b14f-f418-4362-aee0-877376c56bb9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_6e9f63c6-fdbf-4e88-8fdd-78057575389d" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract_cd829f51-e694-4850-9929-31aace42b931" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_6e9f63c6-fdbf-4e88-8fdd-78057575389d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_645b9fff-f4a2-415f-aa04-853f89c78f80" 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_cd829f51-e694-4850-9929-31aace42b931" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_645b9fff-f4a2-415f-aa04-853f89c78f80" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract_779d82b2-1eda-4221-90f5-95edd2eedbde" 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_5748fb2d-706d-4e94-9649-e8910efaf603" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract_779d82b2-1eda-4221-90f5-95edd2eedbde" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_c3e11efe-d8c0-47f4-9eba-2ee6e0f3bbdf" 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_779d82b2-1eda-4221-90f5-95edd2eedbde" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_c3e11efe-d8c0-47f4-9eba-2ee6e0f3bbdf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromWarrantExercises_0c95b348-e9ec-46dd-9d71-052a82775f18" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromWarrantExercises"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract_779d82b2-1eda-4221-90f5-95edd2eedbde" xlink:to="loc_us-gaap_ProceedsFromWarrantExercises_0c95b348-e9ec-46dd-9d71-052a82775f18" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermCapitalLeaseObligations_147cbe16-6bfe-41ec-a4ef-5796409c47c7" 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_779d82b2-1eda-4221-90f5-95edd2eedbde" xlink:to="loc_us-gaap_RepaymentsOfLongTermCapitalLeaseObligations_147cbe16-6bfe-41ec-a4ef-5796409c47c7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromBankDebt_84061312-f206-4d81-82e5-e94bae232204" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromBankDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract_779d82b2-1eda-4221-90f5-95edd2eedbde" xlink:to="loc_us-gaap_ProceedsFromBankDebt_84061312-f206-4d81-82e5-e94bae232204" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfBankDebt_56c76453-e8cd-401b-a61d-79889f24a20e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RepaymentsOfBankDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract_779d82b2-1eda-4221-90f5-95edd2eedbde" xlink:to="loc_us-gaap_RepaymentsOfBankDebt_56c76453-e8cd-401b-a61d-79889f24a20e" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_ProceedsFromIssuanceOrSaleOfTemporaryEquity_3dc4eb1b-7284-41e5-acf5-932fc53a57cf" xlink:href="exdx-20200630.xsd#exdx_ProceedsFromIssuanceOrSaleOfTemporaryEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract_779d82b2-1eda-4221-90f5-95edd2eedbde" xlink:to="loc_exdx_ProceedsFromIssuanceOrSaleOfTemporaryEquity_3dc4eb1b-7284-41e5-acf5-932fc53a57cf" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentOfFinancingAndStockIssuanceCosts_61142316-ee5f-4bc6-a111-1f4194b609ac" 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_779d82b2-1eda-4221-90f5-95edd2eedbde" xlink:to="loc_us-gaap_PaymentOfFinancingAndStockIssuanceCosts_61142316-ee5f-4bc6-a111-1f4194b609ac" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1749a36f-2f5a-43fe-bda3-18b291bad196" 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_779d82b2-1eda-4221-90f5-95edd2eedbde" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1749a36f-2f5a-43fe-bda3-18b291bad196" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_3b963dbe-8a1e-4435-94d7-b93671469cc5" 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_5748fb2d-706d-4e94-9649-e8910efaf603" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_3b963dbe-8a1e-4435-94d7-b93671469cc5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_50422d30-77a5-4d79-ae6a-773666313b71" 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_5748fb2d-706d-4e94-9649-e8910efaf603" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_50422d30-77a5-4d79-ae6a-773666313b71" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_ce735b5c-eb4f-4580-bebf-f5b55a7506f2" 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_64c7c768-5ce8-4460-af9c-9c0988a1a69f" 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_5748fb2d-706d-4e94-9649-e8910efaf603" xlink:to="loc_us-gaap_SupplementalCashFlowInformationAbstract_64c7c768-5ce8-4460-af9c-9c0988a1a69f" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPaidNet_470e5550-51a9-4a03-9f73-225cc7fc9736" 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_64c7c768-5ce8-4460-af9c-9c0988a1a69f" xlink:to="loc_us-gaap_InterestPaidNet_470e5550-51a9-4a03-9f73-225cc7fc9736" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SupplementalCashFlowElementsAbstract_2a541671-7056-455c-b331-496d997075f3" 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_5748fb2d-706d-4e94-9649-e8910efaf603" xlink:to="loc_us-gaap_SupplementalCashFlowElementsAbstract_2a541671-7056-455c-b331-496d997075f3" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityAccretionToRedemptionValue_69d1d8bb-628e-4d49-9841-c9cadb59eafa" 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_2a541671-7056-455c-b331-496d997075f3" xlink:to="loc_us-gaap_TemporaryEquityAccretionToRedemptionValue_69d1d8bb-628e-4d49-9841-c9cadb59eafa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_EquipmentPurchasedUnderCapitalLease_1e5fe4c8-59ef-4b93-a086-0e6810d32f5b" xlink:href="exdx-20200630.xsd#exdx_EquipmentPurchasedUnderCapitalLease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SupplementalCashFlowElementsAbstract_2a541671-7056-455c-b331-496d997075f3" xlink:to="loc_exdx_EquipmentPurchasedUnderCapitalLease_1e5fe4c8-59ef-4b93-a086-0e6810d32f5b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalExpendituresIncurredButNotYetPaid_99ca309d-641b-4ddc-aaf4-966beaafb192" 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_2a541671-7056-455c-b331-496d997075f3" xlink:to="loc_us-gaap_CapitalExpendituresIncurredButNotYetPaid_99ca309d-641b-4ddc-aaf4-966beaafb192" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_DeferredOfferingCostsIncludedWithinCurrentLiabilities_d26eb686-0fe7-4e40-bc9a-1d0fe6acc081" xlink:href="exdx-20200630.xsd#exdx_DeferredOfferingCostsIncludedWithinCurrentLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SupplementalCashFlowElementsAbstract_2a541671-7056-455c-b331-496d997075f3" xlink:to="loc_exdx_DeferredOfferingCostsIncludedWithinCurrentLiabilities_d26eb686-0fe7-4e40-bc9a-1d0fe6acc081" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_f22bd40e-0d25-4d2e-93b2-c584d8c10ea4" 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_5748fb2d-706d-4e94-9649-e8910efaf603" xlink:to="loc_us-gaap_StatementTable_f22bd40e-0d25-4d2e-93b2-c584d8c10ea4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_14335ea4-f55f-4ee5-b092-4d662d85b0b4" 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_f22bd40e-0d25-4d2e-93b2-c584d8c10ea4" xlink:to="loc_us-gaap_StatementClassOfStockAxis_14335ea4-f55f-4ee5-b092-4d662d85b0b4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_14335ea4-f55f-4ee5-b092-4d662d85b0b4_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_14335ea4-f55f-4ee5-b092-4d662d85b0b4" xlink:to="loc_us-gaap_ClassOfStockDomain_14335ea4-f55f-4ee5-b092-4d662d85b0b4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_406f6934-05c1-4a7a-b995-e46faba0d0cd" 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_14335ea4-f55f-4ee5-b092-4d662d85b0b4" xlink:to="loc_us-gaap_ClassOfStockDomain_406f6934-05c1-4a7a-b995-e46faba0d0cd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesGPreferredStockMember_bcb27532-7914-4308-b7dd-c4b06310cc64" 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_406f6934-05c1-4a7a-b995-e46faba0d0cd" xlink:to="loc_us-gaap_SeriesGPreferredStockMember_bcb27532-7914-4308-b7dd-c4b06310cc64" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/Organization" xlink:type="simple" xlink:href="exdx-20200630.xsd#Organization"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/Organization" xlink:type="extended" id="i1d91f27a1bd74699973f610acdf082c1_Organization"/>
  <link:roleRef roleURI="http://www.exagen.com/role/OrganizationDetails" xlink:type="simple" xlink:href="exdx-20200630.xsd#OrganizationDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/OrganizationDetails" xlink:type="extended" id="i5098b1c253f0410f9fbebf44df11cd10_OrganizationDetails"/>
  <link:roleRef roleURI="http://www.exagen.com/role/SummaryOfSignificantAccountingPolicies" xlink:type="simple" xlink:href="exdx-20200630.xsd#SummaryOfSignificantAccountingPolicies"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/SummaryOfSignificantAccountingPolicies" xlink:type="extended" id="ifb4ac26a2da4493594b7b0e5f1a54437_SummaryOfSignificantAccountingPolicies"/>
  <link:roleRef roleURI="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliciesPolicy" xlink:type="simple" xlink:href="exdx-20200630.xsd#SummaryOfSignificantAccountingPoliciesPolicy"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliciesPolicy" xlink:type="extended" id="i688a768efec54b83b0849ea796130f56_SummaryOfSignificantAccountingPoliciesPolicy"/>
  <link:roleRef roleURI="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliciesTables" xlink:type="simple" xlink:href="exdx-20200630.xsd#SummaryOfSignificantAccountingPoliciesTables"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliciesTables" xlink:type="extended" id="i40addee2d9d141e09efe2474d6d43bd3_SummaryOfSignificantAccountingPoliciesTables"/>
  <link:roleRef roleURI="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliciesRevenuebyMajorPayersDetails" xlink:type="simple" xlink:href="exdx-20200630.xsd#SummaryOfSignificantAccountingPoliciesRevenuebyMajorPayersDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliciesRevenuebyMajorPayersDetails" xlink:type="extended" id="iee717b0f74cd469cbe6fcc63a8efdfd1_SummaryOfSignificantAccountingPoliciesRevenuebyMajorPayersDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_ca2ca7bd-80fe-4ada-8413-710c82547e31" 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_7ff25381-82f7-4ea3-a247-23eff9cb9f9d" 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_ca2ca7bd-80fe-4ada-8413-710c82547e31" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_7ff25381-82f7-4ea3-a247-23eff9cb9f9d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_59cc2c98-2dc7-437b-91c2-33cbf5879989" 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_ca2ca7bd-80fe-4ada-8413-710c82547e31" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_59cc2c98-2dc7-437b-91c2-33cbf5879989" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MajorCustomersAxis_96bc24e0-ffb5-42b2-97e6-3ca35064eba9" 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_59cc2c98-2dc7-437b-91c2-33cbf5879989" xlink:to="loc_srt_MajorCustomersAxis_96bc24e0-ffb5-42b2-97e6-3ca35064eba9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_96bc24e0-ffb5-42b2-97e6-3ca35064eba9_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_96bc24e0-ffb5-42b2-97e6-3ca35064eba9" xlink:to="loc_srt_NameOfMajorCustomerDomain_96bc24e0-ffb5-42b2-97e6-3ca35064eba9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_ec63be94-21e4-4ae7-a72d-c37e66336c5c" 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_96bc24e0-ffb5-42b2-97e6-3ca35064eba9" xlink:to="loc_srt_NameOfMajorCustomerDomain_ec63be94-21e4-4ae7-a72d-c37e66336c5c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_JanssenSIMPONIMember_48576f5d-ba8f-4375-9747-f15570767921" xlink:href="exdx-20200630.xsd#exdx_JanssenSIMPONIMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_ec63be94-21e4-4ae7-a72d-c37e66336c5c" xlink:to="loc_exdx_JanssenSIMPONIMember_48576f5d-ba8f-4375-9747-f15570767921" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_MedicareMember_1f06c828-78cc-4918-bac3-59eb0e7d620b" xlink:href="exdx-20200630.xsd#exdx_MedicareMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_ec63be94-21e4-4ae7-a72d-c37e66336c5c" xlink:to="loc_exdx_MedicareMember_1f06c828-78cc-4918-bac3-59eb0e7d620b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_BlueShieldMember_9fe1f181-bc26-49ef-b1b9-9c31eea8fb70" xlink:href="exdx-20200630.xsd#exdx_BlueShieldMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_ec63be94-21e4-4ae7-a72d-c37e66336c5c" xlink:to="loc_exdx_BlueShieldMember_9fe1f181-bc26-49ef-b1b9-9c31eea8fb70" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_UnitedHealthcareMember_e82fe99e-59bd-4b0a-b85b-d9ef9ba0e941" xlink:href="exdx-20200630.xsd#exdx_UnitedHealthcareMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_ec63be94-21e4-4ae7-a72d-c37e66336c5c" xlink:to="loc_exdx_UnitedHealthcareMember_e82fe99e-59bd-4b0a-b85b-d9ef9ba0e941" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_MedicareAdvantageMember_00dbcf56-16c3-4552-853d-fd584fca0404" xlink:href="exdx-20200630.xsd#exdx_MedicareAdvantageMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_ec63be94-21e4-4ae7-a72d-c37e66336c5c" xlink:to="loc_exdx_MedicareAdvantageMember_00dbcf56-16c3-4552-853d-fd584fca0404" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_AnthemBlueCrossBlueShieldMember_412e8bf5-1cd6-4b91-9228-61c94afea3a6" xlink:href="exdx-20200630.xsd#exdx_AnthemBlueCrossBlueShieldMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_ec63be94-21e4-4ae7-a72d-c37e66336c5c" xlink:to="loc_exdx_AnthemBlueCrossBlueShieldMember_412e8bf5-1cd6-4b91-9228-61c94afea3a6" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_1d64f978-e8c2-427d-a44f-d58f3d4f3be7" 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_59cc2c98-2dc7-437b-91c2-33cbf5879989" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_1d64f978-e8c2-427d-a44f-d58f3d4f3be7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_1d64f978-e8c2-427d-a44f-d58f3d4f3be7_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_1d64f978-e8c2-427d-a44f-d58f3d4f3be7" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_1d64f978-e8c2-427d-a44f-d58f3d4f3be7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_99b4bced-cc99-4438-b0c1-221c8ace22bd" 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_1d64f978-e8c2-427d-a44f-d58f3d4f3be7" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_99b4bced-cc99-4438-b0c1-221c8ace22bd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesRevenueNetMember_a208780a-263d-4b18-a285-e22739a5a53a" 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_99b4bced-cc99-4438-b0c1-221c8ace22bd" xlink:to="loc_us-gaap_SalesRevenueNetMember_a208780a-263d-4b18-a285-e22739a5a53a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_ReceivableBenchmarkMember_19c74177-7b7f-422e-a879-2282ab189050" xlink:href="exdx-20200630.xsd#exdx_ReceivableBenchmarkMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_99b4bced-cc99-4438-b0c1-221c8ace22bd" xlink:to="loc_exdx_ReceivableBenchmarkMember_19c74177-7b7f-422e-a879-2282ab189050" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_ef1fa702-54cd-40bc-bc68-6d49f2a439af" 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_59cc2c98-2dc7-437b-91c2-33cbf5879989" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_ef1fa702-54cd-40bc-bc68-6d49f2a439af" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_ef1fa702-54cd-40bc-bc68-6d49f2a439af_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_ef1fa702-54cd-40bc-bc68-6d49f2a439af" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_ef1fa702-54cd-40bc-bc68-6d49f2a439af_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_6f0e8cc0-fdee-488e-bd61-4937bec786d4" 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_ef1fa702-54cd-40bc-bc68-6d49f2a439af" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_6f0e8cc0-fdee-488e-bd61-4937bec786d4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerConcentrationRiskMember_832d930a-acf1-42a3-9765-f6966997cddf" 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_6f0e8cc0-fdee-488e-bd61-4937bec786d4" xlink:to="loc_us-gaap_CustomerConcentrationRiskMember_832d930a-acf1-42a3-9765-f6966997cddf" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliciesNarrativeDetails" xlink:type="simple" xlink:href="exdx-20200630.xsd#SummaryOfSignificantAccountingPoliciesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliciesNarrativeDetails" xlink:type="extended" id="ie7361982a5274f47a77ff7f42c2cfbf0_SummaryOfSignificantAccountingPoliciesNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionLineItems_bc1ce065-a9d0-497f-92a5-c994ad4cefdb" 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_a1f48ea1-b893-41c3-b69c-18cf6d1b0ed6" 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_bc1ce065-a9d0-497f-92a5-c994ad4cefdb" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_a1f48ea1-b893-41c3-b69c-18cf6d1b0ed6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCash_93da85ce-7004-475d-9ea1-c37e12d45411" 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_bc1ce065-a9d0-497f-92a5-c994ad4cefdb" xlink:to="loc_us-gaap_RestrictedCash_93da85ce-7004-475d-9ea1-c37e12d45411" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_JointVentureQuarterlyPromotionFeePerPrescription_f863ea7d-9a01-48c4-8af5-dd065bad0e6e" xlink:href="exdx-20200630.xsd#exdx_JointVentureQuarterlyPromotionFeePerPrescription"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionLineItems_bc1ce065-a9d0-497f-92a5-c994ad4cefdb" xlink:to="loc_exdx_JointVentureQuarterlyPromotionFeePerPrescription_f863ea7d-9a01-48c4-8af5-dd065bad0e6e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_JointVentureQuarterlyPromotionFee_11542121-34f7-4864-9fdb-afbc8f7853eb" xlink:href="exdx-20200630.xsd#exdx_JointVentureQuarterlyPromotionFee"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionLineItems_bc1ce065-a9d0-497f-92a5-c994ad4cefdb" xlink:to="loc_exdx_JointVentureQuarterlyPromotionFee_11542121-34f7-4864-9fdb-afbc8f7853eb" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_JointVentureQuarterlyPromotionFeeCappedAmountPercentageAboveBaseline_9c8847de-382c-4737-bd5c-49edbe5527ce" xlink:href="exdx-20200630.xsd#exdx_JointVentureQuarterlyPromotionFeeCappedAmountPercentageAboveBaseline"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionLineItems_bc1ce065-a9d0-497f-92a5-c994ad4cefdb" xlink:to="loc_exdx_JointVentureQuarterlyPromotionFeeCappedAmountPercentageAboveBaseline_9c8847de-382c-4737-bd5c-49edbe5527ce" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_089256ed-76f3-4ca9-9a94-254771571f34" 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_bc1ce065-a9d0-497f-92a5-c994ad4cefdb" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_089256ed-76f3-4ca9-9a94-254771571f34" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdvertisingExpense_c382a21b-dda8-4da4-baab-c710733a1955" 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_bc1ce065-a9d0-497f-92a5-c994ad4cefdb" xlink:to="loc_us-gaap_AdvertisingExpense_c382a21b-dda8-4da4-baab-c710733a1955" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfRevenue_e58094b1-a52c-4212-a851-308e4c4db2a5" 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_bc1ce065-a9d0-497f-92a5-c994ad4cefdb" xlink:to="loc_us-gaap_CostOfRevenue_e58094b1-a52c-4212-a851-308e4c4db2a5" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NumberOfOperatingSegments_d5c2193b-aa96-47ad-8033-4e596010d950" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NumberOfOperatingSegments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionLineItems_bc1ce065-a9d0-497f-92a5-c994ad4cefdb" xlink:to="loc_us-gaap_NumberOfOperatingSegments_d5c2193b-aa96-47ad-8033-4e596010d950" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionTable_bebe5df3-94de-4b35-ad93-c322bf951a43" 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_bc1ce065-a9d0-497f-92a5-c994ad4cefdb" xlink:to="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionTable_bebe5df3-94de-4b35-ad93-c322bf951a43" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_1a06f6df-557e-4aad-a0db-40d0d9049fe9" 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_bebe5df3-94de-4b35-ad93-c322bf951a43" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_1a06f6df-557e-4aad-a0db-40d0d9049fe9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_1a06f6df-557e-4aad-a0db-40d0d9049fe9_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_1a06f6df-557e-4aad-a0db-40d0d9049fe9" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_1a06f6df-557e-4aad-a0db-40d0d9049fe9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_73a80171-a695-405d-86b4-39a6dc7fd3dc" 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_1a06f6df-557e-4aad-a0db-40d0d9049fe9" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_73a80171-a695-405d-86b4-39a6dc7fd3dc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesRevenueNetMember_63185a0a-f53d-4688-8fe9-5320de14c1f4" 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_73a80171-a695-405d-86b4-39a6dc7fd3dc" xlink:to="loc_us-gaap_SalesRevenueNetMember_63185a0a-f53d-4688-8fe9-5320de14c1f4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_556bfcb8-a3fb-482e-ada7-ebe4923636c6" 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_bebe5df3-94de-4b35-ad93-c322bf951a43" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_556bfcb8-a3fb-482e-ada7-ebe4923636c6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_556bfcb8-a3fb-482e-ada7-ebe4923636c6_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_556bfcb8-a3fb-482e-ada7-ebe4923636c6" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_556bfcb8-a3fb-482e-ada7-ebe4923636c6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_04b60540-f27f-4a5b-9f19-813735b288cd" 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_556bfcb8-a3fb-482e-ada7-ebe4923636c6" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_04b60540-f27f-4a5b-9f19-813735b288cd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductConcentrationRiskMember_f6c76b3f-133e-4224-bab4-030798bff3a0" 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_04b60540-f27f-4a5b-9f19-813735b288cd" xlink:to="loc_us-gaap_ProductConcentrationRiskMember_f6c76b3f-133e-4224-bab4-030798bff3a0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SupplierConcentrationRiskMember_fe91de2b-52e0-496e-b78d-48ab60ba55a6" 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_04b60540-f27f-4a5b-9f19-813735b288cd" xlink:to="loc_us-gaap_SupplierConcentrationRiskMember_fe91de2b-52e0-496e-b78d-48ab60ba55a6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_36cd8952-8b58-4791-96e2-e732e3491dfe" 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_bebe5df3-94de-4b35-ad93-c322bf951a43" xlink:to="loc_srt_ProductOrServiceAxis_36cd8952-8b58-4791-96e2-e732e3491dfe" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_36cd8952-8b58-4791-96e2-e732e3491dfe_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_36cd8952-8b58-4791-96e2-e732e3491dfe" xlink:to="loc_srt_ProductsAndServicesDomain_36cd8952-8b58-4791-96e2-e732e3491dfe_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_5d840af4-e776-4de6-87bf-dbdf4d94c0d2" 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_36cd8952-8b58-4791-96e2-e732e3491dfe" xlink:to="loc_srt_ProductsAndServicesDomain_5d840af4-e776-4de6-87bf-dbdf4d94c0d2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_AVISECTDTestMember_4d344d6f-5731-4c98-ac84-410b9993a452" xlink:href="exdx-20200630.xsd#exdx_AVISECTDTestMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_5d840af4-e776-4de6-87bf-dbdf4d94c0d2" xlink:to="loc_exdx_AVISECTDTestMember_4d344d6f-5731-4c98-ac84-410b9993a452" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShippingAndHandlingMember_f777060b-74bb-4707-a265-b0cdd19fa4ba" 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_5d840af4-e776-4de6-87bf-dbdf4d94c0d2" xlink:to="loc_us-gaap_ShippingAndHandlingMember_f777060b-74bb-4707-a265-b0cdd19fa4ba" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionBySupplierAxis_8bcf1c3e-e2bc-4453-9f38-6854e10a0644" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionBySupplierAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionTable_bebe5df3-94de-4b35-ad93-c322bf951a43" xlink:to="loc_us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionBySupplierAxis_8bcf1c3e-e2bc-4453-9f38-6854e10a0644" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionSupplierDomain_8bcf1c3e-e2bc-4453-9f38-6854e10a0644_default" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionSupplierDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionBySupplierAxis_8bcf1c3e-e2bc-4453-9f38-6854e10a0644" xlink:to="loc_us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionSupplierDomain_8bcf1c3e-e2bc-4453-9f38-6854e10a0644_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionSupplierDomain_4df03c26-09d2-4f69-80d2-6d1e2bb171fb" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionSupplierDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionBySupplierAxis_8bcf1c3e-e2bc-4453-9f38-6854e10a0644" xlink:to="loc_us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionSupplierDomain_4df03c26-09d2-4f69-80d2-6d1e2bb171fb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_TwoSuppliersMember_3a9b519a-8c90-4537-bdea-db5f96420486" xlink:href="exdx-20200630.xsd#exdx_TwoSuppliersMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionSupplierDomain_4df03c26-09d2-4f69-80d2-6d1e2bb171fb" xlink:to="loc_exdx_TwoSuppliersMember_3a9b519a-8c90-4537-bdea-db5f96420486" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_ab72b0f0-4a3f-486a-914c-ca126c2f5622" 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_bebe5df3-94de-4b35-ad93-c322bf951a43" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_ab72b0f0-4a3f-486a-914c-ca126c2f5622" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_ab72b0f0-4a3f-486a-914c-ca126c2f5622_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_ab72b0f0-4a3f-486a-914c-ca126c2f5622" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_ab72b0f0-4a3f-486a-914c-ca126c2f5622_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_d30fecd3-1c9c-495a-8134-bdddd1759355" 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_ab72b0f0-4a3f-486a-914c-ca126c2f5622" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_d30fecd3-1c9c-495a-8134-bdddd1759355" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsMember_0030fddc-1416-4200-84e2-69473a6717a1" 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_d30fecd3-1c9c-495a-8134-bdddd1759355" xlink:to="loc_us-gaap_OtherAssetsMember_0030fddc-1416-4200-84e2-69473a6717a1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_4539e429-8dae-491f-b6dd-d5e5847e117f" 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_bebe5df3-94de-4b35-ad93-c322bf951a43" xlink:to="loc_srt_RangeAxis_4539e429-8dae-491f-b6dd-d5e5847e117f" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_4539e429-8dae-491f-b6dd-d5e5847e117f_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_4539e429-8dae-491f-b6dd-d5e5847e117f" xlink:to="loc_srt_RangeMember_4539e429-8dae-491f-b6dd-d5e5847e117f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_6abe8d53-d4d3-4339-98d5-6d71e23b55fe" 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_4539e429-8dae-491f-b6dd-d5e5847e117f" xlink:to="loc_srt_RangeMember_6abe8d53-d4d3-4339-98d5-6d71e23b55fe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_3623867f-24ac-4f44-b00c-44c79c28fbde" 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_6abe8d53-d4d3-4339-98d5-6d71e23b55fe" xlink:to="loc_srt_MinimumMember_3623867f-24ac-4f44-b00c-44c79c28fbde" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_14b197f3-66bb-40c9-90e5-6b448420c808" 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_6abe8d53-d4d3-4339-98d5-6d71e23b55fe" xlink:to="loc_srt_MaximumMember_14b197f3-66bb-40c9-90e5-6b448420c808" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementScenarioAxis_2d506489-d5fb-4203-93eb-ce909052f136" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_StatementScenarioAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementEarlyAdoptionTable_bebe5df3-94de-4b35-ad93-c322bf951a43" xlink:to="loc_srt_StatementScenarioAxis_2d506489-d5fb-4203-93eb-ce909052f136" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_2d506489-d5fb-4203-93eb-ce909052f136_default" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementScenarioAxis_2d506489-d5fb-4203-93eb-ce909052f136" xlink:to="loc_srt_ScenarioUnspecifiedDomain_2d506489-d5fb-4203-93eb-ce909052f136_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_8cd505e1-eaa9-485e-a8fc-d11d25d909cf" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementScenarioAxis_2d506489-d5fb-4203-93eb-ce909052f136" xlink:to="loc_srt_ScenarioUnspecifiedDomain_8cd505e1-eaa9-485e-a8fc-d11d25d909cf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioForecastMember_3be8ecb2-b982-489c-ae11-e8815e7ac823" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ScenarioForecastMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ScenarioUnspecifiedDomain_8cd505e1-eaa9-485e-a8fc-d11d25d909cf" xlink:to="loc_srt_ScenarioForecastMember_3be8ecb2-b982-489c-ae11-e8815e7ac823" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CounterpartyNameAxis_74dd8dcc-e194-4ff1-a86d-4a424cbf1c27" 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_NewAccountingPronouncementEarlyAdoptionTable_bebe5df3-94de-4b35-ad93-c322bf951a43" xlink:to="loc_srt_CounterpartyNameAxis_74dd8dcc-e194-4ff1-a86d-4a424cbf1c27" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_74dd8dcc-e194-4ff1-a86d-4a424cbf1c27_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_74dd8dcc-e194-4ff1-a86d-4a424cbf1c27" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_74dd8dcc-e194-4ff1-a86d-4a424cbf1c27_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_3a37ea99-5ebb-4696-89e7-b2f438583531" 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_74dd8dcc-e194-4ff1-a86d-4a424cbf1c27" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_3a37ea99-5ebb-4696-89e7-b2f438583531" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_JanssenSIMPONIMember_710e084a-9a73-48a8-a112-9e8faf8084f6" xlink:href="exdx-20200630.xsd#exdx_JanssenSIMPONIMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_3a37ea99-5ebb-4696-89e7-b2f438583531" xlink:to="loc_exdx_JanssenSIMPONIMember_710e084a-9a73-48a8-a112-9e8faf8084f6" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliciesDisaggregationofRevenueDetails" xlink:type="simple" xlink:href="exdx-20200630.xsd#SummaryOfSignificantAccountingPoliciesDisaggregationofRevenueDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliciesDisaggregationofRevenueDetails" xlink:type="extended" id="i0c0023c40ef2493b808fc722ea9135a9_SummaryOfSignificantAccountingPoliciesDisaggregationofRevenueDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_3972f4b0-df28-434a-8265-791da9c0cbec" 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_5361893b-9243-4dac-a8b5-9708ecec583e" 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_3972f4b0-df28-434a-8265-791da9c0cbec" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_5361893b-9243-4dac-a8b5-9708ecec583e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_10150b5d-d9a9-4dc3-9127-2c51b0f4af63" 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_3972f4b0-df28-434a-8265-791da9c0cbec" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_10150b5d-d9a9-4dc3-9127-2c51b0f4af63" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MajorCustomersAxis_11035210-0e75-43da-8d38-2ea5e59e63f4" 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_10150b5d-d9a9-4dc3-9127-2c51b0f4af63" xlink:to="loc_srt_MajorCustomersAxis_11035210-0e75-43da-8d38-2ea5e59e63f4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_11035210-0e75-43da-8d38-2ea5e59e63f4_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_11035210-0e75-43da-8d38-2ea5e59e63f4" xlink:to="loc_srt_NameOfMajorCustomerDomain_11035210-0e75-43da-8d38-2ea5e59e63f4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_3ecdd961-0a29-42e2-97ec-2c9606b73d33" 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_11035210-0e75-43da-8d38-2ea5e59e63f4" xlink:to="loc_srt_NameOfMajorCustomerDomain_3ecdd961-0a29-42e2-97ec-2c9606b73d33" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_HealthcareInsurersMember_46665576-33f8-4e3b-9745-85cd778d144c" xlink:href="exdx-20200630.xsd#exdx_HealthcareInsurersMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_3ecdd961-0a29-42e2-97ec-2c9606b73d33" xlink:to="loc_exdx_HealthcareInsurersMember_46665576-33f8-4e3b-9745-85cd778d144c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_Government1Member_7d4d878a-44bc-441d-9702-4c9fc51dd57b" xlink:href="exdx-20200630.xsd#exdx_Government1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_3ecdd961-0a29-42e2-97ec-2c9606b73d33" xlink:to="loc_exdx_Government1Member_7d4d878a-44bc-441d-9702-4c9fc51dd57b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_ClientMember_3f6b6a3b-fc45-4732-819a-06b2f8ddc6dc" xlink:href="exdx-20200630.xsd#exdx_ClientMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_3ecdd961-0a29-42e2-97ec-2c9606b73d33" xlink:to="loc_exdx_ClientMember_3f6b6a3b-fc45-4732-819a-06b2f8ddc6dc" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCustomerMember_d9510dd4-47db-4dc0-b780-4d0b425ee918" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherCustomerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_3ecdd961-0a29-42e2-97ec-2c9606b73d33" xlink:to="loc_us-gaap_OtherCustomerMember_d9510dd4-47db-4dc0-b780-4d0b425ee918" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_JanssenSIMPONIMember_7cd7b530-0dc8-42b0-bbf0-b79950b1c574" xlink:href="exdx-20200630.xsd#exdx_JanssenSIMPONIMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_3ecdd961-0a29-42e2-97ec-2c9606b73d33" xlink:to="loc_exdx_JanssenSIMPONIMember_7cd7b530-0dc8-42b0-bbf0-b79950b1c574" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliciesCashcashequivalentsandrestrictedcashDetails" xlink:type="simple" xlink:href="exdx-20200630.xsd#SummaryOfSignificantAccountingPoliciesCashcashequivalentsandrestrictedcashDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliciesCashcashequivalentsandrestrictedcashDetails" xlink:type="extended" id="i23541910391d4b5b9ed68cdc5b53e0ce_SummaryOfSignificantAccountingPoliciesCashcashequivalentsandrestrictedcashDetails"/>
  <link:roleRef roleURI="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliciesSecuritiesDetails" xlink:type="simple" xlink:href="exdx-20200630.xsd#SummaryOfSignificantAccountingPoliciesSecuritiesDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/SummaryOfSignificantAccountingPoliciesSecuritiesDetails" xlink:type="extended" id="ie7fb2d1a38814f83af29ab31bc2af452_SummaryOfSignificantAccountingPoliciesSecuritiesDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockLineItems_ba13fb28-b218-4454-a097-ef4a97d2f138" 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_86dd6dc3-fe9b-41fc-9f1d-cc0a0b72e5fb" 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_ba13fb28-b218-4454-a097-ef4a97d2f138" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_86dd6dc3-fe9b-41fc-9f1d-cc0a0b72e5fb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_aa104a17-3f72-4497-85f3-8dbd0b561b3a" 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_ba13fb28-b218-4454-a097-ef4a97d2f138" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_aa104a17-3f72-4497-85f3-8dbd0b561b3a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_b704a9a6-2aa3-4e5e-999c-98bc6913c780" 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_aa104a17-3f72-4497-85f3-8dbd0b561b3a" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_b704a9a6-2aa3-4e5e-999c-98bc6913c780" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_b704a9a6-2aa3-4e5e-999c-98bc6913c780_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_b704a9a6-2aa3-4e5e-999c-98bc6913c780" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_b704a9a6-2aa3-4e5e-999c-98bc6913c780_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_058adbbf-d09a-472d-bde3-7c097d0e87e5" 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_b704a9a6-2aa3-4e5e-999c-98bc6913c780" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_058adbbf-d09a-472d-bde3-7c097d0e87e5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RedeemablePreferredStockMember_d5476fda-5a73-42fb-bca0-4d0b934fbc27" 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_058adbbf-d09a-472d-bde3-7c097d0e87e5" xlink:to="loc_us-gaap_RedeemablePreferredStockMember_d5476fda-5a73-42fb-bca0-4d0b934fbc27" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_WarrantsTemporaryEquityMember_f500f838-30e7-4bfb-b69b-44fe54cf0f60" xlink:href="exdx-20200630.xsd#exdx_WarrantsTemporaryEquityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_058adbbf-d09a-472d-bde3-7c097d0e87e5" xlink:to="loc_exdx_WarrantsTemporaryEquityMember_f500f838-30e7-4bfb-b69b-44fe54cf0f60" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WarrantMember_68d180d2-c4d5-4231-a5bc-ccf991d40ab4" 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_058adbbf-d09a-472d-bde3-7c097d0e87e5" xlink:to="loc_us-gaap_WarrantMember_68d180d2-c4d5-4231-a5bc-ccf991d40ab4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockOptionMember_590df3bb-54a2-49fe-9aea-4636655ea4a8" 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_058adbbf-d09a-472d-bde3-7c097d0e87e5" xlink:to="loc_us-gaap_StockOptionMember_590df3bb-54a2-49fe-9aea-4636655ea4a8" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/OtherFinancialInformation" xlink:type="simple" xlink:href="exdx-20200630.xsd#OtherFinancialInformation"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/OtherFinancialInformation" xlink:type="extended" id="id3caef39bf2c4bcc8ca57a2b44fab52f_OtherFinancialInformation"/>
  <link:roleRef roleURI="http://www.exagen.com/role/OtherFinancialInformationTables" xlink:type="simple" xlink:href="exdx-20200630.xsd#OtherFinancialInformationTables"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/OtherFinancialInformationTables" xlink:type="extended" id="ib47e717df26b488088c1e20e5e6433c2_OtherFinancialInformationTables"/>
  <link:roleRef roleURI="http://www.exagen.com/role/OtherFinancialInformationPrepaidexpensesDetails" xlink:type="simple" xlink:href="exdx-20200630.xsd#OtherFinancialInformationPrepaidexpensesDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/OtherFinancialInformationPrepaidexpensesDetails" xlink:type="extended" id="ibe0295ea576f448b81b158a714c13bb9_OtherFinancialInformationPrepaidexpensesDetails"/>
  <link:roleRef roleURI="http://www.exagen.com/role/OtherFinancialInformationPropertyandequipmentDetails" xlink:type="simple" xlink:href="exdx-20200630.xsd#OtherFinancialInformationPropertyandequipmentDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/OtherFinancialInformationPropertyandequipmentDetails" xlink:type="extended" id="i204c6db9f6ac473bbff035445809e885_OtherFinancialInformationPropertyandequipmentDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_d21390f4-32ab-4d1e-8bf9-4d2f375000aa" 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_8717218c-5c4f-4279-a669-49047d338aa4" 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_d21390f4-32ab-4d1e-8bf9-4d2f375000aa" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_8717218c-5c4f-4279-a669-49047d338aa4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_139cf620-7e0f-4f44-879b-7edb8c0828f1" 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_d21390f4-32ab-4d1e-8bf9-4d2f375000aa" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_139cf620-7e0f-4f44-879b-7edb8c0828f1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_c0a9e5f7-c091-413d-88ad-2cc2845bcafd" 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_d21390f4-32ab-4d1e-8bf9-4d2f375000aa" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_c0a9e5f7-c091-413d-88ad-2cc2845bcafd" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_04999fca-89fb-494e-b85b-91c960692bc2" 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_d21390f4-32ab-4d1e-8bf9-4d2f375000aa" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_04999fca-89fb-494e-b85b-91c960692bc2" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_4d37eae5-35d6-4e90-8d4b-b4ebd4146785" 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_04999fca-89fb-494e-b85b-91c960692bc2" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_4d37eae5-35d6-4e90-8d4b-b4ebd4146785" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_4d37eae5-35d6-4e90-8d4b-b4ebd4146785_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_4d37eae5-35d6-4e90-8d4b-b4ebd4146785" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_4d37eae5-35d6-4e90-8d4b-b4ebd4146785_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_4c17a1f0-29e5-4332-90ed-72d6c6a9712b" 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_4d37eae5-35d6-4e90-8d4b-b4ebd4146785" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_4c17a1f0-29e5-4332-90ed-72d6c6a9712b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_bc3e54a1-85ec-41b8-b6fa-ca996a7c1de1" 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_4c17a1f0-29e5-4332-90ed-72d6c6a9712b" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_bc3e54a1-85ec-41b8-b6fa-ca996a7c1de1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_LaboratoryEquipmentMember_c002fdef-c06d-4469-9fc1-2303dfc32b93" xlink:href="exdx-20200630.xsd#exdx_LaboratoryEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_4c17a1f0-29e5-4332-90ed-72d6c6a9712b" xlink:to="loc_exdx_LaboratoryEquipmentMember_c002fdef-c06d-4469-9fc1-2303dfc32b93" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_ComputerEquipmentAndSoftwareMember_018fd34a-0c2b-4173-8e73-9d9fc37fe5be" xlink:href="exdx-20200630.xsd#exdx_ComputerEquipmentAndSoftwareMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_4c17a1f0-29e5-4332-90ed-72d6c6a9712b" xlink:to="loc_exdx_ComputerEquipmentAndSoftwareMember_018fd34a-0c2b-4173-8e73-9d9fc37fe5be" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseholdImprovementsMember_5928e7f0-caf3-4a49-ad48-c23e5a61a155" 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_4c17a1f0-29e5-4332-90ed-72d6c6a9712b" xlink:to="loc_us-gaap_LeaseholdImprovementsMember_5928e7f0-caf3-4a49-ad48-c23e5a61a155" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConstructionInProgressMember_298e0c56-5e87-4432-b102-b4668e02fd62" 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_4c17a1f0-29e5-4332-90ed-72d6c6a9712b" xlink:to="loc_us-gaap_ConstructionInProgressMember_298e0c56-5e87-4432-b102-b4668e02fd62" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/OtherFinancialInformationNarrativeDetails" xlink:type="simple" xlink:href="exdx-20200630.xsd#OtherFinancialInformationNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/OtherFinancialInformationNarrativeDetails" xlink:type="extended" id="i3c025b3ff1bc42aa9c5a36e027a4f7a1_OtherFinancialInformationNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_b6005292-fe71-4f00-a037-4a95700f37ca" 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_23a330a0-e891-4666-aa7e-de7ed7ac6d16" 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_b6005292-fe71-4f00-a037-4a95700f37ca" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_23a330a0-e891-4666-aa7e-de7ed7ac6d16" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_d5076226-9ecf-4ff3-b33d-09dc0900c4af" 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_b6005292-fe71-4f00-a037-4a95700f37ca" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_d5076226-9ecf-4ff3-b33d-09dc0900c4af" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_1f1391b7-803a-4546-87b9-5a6404e2cf87" 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_b6005292-fe71-4f00-a037-4a95700f37ca" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_1f1391b7-803a-4546-87b9-5a6404e2cf87" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_fd4b7da1-d899-4a56-a7d5-12cf96cc56d7" 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_1f1391b7-803a-4546-87b9-5a6404e2cf87" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_fd4b7da1-d899-4a56-a7d5-12cf96cc56d7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_fd4b7da1-d899-4a56-a7d5-12cf96cc56d7_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_fd4b7da1-d899-4a56-a7d5-12cf96cc56d7" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_fd4b7da1-d899-4a56-a7d5-12cf96cc56d7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_6040be3e-028c-43ec-9da3-430f519bca36" 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_fd4b7da1-d899-4a56-a7d5-12cf96cc56d7" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_6040be3e-028c-43ec-9da3-430f519bca36" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_AssetsUnderCapitalLeaseMember_e591e6dc-50f0-4bc4-8ac1-1863bb7dd7d9" xlink:href="exdx-20200630.xsd#exdx_AssetsUnderCapitalLeaseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_6040be3e-028c-43ec-9da3-430f519bca36" xlink:to="loc_exdx_AssetsUnderCapitalLeaseMember_e591e6dc-50f0-4bc4-8ac1-1863bb7dd7d9" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/OtherFinancialInformationAccruedandothercurrentliabilitiesDetails" xlink:type="simple" xlink:href="exdx-20200630.xsd#OtherFinancialInformationAccruedandothercurrentliabilitiesDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/OtherFinancialInformationAccruedandothercurrentliabilitiesDetails" xlink:type="extended" id="ic147b378d107443c85393e53b6304aff_OtherFinancialInformationAccruedandothercurrentliabilitiesDetails"/>
  <link:roleRef roleURI="http://www.exagen.com/role/Borrowings" xlink:type="simple" xlink:href="exdx-20200630.xsd#Borrowings"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/Borrowings" xlink:type="extended" id="i26791293c5244037befff812c75004f7_Borrowings"/>
  <link:roleRef roleURI="http://www.exagen.com/role/BorrowingsTables" xlink:type="simple" xlink:href="exdx-20200630.xsd#BorrowingsTables"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/BorrowingsTables" xlink:type="extended" id="i6adbe31f156742ba8328f45d602152dc_BorrowingsTables"/>
  <link:roleRef roleURI="http://www.exagen.com/role/BorrowingsNarrativeDetails" xlink:type="simple" xlink:href="exdx-20200630.xsd#BorrowingsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/BorrowingsNarrativeDetails" xlink:type="extended" id="i52ed34b986f846dd97312b03d49f358b_BorrowingsNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_c7f21119-a6fc-4b27-b319-8cdda39e399f" 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_a8082913-7ce8-4406-a436-9052f4b37d45" 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_c7f21119-a6fc-4b27-b319-8cdda39e399f" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_a8082913-7ce8-4406-a436-9052f4b37d45" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_b5834594-7476-4b71-a264-1d11e213f2f0" 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_c7f21119-a6fc-4b27-b319-8cdda39e399f" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_b5834594-7476-4b71-a264-1d11e213f2f0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_4ee159c9-8e42-4b5c-9532-b2363c00ed4e" 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_c7f21119-a6fc-4b27-b319-8cdda39e399f" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_4ee159c9-8e42-4b5c-9532-b2363c00ed4e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_DebtInstrumentStatedInterestRatePaidInKind_6ac3e708-6373-4e6c-a63f-bd2295744103" xlink:href="exdx-20200630.xsd#exdx_DebtInstrumentStatedInterestRatePaidInKind"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_c7f21119-a6fc-4b27-b319-8cdda39e399f" xlink:to="loc_exdx_DebtInstrumentStatedInterestRatePaidInKind_6ac3e708-6373-4e6c-a63f-bd2295744103" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_3de7ed29-02a0-47ef-af26-5c288859f5cb" 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_c7f21119-a6fc-4b27-b319-8cdda39e399f" xlink:to="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_3de7ed29-02a0-47ef-af26-5c288859f5cb" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFeeAmount_cf770218-b3da-4c85-a99b-72ca0df33c82" 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_c7f21119-a6fc-4b27-b319-8cdda39e399f" xlink:to="loc_us-gaap_DebtInstrumentFeeAmount_cf770218-b3da-4c85-a99b-72ca0df33c82" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_DebtInstrumentPaidInKindLoansIssued_7832a3f7-8469-4bb5-9331-ee37f2c4379d" xlink:href="exdx-20200630.xsd#exdx_DebtInstrumentPaidInKindLoansIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_c7f21119-a6fc-4b27-b319-8cdda39e399f" xlink:to="loc_exdx_DebtInstrumentPaidInKindLoansIssued_7832a3f7-8469-4bb5-9331-ee37f2c4379d" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_DebtInstrumentPrepaymentPremiumPercentage_811a6b35-df16-410d-aedc-dd72c4afdecd" xlink:href="exdx-20200630.xsd#exdx_DebtInstrumentPrepaymentPremiumPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_c7f21119-a6fc-4b27-b319-8cdda39e399f" xlink:to="loc_exdx_DebtInstrumentPrepaymentPremiumPercentage_811a6b35-df16-410d-aedc-dd72c4afdecd" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_DebtInstrumentPrepaymentPremiumPercentageAnnualReduction_83ef33a2-22ae-47f7-8946-621f13df04d9" xlink:href="exdx-20200630.xsd#exdx_DebtInstrumentPrepaymentPremiumPercentageAnnualReduction"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_c7f21119-a6fc-4b27-b319-8cdda39e399f" xlink:to="loc_exdx_DebtInstrumentPrepaymentPremiumPercentageAnnualReduction_83ef33a2-22ae-47f7-8946-621f13df04d9" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_DebtInstrumentCovenantComplianceMinimumUnrestrictedCashBalance_e7052829-f9fc-4d3f-b3fc-8e2924475711" xlink:href="exdx-20200630.xsd#exdx_DebtInstrumentCovenantComplianceMinimumUnrestrictedCashBalance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_c7f21119-a6fc-4b27-b319-8cdda39e399f" xlink:to="loc_exdx_DebtInstrumentCovenantComplianceMinimumUnrestrictedCashBalance_e7052829-f9fc-4d3f-b3fc-8e2924475711" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_DebtInstrumentCovenantNonComplianceInterestRateIncreaseDecrease_10d505d1-6cd7-4bfa-bdba-5d340290f7ed" xlink:href="exdx-20200630.xsd#exdx_DebtInstrumentCovenantNonComplianceInterestRateIncreaseDecrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_c7f21119-a6fc-4b27-b319-8cdda39e399f" xlink:to="loc_exdx_DebtInstrumentCovenantNonComplianceInterestRateIncreaseDecrease_10d505d1-6cd7-4bfa-bdba-5d340290f7ed" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_95abb36e-01a1-4f30-9b4f-a7dd4c7e8f04" 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_c7f21119-a6fc-4b27-b319-8cdda39e399f" xlink:to="loc_us-gaap_DebtInstrumentTable_95abb36e-01a1-4f30-9b4f-a7dd4c7e8f04" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_8e2412af-b7ef-4742-8c3f-4a6274664284" 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_95abb36e-01a1-4f30-9b4f-a7dd4c7e8f04" xlink:to="loc_us-gaap_DebtInstrumentAxis_8e2412af-b7ef-4742-8c3f-4a6274664284" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_8e2412af-b7ef-4742-8c3f-4a6274664284_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_8e2412af-b7ef-4742-8c3f-4a6274664284" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_8e2412af-b7ef-4742-8c3f-4a6274664284_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_f39715b9-c3d2-473b-979b-a832df6d740d" 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_8e2412af-b7ef-4742-8c3f-4a6274664284" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_f39715b9-c3d2-473b-979b-a832df6d740d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_Term2017Member_7b2c9575-47f2-46b8-ac81-c1e8b3151cf5" xlink:href="exdx-20200630.xsd#exdx_Term2017Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_f39715b9-c3d2-473b-979b-a832df6d740d" xlink:to="loc_exdx_Term2017Member_7b2c9575-47f2-46b8-ac81-c1e8b3151cf5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_5f3b939d-f6fc-46b3-89be-9540b4e00316" 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_95abb36e-01a1-4f30-9b4f-a7dd4c7e8f04" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_5f3b939d-f6fc-46b3-89be-9540b4e00316" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_5f3b939d-f6fc-46b3-89be-9540b4e00316_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_5f3b939d-f6fc-46b3-89be-9540b4e00316" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_5f3b939d-f6fc-46b3-89be-9540b4e00316_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_d2411fb6-ecb8-4de3-9b84-b1bf05bee696" 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_5f3b939d-f6fc-46b3-89be-9540b4e00316" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_d2411fb6-ecb8-4de3-9b84-b1bf05bee696" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansPayableMember_9138a023-0a9c-481c-9a6d-63f2d2145391" 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_d2411fb6-ecb8-4de3-9b84-b1bf05bee696" xlink:to="loc_us-gaap_LoansPayableMember_9138a023-0a9c-481c-9a6d-63f2d2145391" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentInKindPIKNoteMember_75386021-93eb-4adf-8508-dffbff5077cb" 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_d2411fb6-ecb8-4de3-9b84-b1bf05bee696" xlink:to="loc_us-gaap_PaymentInKindPIKNoteMember_75386021-93eb-4adf-8508-dffbff5077cb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityAxis_03e55c36-fc47-448c-9b9b-16c3d62559b6" 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_95abb36e-01a1-4f30-9b4f-a7dd4c7e8f04" xlink:to="loc_us-gaap_LineOfCreditFacilityAxis_03e55c36-fc47-448c-9b9b-16c3d62559b6" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityLenderDomain_03e55c36-fc47-448c-9b9b-16c3d62559b6_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_03e55c36-fc47-448c-9b9b-16c3d62559b6" xlink:to="loc_us-gaap_LineOfCreditFacilityLenderDomain_03e55c36-fc47-448c-9b9b-16c3d62559b6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityLenderDomain_4bada104-a7a3-47ab-9ac6-ef3089dfd50c" 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_03e55c36-fc47-448c-9b9b-16c3d62559b6" xlink:to="loc_us-gaap_LineOfCreditFacilityLenderDomain_4bada104-a7a3-47ab-9ac6-ef3089dfd50c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_InnovatusLifeSciencesLendingFundMember_eac52931-5389-48d6-ac12-94a031cc74f4" xlink:href="exdx-20200630.xsd#exdx_InnovatusLifeSciencesLendingFundMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLenderDomain_4bada104-a7a3-47ab-9ac6-ef3089dfd50c" xlink:to="loc_exdx_InnovatusLifeSciencesLendingFundMember_eac52931-5389-48d6-ac12-94a031cc74f4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_CapitalRoyaltyPartnersIILPMember_af3415e3-ec2b-4f04-8d7b-fe27f804f2c0" xlink:href="exdx-20200630.xsd#exdx_CapitalRoyaltyPartnersIILPMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLenderDomain_4bada104-a7a3-47ab-9ac6-ef3089dfd50c" xlink:to="loc_exdx_CapitalRoyaltyPartnersIILPMember_af3415e3-ec2b-4f04-8d7b-fe27f804f2c0" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/BorrowingsFutureminimumpaymentsDetails" xlink:type="simple" xlink:href="exdx-20200630.xsd#BorrowingsFutureminimumpaymentsDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/BorrowingsFutureminimumpaymentsDetails" xlink:type="extended" id="i1b1041913510441e92260054634be3c4_BorrowingsFutureminimumpaymentsDetails"/>
  <link:roleRef roleURI="http://www.exagen.com/role/CommitmentandContingencies" xlink:type="simple" xlink:href="exdx-20200630.xsd#CommitmentandContingencies"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/CommitmentandContingencies" xlink:type="extended" id="i0600a71ac62747fb96767a5653021d2a_CommitmentandContingencies"/>
  <link:roleRef roleURI="http://www.exagen.com/role/CommitmentandContingenciesNarrativeDetails" xlink:type="simple" xlink:href="exdx-20200630.xsd#CommitmentandContingenciesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/CommitmentandContingenciesNarrativeDetails" xlink:type="extended" id="id84b94c443ca49968c86616d335facbf_CommitmentandContingenciesNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesLineItems_c42c72c4-3df8-428f-ac65-fdb6a758afdd" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LossContingenciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_OperatingLeasesRenewalTerm_9a9c4d06-ebaa-4661-9f3a-ff47f3647277" xlink:href="exdx-20200630.xsd#exdx_OperatingLeasesRenewalTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_c42c72c4-3df8-428f-ac65-fdb6a758afdd" xlink:to="loc_exdx_OperatingLeasesRenewalTerm_9a9c4d06-ebaa-4661-9f3a-ff47f3647277" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseAndRentalExpense_da94b061-3e56-426c-9555-41404339cb4a" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LeaseAndRentalExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_c42c72c4-3df8-428f-ac65-fdb6a758afdd" xlink:to="loc_us-gaap_LeaseAndRentalExpense_da94b061-3e56-426c-9555-41404339cb4a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_MilestoneObligation_42636ca7-8519-4138-8cac-3850c71bf30b" xlink:href="exdx-20200630.xsd#exdx_MilestoneObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_c42c72c4-3df8-428f-ac65-fdb6a758afdd" xlink:to="loc_exdx_MilestoneObligation_42636ca7-8519-4138-8cac-3850c71bf30b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_MilestoneContingencyFairValueDisclosure_118f6061-4872-4f9e-b4c3-1bfbe8ffd3e3" xlink:href="exdx-20200630.xsd#exdx_MilestoneContingencyFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_c42c72c4-3df8-428f-ac65-fdb6a758afdd" xlink:to="loc_exdx_MilestoneContingencyFairValueDisclosure_118f6061-4872-4f9e-b4c3-1bfbe8ffd3e3" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_RoyaltyObligationPercentageOfSales_6a3439e6-6b55-4fb8-910e-1d86c5842758" xlink:href="exdx-20200630.xsd#exdx_RoyaltyObligationPercentageOfSales"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_c42c72c4-3df8-428f-ac65-fdb6a758afdd" xlink:to="loc_exdx_RoyaltyObligationPercentageOfSales_6a3439e6-6b55-4fb8-910e-1d86c5842758" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RoyaltyGuaranteesCommitmentsAmount_5f2393ae-acd2-4f7c-883a-5691e8969818" 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_c42c72c4-3df8-428f-ac65-fdb6a758afdd" xlink:to="loc_us-gaap_RoyaltyGuaranteesCommitmentsAmount_5f2393ae-acd2-4f7c-883a-5691e8969818" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_AdvancePayment_bd1dea81-5668-4262-9ba6-36de0d4d10e5" xlink:href="exdx-20200630.xsd#exdx_AdvancePayment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_c42c72c4-3df8-428f-ac65-fdb6a758afdd" xlink:to="loc_exdx_AdvancePayment_bd1dea81-5668-4262-9ba6-36de0d4d10e5" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermPurchaseCommitmentAmount_e919b751-ab5a-4dcc-b16a-528d18228e42" 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_c42c72c4-3df8-428f-ac65-fdb6a758afdd" xlink:to="loc_us-gaap_LongTermPurchaseCommitmentAmount_e919b751-ab5a-4dcc-b16a-528d18228e42" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermPurchaseCommitmentPeriod_1b201dfc-3b02-4cb0-b0e9-de3f4a880b7d" 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_c42c72c4-3df8-428f-ac65-fdb6a758afdd" xlink:to="loc_us-gaap_LongtermPurchaseCommitmentPeriod_1b201dfc-3b02-4cb0-b0e9-de3f4a880b7d" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesTable_f2da7ac2-0577-4163-820c-b12337633c1e" 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_c42c72c4-3df8-428f-ac65-fdb6a758afdd" xlink:to="loc_us-gaap_LossContingenciesTable_f2da7ac2-0577-4163-820c-b12337633c1e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_RentalPropertyByTypeAxis_9b3e61d0-bf98-49de-b8ba-29903fd57c77" xlink:href="exdx-20200630.xsd#exdx_RentalPropertyByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_f2da7ac2-0577-4163-820c-b12337633c1e" xlink:to="loc_exdx_RentalPropertyByTypeAxis_9b3e61d0-bf98-49de-b8ba-29903fd57c77" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_RentalPropertyByTypeDomain_9b3e61d0-bf98-49de-b8ba-29903fd57c77_default" xlink:href="exdx-20200630.xsd#exdx_RentalPropertyByTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_exdx_RentalPropertyByTypeAxis_9b3e61d0-bf98-49de-b8ba-29903fd57c77" xlink:to="loc_exdx_RentalPropertyByTypeDomain_9b3e61d0-bf98-49de-b8ba-29903fd57c77_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_RentalPropertyByTypeDomain_ab933b85-b3de-404f-a1d2-d0e9b1b61c5e" xlink:href="exdx-20200630.xsd#exdx_RentalPropertyByTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_exdx_RentalPropertyByTypeAxis_9b3e61d0-bf98-49de-b8ba-29903fd57c77" xlink:to="loc_exdx_RentalPropertyByTypeDomain_ab933b85-b3de-404f-a1d2-d0e9b1b61c5e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_OfficeAndLaboratoryMember_2cfa7ceb-13b3-4e12-ba2a-09717579956a" xlink:href="exdx-20200630.xsd#exdx_OfficeAndLaboratoryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_exdx_RentalPropertyByTypeDomain_ab933b85-b3de-404f-a1d2-d0e9b1b61c5e" xlink:to="loc_exdx_OfficeAndLaboratoryMember_2cfa7ceb-13b3-4e12-ba2a-09717579956a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_OfficeMember_2def640c-3e83-45a0-811e-852752fd4f4a" xlink:href="exdx-20200630.xsd#exdx_OfficeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_exdx_RentalPropertyByTypeDomain_ab933b85-b3de-404f-a1d2-d0e9b1b61c5e" xlink:to="loc_exdx_OfficeMember_2def640c-3e83-45a0-811e-852752fd4f4a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CounterpartyNameAxis_7e7c5c56-acfd-4352-b414-d97a5050ba6e" 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_f2da7ac2-0577-4163-820c-b12337633c1e" xlink:to="loc_srt_CounterpartyNameAxis_7e7c5c56-acfd-4352-b414-d97a5050ba6e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_7e7c5c56-acfd-4352-b414-d97a5050ba6e_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_7e7c5c56-acfd-4352-b414-d97a5050ba6e" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_7e7c5c56-acfd-4352-b414-d97a5050ba6e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_cd34629c-6e94-4156-a493-d3ae35659894" 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_7e7c5c56-acfd-4352-b414-d97a5050ba6e" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_cd34629c-6e94-4156-a493-d3ae35659894" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_PrometheusLaboratoriesIncMember_a029f864-e9ef-41dd-86d9-e68c20f1b752" xlink:href="exdx-20200630.xsd#exdx_PrometheusLaboratoriesIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_cd34629c-6e94-4156-a493-d3ae35659894" xlink:to="loc_exdx_PrometheusLaboratoriesIncMember_a029f864-e9ef-41dd-86d9-e68c20f1b752" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_9d41ccf8-f405-4a44-9843-52748d9f92bd" 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_f2da7ac2-0577-4163-820c-b12337633c1e" xlink:to="loc_srt_RangeAxis_9d41ccf8-f405-4a44-9843-52748d9f92bd" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_9d41ccf8-f405-4a44-9843-52748d9f92bd_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_9d41ccf8-f405-4a44-9843-52748d9f92bd" xlink:to="loc_srt_RangeMember_9d41ccf8-f405-4a44-9843-52748d9f92bd_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_202b0888-a4ac-493c-9fac-be5e5720c309" 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_9d41ccf8-f405-4a44-9843-52748d9f92bd" xlink:to="loc_srt_RangeMember_202b0888-a4ac-493c-9fac-be5e5720c309" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_2a7c792d-f2f8-4132-9a2b-e42b0bf3af16" 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_202b0888-a4ac-493c-9fac-be5e5720c309" xlink:to="loc_srt_MinimumMember_2a7c792d-f2f8-4132-9a2b-e42b0bf3af16" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_549dc178-8440-4e83-a785-0c3535400867" 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_202b0888-a4ac-493c-9fac-be5e5720c309" xlink:to="loc_srt_MaximumMember_549dc178-8440-4e83-a785-0c3535400867" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersByTypeAxis_95bc1005-f0da-4caf-bb9a-49461a6cd047" 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_f2da7ac2-0577-4163-820c-b12337633c1e" xlink:to="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersByTypeAxis_95bc1005-f0da-4caf-bb9a-49461a6cd047" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain_95bc1005-f0da-4caf-bb9a-49461a6cd047_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_95bc1005-f0da-4caf-bb9a-49461a6cd047" xlink:to="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain_95bc1005-f0da-4caf-bb9a-49461a6cd047_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain_cf15a7f7-3dfa-431e-9376-79adf3926ff3" 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_95bc1005-f0da-4caf-bb9a-49461a6cd047" xlink:to="loc_us-gaap_ResearchAndDevelopmentArrangementContractToPerformForOthersTypeDomain_cf15a7f7-3dfa-431e-9376-79adf3926ff3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LicenseAgreementTermsMember_d0a6a3e8-5699-45f9-84ba-5c19c571a18e" 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_cf15a7f7-3dfa-431e-9376-79adf3926ff3" xlink:to="loc_us-gaap_LicenseAgreementTermsMember_d0a6a3e8-5699-45f9-84ba-5c19c571a18e" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/FairValueMeasurements" xlink:type="simple" xlink:href="exdx-20200630.xsd#FairValueMeasurements"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/FairValueMeasurements" xlink:type="extended" id="i070fc134d8af483f921714ed2d39aec3_FairValueMeasurements"/>
  <link:roleRef roleURI="http://www.exagen.com/role/FairValueMeasuresandDisclosuresTables" xlink:type="simple" xlink:href="exdx-20200630.xsd#FairValueMeasuresandDisclosuresTables"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/FairValueMeasuresandDisclosuresTables" xlink:type="extended" id="iafbbcb2e66af4e559291da39c6d0252f_FairValueMeasuresandDisclosuresTables"/>
  <link:roleRef roleURI="http://www.exagen.com/role/FairValueMeasurementsFairvaluemeasurementDetails" xlink:type="simple" xlink:href="exdx-20200630.xsd#FairValueMeasurementsFairvaluemeasurementDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/FairValueMeasurementsFairvaluemeasurementDetails" xlink:type="extended" id="i3509f90589f942dfa2caf397a1e3ed20_FairValueMeasurementsFairvaluemeasurementDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_c612f072-102f-4f03-96b9-7322b4b364be" 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_7c81917e-1b76-4687-9984-20631a8b3b7e" 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_c612f072-102f-4f03-96b9-7322b4b364be" xlink:to="loc_us-gaap_AssetsFairValueDisclosureAbstract_7c81917e-1b76-4687-9984-20631a8b3b7e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_5028f99a-c183-474e-a821-11cfc0cae8b9" 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_7c81917e-1b76-4687-9984-20631a8b3b7e" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_5028f99a-c183-474e-a821-11cfc0cae8b9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_6cea16e2-3ac0-4cdb-b36e-6ac406818def" 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_c612f072-102f-4f03-96b9-7322b4b364be" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_6cea16e2-3ac0-4cdb-b36e-6ac406818def" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_66949e38-4a2c-4355-bb53-63b61d3260a8" 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_6cea16e2-3ac0-4cdb-b36e-6ac406818def" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_66949e38-4a2c-4355-bb53-63b61d3260a8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_66949e38-4a2c-4355-bb53-63b61d3260a8_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_66949e38-4a2c-4355-bb53-63b61d3260a8" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_66949e38-4a2c-4355-bb53-63b61d3260a8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_c8aaa567-7380-4273-bca6-fff975cdface" 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_66949e38-4a2c-4355-bb53-63b61d3260a8" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_c8aaa567-7380-4273-bca6-fff975cdface" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_874edf97-8c85-4897-af10-13e2500adbc5" 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_c8aaa567-7380-4273-bca6-fff975cdface" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_874edf97-8c85-4897-af10-13e2500adbc5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_de189b21-1e6c-4d0e-889b-25b13acc8fec" 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_6cea16e2-3ac0-4cdb-b36e-6ac406818def" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_de189b21-1e6c-4d0e-889b-25b13acc8fec" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_de189b21-1e6c-4d0e-889b-25b13acc8fec_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_de189b21-1e6c-4d0e-889b-25b13acc8fec" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_de189b21-1e6c-4d0e-889b-25b13acc8fec_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_097bcd8f-de0d-4102-a301-28baf21f1ce7" 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_de189b21-1e6c-4d0e-889b-25b13acc8fec" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_097bcd8f-de0d-4102-a301-28baf21f1ce7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_2e2ba772-52a3-426e-b1c9-5f95ef535d94" 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_097bcd8f-de0d-4102-a301-28baf21f1ce7" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_2e2ba772-52a3-426e-b1c9-5f95ef535d94" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_81a44a79-e4cf-41b6-83ff-6b039351ccea" 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_097bcd8f-de0d-4102-a301-28baf21f1ce7" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_81a44a79-e4cf-41b6-83ff-6b039351ccea" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_bd5de7fc-347d-4bbd-b273-bb447edf788d" 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_097bcd8f-de0d-4102-a301-28baf21f1ce7" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_bd5de7fc-347d-4bbd-b273-bb447edf788d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_5f6adfde-d0a0-4bb6-af31-5312d19c831a" 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_6cea16e2-3ac0-4cdb-b36e-6ac406818def" xlink:to="loc_us-gaap_FinancialInstrumentAxis_5f6adfde-d0a0-4bb6-af31-5312d19c831a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_5f6adfde-d0a0-4bb6-af31-5312d19c831a_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_5f6adfde-d0a0-4bb6-af31-5312d19c831a" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_5f6adfde-d0a0-4bb6-af31-5312d19c831a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_2dff719a-a1ac-4e84-aad8-198041144362" 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_5f6adfde-d0a0-4bb6-af31-5312d19c831a" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_2dff719a-a1ac-4e84-aad8-198041144362" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MoneyMarketFundsMember_dbf06ee0-9146-4209-9a59-dec3dc314b52" 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_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_2dff719a-a1ac-4e84-aad8-198041144362" xlink:to="loc_us-gaap_MoneyMarketFundsMember_dbf06ee0-9146-4209-9a59-dec3dc314b52" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/RedeemableConvertiblePreferredStock" xlink:type="simple" xlink:href="exdx-20200630.xsd#RedeemableConvertiblePreferredStock"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/RedeemableConvertiblePreferredStock" xlink:type="extended" id="i19166a31f747488f84f5543823b5236e_RedeemableConvertiblePreferredStock"/>
  <link:roleRef roleURI="http://www.exagen.com/role/RedeemableConvertiblePreferredStockDetails" xlink:type="simple" xlink:href="exdx-20200630.xsd#RedeemableConvertiblePreferredStockDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/RedeemableConvertiblePreferredStockDetails" xlink:type="extended" id="i1ea5fdee4375498a9cdf4f3a12d056e1_RedeemableConvertiblePreferredStockDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityLineItems_65499eaa-4b14-4659-89f8-8cfd3c5af256" 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_8005e979-8ee1-4e13-82db-3fb6b43619df" xlink:href="exdx-20200630.xsd#exdx_SaleOfTemporaryEquityPricePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_65499eaa-4b14-4659-89f8-8cfd3c5af256" xlink:to="loc_exdx_SaleOfTemporaryEquityPricePerShare_8005e979-8ee1-4e13-82db-3fb6b43619df" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_4d13fb88-09de-4033-bd26-45976296ad63" 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_65499eaa-4b14-4659-89f8-8cfd3c5af256" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_4d13fb88-09de-4033-bd26-45976296ad63" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquitySharesOutstanding_e087760d-3d63-4d6a-a99c-ff4d4bcf22e2" 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_TemporaryEquityLineItems_65499eaa-4b14-4659-89f8-8cfd3c5af256" xlink:to="loc_us-gaap_TemporaryEquitySharesOutstanding_e087760d-3d63-4d6a-a99c-ff4d4bcf22e2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityByClassOfStockTable_868b0cae-53fb-4031-8169-46bfbfabf6f5" 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_65499eaa-4b14-4659-89f8-8cfd3c5af256" xlink:to="loc_us-gaap_TemporaryEquityByClassOfStockTable_868b0cae-53fb-4031-8169-46bfbfabf6f5" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_b82c0274-c6a5-4105-93ad-47cc82a03679" 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_868b0cae-53fb-4031-8169-46bfbfabf6f5" xlink:to="loc_us-gaap_StatementClassOfStockAxis_b82c0274-c6a5-4105-93ad-47cc82a03679" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_b82c0274-c6a5-4105-93ad-47cc82a03679_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_b82c0274-c6a5-4105-93ad-47cc82a03679" xlink:to="loc_us-gaap_ClassOfStockDomain_b82c0274-c6a5-4105-93ad-47cc82a03679_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_fa950498-9f8f-4e7d-91b3-db8d5989d351" 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_b82c0274-c6a5-4105-93ad-47cc82a03679" xlink:to="loc_us-gaap_ClassOfStockDomain_fa950498-9f8f-4e7d-91b3-db8d5989d351" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesGPreferredStockMember_429fdf54-df27-4fd1-a5f6-452c9a45d66c" 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_fa950498-9f8f-4e7d-91b3-db8d5989d351" xlink:to="loc_us-gaap_SeriesGPreferredStockMember_429fdf54-df27-4fd1-a5f6-452c9a45d66c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RedeemableConvertiblePreferredStockMember_9b64f0c7-c6fa-46f5-97ca-478edfd1563e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RedeemableConvertiblePreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_fa950498-9f8f-4e7d-91b3-db8d5989d351" xlink:to="loc_us-gaap_RedeemableConvertiblePreferredStockMember_9b64f0c7-c6fa-46f5-97ca-478edfd1563e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_adbd91a8-de71-4b86-9429-b341aba13af6" 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_868b0cae-53fb-4031-8169-46bfbfabf6f5" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_adbd91a8-de71-4b86-9429-b341aba13af6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_adbd91a8-de71-4b86-9429-b341aba13af6_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_adbd91a8-de71-4b86-9429-b341aba13af6" xlink:to="loc_us-gaap_EquityComponentDomain_adbd91a8-de71-4b86-9429-b341aba13af6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_7673dfdb-9247-4c01-9612-9be6d6ab8e23" 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_adbd91a8-de71-4b86-9429-b341aba13af6" xlink:to="loc_us-gaap_EquityComponentDomain_7673dfdb-9247-4c01-9612-9be6d6ab8e23" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_bbf9ced1-de73-4a0b-a2c3-81b3a009328d" 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_7673dfdb-9247-4c01-9612-9be6d6ab8e23" xlink:to="loc_us-gaap_CommonStockMember_bbf9ced1-de73-4a0b-a2c3-81b3a009328d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsidiarySaleOfStockAxis_b037b93b-5a83-47a4-b704-5e6ac002715c" 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_868b0cae-53fb-4031-8169-46bfbfabf6f5" xlink:to="loc_us-gaap_SubsidiarySaleOfStockAxis_b037b93b-5a83-47a4-b704-5e6ac002715c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_b037b93b-5a83-47a4-b704-5e6ac002715c_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_b037b93b-5a83-47a4-b704-5e6ac002715c" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_b037b93b-5a83-47a4-b704-5e6ac002715c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_21279062-1b88-4613-b94a-2701b705035f" 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_b037b93b-5a83-47a4-b704-5e6ac002715c" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_21279062-1b88-4613-b94a-2701b705035f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IPOMember_4eca6f27-4a09-4ba7-b485-5f413de61071" 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_21279062-1b88-4613-b94a-2701b705035f" xlink:to="loc_us-gaap_IPOMember_4eca6f27-4a09-4ba7-b485-5f413de61071" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/StockholdersEquity" xlink:type="simple" xlink:href="exdx-20200630.xsd#StockholdersEquity"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/StockholdersEquity" xlink:type="extended" id="ie19872a243324e1a826506dc2d0e9f23_StockholdersEquity"/>
  <link:roleRef roleURI="http://www.exagen.com/role/StockholdersEquityTables" xlink:type="simple" xlink:href="exdx-20200630.xsd#StockholdersEquityTables"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/StockholdersEquityTables" xlink:type="extended" id="i7ae2d90a6dd24ebf965c8916f8adef3c_StockholdersEquityTables"/>
  <link:roleRef roleURI="http://www.exagen.com/role/StockholdersEquityDetails" xlink:type="simple" xlink:href="exdx-20200630.xsd#StockholdersEquityDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/StockholdersEquityDetails" xlink:type="extended" id="i0f646004cbd3444299496ed87c85fcc3_StockholdersEquityDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsidiarySaleOfStockLineItems_2470f6b0-9849-4faa-8284-075a93b55268" 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_9b05e904-9c3c-4b1c-983c-bdcb40dd7d04" 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_2470f6b0-9849-4faa-8284-075a93b55268" xlink:to="loc_us-gaap_ClassOfWarrantOrRightOutstanding_9b05e904-9c3c-4b1c-983c-bdcb40dd7d04" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1_9c3a1274-cf40-4747-865a-24b8a8fea964" 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_2470f6b0-9849-4faa-8284-075a93b55268" xlink:to="loc_us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1_9c3a1274-cf40-4747-865a-24b8a8fea964" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByEachWarrantOrRight_9928b584-e9fc-4b0e-a2ba-4ed42e739c09" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByEachWarrantOrRight"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsidiarySaleOfStockLineItems_2470f6b0-9849-4faa-8284-075a93b55268" xlink:to="loc_us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByEachWarrantOrRight_9928b584-e9fc-4b0e-a2ba-4ed42e739c09" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable_49b3de93-854d-4444-b5f3-d5d128c35995" 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_2470f6b0-9849-4faa-8284-075a93b55268" xlink:to="loc_us-gaap_SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable_49b3de93-854d-4444-b5f3-d5d128c35995" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightAxis_b85ee712-5dd9-4bfe-bd7b-a01222b90111" 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_49b3de93-854d-4444-b5f3-d5d128c35995" xlink:to="loc_us-gaap_ClassOfWarrantOrRightAxis_b85ee712-5dd9-4bfe-bd7b-a01222b90111" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightDomain_b85ee712-5dd9-4bfe-bd7b-a01222b90111_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_b85ee712-5dd9-4bfe-bd7b-a01222b90111" xlink:to="loc_us-gaap_ClassOfWarrantOrRightDomain_b85ee712-5dd9-4bfe-bd7b-a01222b90111_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightDomain_f44acfee-9c99-447a-9ec6-4f3109b5f908" 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_b85ee712-5dd9-4bfe-bd7b-a01222b90111" xlink:to="loc_us-gaap_ClassOfWarrantOrRightDomain_f44acfee-9c99-447a-9ec6-4f3109b5f908" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_ExpirationJan192026Member_7eb8a37b-34a9-440d-933b-d593ddbee5fe" xlink:href="exdx-20200630.xsd#exdx_ExpirationJan192026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfWarrantOrRightDomain_f44acfee-9c99-447a-9ec6-4f3109b5f908" xlink:to="loc_exdx_ExpirationJan192026Member_7eb8a37b-34a9-440d-933b-d593ddbee5fe" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_ExpirationMar312026Member_5bb7e93a-f8e6-4d41-a4ee-e854439902f9" xlink:href="exdx-20200630.xsd#exdx_ExpirationMar312026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfWarrantOrRightDomain_f44acfee-9c99-447a-9ec6-4f3109b5f908" xlink:to="loc_exdx_ExpirationMar312026Member_5bb7e93a-f8e6-4d41-a4ee-e854439902f9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_ExpirationApr12026Member_680906bd-f0d5-4ffc-a444-21c860df71a3" xlink:href="exdx-20200630.xsd#exdx_ExpirationApr12026Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfWarrantOrRightDomain_f44acfee-9c99-447a-9ec6-4f3109b5f908" xlink:to="loc_exdx_ExpirationApr12026Member_680906bd-f0d5-4ffc-a444-21c860df71a3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_ExpirationSep82024Member_ae784345-e2a9-487f-b18f-5c295f678615" xlink:href="exdx-20200630.xsd#exdx_ExpirationSep82024Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfWarrantOrRightDomain_f44acfee-9c99-447a-9ec6-4f3109b5f908" xlink:to="loc_exdx_ExpirationSep82024Member_ae784345-e2a9-487f-b18f-5c295f678615" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_ExpirationDec72025Member_32c6a842-ed70-4443-bb2c-7e91715077aa" xlink:href="exdx-20200630.xsd#exdx_ExpirationDec72025Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfWarrantOrRightDomain_f44acfee-9c99-447a-9ec6-4f3109b5f908" xlink:to="loc_exdx_ExpirationDec72025Member_32c6a842-ed70-4443-bb2c-7e91715077aa" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/StockOptionPlan" xlink:type="simple" xlink:href="exdx-20200630.xsd#StockOptionPlan"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/StockOptionPlan" xlink:type="extended" id="ied9cc66634c44713afc89b2ded1715d9_StockOptionPlan"/>
  <link:roleRef roleURI="http://www.exagen.com/role/StockOptionPlanTables" xlink:type="simple" xlink:href="exdx-20200630.xsd#StockOptionPlanTables"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/StockOptionPlanTables" xlink:type="extended" id="i7902410567a54b01b5a240c246f6f30c_StockOptionPlanTables"/>
  <link:roleRef roleURI="http://www.exagen.com/role/StockOptionPlanNarrativeDetails" xlink:type="simple" xlink:href="exdx-20200630.xsd#StockOptionPlanNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/StockOptionPlanNarrativeDetails" xlink:type="extended" id="icdc1a2bdcd724682bdec033045f97d1f_StockOptionPlanNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_b3a7cb1e-76e3-47de-8b3b-519647bfeed3" 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_dcddd9c8-c496-49de-8088-00a8ee1cee01" 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_b3a7cb1e-76e3-47de-8b3b-519647bfeed3" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_dcddd9c8-c496-49de-8088-00a8ee1cee01" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_ShareBasedCompensationArrangementByShareBasedPaymentAwardAdditionalSharesAuthorizedPercentage_36913437-38fe-4291-a883-78988f7b3896" xlink:href="exdx-20200630.xsd#exdx_ShareBasedCompensationArrangementByShareBasedPaymentAwardAdditionalSharesAuthorizedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_b3a7cb1e-76e3-47de-8b3b-519647bfeed3" xlink:to="loc_exdx_ShareBasedCompensationArrangementByShareBasedPaymentAwardAdditionalSharesAuthorizedPercentage_36913437-38fe-4291-a883-78988f7b3896" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_b1f3f417-afcd-42c4-8cc1-c4f902a90897" 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_b3a7cb1e-76e3-47de-8b3b-519647bfeed3" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_b1f3f417-afcd-42c4-8cc1-c4f902a90897" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_f94ea70f-9c17-4412-8e58-9e896aa81ef1" 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_b3a7cb1e-76e3-47de-8b3b-519647bfeed3" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_f94ea70f-9c17-4412-8e58-9e896aa81ef1" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_2d0ec123-fc7e-4219-b17b-4831218cdab2" 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_b3a7cb1e-76e3-47de-8b3b-519647bfeed3" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_2d0ec123-fc7e-4219-b17b-4831218cdab2" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_cab3fcb9-0214-4ff2-820e-b16be9464567" 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_b3a7cb1e-76e3-47de-8b3b-519647bfeed3" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_cab3fcb9-0214-4ff2-820e-b16be9464567" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_58c3a7fd-8801-4f29-92d0-8a9876f18316" 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_b3a7cb1e-76e3-47de-8b3b-519647bfeed3" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_58c3a7fd-8801-4f29-92d0-8a9876f18316" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_990e748a-ce76-4d9c-aae8-cd764fa5f112" 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_b3a7cb1e-76e3-47de-8b3b-519647bfeed3" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_990e748a-ce76-4d9c-aae8-cd764fa5f112" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameAxis_36280e89-9d9c-4baa-b7d7-1a9ba0cbdfad" 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_990e748a-ce76-4d9c-aae8-cd764fa5f112" xlink:to="loc_us-gaap_PlanNameAxis_36280e89-9d9c-4baa-b7d7-1a9ba0cbdfad" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_36280e89-9d9c-4baa-b7d7-1a9ba0cbdfad_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_36280e89-9d9c-4baa-b7d7-1a9ba0cbdfad" xlink:to="loc_us-gaap_PlanNameDomain_36280e89-9d9c-4baa-b7d7-1a9ba0cbdfad_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_e438a211-a8a2-4fbe-9cc7-4126a27f9bc3" 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_36280e89-9d9c-4baa-b7d7-1a9ba0cbdfad" xlink:to="loc_us-gaap_PlanNameDomain_e438a211-a8a2-4fbe-9cc7-4126a27f9bc3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_IncentiveAwardPlan2019Member_f647c2b4-7192-489a-b9a5-703fceacf64b" xlink:href="exdx-20200630.xsd#exdx_IncentiveAwardPlan2019Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_e438a211-a8a2-4fbe-9cc7-4126a27f9bc3" xlink:to="loc_exdx_IncentiveAwardPlan2019Member_f647c2b4-7192-489a-b9a5-703fceacf64b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_b725470d-b714-4022-a7c8-60babccb1710" 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_990e748a-ce76-4d9c-aae8-cd764fa5f112" xlink:to="loc_us-gaap_AwardTypeAxis_b725470d-b714-4022-a7c8-60babccb1710" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_b725470d-b714-4022-a7c8-60babccb1710_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_b725470d-b714-4022-a7c8-60babccb1710" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_b725470d-b714-4022-a7c8-60babccb1710_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_5d5bdfa1-bf97-4631-b4c8-1778785d22c6" 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_b725470d-b714-4022-a7c8-60babccb1710" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_5d5bdfa1-bf97-4631-b4c8-1778785d22c6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_4c987916-52b7-4d97-9929-cc644ef64e0a" 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_5d5bdfa1-bf97-4631-b4c8-1778785d22c6" xlink:to="loc_us-gaap_EmployeeStockOptionMember_4c987916-52b7-4d97-9929-cc644ef64e0a" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/StockOptionPlanStockOptionActivityDetails" xlink:type="simple" xlink:href="exdx-20200630.xsd#StockOptionPlanStockOptionActivityDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/StockOptionPlanStockOptionActivityDetails" xlink:type="extended" id="ia380f41d4fe54413804e56a72d7dac03_StockOptionPlanStockOptionActivityDetails"/>
  <link:roleRef roleURI="http://www.exagen.com/role/StockOptionPlanFairValueAssumptionsDetails" xlink:type="simple" xlink:href="exdx-20200630.xsd#StockOptionPlanFairValueAssumptionsDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/StockOptionPlanFairValueAssumptionsDetails" xlink:type="extended" id="id8fd1e4ec30a40fe91f011ec680b687f_StockOptionPlanFairValueAssumptionsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e51ffe72-efca-40fd-94d1-02e34da934d1" 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_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_75c9bef0-8731-46a6-80bb-9033e9905083" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e51ffe72-efca-40fd-94d1-02e34da934d1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_75c9bef0-8731-46a6-80bb-9033e9905083" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum_3246e514-485d-45d0-946d-4b4e973671a2" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e51ffe72-efca-40fd-94d1-02e34da934d1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum_3246e514-485d-45d0-946d-4b4e973671a2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum_c11bc693-e8d8-4385-89f3-d3c314bf324d" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e51ffe72-efca-40fd-94d1-02e34da934d1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum_c11bc693-e8d8-4385-89f3-d3c314bf324d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_14595894-ac17-4450-9d06-d058b90b15df" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e51ffe72-efca-40fd-94d1-02e34da934d1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_14595894-ac17-4450-9d06-d058b90b15df" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum_e1689b1a-6d8c-45bb-ad18-1da2356b4605" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e51ffe72-efca-40fd-94d1-02e34da934d1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum_e1689b1a-6d8c-45bb-ad18-1da2356b4605" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum_4015b7a8-2335-4d7a-ae65-5dd637d4ea64" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e51ffe72-efca-40fd-94d1-02e34da934d1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum_4015b7a8-2335-4d7a-ae65-5dd637d4ea64" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_98ee707e-990f-4bf2-a347-1db57227e96e" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e51ffe72-efca-40fd-94d1-02e34da934d1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_98ee707e-990f-4bf2-a347-1db57227e96e" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_1530f176-f9f3-4b31-a1b0-31f457a2cb2a" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e51ffe72-efca-40fd-94d1-02e34da934d1" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_1530f176-f9f3-4b31-a1b0-31f457a2cb2a" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1a1b17ba-4f20-47bd-8904-14140a5ac825" 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_e51ffe72-efca-40fd-94d1-02e34da934d1" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1a1b17ba-4f20-47bd-8904-14140a5ac825" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_7104d160-93df-49fd-8134-f41854a62307" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_1a1b17ba-4f20-47bd-8904-14140a5ac825" xlink:to="loc_srt_RangeAxis_7104d160-93df-49fd-8134-f41854a62307" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_7104d160-93df-49fd-8134-f41854a62307_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_7104d160-93df-49fd-8134-f41854a62307" xlink:to="loc_srt_RangeMember_7104d160-93df-49fd-8134-f41854a62307_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_5aa9e6ac-cb9b-4745-8e9a-31477f24480e" 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_7104d160-93df-49fd-8134-f41854a62307" xlink:to="loc_srt_RangeMember_5aa9e6ac-cb9b-4745-8e9a-31477f24480e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_97fa874f-522b-4ab5-81cc-92b5c8b79eac" 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_5aa9e6ac-cb9b-4745-8e9a-31477f24480e" xlink:to="loc_srt_MinimumMember_97fa874f-522b-4ab5-81cc-92b5c8b79eac" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_99bea128-a5f7-4aba-8d6e-7a2c72a90bb3" 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_5aa9e6ac-cb9b-4745-8e9a-31477f24480e" xlink:to="loc_srt_MaximumMember_99bea128-a5f7-4aba-8d6e-7a2c72a90bb3" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/StockOptionPlanStockBasedCompensationExpenseDetails" xlink:type="simple" xlink:href="exdx-20200630.xsd#StockOptionPlanStockBasedCompensationExpenseDetails"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/StockOptionPlanStockBasedCompensationExpenseDetails" xlink:type="extended" id="i05b297caa6b4401c9496123a5bc9577f_StockOptionPlanStockBasedCompensationExpenseDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e75a084d-66ad-419f-85cf-401c73c1b6a0" 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_36a0a20f-24bc-4178-bc5c-7db6812bf5a6" 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_e75a084d-66ad-419f-85cf-401c73c1b6a0" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_36a0a20f-24bc-4178-bc5c-7db6812bf5a6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_2b3c89b1-36ab-4ddd-8906-c6388287fd2a" 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_e75a084d-66ad-419f-85cf-401c73c1b6a0" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_2b3c89b1-36ab-4ddd-8906-c6388287fd2a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_96a08b72-8495-4ddb-acdb-795bdd0ce45c" 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_2b3c89b1-36ab-4ddd-8906-c6388287fd2a" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_96a08b72-8495-4ddb-acdb-795bdd0ce45c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_96a08b72-8495-4ddb-acdb-795bdd0ce45c_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_96a08b72-8495-4ddb-acdb-795bdd0ce45c" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_96a08b72-8495-4ddb-acdb-795bdd0ce45c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_83ffeb0b-8a21-4911-be26-ba5f2777f63c" 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_96a08b72-8495-4ddb-acdb-795bdd0ce45c" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_83ffeb0b-8a21-4911-be26-ba5f2777f63c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfSalesMember_86387e80-ebd5-4e19-b649-19fabaf41552" 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_83ffeb0b-8a21-4911-be26-ba5f2777f63c" xlink:to="loc_us-gaap_CostOfSalesMember_86387e80-ebd5-4e19-b649-19fabaf41552" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_3326d532-736d-4723-a308-274e5578d03f" 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_83ffeb0b-8a21-4911-be26-ba5f2777f63c" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_3326d532-736d-4723-a308-274e5578d03f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember_4f57f766-cd75-4bb7-9bcb-c34a005b0385" 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_83ffeb0b-8a21-4911-be26-ba5f2777f63c" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_4f57f766-cd75-4bb7-9bcb-c34a005b0385" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.exagen.com/role/RelatedParties" xlink:type="simple" xlink:href="exdx-20200630.xsd#RelatedParties"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/RelatedParties" xlink:type="extended" id="i1f2a1023a60943268c7797f37c052ec8_RelatedParties"/>
  <link:roleRef roleURI="http://www.exagen.com/role/Covid19" xlink:type="simple" xlink:href="exdx-20200630.xsd#Covid19"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/Covid19" xlink:type="extended" id="id296dd0452df49efbb8cf786b2f4eaa4_Covid19"/>
  <link:roleRef roleURI="http://www.exagen.com/role/Covid19Details" xlink:type="simple" xlink:href="exdx-20200630.xsd#Covid19Details"/>
  <link:definitionLink xlink:role="http://www.exagen.com/role/Covid19Details" xlink:type="extended" id="i4630c34b71f94a1280d807edaa57aaa8_Covid19Details">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_99d6fb03-8ca6-46c1-b987-9a9c065099ea" 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_bc355690-8550-40f8-9ebf-3e2bc8bcfe84" xlink:href="exdx-20200630.xsd#exdx_AVISECTDTestVolumePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_99d6fb03-8ca6-46c1-b987-9a9c065099ea" xlink:to="loc_exdx_AVISECTDTestVolumePercentage_bc355690-8550-40f8-9ebf-3e2bc8bcfe84" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCharges_9318218c-89b7-4e78-aade-d9ff5d84b5e3" 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_99d6fb03-8ca6-46c1-b987-9a9c065099ea" xlink:to="loc_us-gaap_RestructuringCharges_9318218c-89b7-4e78-aade-d9ff5d84b5e3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_5c1db67a-66b6-4f3a-b121-ac62e65f3204" 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_99d6fb03-8ca6-46c1-b987-9a9c065099ea" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_5c1db67a-66b6-4f3a-b121-ac62e65f3204" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_CoronavirusAidReliefAndEconomicSecuritiesCARESActDeferredTaxAssetsValuationAllowance_49f05cb7-2a63-4842-9123-ea15372cc768" xlink:href="exdx-20200630.xsd#exdx_CoronavirusAidReliefAndEconomicSecuritiesCARESActDeferredTaxAssetsValuationAllowance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_99d6fb03-8ca6-46c1-b987-9a9c065099ea" xlink:to="loc_exdx_CoronavirusAidReliefAndEconomicSecuritiesCARESActDeferredTaxAssetsValuationAllowance_49f05cb7-2a63-4842-9123-ea15372cc768" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_CoronavirusAidReliefAndEconomicSecuritiesCARESActDeferredTaxAssetsIncomeTaxBenefit_a50324f0-d074-4744-bcf3-179d217e7d1a" xlink:href="exdx-20200630.xsd#exdx_CoronavirusAidReliefAndEconomicSecuritiesCARESActDeferredTaxAssetsIncomeTaxBenefit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_99d6fb03-8ca6-46c1-b987-9a9c065099ea" xlink:to="loc_exdx_CoronavirusAidReliefAndEconomicSecuritiesCARESActDeferredTaxAssetsIncomeTaxBenefit_a50324f0-d074-4744-bcf3-179d217e7d1a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_exdx_CoronavirusAidReliefAndEconomicSecuritiesCARESActProceedsFromLoan_0d0242ba-b557-40a1-b951-8ec36419b5e4" xlink:href="exdx-20200630.xsd#exdx_CoronavirusAidReliefAndEconomicSecuritiesCARESActProceedsFromLoan"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_99d6fb03-8ca6-46c1-b987-9a9c065099ea" xlink:to="loc_exdx_CoronavirusAidReliefAndEconomicSecuritiesCARESActProceedsFromLoan_0d0242ba-b557-40a1-b951-8ec36419b5e4" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_25795324-130d-4f28-a4f1-280e11ea69dc" 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_99d6fb03-8ca6-46c1-b987-9a9c065099ea" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_25795324-130d-4f28-a4f1-280e11ea69dc" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_6d775912-ba8a-4e32-9535-074f63811022" 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_25795324-130d-4f28-a4f1-280e11ea69dc" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_6d775912-ba8a-4e32-9535-074f63811022" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_6d775912-ba8a-4e32-9535-074f63811022_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_6d775912-ba8a-4e32-9535-074f63811022" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_6d775912-ba8a-4e32-9535-074f63811022_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_aab82384-c017-4cf6-8e0a-330825983d3b" 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_6d775912-ba8a-4e32-9535-074f63811022" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_aab82384-c017-4cf6-8e0a-330825983d3b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OneTimeTerminationBenefitsMember_efa3cfd9-06a8-4a24-a940-fc8dd5324480" 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_aab82384-c017-4cf6-8e0a-330825983d3b" xlink:to="loc_us-gaap_OneTimeTerminationBenefitsMember_efa3cfd9-06a8-4a24-a940-fc8dd5324480" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GranteeStatusAxis_eea21039-565c-4db1-8f94-dc060fc270ff" 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_25795324-130d-4f28-a4f1-280e11ea69dc" xlink:to="loc_us-gaap_GranteeStatusAxis_eea21039-565c-4db1-8f94-dc060fc270ff" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GranteeStatusDomain_eea21039-565c-4db1-8f94-dc060fc270ff_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_eea21039-565c-4db1-8f94-dc060fc270ff" xlink:to="loc_us-gaap_GranteeStatusDomain_eea21039-565c-4db1-8f94-dc060fc270ff_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GranteeStatusDomain_deef7c9a-5276-4bd7-bc48-95036d699d26" 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_eea21039-565c-4db1-8f94-dc060fc270ff" xlink:to="loc_us-gaap_GranteeStatusDomain_deef7c9a-5276-4bd7-bc48-95036d699d26" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedPaymentArrangementEmployeeMember_3b4c47eb-f3a4-4786-a1f5-7128c84cdbe1" 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_deef7c9a-5276-4bd7-bc48-95036d699d26" xlink:to="loc_us-gaap_ShareBasedPaymentArrangementEmployeeMember_3b4c47eb-f3a4-4786-a1f5-7128c84cdbe1" xlink:type="arc" order="0"/>
  </link:definitionLink>
</link:linkbase>
