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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:2244afe3-89d8-45aa-96e1-14357c7aaabd,g:06dfb46b-f9c7-4354-8040-3eb33c50a79f-->
<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" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:roleRef roleURI="http://www.denalitherapeutics.com/role/ConsolidatedBalanceSheets" xlink:type="simple" xlink:href="dnli-20251231.xsd#ConsolidatedBalanceSheets"/>
  <link:calculationLink xlink:role="http://www.denalitherapeutics.com/role/ConsolidatedBalanceSheets" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_a1eeeb38-97df-4303-a52f-3f395f7a7b51" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_55ada495-804e-4a98-bb03-01a47251307f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_a1eeeb38-97df-4303-a52f-3f395f7a7b51" xlink:to="loc_us-gaap_Liabilities_55ada495-804e-4a98-bb03-01a47251307f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_2f470370-9360-46ba-9e48-c5de7cf208e5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_a1eeeb38-97df-4303-a52f-3f395f7a7b51" xlink:to="loc_us-gaap_CommitmentsAndContingencies_2f470370-9360-46ba-9e48-c5de7cf208e5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_b8a572e7-0a44-4627-a9d9-9ddc29d0327b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_a1eeeb38-97df-4303-a52f-3f395f7a7b51" xlink:to="loc_us-gaap_StockholdersEquity_b8a572e7-0a44-4627-a9d9-9ddc29d0327b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_66ad158f-2ca6-4322-9d3e-0281b3797e64" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValueOutstanding_727a8025-dff3-4042-b7c3-fc664ad0f7c3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockValueOutstanding"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_66ad158f-2ca6-4322-9d3e-0281b3797e64" xlink:to="loc_us-gaap_PreferredStockValueOutstanding_727a8025-dff3-4042-b7c3-fc664ad0f7c3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValueOutstanding_3b65eb9c-fbae-47a8-8734-c23ad63a4819" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockValueOutstanding"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_66ad158f-2ca6-4322-9d3e-0281b3797e64" xlink:to="loc_us-gaap_CommonStockValueOutstanding_3b65eb9c-fbae-47a8-8734-c23ad63a4819" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_96b9099b-c429-4b3c-a33a-28923944b18c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_66ad158f-2ca6-4322-9d3e-0281b3797e64" xlink:to="loc_us-gaap_AdditionalPaidInCapital_96b9099b-c429-4b3c-a33a-28923944b18c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_cd7f72e4-a12a-48aa-8a5b-bfedf4e948dc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_66ad158f-2ca6-4322-9d3e-0281b3797e64" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_cd7f72e4-a12a-48aa-8a5b-bfedf4e948dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_b0458bcb-465e-41cd-b5fc-fdb0a3994f2f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_66ad158f-2ca6-4322-9d3e-0281b3797e64" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_b0458bcb-465e-41cd-b5fc-fdb0a3994f2f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_16d08f59-bc08-4c1f-98fd-9f3a43229183" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_a8e5f155-180b-4401-9058-011e5b6b1966" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_16d08f59-bc08-4c1f-98fd-9f3a43229183" xlink:to="loc_us-gaap_AssetsCurrent_a8e5f155-180b-4401-9058-011e5b6b1966" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_42045083-f699-4cfe-ab53-db623c22c25a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_16d08f59-bc08-4c1f-98fd-9f3a43229183" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_42045083-f699-4cfe-ab53-db623c22c25a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_fce617cd-58b0-4980-a4db-9ec155764423" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_16d08f59-bc08-4c1f-98fd-9f3a43229183" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_fce617cd-58b0-4980-a4db-9ec155764423" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_366ee2e3-7944-437c-bec4-09f241784be7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_16d08f59-bc08-4c1f-98fd-9f3a43229183" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_366ee2e3-7944-437c-bec4-09f241784be7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAsset_c592c30e-8161-4468-bbf5-b2de07b0ef9c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseRightOfUseAsset"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_16d08f59-bc08-4c1f-98fd-9f3a43229183" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAsset_c592c30e-8161-4468-bbf5-b2de07b0ef9c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecuritiesNoncurrent_143fe020-f643-4eb7-acdc-00570dc9dc5d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MarketableSecuritiesNoncurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_16d08f59-bc08-4c1f-98fd-9f3a43229183" xlink:to="loc_us-gaap_MarketableSecuritiesNoncurrent_143fe020-f643-4eb7-acdc-00570dc9dc5d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_e4f1493c-f07e-4265-acf7-83600f6be91a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_ba728e66-090b-426c-addf-e67bde02e0ca" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_e4f1493c-f07e-4265-acf7-83600f6be91a" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_ba728e66-090b-426c-addf-e67bde02e0ca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecuritiesCurrent_05b3d07a-8048-4932-8d9f-9dc7f8686250" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MarketableSecuritiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_e4f1493c-f07e-4265-acf7-83600f6be91a" xlink:to="loc_us-gaap_MarketableSecuritiesCurrent_05b3d07a-8048-4932-8d9f-9dc7f8686250" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_f183c098-937b-428f-aec6-f4559f637ebf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_e4f1493c-f07e-4265-acf7-83600f6be91a" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_f183c098-937b-428f-aec6-f4559f637ebf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_54f1ae98-82c3-414c-803d-937a8417a863" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_c3a9ec9e-30c2-4061-a3b3-44ad63397d89" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_54f1ae98-82c3-414c-803d-937a8417a863" xlink:to="loc_us-gaap_AccountsPayableCurrent_c3a9ec9e-30c2-4061-a3b3-44ad63397d89" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_362d09c0-b111-4266-b429-c3aa7a7acc84" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_54f1ae98-82c3-414c-803d-937a8417a863" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_362d09c0-b111-4266-b429-c3aa7a7acc84" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_5ad67874-5fb7-497f-9de2-f4c47aca6e91" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_76aadfbf-5271-4673-a7ab-879faa499f65" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_5ad67874-5fb7-497f-9de2-f4c47aca6e91" xlink:to="loc_us-gaap_LiabilitiesCurrent_76aadfbf-5271-4673-a7ab-879faa499f65" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_772557e1-3b9a-46b5-a49f-d0eeb61d41c6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_5ad67874-5fb7-497f-9de2-f4c47aca6e91" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_772557e1-3b9a-46b5-a49f-d0eeb61d41c6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_1aa09f3a-63df-4b75-a15e-bbc2fa867656" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_5ad67874-5fb7-497f-9de2-f4c47aca6e91" xlink:to="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_1aa09f3a-63df-4b75-a15e-bbc2fa867656" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.denalitherapeutics.com/role/ConsolidatedStatementsofOperationsandComprehensiveLoss" xlink:type="simple" xlink:href="dnli-20251231.xsd#ConsolidatedStatementsofOperationsandComprehensiveLoss"/>
  <link:calculationLink xlink:role="http://www.denalitherapeutics.com/role/ConsolidatedStatementsofOperationsandComprehensiveLoss" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_c9777199-8c24-4f46-acfc-5303441daee9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_1f12844c-2b65-41a5-9ad4-02c62a7b83f4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Revenues"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_c9777199-8c24-4f46-acfc-5303441daee9" xlink:to="loc_us-gaap_Revenues_1f12844c-2b65-41a5-9ad4-02c62a7b83f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupNotDiscontinuedOperationGainLossOnDisposal_5cf19eef-2ffa-42ed-8b35-e805a63e69f5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DisposalGroupNotDiscontinuedOperationGainLossOnDisposal"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_c9777199-8c24-4f46-acfc-5303441daee9" xlink:to="loc_us-gaap_DisposalGroupNotDiscontinuedOperationGainLossOnDisposal_5cf19eef-2ffa-42ed-8b35-e805a63e69f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_9dc1e3b4-6b67-4d79-b140-fddbff33bb0d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingExpenses"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_c9777199-8c24-4f46-acfc-5303441daee9" xlink:to="loc_us-gaap_OperatingExpenses_9dc1e3b4-6b67-4d79-b140-fddbff33bb0d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossAttributableToParent_4f46b52c-408f-4e92-9acf-a9c99b723940" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_d51ba698-0130-4004-a328-0905989165e1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossAttributableToParent_4f46b52c-408f-4e92-9acf-a9c99b723940" xlink:to="loc_us-gaap_OperatingIncomeLoss_d51ba698-0130-4004-a328-0905989165e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndOtherIncome_1e83c90b-0468-43be-9f21-08fd2c758ded" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestAndOtherIncome"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossAttributableToParent_4f46b52c-408f-4e92-9acf-a9c99b723940" xlink:to="loc_us-gaap_InterestAndOtherIncome_1e83c90b-0468-43be-9f21-08fd2c758ded" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_b9b54914-e0c4-4794-a006-e41ddc49abbd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossAttributableToParent_b0f8f1e4-2241-48b9-8310-ac0f42848685" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossAttributableToParent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_b9b54914-e0c4-4794-a006-e41ddc49abbd" xlink:to="loc_us-gaap_IncomeLossAttributableToParent_b0f8f1e4-2241-48b9-8310-ac0f42848685" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_39853981-b436-4bdf-8247-45c6a83e172b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_b9b54914-e0c4-4794-a006-e41ddc49abbd" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_39853981-b436-4bdf-8247-45c6a83e172b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_4d839cb2-036f-440d-94c3-0f3571bcef15" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_469acf7c-8602-4986-b2f2-91f3639f2635" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResearchAndDevelopmentExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_4d839cb2-036f-440d-94c3-0f3571bcef15" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_469acf7c-8602-4986-b2f2-91f3639f2635" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_cdb1a31e-bb10-4e65-b30b-2635a4d68897" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_4d839cb2-036f-440d-94c3-0f3571bcef15" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_cdb1a31e-bb10-4e65-b30b-2635a4d68897" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_d01e5e3f-3360-42d4-b3a7-718d8f3a155b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Revenues"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_5fbf0299-04c4-4efd-a2d2-4471d2951c3d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Revenues_d01e5e3f-3360-42d4-b3a7-718d8f3a155b" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_5fbf0299-04c4-4efd-a2d2-4471d2951c3d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_86f518cf-a4b8-4ef5-ae25-c25eb98e03b7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_3a2c0f84-3a5c-4dff-b559-823530f78840" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_86f518cf-a4b8-4ef5-ae25-c25eb98e03b7" xlink:to="loc_us-gaap_NetIncomeLoss_3a2c0f84-3a5c-4dff-b559-823530f78840" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsNetOfTax_d5c64a8a-197a-4221-b6db-a4f266a3a296" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_86f518cf-a4b8-4ef5-ae25-c25eb98e03b7" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentBeforeReclassificationAdjustmentsNetOfTax_d5c64a8a-197a-4221-b6db-a4f266a3a296" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.denalitherapeutics.com/role/ConsolidatedStatementsofCashFlows" xlink:type="simple" xlink:href="dnli-20251231.xsd#ConsolidatedStatementsofCashFlows"/>
  <link:calculationLink xlink:role="http://www.denalitherapeutics.com/role/ConsolidatedStatementsofCashFlows" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_50359cf0-27d2-475c-a270-29da5a99c352" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_7a3a02ed-2d00-4d85-8640-44ff96eee6e5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_50359cf0-27d2-475c-a270-29da5a99c352" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_7a3a02ed-2d00-4d85-8640-44ff96eee6e5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_fc37aa99-596e-44aa-92b5-2f408439a26f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_50359cf0-27d2-475c-a270-29da5a99c352" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_fc37aa99-596e-44aa-92b5-2f408439a26f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeasePrincipalPayments_5fda8f6d-8a8d-4dee-aa4a-d66c30273f4a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeasePrincipalPayments"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_50359cf0-27d2-475c-a270-29da5a99c352" xlink:to="loc_us-gaap_FinanceLeasePrincipalPayments_5fda8f6d-8a8d-4dee-aa4a-d66c30273f4a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfFinancingCosts_019bbaa8-c8d6-7c73-ab38-51041b8e991b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsOfFinancingCosts"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_50359cf0-27d2-475c-a270-29da5a99c352" xlink:to="loc_us-gaap_PaymentsOfFinancingCosts_019bbaa8-c8d6-7c73-ab38-51041b8e991b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_41afe3ae-af18-4540-8030-1ffb2261535e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireMarketableSecurities_2d810a79-797a-4d0e-bc6d-01b75cf9fb72" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireMarketableSecurities"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_41afe3ae-af18-4540-8030-1ffb2261535e" xlink:to="loc_us-gaap_PaymentsToAcquireMarketableSecurities_2d810a79-797a-4d0e-bc6d-01b75cf9fb72" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_d4f1bdfe-2e73-4174-8291-508a7661da20" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_41afe3ae-af18-4540-8030-1ffb2261535e" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_d4f1bdfe-2e73-4174-8291-508a7661da20" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities_fc62be9f-07bf-49c8-8a67-31557cbee167" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_41afe3ae-af18-4540-8030-1ffb2261535e" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities_fc62be9f-07bf-49c8-8a67-31557cbee167" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_08df8026-3cf7-42d4-80e9-deddb9662913" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_e101fa12-ab14-4603-9fab-1f4bd4aa8121" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_08df8026-3cf7-42d4-80e9-deddb9662913" xlink:to="loc_us-gaap_NetIncomeLoss_e101fa12-ab14-4603-9fab-1f4bd4aa8121" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_c1243168-c7db-476b-aafe-9af6bf37fc46" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_08df8026-3cf7-42d4-80e9-deddb9662913" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_c1243168-c7db-476b-aafe-9af6bf37fc46" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_b102f369-b6d8-4282-87ac-fd2b29e7640e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_08df8026-3cf7-42d4-80e9-deddb9662913" xlink:to="loc_us-gaap_ShareBasedCompensation_b102f369-b6d8-4282-87ac-fd2b29e7640e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeAmortizationOfDiscount_abcff7cd-45ba-4e9c-9694-40f789a9fb2d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIncomeAmortizationOfDiscount"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_08df8026-3cf7-42d4-80e9-deddb9662913" xlink:to="loc_us-gaap_InvestmentIncomeAmortizationOfDiscount_abcff7cd-45ba-4e9c-9694-40f789a9fb2d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_IncreaseDecreaseInNonCashOperatingLeaseExpense_094c5255-0230-46ee-bf8b-e72196b4a980" xlink:href="dnli-20251231.xsd#dnli_IncreaseDecreaseInNonCashOperatingLeaseExpense"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_08df8026-3cf7-42d4-80e9-deddb9662913" xlink:to="loc_dnli_IncreaseDecreaseInNonCashOperatingLeaseExpense_094c5255-0230-46ee-bf8b-e72196b4a980" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_038a8d95-7361-4065-be32-ca3a3a29ec5f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseRightOfUseAssetAmortization"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_08df8026-3cf7-42d4-80e9-deddb9662913" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_038a8d95-7361-4065-be32-ca3a3a29ec5f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnDispositionOfAssets1_105ab806-1d18-47cf-80c2-a557c71d35c5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnDispositionOfAssets1"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_08df8026-3cf7-42d4-80e9-deddb9662913" xlink:to="loc_us-gaap_GainLossOnDispositionOfAssets1_105ab806-1d18-47cf-80c2-a557c71d35c5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_56b6bcc9-1da3-4d63-b17f-dda14458689b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNoncashIncomeExpense"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_08df8026-3cf7-42d4-80e9-deddb9662913" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_56b6bcc9-1da3-4d63-b17f-dda14458689b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_91cc298e-8bf1-4922-b54f-d8c09e60ddba" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_08df8026-3cf7-42d4-80e9-deddb9662913" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_91cc298e-8bf1-4922-b54f-d8c09e60ddba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_bee01223-a0fb-4ff5-8376-ca4659731ad3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentAssets"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_08df8026-3cf7-42d4-80e9-deddb9662913" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_bee01223-a0fb-4ff5-8376-ca4659731ad3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_7849b214-cd0a-4fb7-b857-b08386bec9fb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_08df8026-3cf7-42d4-80e9-deddb9662913" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_7849b214-cd0a-4fb7-b857-b08386bec9fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_fb0c9050-7848-4847-8344-6c0fbc269557" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_08df8026-3cf7-42d4-80e9-deddb9662913" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_fb0c9050-7848-4847-8344-6c0fbc269557" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_IncreaseDecreaseInContractWithCustomerLiabilityRelatedParties_f0ec7bc9-3a58-442c-8a91-d1a9eca22a9c" xlink:href="dnli-20251231.xsd#dnli_IncreaseDecreaseInContractWithCustomerLiabilityRelatedParties"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_08df8026-3cf7-42d4-80e9-deddb9662913" xlink:to="loc_dnli_IncreaseDecreaseInContractWithCustomerLiabilityRelatedParties_f0ec7bc9-3a58-442c-8a91-d1a9eca22a9c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_IncreaseDecreaseInDeferredLiabilityCapitalizedResearchAndDevelopmentCosts_5f18b1b6-637a-4d76-ae05-e584c0887c13" xlink:href="dnli-20251231.xsd#dnli_IncreaseDecreaseInDeferredLiabilityCapitalizedResearchAndDevelopmentCosts"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_08df8026-3cf7-42d4-80e9-deddb9662913" xlink:to="loc_dnli_IncreaseDecreaseInDeferredLiabilityCapitalizedResearchAndDevelopmentCosts_5f18b1b6-637a-4d76-ae05-e584c0887c13" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities_d1b11ba2-8231-4e9b-84be-01fcee293cec" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_08df8026-3cf7-42d4-80e9-deddb9662913" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities_d1b11ba2-8231-4e9b-84be-01fcee293cec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_de0aaabd-9a5f-40b8-bd87-8c520e323e04" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_70abcbbf-e353-4493-8d08-19b43bfee080" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_de0aaabd-9a5f-40b8-bd87-8c520e323e04" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_70abcbbf-e353-4493-8d08-19b43bfee080" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_cddb457c-b08c-47f6-8521-f4a27f8d0287" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_de0aaabd-9a5f-40b8-bd87-8c520e323e04" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_cddb457c-b08c-47f6-8521-f4a27f8d0287" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_47474ba8-58ed-4284-b0c1-15b6822a4e60" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_de0aaabd-9a5f-40b8-bd87-8c520e323e04" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_47474ba8-58ed-4284-b0c1-15b6822a4e60" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.denalitherapeutics.com/role/FairValueMeasurementsScheduleofAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="dnli-20251231.xsd#FairValueMeasurementsScheduleofAssetsandLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.denalitherapeutics.com/role/FairValueMeasurementsScheduleofAssetsandLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_ad383611-c80c-4202-895b-628c462976f4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_fed77142-83d6-4ece-9267-415776d19f59" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_ad383611-c80c-4202-895b-628c462976f4" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecuritiesCurrent_fed77142-83d6-4ece-9267-415776d19f59" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_c46ab5d1-e925-4b69-a7a2-27fe5464e8d4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_ad383611-c80c-4202-895b-628c462976f4" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_c46ab5d1-e925-4b69-a7a2-27fe5464e8d4" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.denalitherapeutics.com/role/MarketableSecuritiesScheduleofAvailableforSaleSecuritiesDetails" xlink:type="simple" xlink:href="dnli-20251231.xsd#MarketableSecuritiesScheduleofAvailableforSaleSecuritiesDetails"/>
  <link:calculationLink xlink:role="http://www.denalitherapeutics.com/role/MarketableSecuritiesScheduleofAvailableforSaleSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_171000f3-eed4-4ad5-93a9-2a87b4e36c35" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_5e97d6bb-ac5a-4c08-904d-7fe9e23e5e0f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_171000f3-eed4-4ad5-93a9-2a87b4e36c35" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_5e97d6bb-ac5a-4c08-904d-7fe9e23e5e0f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_cb9afc26-7af6-4346-8cbd-a246d3de9aa9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_171000f3-eed4-4ad5-93a9-2a87b4e36c35" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_cb9afc26-7af6-4346-8cbd-a246d3de9aa9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_a1932894-3c1e-492d-9f96-b0fff726821b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_171000f3-eed4-4ad5-93a9-2a87b4e36c35" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_a1932894-3c1e-492d-9f96-b0fff726821b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.denalitherapeutics.com/role/BalanceSheetComponentsScheduleofPrepaidExpensesandOtherCurrentAssetsDetails" xlink:type="simple" xlink:href="dnli-20251231.xsd#BalanceSheetComponentsScheduleofPrepaidExpensesandOtherCurrentAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.denalitherapeutics.com/role/BalanceSheetComponentsScheduleofPrepaidExpensesandOtherCurrentAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_2ea3de65-1a2e-4902-9253-54c9d3826566" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_PrepaidClinicalResearchAndDevelopmentExpenseCurrent_c5bea64c-0af9-473b-9bf1-e345e50eeb31" xlink:href="dnli-20251231.xsd#dnli_PrepaidClinicalResearchAndDevelopmentExpenseCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_2ea3de65-1a2e-4902-9253-54c9d3826566" xlink:to="loc_dnli_PrepaidClinicalResearchAndDevelopmentExpenseCurrent_c5bea64c-0af9-473b-9bf1-e345e50eeb31" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_PrepaidManufacturingAndOtherResearchAndDevelopmentExpenseCurrent_60733788-211f-4b0c-9655-f71ff467a6a7" xlink:href="dnli-20251231.xsd#dnli_PrepaidManufacturingAndOtherResearchAndDevelopmentExpenseCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_2ea3de65-1a2e-4902-9253-54c9d3826566" xlink:to="loc_dnli_PrepaidManufacturingAndOtherResearchAndDevelopmentExpenseCurrent_60733788-211f-4b0c-9655-f71ff467a6a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_OtherPrepaidExpenseAndOtherAssetsCurrent_7ecad365-ebe2-436a-b4c6-0a764278661f" xlink:href="dnli-20251231.xsd#dnli_OtherPrepaidExpenseAndOtherAssetsCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_2ea3de65-1a2e-4902-9253-54c9d3826566" xlink:to="loc_dnli_OtherPrepaidExpenseAndOtherAssetsCurrent_7ecad365-ebe2-436a-b4c6-0a764278661f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsAndOtherReceivablesNetCurrent_d5b58d73-a5c6-4579-84f9-1f0d515655a0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsAndOtherReceivablesNetCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_2ea3de65-1a2e-4902-9253-54c9d3826566" xlink:to="loc_us-gaap_AccountsAndOtherReceivablesNetCurrent_d5b58d73-a5c6-4579-84f9-1f0d515655a0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.denalitherapeutics.com/role/BalanceSheetComponentsScheduleofPropertyandEquipmentNetDetails" xlink:type="simple" xlink:href="dnli-20251231.xsd#BalanceSheetComponentsScheduleofPropertyandEquipmentNetDetails"/>
  <link:calculationLink xlink:role="http://www.denalitherapeutics.com/role/BalanceSheetComponentsScheduleofPropertyandEquipmentNetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_3fe1c238-1202-4d58-b1e1-69d22e438ef2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_ce2f25a3-d6f6-47a7-bb95-3d7f28344ffc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_3fe1c238-1202-4d58-b1e1-69d22e438ef2" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_ce2f25a3-d6f6-47a7-bb95-3d7f28344ffc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_083e3801-2c7e-440d-849b-8d0102c27294" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_3fe1c238-1202-4d58-b1e1-69d22e438ef2" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_083e3801-2c7e-440d-849b-8d0102c27294" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.denalitherapeutics.com/role/BalanceSheetComponentsScheduleofAccruedExpensesandOtherCurrentLiabilitiesDetails" xlink:type="simple" xlink:href="dnli-20251231.xsd#BalanceSheetComponentsScheduleofAccruedExpensesandOtherCurrentLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.denalitherapeutics.com/role/BalanceSheetComponentsScheduleofAccruedExpensesandOtherCurrentLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_92c4d2b0-a5d7-4698-b113-db747b1e023b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_9def9101-a5ca-4bf7-9f67-8e5fb3326265" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_92c4d2b0-a5d7-4698-b113-db747b1e023b" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_9def9101-a5ca-4bf7-9f67-8e5fb3326265" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_AccruedClinicalAndOtherAccruedResearchAndDevelopmentCosts_15c31c5b-62e9-4f0d-b9c8-58bd784d53b8" xlink:href="dnli-20251231.xsd#dnli_AccruedClinicalAndOtherAccruedResearchAndDevelopmentCosts"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_92c4d2b0-a5d7-4698-b113-db747b1e023b" xlink:to="loc_dnli_AccruedClinicalAndOtherAccruedResearchAndDevelopmentCosts_15c31c5b-62e9-4f0d-b9c8-58bd784d53b8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_OtherAccruedManufacturingCosts_6642469d-b5c4-47cc-96d2-fc0f823c7216" xlink:href="dnli-20251231.xsd#dnli_OtherAccruedManufacturingCosts"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_92c4d2b0-a5d7-4698-b113-db747b1e023b" xlink:to="loc_dnli_OtherAccruedManufacturingCosts_6642469d-b5c4-47cc-96d2-fc0f823c7216" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_OtherAccruedCostsAndOtherLiabilitiesCurrent_9d924218-f5a5-4e2e-95d6-9aa368ec15a9" xlink:href="dnli-20251231.xsd#dnli_OtherAccruedCostsAndOtherLiabilitiesCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_92c4d2b0-a5d7-4698-b113-db747b1e023b" xlink:to="loc_dnli_OtherAccruedCostsAndOtherLiabilitiesCurrent_9d924218-f5a5-4e2e-95d6-9aa368ec15a9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityCurrent_9f16e085-0bdc-44a7-ba9b-ff546b6a5ebd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_92c4d2b0-a5d7-4698-b113-db747b1e023b" xlink:to="loc_us-gaap_FinanceLeaseLiabilityCurrent_9f16e085-0bdc-44a7-ba9b-ff546b6a5ebd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_0b31b8df-a5f5-4dc8-8010-e6440802cf08" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_92c4d2b0-a5d7-4698-b113-db747b1e023b" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_0b31b8df-a5f5-4dc8-8010-e6440802cf08" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_DeferredResearchAndDevelopmentFundingLiabilityCurrent_8f09c1ca-fd42-451a-bbf4-9917fd7a24bd" xlink:href="dnli-20251231.xsd#dnli_DeferredResearchAndDevelopmentFundingLiabilityCurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_92c4d2b0-a5d7-4698-b113-db747b1e023b" xlink:to="loc_dnli_DeferredResearchAndDevelopmentFundingLiabilityCurrent_8f09c1ca-fd42-451a-bbf4-9917fd7a24bd" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.denalitherapeutics.com/role/CommitmentsandContingenciesScheduleofSummarizesLeaseCostsDetails" xlink:type="simple" xlink:href="dnli-20251231.xsd#CommitmentsandContingenciesScheduleofSummarizesLeaseCostsDetails"/>
  <link:calculationLink xlink:role="http://www.denalitherapeutics.com/role/CommitmentsandContingenciesScheduleofSummarizesLeaseCostsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseCost_019bbabd-1882-7c1f-ac7c-fc89265323c0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LeaseCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseCost_019bbabd-1882-7d9c-b62d-5e69d1732503" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_019bbabd-1882-7c1f-ac7c-fc89265323c0" xlink:to="loc_us-gaap_OperatingLeaseCost_019bbabd-1882-7d9c-b62d-5e69d1732503" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_019bbabd-1882-7884-847f-883759b5480d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseRightOfUseAssetAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_019bbabd-1882-7c1f-ac7c-fc89265323c0" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAssetAmortization_019bbabd-1882-7884-847f-883759b5480d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseInterestExpense_019bbabd-1882-7b36-9a15-2a78ebd6f009" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseInterestExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_019bbabd-1882-7c1f-ac7c-fc89265323c0" xlink:to="loc_us-gaap_FinanceLeaseInterestExpense_019bbabd-1882-7b36-9a15-2a78ebd6f009" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableLeaseCost_019bbabd-1882-7c72-a6b4-922a8b5c62a1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableLeaseCost"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LeaseCost_019bbabd-1882-7c1f-ac7c-fc89265323c0" xlink:to="loc_us-gaap_VariableLeaseCost_019bbabd-1882-7c72-a6b4-922a8b5c62a1" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.denalitherapeutics.com/role/CommitmentsandContingenciesScheduleofCompanysFutureMinimumLeaseCommitmentsDetails" xlink:type="simple" xlink:href="dnli-20251231.xsd#CommitmentsandContingenciesScheduleofCompanysFutureMinimumLeaseCommitmentsDetails"/>
  <link:calculationLink xlink:role="http://www.denalitherapeutics.com/role/CommitmentsandContingenciesScheduleofCompanysFutureMinimumLeaseCommitmentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_08fc0fe1-a6f1-44e1-b8c5-1de52a073f4c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_18b0da1e-e825-4bc9-b78a-0a318ba73068" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_08fc0fe1-a6f1-44e1-b8c5-1de52a073f4c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_18b0da1e-e825-4bc9-b78a-0a318ba73068" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_2f27462a-2fa8-44b3-8668-8a16c3c8215a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_08fc0fe1-a6f1-44e1-b8c5-1de52a073f4c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_2f27462a-2fa8-44b3-8668-8a16c3c8215a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_1164e647-754e-4d4a-a3c2-fa1984043570" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_08fc0fe1-a6f1-44e1-b8c5-1de52a073f4c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_1164e647-754e-4d4a-a3c2-fa1984043570" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_b716d576-d2bd-4230-9bc8-c17ccf2f5180" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_08fc0fe1-a6f1-44e1-b8c5-1de52a073f4c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_b716d576-d2bd-4230-9bc8-c17ccf2f5180" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_55ddff19-e9ed-42fe-aa15-f9552e056509" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_08fc0fe1-a6f1-44e1-b8c5-1de52a073f4c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_55ddff19-e9ed-42fe-aa15-f9552e056509" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_07314852-cf91-4d60-8c86-0b1043976e67" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_08fc0fe1-a6f1-44e1-b8c5-1de52a073f4c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_07314852-cf91-4d60-8c86-0b1043976e67" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_d56caea5-b111-4902-8c89-249c9d5506eb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_0edfdc36-b011-46f1-9d76-10fe77866275" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_d56caea5-b111-4902-8c89-249c9d5506eb" xlink:to="loc_us-gaap_FinanceLeaseLiabilityUndiscountedExcessAmount_0edfdc36-b011-46f1-9d76-10fe77866275" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiability_4d90df01-d0d5-4160-86c3-1496bc8480a8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_d56caea5-b111-4902-8c89-249c9d5506eb" xlink:to="loc_us-gaap_FinanceLeaseLiability_4d90df01-d0d5-4160-86c3-1496bc8480a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_FinanceLeaseLiabilityImputedInterest_1b6393ca-d6e5-4b8d-b204-aaca95992959" xlink:href="dnli-20251231.xsd#dnli_FinanceLeaseLiabilityImputedInterest"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_d56caea5-b111-4902-8c89-249c9d5506eb" xlink:to="loc_dnli_FinanceLeaseLiabilityImputedInterest_1b6393ca-d6e5-4b8d-b204-aaca95992959" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.denalitherapeutics.com/role/CommitmentsandContingenciesScheduleofCompanysFutureMinimumLeaseCommitmentsDetails_1" xlink:type="simple" xlink:href="dnli-20251231.xsd#CommitmentsandContingenciesScheduleofCompanysFutureMinimumLeaseCommitmentsDetails_1"/>
  <link:calculationLink xlink:role="http://www.denalitherapeutics.com/role/CommitmentsandContingenciesScheduleofCompanysFutureMinimumLeaseCommitmentsDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_1813825e-1cc6-4afc-90d4-8d4229a1c327" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_a474ffcd-b506-4dfa-be93-2e20a0874fa9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_1813825e-1cc6-4afc-90d4-8d4229a1c327" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_a474ffcd-b506-4dfa-be93-2e20a0874fa9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_92708054-b590-419b-97b8-ecf7bf005fa3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_1813825e-1cc6-4afc-90d4-8d4229a1c327" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_92708054-b590-419b-97b8-ecf7bf005fa3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive_5e580a68-2c49-4a00-ba63-cfd04f01b350" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_1813825e-1cc6-4afc-90d4-8d4229a1c327" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive_5e580a68-2c49-4a00-ba63-cfd04f01b350" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_279d90f7-e9a7-426b-95d5-a576a410dc61" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_1813825e-1cc6-4afc-90d4-8d4229a1c327" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_279d90f7-e9a7-426b-95d5-a576a410dc61" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_02ffa038-aecf-40a5-9404-192119a36866" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_1813825e-1cc6-4afc-90d4-8d4229a1c327" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_02ffa038-aecf-40a5-9404-192119a36866" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive_bed5fc8b-c8d9-4947-b3e2-86ab289ca437" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_1813825e-1cc6-4afc-90d4-8d4229a1c327" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive_bed5fc8b-c8d9-4947-b3e2-86ab289ca437" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_d3e0a517-982b-4071-8f9d-11b975ec49d5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_18ec2fc1-fe51-44bd-b774-96b9e150b6d1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_d3e0a517-982b-4071-8f9d-11b975ec49d5" xlink:to="loc_us-gaap_OperatingLeaseLiability_18ec2fc1-fe51-44bd-b774-96b9e150b6d1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_LesseeOperatingLeaseLiabilityImputedInterest_6d00d16d-17c0-49ae-ad82-1a91fe1cd0fb" xlink:href="dnli-20251231.xsd#dnli_LesseeOperatingLeaseLiabilityImputedInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_d3e0a517-982b-4071-8f9d-11b975ec49d5" xlink:to="loc_dnli_LesseeOperatingLeaseLiabilityImputedInterest_6d00d16d-17c0-49ae-ad82-1a91fe1cd0fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_683ccc80-2df4-4bbf-b376-7f2c465c8d82" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_d3e0a517-982b-4071-8f9d-11b975ec49d5" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_683ccc80-2df4-4bbf-b376-7f2c465c8d82" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.denalitherapeutics.com/role/IncomeTaxesScheduleofProvisionforIncomeTaxesDetails" xlink:type="simple" xlink:href="dnli-20251231.xsd#IncomeTaxesScheduleofProvisionforIncomeTaxesDetails"/>
  <link:calculationLink xlink:role="http://www.denalitherapeutics.com/role/IncomeTaxesScheduleofProvisionforIncomeTaxesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_7644b441-2ff1-4591-b7cf-871f056f00c1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_19bcb7b2-cb5d-4ae9-ae81-f2ac3788edaa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_7644b441-2ff1-4591-b7cf-871f056f00c1" xlink:to="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_19bcb7b2-cb5d-4ae9-ae81-f2ac3788edaa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_14b80564-e420-4a8e-b641-6b65e67001e5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_7644b441-2ff1-4591-b7cf-871f056f00c1" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_14b80564-e420-4a8e-b641-6b65e67001e5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_038d03c3-68bc-4b88-9a73-48d23a930cd5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentFederalTaxExpenseBenefit_2a6b198a-d951-4056-9449-0b059df37fc1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentFederalTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_038d03c3-68bc-4b88-9a73-48d23a930cd5" xlink:to="loc_us-gaap_CurrentFederalTaxExpenseBenefit_2a6b198a-d951-4056-9449-0b059df37fc1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_8254aff7-616c-40ab-8fa4-d0e360f3e86f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentStateAndLocalTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_038d03c3-68bc-4b88-9a73-48d23a930cd5" xlink:to="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_8254aff7-616c-40ab-8fa4-d0e360f3e86f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentForeignTaxExpenseBenefit_c9bcf635-8486-443a-8b40-c148e6dc1ffd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentForeignTaxExpenseBenefit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_038d03c3-68bc-4b88-9a73-48d23a930cd5" xlink:to="loc_us-gaap_CurrentForeignTaxExpenseBenefit_c9bcf635-8486-443a-8b40-c148e6dc1ffd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_d82cf511-2593-4637-95d9-9bc33f0eb7ff" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_f71071c8-f811-49fc-b081-2084ab82c3d8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredFederalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_d82cf511-2593-4637-95d9-9bc33f0eb7ff" xlink:to="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_f71071c8-f811-49fc-b081-2084ab82c3d8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_81ef78bf-3ec4-4b77-8cea-99951d199ef9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_d82cf511-2593-4637-95d9-9bc33f0eb7ff" xlink:to="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_81ef78bf-3ec4-4b77-8cea-99951d199ef9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_08f1a3dd-42f0-479d-abd7-1b5e05483e26" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredForeignIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_d82cf511-2593-4637-95d9-9bc33f0eb7ff" xlink:to="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_08f1a3dd-42f0-479d-abd7-1b5e05483e26" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.denalitherapeutics.com/role/IncomeTaxesScheduleofEffectiveTaxRateReconciliationDetails" xlink:type="simple" xlink:href="dnli-20251231.xsd#IncomeTaxesScheduleofEffectiveTaxRateReconciliationDetails"/>
  <link:calculationLink xlink:role="http://www.denalitherapeutics.com/role/IncomeTaxesScheduleofEffectiveTaxRateReconciliationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_dd33b49a-c076-4f37-bd1f-7431dcfb78b3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_2dee86ef-7d4c-4a89-8559-16015a0f1380" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_dd33b49a-c076-4f37-bd1f-7431dcfb78b3" xlink:to="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_2dee86ef-7d4c-4a89-8559-16015a0f1380" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_023deb0d-2678-4cca-a4a2-bfc5792fb9b5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_dd33b49a-c076-4f37-bd1f-7431dcfb78b3" xlink:to="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_023deb0d-2678-4cca-a4a2-bfc5792fb9b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential_0b780e13-3793-4591-b061-150cd53da53b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_dd33b49a-c076-4f37-bd1f-7431dcfb78b3" xlink:to="loc_us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential_0b780e13-3793-4591-b061-150cd53da53b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationCrossBorderTaxEffectAmount_8ca64781-3f91-483c-b8bc-d694ff3f209d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationCrossBorderTaxEffectAmount"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_dd33b49a-c076-4f37-bd1f-7431dcfb78b3" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationCrossBorderTaxEffectAmount_8ca64781-3f91-483c-b8bc-d694ff3f209d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_e0c4d3b3-efef-4545-ac16-4868c30fad28" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_dd33b49a-c076-4f37-bd1f-7431dcfb78b3" xlink:to="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_e0c4d3b3-efef-4545-ac16-4868c30fad28" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxCreditsResearch_d1ce2526-3462-4d7b-9ea8-a1af19a8b0cb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationTaxCreditsResearch"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_dd33b49a-c076-4f37-bd1f-7431dcfb78b3" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxCreditsResearch_d1ce2526-3462-4d7b-9ea8-a1af19a8b0cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationChangeInEnactedTaxRate_2ee7b169-4224-4a7b-b4d6-dfbcb2e46422" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationChangeInEnactedTaxRate"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_dd33b49a-c076-4f37-bd1f-7431dcfb78b3" xlink:to="loc_us-gaap_IncomeTaxReconciliationChangeInEnactedTaxRate_2ee7b169-4224-4a7b-b4d6-dfbcb2e46422" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost_f8a8e0ae-05d8-470a-a3b3-7e9145890c4d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_dd33b49a-c076-4f37-bd1f-7431dcfb78b3" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost_f8a8e0ae-05d8-470a-a3b3-7e9145890c4d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseAcquisitionRelatedCostsAmount_d420c12e-98c2-42af-9c77-7f724d1974f3" xlink:href="dnli-20251231.xsd#dnli_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseAcquisitionRelatedCostsAmount"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_dd33b49a-c076-4f37-bd1f-7431dcfb78b3" xlink:to="loc_dnli_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseAcquisitionRelatedCostsAmount_d420c12e-98c2-42af-9c77-7f724d1974f3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther_9887f3d5-04de-4bce-b7da-0a108cef07da" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_dd33b49a-c076-4f37-bd1f-7431dcfb78b3" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseOther_9887f3d5-04de-4bce-b7da-0a108cef07da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxContingencies_8dc1d596-496b-4493-beea-8c3d8149ac4b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationTaxContingencies"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_dd33b49a-c076-4f37-bd1f-7431dcfb78b3" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxContingencies_8dc1d596-496b-4493-beea-8c3d8149ac4b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_019b6e78-a560-776c-bdcc-86e612327db4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationOtherAdjustments"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_dd33b49a-c076-4f37-bd1f-7431dcfb78b3" xlink:to="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_019b6e78-a560-776c-bdcc-86e612327db4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_ec1c9d80-8bd3-4eef-b03d-0fda1a11c5b1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_55ed0eb8-f624-4362-92b0-86a906fe9d27" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_ec1c9d80-8bd3-4eef-b03d-0fda1a11c5b1" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_55ed0eb8-f624-4362-92b0-86a906fe9d27" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_ff3d1d02-430c-45b6-966f-7e8ee60685ce" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_ec1c9d80-8bd3-4eef-b03d-0fda1a11c5b1" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_ff3d1d02-430c-45b6-966f-7e8ee60685ce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_59e2a24f-de89-4b98-b916-c84bbc893e53" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_ec1c9d80-8bd3-4eef-b03d-0fda1a11c5b1" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_59e2a24f-de89-4b98-b916-c84bbc893e53" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationCrossBorderTaxEffectPercent_d20d8043-7ded-4e6f-9ee1-c552e739feb9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationCrossBorderTaxEffectPercent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_ec1c9d80-8bd3-4eef-b03d-0fda1a11c5b1" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationCrossBorderTaxEffectPercent_d20d8043-7ded-4e6f-9ee1-c552e739feb9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_bac20073-f913-4981-ae05-930d3c3739a5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_ec1c9d80-8bd3-4eef-b03d-0fda1a11c5b1" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_bac20073-f913-4981-ae05-930d3c3739a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch_623b94b2-edeb-4823-90eb-7f9e9ed80168" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_ec1c9d80-8bd3-4eef-b03d-0fda1a11c5b1" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch_623b94b2-edeb-4823-90eb-7f9e9ed80168" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInEnactedTaxRate_b21815ab-b8de-4a24-ad6c-0877a2075eb7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationChangeInEnactedTaxRate"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_ec1c9d80-8bd3-4eef-b03d-0fda1a11c5b1" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInEnactedTaxRate_b21815ab-b8de-4a24-ad6c-0877a2075eb7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost_c8333649-09ab-412c-8d75-e083ecf700e5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_ec1c9d80-8bd3-4eef-b03d-0fda1a11c5b1" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost_c8333649-09ab-412c-8d75-e083ecf700e5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseAcquisitionRelatedCostsPercent_65999f77-a321-4b04-8e21-edbf781266e8" xlink:href="dnli-20251231.xsd#dnli_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseAcquisitionRelatedCostsPercent"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_ec1c9d80-8bd3-4eef-b03d-0fda1a11c5b1" xlink:to="loc_dnli_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseAcquisitionRelatedCostsPercent_65999f77-a321-4b04-8e21-edbf781266e8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseOther_074fdfbc-37b0-4868-be3a-06339e8e05a3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseOther"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_ec1c9d80-8bd3-4eef-b03d-0fda1a11c5b1" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseOther_074fdfbc-37b0-4868-be3a-06339e8e05a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxContingencies_d6cc0984-66f7-408d-b5d9-830167ee702a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxContingencies"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_ec1c9d80-8bd3-4eef-b03d-0fda1a11c5b1" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxContingencies_d6cc0984-66f7-408d-b5d9-830167ee702a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_019b6e78-3caf-7e25-a668-c66a4bbcff2b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_ec1c9d80-8bd3-4eef-b03d-0fda1a11c5b1" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_019b6e78-3caf-7e25-a668-c66a4bbcff2b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.denalitherapeutics.com/role/IncomeTaxesScheduleofDeferredTaxAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="dnli-20251231.xsd#IncomeTaxesScheduleofDeferredTaxAssetsandLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.denalitherapeutics.com/role/IncomeTaxesScheduleofDeferredTaxAssetsandLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_de387e7d-4e22-4142-ab63-4ff2a70cb6d1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_403b4a25-48d0-4c92-a1f3-042638a3350b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_de387e7d-4e22-4142-ab63-4ff2a70cb6d1" xlink:to="loc_us-gaap_DeferredTaxAssetsNet_403b4a25-48d0-4c92-a1f3-042638a3350b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesLeasingArrangements_3432ba75-9cf4-4ca0-8c7a-46146c331651" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxLiabilitiesLeasingArrangements"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_de387e7d-4e22-4142-ab63-4ff2a70cb6d1" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesLeasingArrangements_3432ba75-9cf4-4ca0-8c7a-46146c331651" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_8ee3216a-01df-4901-a2f7-d3160a31ae20" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_0fa43517-8a4c-493b-a718-912376d9e544" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwards"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_8ee3216a-01df-4901-a2f7-d3160a31ae20" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_0fa43517-8a4c-493b-a718-912376d9e544" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwards_2c8467db-8e7e-42d0-bd16-aee027d9130a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsTaxCreditCarryforwards"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_8ee3216a-01df-4901-a2f7-d3160a31ae20" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwards_2c8467db-8e7e-42d0-bd16-aee027d9130a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_DeferredTaxAssetsLeaseLiability_96ff5950-d29c-4c79-979e-ff4fd2c1d8c9" xlink:href="dnli-20251231.xsd#dnli_DeferredTaxAssetsLeaseLiability"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_8ee3216a-01df-4901-a2f7-d3160a31ae20" xlink:to="loc_dnli_DeferredTaxAssetsLeaseLiability_96ff5950-d29c-4c79-979e-ff4fd2c1d8c9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_1f970629-c56c-4129-9fd9-7475dd7a9b7d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_8ee3216a-01df-4901-a2f7-d3160a31ae20" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_1f970629-c56c-4129-9fd9-7475dd7a9b7d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOther_913f87c5-60f8-4025-8617-ccaeae5f3095" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsOther"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_8ee3216a-01df-4901-a2f7-d3160a31ae20" xlink:to="loc_us-gaap_DeferredTaxAssetsOther_913f87c5-60f8-4025-8617-ccaeae5f3095" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_DeferredTaxAssetsResearchExpenseCapitalization_218fab43-90ce-490d-818f-acca5363cb0d" xlink:href="dnli-20251231.xsd#dnli_DeferredTaxAssetsResearchExpenseCapitalization"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_8ee3216a-01df-4901-a2f7-d3160a31ae20" xlink:to="loc_dnli_DeferredTaxAssetsResearchExpenseCapitalization_218fab43-90ce-490d-818f-acca5363cb0d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsPropertyPlantAndEquipment_0cc58b8d-f74f-4b5f-88d0-3347c8d263f0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsPropertyPlantAndEquipment"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_8ee3216a-01df-4901-a2f7-d3160a31ae20" xlink:to="loc_us-gaap_DeferredTaxAssetsPropertyPlantAndEquipment_0cc58b8d-f74f-4b5f-88d0-3347c8d263f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_211777d3-e486-4238-a104-9ed883602e98" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_a0a595fc-bf21-4387-a211-b4bb0dbd6ebd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_211777d3-e486-4238-a104-9ed883602e98" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_a0a595fc-bf21-4387-a211-b4bb0dbd6ebd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_27b6f337-07d6-4ffb-a0c0-01fc24707bb3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_211777d3-e486-4238-a104-9ed883602e98" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_27b6f337-07d6-4ffb-a0c0-01fc24707bb3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.denalitherapeutics.com/role/NetLossandNetLossPerShareScheduleofCalculationofBasicandDilutedNetLossDetails" xlink:type="simple" xlink:href="dnli-20251231.xsd#NetLossandNetLossPerShareScheduleofCalculationofBasicandDilutedNetLossDetails"/>
  <link:calculationLink xlink:role="http://www.denalitherapeutics.com/role/NetLossandNetLossPerShareScheduleofCalculationofBasicandDilutedNetLossDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_db2c758c-c09a-4ded-917e-e876f7aa20e3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesIssuedBasic_1d9d1898-efbe-4542-8331-a007d423e514" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfSharesIssuedBasic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_db2c758c-c09a-4ded-917e-e876f7aa20e3" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesIssuedBasic_1d9d1898-efbe-4542-8331-a007d423e514" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToCallOptionsAndWarrants_90d8609f-c56f-4014-8744-82601e7d9d3e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncrementalCommonSharesAttributableToCallOptionsAndWarrants"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_db2c758c-c09a-4ded-917e-e876f7aa20e3" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToCallOptionsAndWarrants_90d8609f-c56f-4014-8744-82601e7d9d3e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_b2a65efe-078c-4f53-a2e9-342a2f9e15a8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToCallOptionsAndWarrants_e8c5eeac-f507-4a19-81d1-ea9ecee94ae2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncrementalCommonSharesAttributableToCallOptionsAndWarrants"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_b2a65efe-078c-4f53-a2e9-342a2f9e15a8" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToCallOptionsAndWarrants_e8c5eeac-f507-4a19-81d1-ea9ecee94ae2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesIssuedBasic_f43f601b-84c4-4b27-80ca-f532a8273bc3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfSharesIssuedBasic"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_b2a65efe-078c-4f53-a2e9-342a2f9e15a8" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesIssuedBasic_f43f601b-84c4-4b27-80ca-f532a8273bc3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.denalitherapeutics.com/role/SegmentInformationDetails" xlink:type="simple" xlink:href="dnli-20251231.xsd#SegmentInformationDetails"/>
  <link:calculationLink xlink:role="http://www.denalitherapeutics.com/role/SegmentInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_d23a5091-7192-4f86-8b53-1387ecfd32af" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResearchAndDevelopmentExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_PersonnelRelatedResearchAndDevelopmentExpense_4270e963-bfe7-414c-b66a-41b57796d1d1" xlink:href="dnli-20251231.xsd#dnli_PersonnelRelatedResearchAndDevelopmentExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ResearchAndDevelopmentExpense_d23a5091-7192-4f86-8b53-1387ecfd32af" xlink:to="loc_dnli_PersonnelRelatedResearchAndDevelopmentExpense_4270e963-bfe7-414c-b66a-41b57796d1d1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherResearchAndDevelopmentExpense_64fe1bd0-f685-4c7a-91e7-868ff6c6a354" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherResearchAndDevelopmentExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ResearchAndDevelopmentExpense_d23a5091-7192-4f86-8b53-1387ecfd32af" xlink:to="loc_us-gaap_OtherResearchAndDevelopmentExpense_64fe1bd0-f685-4c7a-91e7-868ff6c6a354" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_ExternalResearchAndDevelopmentExpense_9ad95cc1-8298-4976-9945-c5439b26dabd" xlink:href="dnli-20251231.xsd#dnli_ExternalResearchAndDevelopmentExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ResearchAndDevelopmentExpense_d23a5091-7192-4f86-8b53-1387ecfd32af" xlink:to="loc_dnli_ExternalResearchAndDevelopmentExpense_9ad95cc1-8298-4976-9945-c5439b26dabd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_6a10aff6-6dce-48f2-b4b6-3851a1fd70d6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_dnli_PersonnelRelatedGeneralAndAdministrativeExpense_44149ecb-748e-4fce-825e-d58b80032fe6" xlink:href="dnli-20251231.xsd#dnli_PersonnelRelatedGeneralAndAdministrativeExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GeneralAndAdministrativeExpense_6a10aff6-6dce-48f2-b4b6-3851a1fd70d6" xlink:to="loc_dnli_PersonnelRelatedGeneralAndAdministrativeExpense_44149ecb-748e-4fce-825e-d58b80032fe6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherGeneralAndAdministrativeExpense_cee93980-57d7-45b4-9d12-2aa97d8cec97" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherGeneralAndAdministrativeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GeneralAndAdministrativeExpense_6a10aff6-6dce-48f2-b4b6-3851a1fd70d6" xlink:to="loc_us-gaap_OtherGeneralAndAdministrativeExpense_cee93980-57d7-45b4-9d12-2aa97d8cec97" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
