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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2024 Workiva-->
<!--r:a6cf088c-e54c-4ffd-b839-41926fb0966e,g:4ff84466-72ad-4f3e-be53-c78a1eb796c9-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member"/>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY" xlink:type="simple" xlink:href="mdgl-20240930.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY"/>
  <link:definitionLink xlink:role="http://www.madrigalpharma.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_040c6704-1b6a-43ee-887f-e280c1978547" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_724c96d1-55aa-40e6-88fa-1bd781df44f7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_040c6704-1b6a-43ee-887f-e280c1978547" xlink:to="loc_us-gaap_StatementTable_724c96d1-55aa-40e6-88fa-1bd781df44f7" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_fbb0d5bf-e4d9-4df0-99e6-549a48b21959" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_724c96d1-55aa-40e6-88fa-1bd781df44f7" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_fbb0d5bf-e4d9-4df0-99e6-549a48b21959" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_fbb0d5bf-e4d9-4df0-99e6-549a48b21959_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_fbb0d5bf-e4d9-4df0-99e6-549a48b21959" xlink:to="loc_us-gaap_EquityComponentDomain_fbb0d5bf-e4d9-4df0-99e6-549a48b21959_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_0024c90d-32f9-4838-9fc1-af2943c8bb4b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_fbb0d5bf-e4d9-4df0-99e6-549a48b21959" xlink:to="loc_us-gaap_EquityComponentDomain_0024c90d-32f9-4838-9fc1-af2943c8bb4b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockMember_28e739f6-0fb4-4e72-ac2e-bbb0205645e5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_0024c90d-32f9-4838-9fc1-af2943c8bb4b" xlink:to="loc_us-gaap_PreferredStockMember_28e739f6-0fb4-4e72-ac2e-bbb0205645e5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_5b58a753-8e1e-4634-accb-78c9638bfc4e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_0024c90d-32f9-4838-9fc1-af2943c8bb4b" xlink:to="loc_us-gaap_CommonStockMember_5b58a753-8e1e-4634-accb-78c9638bfc4e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_96c9e917-de88-4512-aaaa-96e757140dd3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_0024c90d-32f9-4838-9fc1-af2943c8bb4b" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_96c9e917-de88-4512-aaaa-96e757140dd3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_125b0217-97fa-4d22-89a8-45651bb6650c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_0024c90d-32f9-4838-9fc1-af2943c8bb4b" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_125b0217-97fa-4d22-89a8-45651bb6650c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_b3473c10-1902-4789-aee9-6899d5873c51" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_0024c90d-32f9-4838-9fc1-af2943c8bb4b" xlink:to="loc_us-gaap_RetainedEarningsMember_b3473c10-1902-4789-aee9-6899d5873c51" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_2f7c664d-9106-4ed6-bb99-ce4383b4998f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_724c96d1-55aa-40e6-88fa-1bd781df44f7" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_2f7c664d-9106-4ed6-bb99-ce4383b4998f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_2f7c664d-9106-4ed6-bb99-ce4383b4998f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_2f7c664d-9106-4ed6-bb99-ce4383b4998f" xlink:to="loc_us-gaap_RelatedPartyDomain_2f7c664d-9106-4ed6-bb99-ce4383b4998f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_94a880bd-41fa-46b6-bf24-a13018645827" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_2f7c664d-9106-4ed6-bb99-ce4383b4998f" xlink:to="loc_us-gaap_RelatedPartyDomain_94a880bd-41fa-46b6-bf24-a13018645827" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyMember_638393da-d144-42ad-be93-2ea45c4187f8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_94a880bd-41fa-46b6-bf24-a13018645827" xlink:to="loc_us-gaap_RelatedPartyMember_638393da-d144-42ad-be93-2ea45c4187f8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c7cb4699-15ac-4f23-aaba-2e1ebaee1589" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_040c6704-1b6a-43ee-887f-e280c1978547" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c7cb4699-15ac-4f23-aaba-2e1ebaee1589" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesIssued_776ca958-4c41-41c8-82d2-a57d8005f7cc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c7cb4699-15ac-4f23-aaba-2e1ebaee1589" xlink:to="loc_us-gaap_CommonStockSharesIssued_776ca958-4c41-41c8-82d2-a57d8005f7cc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_85467eea-e9e4-4e91-9379-eb5311110169" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c7cb4699-15ac-4f23-aaba-2e1ebaee1589" xlink:to="loc_us-gaap_StockholdersEquity_85467eea-e9e4-4e91-9379-eb5311110169" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_0c3fc441-6a2f-4e5c-bdbb-8486a1d83f81" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodSharesNewIssues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c7cb4699-15ac-4f23-aaba-2e1ebaee1589" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_0c3fc441-6a2f-4e5c-bdbb-8486a1d83f81" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_4b19494c-dbd5-416c-9a75-5d1f3e32dfb4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockIssuedDuringPeriodValueNewIssues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c7cb4699-15ac-4f23-aaba-2e1ebaee1589" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_4b19494c-dbd5-416c-9a75-5d1f3e32dfb4" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationStockOptionsRequisiteServicePeriodRecognition_b014cf8d-1bdb-41fa-83d1-8a394df7c348" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationStockOptionsRequisiteServicePeriodRecognition"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c7cb4699-15ac-4f23-aaba-2e1ebaee1589" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationStockOptionsRequisiteServicePeriodRecognition_b014cf8d-1bdb-41fa-83d1-8a394df7c348" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_bd95a6ee-7828-4c92-9dda-6681574c1029" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c7cb4699-15ac-4f23-aaba-2e1ebaee1589" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_bd95a6ee-7828-4c92-9dda-6681574c1029" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalWarrantIssued_b4f27191-78ba-4e75-b291-98c1e592c31f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalWarrantIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c7cb4699-15ac-4f23-aaba-2e1ebaee1589" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalWarrantIssued_b4f27191-78ba-4e75-b291-98c1e592c31f" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_3c02504c-97b8-4121-89c3-7a0348f8da07" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_c7cb4699-15ac-4f23-aaba-2e1ebaee1589" xlink:to="loc_us-gaap_NetIncomeLoss_3c02504c-97b8-4121-89c3-7a0348f8da07" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesIssued_83d38bee-ad77-477a-94ad-99ff365b6962" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockSharesIssued"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_0413dade-ff31-44a6-942e-cc37245427b4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="mdgl-20240930.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:definitionLink xlink:role="http://www.madrigalpharma.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_cd16a043-28ac-4732-a451-85726814facb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_dcd94f86-d6bb-4f85-856e-7e80e5628437" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_cd16a043-28ac-4732-a451-85726814facb" xlink:to="loc_us-gaap_StatementTable_dcd94f86-d6bb-4f85-856e-7e80e5628437" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_0f28fa6c-fca9-4ca1-af7f-c44361e49eae" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_dcd94f86-d6bb-4f85-856e-7e80e5628437" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_0f28fa6c-fca9-4ca1-af7f-c44361e49eae" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_0f28fa6c-fca9-4ca1-af7f-c44361e49eae_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_0f28fa6c-fca9-4ca1-af7f-c44361e49eae" xlink:to="loc_us-gaap_RelatedPartyDomain_0f28fa6c-fca9-4ca1-af7f-c44361e49eae_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_9cb0e13d-d3e8-4d39-b0ee-2c7f28640301" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_0f28fa6c-fca9-4ca1-af7f-c44361e49eae" xlink:to="loc_us-gaap_RelatedPartyDomain_9cb0e13d-d3e8-4d39-b0ee-2c7f28640301" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonrelatedPartyMember_2a15a045-a72d-4d43-9e83-376ab4e2245c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NonrelatedPartyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_9cb0e13d-d3e8-4d39-b0ee-2c7f28640301" xlink:to="loc_us-gaap_NonrelatedPartyMember_2a15a045-a72d-4d43-9e83-376ab4e2245c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyMember_02df487d-030f-46fe-a27b-8dec32a80ce8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RelatedPartyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_9cb0e13d-d3e8-4d39-b0ee-2c7f28640301" xlink:to="loc_us-gaap_RelatedPartyMember_02df487d-030f-46fe-a27b-8dec32a80ce8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_09235ae9-e0ac-4893-9ea6-66e6a3d96582" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_cd16a043-28ac-4732-a451-85726814facb" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_09235ae9-e0ac-4893-9ea6-66e6a3d96582" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_30e74c5b-0fa0-4a0b-bdec-0a216e09ad8e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProfitLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_09235ae9-e0ac-4893-9ea6-66e6a3d96582" xlink:to="loc_us-gaap_ProfitLoss_30e74c5b-0fa0-4a0b-bdec-0a216e09ad8e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_ebe37d3e-5e2f-41ab-bd3a-51357a8ddf9f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_09235ae9-e0ac-4893-9ea6-66e6a3d96582" xlink:to="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_ebe37d3e-5e2f-41ab-bd3a-51357a8ddf9f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_253e1634-6f3a-47b9-a97c-16124041e657" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_ebe37d3e-5e2f-41ab-bd3a-51357a8ddf9f" xlink:to="loc_us-gaap_ShareBasedCompensation_253e1634-6f3a-47b9-a97c-16124041e657" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_4699cda7-1803-4497-ab5b-074e277139b7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_ebe37d3e-5e2f-41ab-bd3a-51357a8ddf9f" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_4699cda7-1803-4497-ab5b-074e277139b7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_5605adb3-7140-4032-92be-962fa0c468ba" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AmortizationOfFinancingCostsAndDiscounts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_ebe37d3e-5e2f-41ab-bd3a-51357a8ddf9f" xlink:to="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_5605adb3-7140-4032-92be-962fa0c468ba" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_OperatingLeaseRightOfUseAssetPeriodicReductionIncrease_c59cfaf3-71cd-459d-8621-767e2d625bef" xlink:href="mdgl-20240930.xsd#mdgl_OperatingLeaseRightOfUseAssetPeriodicReductionIncrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_ebe37d3e-5e2f-41ab-bd3a-51357a8ddf9f" xlink:to="loc_mdgl_OperatingLeaseRightOfUseAssetPeriodicReductionIncrease_c59cfaf3-71cd-459d-8621-767e2d625bef" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_477ce9d3-1c51-40c7-8202-3ddebebe9769" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInOperatingCapitalAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_ebe37d3e-5e2f-41ab-bd3a-51357a8ddf9f" xlink:to="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_477ce9d3-1c51-40c7-8202-3ddebebe9769" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_c06cc8d2-1a03-4c68-a300-d157f231dcb1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_477ce9d3-1c51-40c7-8202-3ddebebe9769" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_c06cc8d2-1a03-4c68-a300-d157f231dcb1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_03d511fe-2742-4d06-a344-a954120c028b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_477ce9d3-1c51-40c7-8202-3ddebebe9769" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_03d511fe-2742-4d06-a344-a954120c028b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_f4468706-e5a2-416e-a3db-4dc6fdcc60cc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_477ce9d3-1c51-40c7-8202-3ddebebe9769" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_f4468706-e5a2-416e-a3db-4dc6fdcc60cc" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableTrade_e30c90f5-a06c-47cc-a108-d55ee6c0fb95" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccountsPayableTrade"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_477ce9d3-1c51-40c7-8202-3ddebebe9769" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableTrade_e30c90f5-a06c-47cc-a108-d55ee6c0fb95" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_53a5a424-0e79-4b27-831e-507919e539c9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_477ce9d3-1c51-40c7-8202-3ddebebe9769" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_53a5a424-0e79-4b27-831e-507919e539c9" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_IncreaseDecreaseInAccruedInterestNetOfInterestReceived_5de5c9d0-cb0d-4529-8449-0fd9b9cc5e28" xlink:href="mdgl-20240930.xsd#mdgl_IncreaseDecreaseInAccruedInterestNetOfInterestReceived"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_477ce9d3-1c51-40c7-8202-3ddebebe9769" xlink:to="loc_mdgl_IncreaseDecreaseInAccruedInterestNetOfInterestReceived_5de5c9d0-cb0d-4529-8449-0fd9b9cc5e28" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a89948fc-7545-4f6d-a3a2-7f3481b03901" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_09235ae9-e0ac-4893-9ea6-66e6a3d96582" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_a89948fc-7545-4f6d-a3a2-7f3481b03901" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_bb49ad3f-b772-4316-a915-b01d0b5fff24" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_cd16a043-28ac-4732-a451-85726814facb" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_bb49ad3f-b772-4316-a915-b01d0b5fff24" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_0f4e2e6e-3b59-4bd6-8652-470c3b8080a1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_bb49ad3f-b772-4316-a915-b01d0b5fff24" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_0f4e2e6e-3b59-4bd6-8652-470c3b8080a1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities_c8efdbbb-4003-4974-ae75-63821010b9b6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_bb49ad3f-b772-4316-a915-b01d0b5fff24" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities_c8efdbbb-4003-4974-ae75-63821010b9b6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireIntangibleAssets_c6594c73-ef2e-40e6-9534-959b4190d3e6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquireIntangibleAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_bb49ad3f-b772-4316-a915-b01d0b5fff24" xlink:to="loc_us-gaap_PaymentsToAcquireIntangibleAssets_c6594c73-ef2e-40e6-9534-959b4190d3e6" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_ec88faa7-bf05-4895-bce1-e273c4b3e6bd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_bb49ad3f-b772-4316-a915-b01d0b5fff24" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_ec88faa7-bf05-4895-bce1-e273c4b3e6bd" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_02488367-ca0b-41cd-a2c2-7f6fd71d26d4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_bb49ad3f-b772-4316-a915-b01d0b5fff24" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_02488367-ca0b-41cd-a2c2-7f6fd71d26d4" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_5d0a097d-31ec-4b65-ab2d-ae3a25c932e9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_cd16a043-28ac-4732-a451-85726814facb" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_5d0a097d-31ec-4b65-ab2d-ae3a25c932e9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOrSaleOfEquity_78b30246-151f-417d-9347-a7abee18d4e6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromIssuanceOrSaleOfEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_5d0a097d-31ec-4b65-ab2d-ae3a25c932e9" xlink:to="loc_us-gaap_ProceedsFromIssuanceOrSaleOfEquity_78b30246-151f-417d-9347-a7abee18d4e6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromBankDebt_64f46edb-ca41-4d7b-98f3-544b8ac919a5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromBankDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_5d0a097d-31ec-4b65-ab2d-ae3a25c932e9" xlink:to="loc_us-gaap_ProceedsFromBankDebt_64f46edb-ca41-4d7b-98f3-544b8ac919a5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_2c95cb38-a832-4b18-8652-d93bc9a843fe" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_5d0a097d-31ec-4b65-ab2d-ae3a25c932e9" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_2c95cb38-a832-4b18-8652-d93bc9a843fe" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e2f92070-c652-4c15-ad2c-5f6e5b86dd14" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_5d0a097d-31ec-4b65-ab2d-ae3a25c932e9" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e2f92070-c652-4c15-ad2c-5f6e5b86dd14" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_cead84e9-c08b-44a5-8586-82c3a2a47c20" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_5d0a097d-31ec-4b65-ab2d-ae3a25c932e9" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_cead84e9-c08b-44a5-8586-82c3a2a47c20" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_7193e681-5f0a-4651-b2de-3dd1ab88b3d0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_cd16a043-28ac-4732-a451-85726814facb" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_7193e681-5f0a-4651-b2de-3dd1ab88b3d0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_e06b3233-6d1b-4e3a-87ac-ec094998bdc0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SupplementalCashFlowInformationAbstract_bfd24525-9ee6-45b8-b7fd-9572eff275e2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SupplementalCashFlowInformationAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_cd16a043-28ac-4732-a451-85726814facb" xlink:to="loc_us-gaap_SupplementalCashFlowInformationAbstract_bfd24525-9ee6-45b8-b7fd-9572eff275e2" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability_131b2a28-aa82-4e27-87ae-027e00c62368" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SupplementalCashFlowInformationAbstract_bfd24525-9ee6-45b8-b7fd-9572eff275e2" xlink:to="loc_us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability_131b2a28-aa82-4e27-87ae-027e00c62368" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/SummaryofSignificantAccountingPoliciesConcentrationsofCreditRiskandSignificantCustomersDetails" xlink:type="simple" xlink:href="mdgl-20240930.xsd#SummaryofSignificantAccountingPoliciesConcentrationsofCreditRiskandSignificantCustomersDetails"/>
  <link:definitionLink xlink:role="http://www.madrigalpharma.com/role/SummaryofSignificantAccountingPoliciesConcentrationsofCreditRiskandSignificantCustomersDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskLineItems_87290c89-5d09-45d4-a408-bd856915d05c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTable_bad4ff92-5546-44b0-9fa5-ef61351a4d74" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_87290c89-5d09-45d4-a408-bd856915d05c" xlink:to="loc_us-gaap_ConcentrationRiskTable_bad4ff92-5546-44b0-9fa5-ef61351a4d74" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MajorCustomersAxis_3109964f-56c1-4f0e-aeeb-bea3d9c988cc" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MajorCustomersAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_bad4ff92-5546-44b0-9fa5-ef61351a4d74" xlink:to="loc_srt_MajorCustomersAxis_3109964f-56c1-4f0e-aeeb-bea3d9c988cc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_3109964f-56c1-4f0e-aeeb-bea3d9c988cc_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_MajorCustomersAxis_3109964f-56c1-4f0e-aeeb-bea3d9c988cc" xlink:to="loc_srt_NameOfMajorCustomerDomain_3109964f-56c1-4f0e-aeeb-bea3d9c988cc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_83a6e267-457f-4554-a989-b0400bf076c8" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_MajorCustomersAxis_3109964f-56c1-4f0e-aeeb-bea3d9c988cc" xlink:to="loc_srt_NameOfMajorCustomerDomain_83a6e267-457f-4554-a989-b0400bf076c8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_CustomerAMember_9b8ccd9d-37dc-4174-9f6a-8a1ea018eb94" xlink:href="mdgl-20240930.xsd#mdgl_CustomerAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_83a6e267-457f-4554-a989-b0400bf076c8" xlink:to="loc_mdgl_CustomerAMember_9b8ccd9d-37dc-4174-9f6a-8a1ea018eb94" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_CustomersBMember_f3a449e8-5500-4202-8133-c145f91272c5" xlink:href="mdgl-20240930.xsd#mdgl_CustomersBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_83a6e267-457f-4554-a989-b0400bf076c8" xlink:to="loc_mdgl_CustomersBMember_f3a449e8-5500-4202-8133-c145f91272c5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_CustomersCMember_b17a622e-cd50-4878-b97e-957f93029b52" xlink:href="mdgl-20240930.xsd#mdgl_CustomersCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_83a6e267-457f-4554-a989-b0400bf076c8" xlink:to="loc_mdgl_CustomersCMember_b17a622e-cd50-4878-b97e-957f93029b52" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_CustomersDMember_978e42fa-6af9-4f22-b58b-5ee5894f7fc0" xlink:href="mdgl-20240930.xsd#mdgl_CustomersDMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_83a6e267-457f-4554-a989-b0400bf076c8" xlink:to="loc_mdgl_CustomersDMember_978e42fa-6af9-4f22-b58b-5ee5894f7fc0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_6b266392-25c6-4f4c-b7f6-e2e7466ccacf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_bad4ff92-5546-44b0-9fa5-ef61351a4d74" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_6b266392-25c6-4f4c-b7f6-e2e7466ccacf" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_6b266392-25c6-4f4c-b7f6-e2e7466ccacf_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_6b266392-25c6-4f4c-b7f6-e2e7466ccacf" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_6b266392-25c6-4f4c-b7f6-e2e7466ccacf_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_c9d307c8-7ca2-47ee-aeec-51e2537d0bf5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_6b266392-25c6-4f4c-b7f6-e2e7466ccacf" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_c9d307c8-7ca2-47ee-aeec-51e2537d0bf5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerProductAndServiceBenchmarkMember_bc27eee0-888f-48a4-af3b-e597b8955e66" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenueFromContractWithCustomerProductAndServiceBenchmarkMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_c9d307c8-7ca2-47ee-aeec-51e2537d0bf5" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerProductAndServiceBenchmarkMember_bc27eee0-888f-48a4-af3b-e597b8955e66" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_2155dbd3-6e29-4729-b1c4-9a680c2e1455" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_bad4ff92-5546-44b0-9fa5-ef61351a4d74" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_2155dbd3-6e29-4729-b1c4-9a680c2e1455" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_2155dbd3-6e29-4729-b1c4-9a680c2e1455_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_2155dbd3-6e29-4729-b1c4-9a680c2e1455" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_2155dbd3-6e29-4729-b1c4-9a680c2e1455_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_c9885280-83bc-4384-935c-895d379db482" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_2155dbd3-6e29-4729-b1c4-9a680c2e1455" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_c9885280-83bc-4384-935c-895d379db482" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerConcentrationRiskMember_165b5623-49e2-470d-b97f-2cab644784e3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CustomerConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_c9885280-83bc-4384-935c-895d379db482" xlink:to="loc_us-gaap_CustomerConcentrationRiskMember_165b5623-49e2-470d-b97f-2cab644784e3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_07261496-9a00-45dc-a835-901d620012ff" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ConcentrationRiskPercentage1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_87290c89-5d09-45d4-a408-bd856915d05c" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_07261496-9a00-45dc-a835-901d620012ff" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/SummaryofSignificantAccountingPoliciesBasicandDilutedLossPerCommonShareDetails" xlink:type="simple" xlink:href="mdgl-20240930.xsd#SummaryofSignificantAccountingPoliciesBasicandDilutedLossPerCommonShareDetails"/>
  <link:definitionLink xlink:role="http://www.madrigalpharma.com/role/SummaryofSignificantAccountingPoliciesBasicandDilutedLossPerCommonShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_0edbe743-fc66-4881-86b5-6c8a1611b033" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_408c6daf-a95d-4dc9-9b5b-4b3bfbc95ba7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_0edbe743-fc66-4881-86b5-6c8a1611b033" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_408c6daf-a95d-4dc9-9b5b-4b3bfbc95ba7" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_1d853c18-4c54-4641-8858-c416daa76848" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_408c6daf-a95d-4dc9-9b5b-4b3bfbc95ba7" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_1d853c18-4c54-4641-8858-c416daa76848" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_1d853c18-4c54-4641-8858-c416daa76848_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AntidilutiveSecuritiesNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_1d853c18-4c54-4641-8858-c416daa76848" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_1d853c18-4c54-4641-8858-c416daa76848_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_6632d10d-3691-431a-b8a1-f81ab0d52e98" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AntidilutiveSecuritiesNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_1d853c18-4c54-4641-8858-c416daa76848" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_6632d10d-3691-431a-b8a1-f81ab0d52e98" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_f9dcb05d-e165-4a9b-97e2-7225242c3ee3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_6632d10d-3691-431a-b8a1-f81ab0d52e98" xlink:to="loc_us-gaap_EmployeeStockOptionMember_f9dcb05d-e165-4a9b-97e2-7225242c3ee3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_6bec766a-e339-41a7-bed5-bdf48816ed85" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_6632d10d-3691-431a-b8a1-f81ab0d52e98" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_6bec766a-e339-41a7-bed5-bdf48816ed85" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceSharesMember_4732b2fa-7b0b-46a2-97d3-e146a2d8df25" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PerformanceSharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_6632d10d-3691-431a-b8a1-f81ab0d52e98" xlink:to="loc_us-gaap_PerformanceSharesMember_4732b2fa-7b0b-46a2-97d3-e146a2d8df25" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockMember_752c5fd8-6a69-43b4-8111-81faa4d0443d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_6632d10d-3691-431a-b8a1-f81ab0d52e98" xlink:to="loc_us-gaap_PreferredStockMember_752c5fd8-6a69-43b4-8111-81faa4d0443d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WarrantMember_725d131f-74e7-4b41-827f-ff6494e48c50" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WarrantMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_6632d10d-3691-431a-b8a1-f81ab0d52e98" xlink:to="loc_us-gaap_WarrantMember_725d131f-74e7-4b41-827f-ff6494e48c50" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_cbdac951-abeb-467c-bb2e-22238d67b661" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_0edbe743-fc66-4881-86b5-6c8a1611b033" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_cbdac951-abeb-467c-bb2e-22238d67b661" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/CashCashEquivalentsandMarketableSecuritiesCashCashEquivalentsandAvailableforSaleMarketableSecuritiesDetails" xlink:type="simple" xlink:href="mdgl-20240930.xsd#CashCashEquivalentsandMarketableSecuritiesCashCashEquivalentsandAvailableforSaleMarketableSecuritiesDetails"/>
  <link:definitionLink xlink:role="http://www.madrigalpharma.com/role/CashCashEquivalentsandMarketableSecuritiesCashCashEquivalentsandAvailableforSaleMarketableSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfInvestmentsLineItems_f4b8726c-7ad1-4956-a1b6-4ec197a9ca29" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfInvestmentsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfInvestmentsTable_ef946e68-af2b-473c-a70a-f432d69fc719" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfInvestmentsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_f4b8726c-7ad1-4956-a1b6-4ec197a9ca29" xlink:to="loc_us-gaap_ScheduleOfInvestmentsTable_ef946e68-af2b-473c-a70a-f432d69fc719" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAxis_3d72a777-6771-4255-a86a-a436e7460200" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashAndCashEquivalentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_ef946e68-af2b-473c-a70a-f432d69fc719" xlink:to="loc_us-gaap_CashAndCashEquivalentsAxis_3d72a777-6771-4255-a86a-a436e7460200" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_3d72a777-6771-4255-a86a-a436e7460200_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CashAndCashEquivalentsAxis_3d72a777-6771-4255-a86a-a436e7460200" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_3d72a777-6771-4255-a86a-a436e7460200_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_2d38e4e2-d511-4ea5-9064-7aad0ddc45c2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CashAndCashEquivalentsAxis_3d72a777-6771-4255-a86a-a436e7460200" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_2d38e4e2-d511-4ea5-9064-7aad0ddc45c2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashMember_93ced77b-e3d0-4fff-85e4-303e2ad7784d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_2d38e4e2-d511-4ea5-9064-7aad0ddc45c2" xlink:to="loc_us-gaap_CashMember_93ced77b-e3d0-4fff-85e4-303e2ad7784d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MoneyMarketFundsMember_f61f1f1c-740e-4786-9d6a-3611d1804e21" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MoneyMarketFundsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_2d38e4e2-d511-4ea5-9064-7aad0ddc45c2" xlink:to="loc_us-gaap_MoneyMarketFundsMember_f61f1f1c-740e-4786-9d6a-3611d1804e21" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_aa37de09-2882-4731-9a38-3a6adf31b5c5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfInvestmentsTable_ef946e68-af2b-473c-a70a-f432d69fc719" xlink:to="loc_us-gaap_FinancialInstrumentAxis_aa37de09-2882-4731-9a38-3a6adf31b5c5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_aa37de09-2882-4731-9a38-3a6adf31b5c5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_aa37de09-2882-4731-9a38-3a6adf31b5c5" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_aa37de09-2882-4731-9a38-3a6adf31b5c5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_c6a25d36-30ca-43b1-9fa8-9ee252ecedfd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_aa37de09-2882-4731-9a38-3a6adf31b5c5" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_c6a25d36-30ca-43b1-9fa8-9ee252ecedfd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_6a8e4b55-4e80-43b6-b561-cf484471abde" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CorporateDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_c6a25d36-30ca-43b1-9fa8-9ee252ecedfd" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_6a8e4b55-4e80-43b6-b561-cf484471abde" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_CorporateDebtSecuritiesDueWithinOneToTwoYearsOfDateOfPurchaseMember_4db1e621-9128-43c0-854d-2ee185d4b270" xlink:href="mdgl-20240930.xsd#mdgl_CorporateDebtSecuritiesDueWithinOneToTwoYearsOfDateOfPurchaseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CorporateDebtSecuritiesMember_6a8e4b55-4e80-43b6-b561-cf484471abde" xlink:to="loc_mdgl_CorporateDebtSecuritiesDueWithinOneToTwoYearsOfDateOfPurchaseMember_4db1e621-9128-43c0-854d-2ee185d4b270" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USTreasuryAndGovernmentMember_7fcbc385-ae75-403f-acc8-ef768943afd2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_USTreasuryAndGovernmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_c6a25d36-30ca-43b1-9fa8-9ee252ecedfd" xlink:to="loc_us-gaap_USTreasuryAndGovernmentMember_7fcbc385-ae75-403f-acc8-ef768943afd2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_USTreasuryAndGovernmentDueWithinOneYearMember_bada5843-bf29-4652-b278-b974876fe7a0" xlink:href="mdgl-20240930.xsd#mdgl_USTreasuryAndGovernmentDueWithinOneYearMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_USTreasuryAndGovernmentMember_7fcbc385-ae75-403f-acc8-ef768943afd2" xlink:to="loc_mdgl_USTreasuryAndGovernmentDueWithinOneYearMember_bada5843-bf29-4652-b278-b974876fe7a0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_USTreasuryAndGovernmentDueWithinOneToTwoYearsMember_b93e76a2-ebef-4e00-ab31-ecf9ffec350e" xlink:href="mdgl-20240930.xsd#mdgl_USTreasuryAndGovernmentDueWithinOneToTwoYearsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_USTreasuryAndGovernmentMember_7fcbc385-ae75-403f-acc8-ef768943afd2" xlink:to="loc_mdgl_USTreasuryAndGovernmentDueWithinOneToTwoYearsMember_b93e76a2-ebef-4e00-ab31-ecf9ffec350e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_d1147a5d-efc7-4c71-a074-f8ce8bb58d1e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_f4b8726c-7ad1-4956-a1b6-4ec197a9ca29" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_d1147a5d-efc7-4c71-a074-f8ce8bb58d1e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAbstract_faf4f3ca-9db4-4ace-b61f-034d086422b3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_f4b8726c-7ad1-4956-a1b6-4ec197a9ca29" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAbstract_faf4f3ca-9db4-4ace-b61f-034d086422b3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_448e8cff-ad3b-4b19-b524-6edb037166c3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesAbstract_faf4f3ca-9db4-4ace-b61f-034d086422b3" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_448e8cff-ad3b-4b19-b524-6edb037166c3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_eb3095f7-0feb-4ae1-af77-aac325ae9585" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesAbstract_faf4f3ca-9db4-4ace-b61f-034d086422b3" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_eb3095f7-0feb-4ae1-af77-aac325ae9585" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_7f0d8721-fd8a-4d40-a775-6da0eee304cc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesAbstract_faf4f3ca-9db4-4ace-b61f-034d086422b3" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_7f0d8721-fd8a-4d40-a775-6da0eee304cc" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_13a13139-ba61-4ff1-8d3e-03acc7cee62c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesAbstract_faf4f3ca-9db4-4ace-b61f-034d086422b3" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_13a13139-ba61-4ff1-8d3e-03acc7cee62c" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_CashCashEquivalentsAndShortTermInvestmentsAtCost_4ecdbd97-5a70-4816-bd0a-1ed0bedc67bf" xlink:href="mdgl-20240930.xsd#mdgl_CashCashEquivalentsAndShortTermInvestmentsAtCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_f4b8726c-7ad1-4956-a1b6-4ec197a9ca29" xlink:to="loc_mdgl_CashCashEquivalentsAndShortTermInvestmentsAtCost_4ecdbd97-5a70-4816-bd0a-1ed0bedc67bf" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsAndShortTermInvestments_2c5bf3de-360f-41f9-8998-e29b9f8eab11" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashCashEquivalentsAndShortTermInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfInvestmentsLineItems_f4b8726c-7ad1-4956-a1b6-4ec197a9ca29" xlink:to="loc_us-gaap_CashCashEquivalentsAndShortTermInvestments_2c5bf3de-360f-41f9-8998-e29b9f8eab11" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/LongTermDebtNarrativeDetails" xlink:type="simple" xlink:href="mdgl-20240930.xsd#LongTermDebtNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.madrigalpharma.com/role/LongTermDebtNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_4776b310-c3ba-4558-b7d3-ece736c3c301" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_c9dd0ac5-bd8b-4ab9-96b7-423e013c97a0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_4776b310-c3ba-4558-b7d3-ece736c3c301" xlink:to="loc_us-gaap_DebtInstrumentTable_c9dd0ac5-bd8b-4ab9-96b7-423e013c97a0" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_bba946b1-b5ed-4304-8173-7b35f8a0ccb1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_c9dd0ac5-bd8b-4ab9-96b7-423e013c97a0" xlink:to="loc_us-gaap_CreditFacilityAxis_bba946b1-b5ed-4304-8173-7b35f8a0ccb1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_bba946b1-b5ed-4304-8173-7b35f8a0ccb1_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_bba946b1-b5ed-4304-8173-7b35f8a0ccb1" xlink:to="loc_us-gaap_CreditFacilityDomain_bba946b1-b5ed-4304-8173-7b35f8a0ccb1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_a3b3f483-cfe4-4dc9-b95d-fd96b3bd31a5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_bba946b1-b5ed-4304-8173-7b35f8a0ccb1" xlink:to="loc_us-gaap_CreditFacilityDomain_a3b3f483-cfe4-4dc9-b95d-fd96b3bd31a5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredDebtMember_78ba92fc-df6f-44dd-857f-f455bf3ffd65" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SecuredDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_a3b3f483-cfe4-4dc9-b95d-fd96b3bd31a5" xlink:to="loc_us-gaap_SecuredDebtMember_78ba92fc-df6f-44dd-857f-f455bf3ffd65" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_d6a69ae8-d274-48fb-8a39-05c677b6d975" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_c9dd0ac5-bd8b-4ab9-96b7-423e013c97a0" xlink:to="loc_us-gaap_DebtInstrumentAxis_d6a69ae8-d274-48fb-8a39-05c677b6d975" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_d6a69ae8-d274-48fb-8a39-05c677b6d975_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_d6a69ae8-d274-48fb-8a39-05c677b6d975" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_d6a69ae8-d274-48fb-8a39-05c677b6d975_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_9f0e60d3-a108-4ef6-85b4-a9fe79538b2c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_d6a69ae8-d274-48fb-8a39-05c677b6d975" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_9f0e60d3-a108-4ef6-85b4-a9fe79538b2c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_LoanFacilityMember_2638fccc-c926-494c-8dd9-9b0052d3e59c" xlink:href="mdgl-20240930.xsd#mdgl_LoanFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_9f0e60d3-a108-4ef6-85b4-a9fe79538b2c" xlink:to="loc_mdgl_LoanFacilityMember_2638fccc-c926-494c-8dd9-9b0052d3e59c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_LoanFacilityTrancheOneMember_63075455-cd5a-4d29-9cf5-980110efab2f" xlink:href="mdgl-20240930.xsd#mdgl_LoanFacilityTrancheOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdgl_LoanFacilityMember_2638fccc-c926-494c-8dd9-9b0052d3e59c" xlink:to="loc_mdgl_LoanFacilityTrancheOneMember_63075455-cd5a-4d29-9cf5-980110efab2f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_LoanFacilityTranchesTwoAndThreeMember_0e8d1e40-5ca8-4b5f-a770-a304c6aa8f52" xlink:href="mdgl-20240930.xsd#mdgl_LoanFacilityTranchesTwoAndThreeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdgl_LoanFacilityMember_2638fccc-c926-494c-8dd9-9b0052d3e59c" xlink:to="loc_mdgl_LoanFacilityTranchesTwoAndThreeMember_0e8d1e40-5ca8-4b5f-a770-a304c6aa8f52" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_LoanFacilityTrancheTwoMember_3874f10a-127e-4c07-ba36-79ad722c9ee5" xlink:href="mdgl-20240930.xsd#mdgl_LoanFacilityTrancheTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdgl_LoanFacilityTranchesTwoAndThreeMember_0e8d1e40-5ca8-4b5f-a770-a304c6aa8f52" xlink:to="loc_mdgl_LoanFacilityTrancheTwoMember_3874f10a-127e-4c07-ba36-79ad722c9ee5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_LoanFacilityTrancheThreeMember_f782f844-04c7-41e5-a8f4-abd2a88160ae" xlink:href="mdgl-20240930.xsd#mdgl_LoanFacilityTrancheThreeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdgl_LoanFacilityTranchesTwoAndThreeMember_0e8d1e40-5ca8-4b5f-a770-a304c6aa8f52" xlink:to="loc_mdgl_LoanFacilityTrancheThreeMember_f782f844-04c7-41e5-a8f4-abd2a88160ae" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_LoanFacilityTrancheFourMember_d6caf918-2f20-4424-aa77-8d121cabd958" xlink:href="mdgl-20240930.xsd#mdgl_LoanFacilityTrancheFourMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdgl_LoanFacilityMember_2638fccc-c926-494c-8dd9-9b0052d3e59c" xlink:to="loc_mdgl_LoanFacilityTrancheFourMember_d6caf918-2f20-4424-aa77-8d121cabd958" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_d931e3b3-46b3-4d55-b4ed-c5b70a35dd15" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_c9dd0ac5-bd8b-4ab9-96b7-423e013c97a0" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_d931e3b3-46b3-4d55-b4ed-c5b70a35dd15" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_d931e3b3-46b3-4d55-b4ed-c5b70a35dd15_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_d931e3b3-46b3-4d55-b4ed-c5b70a35dd15" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_d931e3b3-46b3-4d55-b4ed-c5b70a35dd15_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_53c70210-7e07-4fad-8f21-a0b7ed07e776" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_d931e3b3-46b3-4d55-b4ed-c5b70a35dd15" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_53c70210-7e07-4fad-8f21-a0b7ed07e776" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_be782937-c7d9-462c-908b-5e2549fd7dc7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_53c70210-7e07-4fad-8f21-a0b7ed07e776" xlink:to="loc_us-gaap_LineOfCreditMember_be782937-c7d9-462c-908b-5e2549fd7dc7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_VariableRateComponentAxis_1e36f703-32b8-4da3-9cc0-673e7aacf91b" xlink:href="mdgl-20240930.xsd#mdgl_VariableRateComponentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_c9dd0ac5-bd8b-4ab9-96b7-423e013c97a0" xlink:to="loc_mdgl_VariableRateComponentAxis_1e36f703-32b8-4da3-9cc0-673e7aacf91b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_VariableRateComponentDomain_1e36f703-32b8-4da3-9cc0-673e7aacf91b_default" xlink:href="mdgl-20240930.xsd#mdgl_VariableRateComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_mdgl_VariableRateComponentAxis_1e36f703-32b8-4da3-9cc0-673e7aacf91b" xlink:to="loc_mdgl_VariableRateComponentDomain_1e36f703-32b8-4da3-9cc0-673e7aacf91b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_VariableRateComponentDomain_0df59433-2869-4976-9682-95fd3fb536eb" xlink:href="mdgl-20240930.xsd#mdgl_VariableRateComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_mdgl_VariableRateComponentAxis_1e36f703-32b8-4da3-9cc0-673e7aacf91b" xlink:to="loc_mdgl_VariableRateComponentDomain_0df59433-2869-4976-9682-95fd3fb536eb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_VariableRateComponentOneMember_0ebd8990-84c1-458a-a130-1e0bee45ca86" xlink:href="mdgl-20240930.xsd#mdgl_VariableRateComponentOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdgl_VariableRateComponentDomain_0df59433-2869-4976-9682-95fd3fb536eb" xlink:to="loc_mdgl_VariableRateComponentOneMember_0ebd8990-84c1-458a-a130-1e0bee45ca86" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_VariableRateComponentTwoMember_c044af51-60aa-4f54-a0ff-a006cc802e1f" xlink:href="mdgl-20240930.xsd#mdgl_VariableRateComponentTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mdgl_VariableRateComponentDomain_0df59433-2869-4976-9682-95fd3fb536eb" xlink:to="loc_mdgl_VariableRateComponentTwoMember_c044af51-60aa-4f54-a0ff-a006cc802e1f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateAxis_c9c62da7-9acc-46d1-84a6-a2224193d2f4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_VariableRateAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_c9dd0ac5-bd8b-4ab9-96b7-423e013c97a0" xlink:to="loc_us-gaap_VariableRateAxis_c9c62da7-9acc-46d1-84a6-a2224193d2f4" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_c9c62da7-9acc-46d1-84a6-a2224193d2f4_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_c9c62da7-9acc-46d1-84a6-a2224193d2f4" xlink:to="loc_us-gaap_VariableRateDomain_c9c62da7-9acc-46d1-84a6-a2224193d2f4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_fa9b8c14-3793-4578-84cf-538c6b2fe9eb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_c9c62da7-9acc-46d1-84a6-a2224193d2f4" xlink:to="loc_us-gaap_VariableRateDomain_fa9b8c14-3793-4578-84cf-538c6b2fe9eb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrimeRateMember_5f522ddb-d469-4149-ab20-4160f659327d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PrimeRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_fa9b8c14-3793-4578-84cf-538c6b2fe9eb" xlink:to="loc_us-gaap_PrimeRateMember_5f522ddb-d469-4149-ab20-4160f659327d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightAxis_d3d61eee-8760-461d-a332-560a093831f2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfWarrantOrRightAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_c9dd0ac5-bd8b-4ab9-96b7-423e013c97a0" xlink:to="loc_us-gaap_ClassOfWarrantOrRightAxis_d3d61eee-8760-461d-a332-560a093831f2" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightDomain_d3d61eee-8760-461d-a332-560a093831f2_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfWarrantOrRightDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ClassOfWarrantOrRightAxis_d3d61eee-8760-461d-a332-560a093831f2" xlink:to="loc_us-gaap_ClassOfWarrantOrRightDomain_d3d61eee-8760-461d-a332-560a093831f2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightDomain_07544358-8c21-4a44-be16-3f0995ede59e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfWarrantOrRightDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ClassOfWarrantOrRightAxis_d3d61eee-8760-461d-a332-560a093831f2" xlink:to="loc_us-gaap_ClassOfWarrantOrRightDomain_07544358-8c21-4a44-be16-3f0995ede59e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_HerculesWarrantsMember_39acaee3-a02c-4a40-baf5-d852ccf8decd" xlink:href="mdgl-20240930.xsd#mdgl_HerculesWarrantsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfWarrantOrRightDomain_07544358-8c21-4a44-be16-3f0995ede59e" xlink:to="loc_mdgl_HerculesWarrantsMember_39acaee3-a02c-4a40-baf5-d852ccf8decd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_65ad1915-c1e8-47d3-a33f-c89176f39479" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentFaceAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_4776b310-c3ba-4558-b7d3-ece736c3c301" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_65ad1915-c1e8-47d3-a33f-c89176f39479" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfDebt_4a36f321-d2b7-4e9a-b93a-75ee1c4a08ac" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromIssuanceOfDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_4776b310-c3ba-4558-b7d3-ece736c3c301" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfDebt_4a36f321-d2b7-4e9a-b93a-75ee1c4a08ac" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_184a8f27-2681-4614-9307-009cc112296f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_4776b310-c3ba-4558-b7d3-ece736c3c301" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_184a8f27-2681-4614-9307-009cc112296f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_LineOfCreditFacilityNumberOfWithdrawalsUponMilestoneAchievements_13df6b2d-f5ed-40a9-af8e-ba84a7580de9" xlink:href="mdgl-20240930.xsd#mdgl_LineOfCreditFacilityNumberOfWithdrawalsUponMilestoneAchievements"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_4776b310-c3ba-4558-b7d3-ece736c3c301" xlink:to="loc_mdgl_LineOfCreditFacilityNumberOfWithdrawalsUponMilestoneAchievements_13df6b2d-f5ed-40a9-af8e-ba84a7580de9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_LongTermDebtFloorInterestRatePercentage_4b1294e6-51a0-4b90-8f76-6961fdea0e81" xlink:href="mdgl-20240930.xsd#mdgl_LongTermDebtFloorInterestRatePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_4776b310-c3ba-4558-b7d3-ece736c3c301" xlink:to="loc_mdgl_LongTermDebtFloorInterestRatePercentage_4b1294e6-51a0-4b90-8f76-6961fdea0e81" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_DebtInstrumentAccruedInterestPaymentsTerm_fd3e3584-bd71-47de-9f9a-b2d8b8f4aeb2" xlink:href="mdgl-20240930.xsd#mdgl_DebtInstrumentAccruedInterestPaymentsTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_4776b310-c3ba-4558-b7d3-ece736c3c301" xlink:to="loc_mdgl_DebtInstrumentAccruedInterestPaymentsTerm_fd3e3584-bd71-47de-9f9a-b2d8b8f4aeb2" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityCommitmentFeePercentage_cbcb4fde-7e1e-467d-b9c1-0e372e3a0941" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityCommitmentFeePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_4776b310-c3ba-4558-b7d3-ece736c3c301" xlink:to="loc_us-gaap_LineOfCreditFacilityCommitmentFeePercentage_cbcb4fde-7e1e-467d-b9c1-0e372e3a0941" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights_e362d223-0e45-4d01-9af2-6d41d4b3ae73" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_4776b310-c3ba-4558-b7d3-ece736c3c301" xlink:to="loc_us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights_e362d223-0e45-4d01-9af2-6d41d4b3ae73" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WarrantsAndRightsOutstanding_0e6513f6-071c-4e55-9980-bdcce34179b1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WarrantsAndRightsOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_4776b310-c3ba-4558-b7d3-ece736c3c301" xlink:to="loc_us-gaap_WarrantsAndRightsOutstanding_0e6513f6-071c-4e55-9980-bdcce34179b1" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_3d04710b-c255-4d84-8101-263223909166" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_4776b310-c3ba-4558-b7d3-ece736c3c301" xlink:to="loc_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_3d04710b-c255-4d84-8101-263223909166" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_LineOfCreditFacilityIncreaseInMaximumBorrowingCapacity_508da5dd-a0dd-4a55-912a-ff347b1e72fd" xlink:href="mdgl-20240930.xsd#mdgl_LineOfCreditFacilityIncreaseInMaximumBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_4776b310-c3ba-4558-b7d3-ece736c3c301" xlink:to="loc_mdgl_LineOfCreditFacilityIncreaseInMaximumBorrowingCapacity_508da5dd-a0dd-4a55-912a-ff347b1e72fd" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_LineOfCreditFacilityDecreaseInMaximumBorrowingCapacity_7e3a3112-c282-4ae1-8902-d14c5149d0ce" xlink:href="mdgl-20240930.xsd#mdgl_LineOfCreditFacilityDecreaseInMaximumBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_4776b310-c3ba-4558-b7d3-ece736c3c301" xlink:to="loc_mdgl_LineOfCreditFacilityDecreaseInMaximumBorrowingCapacity_7e3a3112-c282-4ae1-8902-d14c5149d0ce" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_9536d5fd-f309-4e97-bca1-453d9843d89e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_4776b310-c3ba-4558-b7d3-ece736c3c301" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_9536d5fd-f309-4e97-bca1-453d9843d89e" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity_0c73391f-9bb9-4c9d-b3a1-f5d18b9eb494" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_4776b310-c3ba-4558-b7d3-ece736c3c301" xlink:to="loc_us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity_0c73391f-9bb9-4c9d-b3a1-f5d18b9eb494" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_DebtInstrumentCovenantLiquidityMinimum_5cfcd9b2-ffb1-4ca9-a219-8592202409a3" xlink:href="mdgl-20240930.xsd#mdgl_DebtInstrumentCovenantLiquidityMinimum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_4776b310-c3ba-4558-b7d3-ece736c3c301" xlink:to="loc_mdgl_DebtInstrumentCovenantLiquidityMinimum_5cfcd9b2-ffb1-4ca9-a219-8592202409a3" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_56246229-65eb-435c-901a-5b0f7babb947" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_4776b310-c3ba-4558-b7d3-ece736c3c301" xlink:to="loc_us-gaap_LongTermDebt_56246229-65eb-435c-901a-5b0f7babb947" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityInterestRateAtPeriodEnd_1326d843-f483-4c4f-a834-f2406ba00374" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityInterestRateAtPeriodEnd"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_4776b310-c3ba-4558-b7d3-ece736c3c301" xlink:to="loc_us-gaap_LineOfCreditFacilityInterestRateAtPeriodEnd_1326d843-f483-4c4f-a834-f2406ba00374" xlink:type="arc" order="16"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/StockholdersEquityPreferredStockDetails" xlink:type="simple" xlink:href="mdgl-20240930.xsd#StockholdersEquityPreferredStockDetails"/>
  <link:definitionLink xlink:role="http://www.madrigalpharma.com/role/StockholdersEquityPreferredStockDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_7f9fb9ad-f2ec-4dca-a6f1-e7ee06509a67" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_3872848d-816d-4440-ae1e-93abc0732776" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_7f9fb9ad-f2ec-4dca-a6f1-e7ee06509a67" xlink:to="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_3872848d-816d-4440-ae1e-93abc0732776" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_a18c4733-ccb8-461a-8690-2810704047c1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_3872848d-816d-4440-ae1e-93abc0732776" xlink:to="loc_us-gaap_StatementClassOfStockAxis_a18c4733-ccb8-461a-8690-2810704047c1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_a18c4733-ccb8-461a-8690-2810704047c1_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_a18c4733-ccb8-461a-8690-2810704047c1" xlink:to="loc_us-gaap_ClassOfStockDomain_a18c4733-ccb8-461a-8690-2810704047c1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_fc9c8781-56d4-4839-ab86-76052113464d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_a18c4733-ccb8-461a-8690-2810704047c1" xlink:to="loc_us-gaap_ClassOfStockDomain_fc9c8781-56d4-4839-ab86-76052113464d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_ConvertibleSeriesAAndBPreferredStockMember_8335f668-cbd6-445b-88bc-2b0eec27b729" xlink:href="mdgl-20240930.xsd#mdgl_ConvertibleSeriesAAndBPreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_fc9c8781-56d4-4839-ab86-76052113464d" xlink:to="loc_mdgl_ConvertibleSeriesAAndBPreferredStockMember_8335f668-cbd6-445b-88bc-2b0eec27b729" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockParOrStatedValuePerShare_d1c7bc26-43f6-4e39-800a-821f91e37e77" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PreferredStockParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_7f9fb9ad-f2ec-4dca-a6f1-e7ee06509a67" xlink:to="loc_us-gaap_PreferredStockParOrStatedValuePerShare_d1c7bc26-43f6-4e39-800a-821f91e37e77" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockConvertibleConversionRatio_1a7f2687-1564-4652-86c3-17ca92c6de75" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PreferredStockConvertibleConversionRatio"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_7f9fb9ad-f2ec-4dca-a6f1-e7ee06509a67" xlink:to="loc_us-gaap_PreferredStockConvertibleConversionRatio_1a7f2687-1564-4652-86c3-17ca92c6de75" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_PreferredStockNumberOfVotingRights_b3cf2ced-9ec0-4733-84af-ec414c6432c8" xlink:href="mdgl-20240930.xsd#mdgl_PreferredStockNumberOfVotingRights"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_7f9fb9ad-f2ec-4dca-a6f1-e7ee06509a67" xlink:to="loc_mdgl_PreferredStockNumberOfVotingRights_b3cf2ced-9ec0-4733-84af-ec414c6432c8" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/StockholdersEquityPublicOfferingDetails" xlink:type="simple" xlink:href="mdgl-20240930.xsd#StockholdersEquityPublicOfferingDetails"/>
  <link:definitionLink xlink:role="http://www.madrigalpharma.com/role/StockholdersEquityPublicOfferingDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_818e5c21-76db-4c28-9daa-6de3b896c09d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_4294071c-d8a6-41e5-8fa1-5a1dec6ed892" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_818e5c21-76db-4c28-9daa-6de3b896c09d" xlink:to="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_4294071c-d8a6-41e5-8fa1-5a1dec6ed892" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsidiarySaleOfStockAxis_ab4d98f1-ea59-4d23-bf8a-5f440178cb5a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsidiarySaleOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_4294071c-d8a6-41e5-8fa1-5a1dec6ed892" xlink:to="loc_us-gaap_SubsidiarySaleOfStockAxis_ab4d98f1-ea59-4d23-bf8a-5f440178cb5a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_ab4d98f1-ea59-4d23-bf8a-5f440178cb5a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SaleOfStockNameOfTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_ab4d98f1-ea59-4d23-bf8a-5f440178cb5a" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_ab4d98f1-ea59-4d23-bf8a-5f440178cb5a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_734b49e1-b036-47e7-842a-d6f032086361" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SaleOfStockNameOfTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_ab4d98f1-ea59-4d23-bf8a-5f440178cb5a" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_734b49e1-b036-47e7-842a-d6f032086361" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_PublicOffering2024Member_feb98a93-0f81-4a0c-a00b-4c0769f80074" xlink:href="mdgl-20240930.xsd#mdgl_PublicOffering2024Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_734b49e1-b036-47e7-842a-d6f032086361" xlink:to="loc_mdgl_PublicOffering2024Member_feb98a93-0f81-4a0c-a00b-4c0769f80074" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OverAllotmentOptionMember_71231fb0-a189-4109-9dc2-3cafa1c8bafd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OverAllotmentOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_734b49e1-b036-47e7-842a-d6f032086361" xlink:to="loc_us-gaap_OverAllotmentOptionMember_71231fb0-a189-4109-9dc2-3cafa1c8bafd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_PublicOffering2023Member_19339740-ede9-4159-a0f6-c4b9348a172f" xlink:href="mdgl-20240930.xsd#mdgl_PublicOffering2023Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_734b49e1-b036-47e7-842a-d6f032086361" xlink:to="loc_mdgl_PublicOffering2023Member_19339740-ede9-4159-a0f6-c4b9348a172f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightAxis_6ed47b2a-ed23-4a93-b7f0-c504f4c3658a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfWarrantOrRightAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_4294071c-d8a6-41e5-8fa1-5a1dec6ed892" xlink:to="loc_us-gaap_ClassOfWarrantOrRightAxis_6ed47b2a-ed23-4a93-b7f0-c504f4c3658a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightDomain_6ed47b2a-ed23-4a93-b7f0-c504f4c3658a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfWarrantOrRightDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ClassOfWarrantOrRightAxis_6ed47b2a-ed23-4a93-b7f0-c504f4c3658a" xlink:to="loc_us-gaap_ClassOfWarrantOrRightDomain_6ed47b2a-ed23-4a93-b7f0-c504f4c3658a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightDomain_dc78c961-3363-4238-975a-9705eaa81e04" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfWarrantOrRightDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ClassOfWarrantOrRightAxis_6ed47b2a-ed23-4a93-b7f0-c504f4c3658a" xlink:to="loc_us-gaap_ClassOfWarrantOrRightDomain_dc78c961-3363-4238-975a-9705eaa81e04" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_PreFundedWarrantsMember_c78958d0-f208-4276-8006-502dbf946b64" xlink:href="mdgl-20240930.xsd#mdgl_PreFundedWarrantsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfWarrantOrRightDomain_dc78c961-3363-4238-975a-9705eaa81e04" xlink:to="loc_mdgl_PreFundedWarrantsMember_c78958d0-f208-4276-8006-502dbf946b64" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction_61dcab71-fa62-4c6e-ae60-69c4dc10ecda" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_818e5c21-76db-4c28-9daa-6de3b896c09d" xlink:to="loc_us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction_61dcab71-fa62-4c6e-ae60-69c4dc10ecda" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockPricePerShare_a4e8e218-af5c-409a-a3f4-bf37b6c76141" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SaleOfStockPricePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_818e5c21-76db-4c28-9daa-6de3b896c09d" xlink:to="loc_us-gaap_SaleOfStockPricePerShare_a4e8e218-af5c-409a-a3f4-bf37b6c76141" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights_37878fbc-5b2c-4487-9984-d6dcf0ad1398" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_818e5c21-76db-4c28-9daa-6de3b896c09d" xlink:to="loc_us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights_37878fbc-5b2c-4487-9984-d6dcf0ad1398" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1_3d5714d8-d8c5-4f44-8352-1b03a1b8a9d2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_818e5c21-76db-4c28-9daa-6de3b896c09d" xlink:to="loc_us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1_3d5714d8-d8c5-4f44-8352-1b03a1b8a9d2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_ClassOfWarrantOrRightStockPriceDiscountPerCommonShare_c32e4c5b-82ec-4bc1-9c1b-7ebcc09bc288" xlink:href="mdgl-20240930.xsd#mdgl_ClassOfWarrantOrRightStockPriceDiscountPerCommonShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_818e5c21-76db-4c28-9daa-6de3b896c09d" xlink:to="loc_mdgl_ClassOfWarrantOrRightStockPriceDiscountPerCommonShare_c32e4c5b-82ec-4bc1-9c1b-7ebcc09bc288" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_SaleOfStockPurchasingPeriod_99617d5c-a6c2-4515-8668-07f409f05949" xlink:href="mdgl-20240930.xsd#mdgl_SaleOfStockPurchasingPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_818e5c21-76db-4c28-9daa-6de3b896c09d" xlink:to="loc_mdgl_SaleOfStockPurchasingPeriod_99617d5c-a6c2-4515-8668-07f409f05949" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_SaleOfStockConsiderationReceivedOnTransactionGross_1ebf10dc-3465-4530-bd64-c76b1f2dfe57" xlink:href="mdgl-20240930.xsd#mdgl_SaleOfStockConsiderationReceivedOnTransactionGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_818e5c21-76db-4c28-9daa-6de3b896c09d" xlink:to="loc_mdgl_SaleOfStockConsiderationReceivedOnTransactionGross_1ebf10dc-3465-4530-bd64-c76b1f2dfe57" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockConsiderationReceivedOnTransaction_c92c3b58-5ff5-43d5-96a4-e61cd85ee0c5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SaleOfStockConsiderationReceivedOnTransaction"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_818e5c21-76db-4c28-9daa-6de3b896c09d" xlink:to="loc_us-gaap_SaleOfStockConsiderationReceivedOnTransaction_c92c3b58-5ff5-43d5-96a4-e61cd85ee0c5" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_ClassOfWarrantOrRightBeneficialOwnershipExerciseThreshold_866baa19-19ab-437c-9959-01863f3f5ee2" xlink:href="mdgl-20240930.xsd#mdgl_ClassOfWarrantOrRightBeneficialOwnershipExerciseThreshold"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_818e5c21-76db-4c28-9daa-6de3b896c09d" xlink:to="loc_mdgl_ClassOfWarrantOrRightBeneficialOwnershipExerciseThreshold_866baa19-19ab-437c-9959-01863f3f5ee2" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_ClassOfWarrantOrRightBeneficialOwnershipMaximumThreshold_1ed0de77-59fb-4731-96cb-b2df8dff8b53" xlink:href="mdgl-20240930.xsd#mdgl_ClassOfWarrantOrRightBeneficialOwnershipMaximumThreshold"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_818e5c21-76db-4c28-9daa-6de3b896c09d" xlink:to="loc_mdgl_ClassOfWarrantOrRightBeneficialOwnershipMaximumThreshold_1ed0de77-59fb-4731-96cb-b2df8dff8b53" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_ClassOfWarrantOrRightBeneficialOwnershipExercisePercentageNoticePeriod_16b131e2-082b-42ad-885e-d39087d02ab3" xlink:href="mdgl-20240930.xsd#mdgl_ClassOfWarrantOrRightBeneficialOwnershipExercisePercentageNoticePeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_818e5c21-76db-4c28-9daa-6de3b896c09d" xlink:to="loc_mdgl_ClassOfWarrantOrRightBeneficialOwnershipExercisePercentageNoticePeriod_16b131e2-082b-42ad-885e-d39087d02ab3" xlink:type="arc" order="10"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/StockholdersEquityAtTheMarketIssuancesDetails" xlink:type="simple" xlink:href="mdgl-20240930.xsd#StockholdersEquityAtTheMarketIssuancesDetails"/>
  <link:definitionLink xlink:role="http://www.madrigalpharma.com/role/StockholdersEquityAtTheMarketIssuancesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_660443f0-74bd-47ab-ade3-8dc984a7e420" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_dff62398-32e6-4a86-8644-555a604d2298" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_660443f0-74bd-47ab-ade3-8dc984a7e420" xlink:to="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_dff62398-32e6-4a86-8644-555a604d2298" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CounterpartyNameAxis_a7c042f8-8c72-46aa-ac7a-af795f331a86" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_CounterpartyNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_dff62398-32e6-4a86-8644-555a604d2298" xlink:to="loc_srt_CounterpartyNameAxis_a7c042f8-8c72-46aa-ac7a-af795f331a86" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_a7c042f8-8c72-46aa-ac7a-af795f331a86_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CounterpartyNameAxis_a7c042f8-8c72-46aa-ac7a-af795f331a86" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_a7c042f8-8c72-46aa-ac7a-af795f331a86_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_a300c47c-7e9d-4ae8-b6d0-17a861e3386b" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CounterpartyNameAxis_a7c042f8-8c72-46aa-ac7a-af795f331a86" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_a300c47c-7e9d-4ae8-b6d0-17a861e3386b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_CowenCo.LlcMember_578bb4ba-b286-42ff-853d-2bf90a8bafd3" xlink:href="mdgl-20240930.xsd#mdgl_CowenCo.LlcMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_a300c47c-7e9d-4ae8-b6d0-17a861e3386b" xlink:to="loc_mdgl_CowenCo.LlcMember_578bb4ba-b286-42ff-853d-2bf90a8bafd3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_a4bc6ac6-5bf9-4f20-b8a1-c26f55702ded" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_dff62398-32e6-4a86-8644-555a604d2298" xlink:to="loc_srt_RangeAxis_a4bc6ac6-5bf9-4f20-b8a1-c26f55702ded" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_a4bc6ac6-5bf9-4f20-b8a1-c26f55702ded_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_a4bc6ac6-5bf9-4f20-b8a1-c26f55702ded" xlink:to="loc_srt_RangeMember_a4bc6ac6-5bf9-4f20-b8a1-c26f55702ded_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_be1637ef-ed39-4e96-a983-a8dd1ef9df6d" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_a4bc6ac6-5bf9-4f20-b8a1-c26f55702ded" xlink:to="loc_srt_RangeMember_be1637ef-ed39-4e96-a983-a8dd1ef9df6d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_2394244d-2807-4fd1-9391-d3c0a6717b9f" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_be1637ef-ed39-4e96-a983-a8dd1ef9df6d" xlink:to="loc_srt_MaximumMember_2394244d-2807-4fd1-9391-d3c0a6717b9f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsidiarySaleOfStockAxis_ef7b9852-9e7b-43f3-97c5-3639820c9e89" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsidiarySaleOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_dff62398-32e6-4a86-8644-555a604d2298" xlink:to="loc_us-gaap_SubsidiarySaleOfStockAxis_ef7b9852-9e7b-43f3-97c5-3639820c9e89" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_ef7b9852-9e7b-43f3-97c5-3639820c9e89_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SaleOfStockNameOfTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_ef7b9852-9e7b-43f3-97c5-3639820c9e89" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_ef7b9852-9e7b-43f3-97c5-3639820c9e89_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_7300ae8f-cd9e-48ea-a350-bc97ad84bcee" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SaleOfStockNameOfTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_ef7b9852-9e7b-43f3-97c5-3639820c9e89" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_7300ae8f-cd9e-48ea-a350-bc97ad84bcee" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_TwoThousandAndTwentyOneSalesAgreementMember_cb5dfc46-20ab-48b1-8db1-0b1fe1595264" xlink:href="mdgl-20240930.xsd#mdgl_TwoThousandAndTwentyOneSalesAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_7300ae8f-cd9e-48ea-a350-bc97ad84bcee" xlink:to="loc_mdgl_TwoThousandAndTwentyOneSalesAgreementMember_cb5dfc46-20ab-48b1-8db1-0b1fe1595264" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_A2024SalesAgreementMember_52ea2b0c-1b61-4acd-a939-d3ec64fe21de" xlink:href="mdgl-20240930.xsd#mdgl_A2024SalesAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_7300ae8f-cd9e-48ea-a350-bc97ad84bcee" xlink:to="loc_mdgl_A2024SalesAgreementMember_52ea2b0c-1b61-4acd-a939-d3ec64fe21de" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_A2024SalesAgreementAndSalesAgreementAmendmentMember_b490de25-38cd-4292-83ee-e7a086775c34" xlink:href="mdgl-20240930.xsd#mdgl_A2024SalesAgreementAndSalesAgreementAmendmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_7300ae8f-cd9e-48ea-a350-bc97ad84bcee" xlink:to="loc_mdgl_A2024SalesAgreementAndSalesAgreementAmendmentMember_b490de25-38cd-4292-83ee-e7a086775c34" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_c268052f-3a03-448f-9fd0-5d16ddda3b43" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_dff62398-32e6-4a86-8644-555a604d2298" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_c268052f-3a03-448f-9fd0-5d16ddda3b43" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_c268052f-3a03-448f-9fd0-5d16ddda3b43_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_c268052f-3a03-448f-9fd0-5d16ddda3b43" xlink:to="loc_us-gaap_EquityComponentDomain_c268052f-3a03-448f-9fd0-5d16ddda3b43_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_3b613988-b38c-45bd-9215-7f34d90e980a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_c268052f-3a03-448f-9fd0-5d16ddda3b43" xlink:to="loc_us-gaap_EquityComponentDomain_3b613988-b38c-45bd-9215-7f34d90e980a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_25e88e4f-fcd8-47b6-a548-cdd5aacb8e17" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_3b613988-b38c-45bd-9215-7f34d90e980a" xlink:to="loc_us-gaap_CommonStockMember_25e88e4f-fcd8-47b6-a548-cdd5aacb8e17" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_CommonStockAggregateOfferingPrice_3751abe8-30f3-4cf2-bb01-809c4bf06455" xlink:href="mdgl-20240930.xsd#mdgl_CommonStockAggregateOfferingPrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_660443f0-74bd-47ab-ade3-8dc984a7e420" xlink:to="loc_mdgl_CommonStockAggregateOfferingPrice_3751abe8-30f3-4cf2-bb01-809c4bf06455" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction_1399ad9f-4416-4866-843f-391aaec6c7a0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_660443f0-74bd-47ab-ade3-8dc984a7e420" xlink:to="loc_us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction_1399ad9f-4416-4866-843f-391aaec6c7a0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_SaleOfStockConsiderationReceivedOnTransactionGross_b3c86be4-0331-42b0-8a31-7ba5f73fa36e" xlink:href="mdgl-20240930.xsd#mdgl_SaleOfStockConsiderationReceivedOnTransactionGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_660443f0-74bd-47ab-ade3-8dc984a7e420" xlink:to="loc_mdgl_SaleOfStockConsiderationReceivedOnTransactionGross_b3c86be4-0331-42b0-8a31-7ba5f73fa36e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockConsiderationReceivedOnTransaction_f2d17d7b-7014-4cd3-bc09-d5502bdfb032" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SaleOfStockConsiderationReceivedOnTransaction"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_660443f0-74bd-47ab-ade3-8dc984a7e420" xlink:to="loc_us-gaap_SaleOfStockConsiderationReceivedOnTransaction_f2d17d7b-7014-4cd3-bc09-d5502bdfb032" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchaseProgramAuthorizedAmount1_65f42c47-fe6c-4805-a40b-4a9d1c7cb576" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockRepurchaseProgramAuthorizedAmount1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_660443f0-74bd-47ab-ade3-8dc984a7e420" xlink:to="loc_us-gaap_StockRepurchaseProgramAuthorizedAmount1_65f42c47-fe6c-4805-a40b-4a9d1c7cb576" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/StockbasedCompensationNarrativeDetails" xlink:type="simple" xlink:href="mdgl-20240930.xsd#StockbasedCompensationNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.madrigalpharma.com/role/StockbasedCompensationNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_12693f7e-c67d-48fe-8ac0-df10abb21418" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_be844dd8-1f8b-4298-bb72-09a8116d925b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_12693f7e-c67d-48fe-8ac0-df10abb21418" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_be844dd8-1f8b-4298-bb72-09a8116d925b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_bec2c7de-b21a-44cd-a589-f00def83732b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_be844dd8-1f8b-4298-bb72-09a8116d925b" xlink:to="loc_us-gaap_AwardTypeAxis_bec2c7de-b21a-44cd-a589-f00def83732b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_bec2c7de-b21a-44cd-a589-f00def83732b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_bec2c7de-b21a-44cd-a589-f00def83732b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_bec2c7de-b21a-44cd-a589-f00def83732b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3ac646ee-5a42-4862-b8f5-1ccee2c27c01" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_bec2c7de-b21a-44cd-a589-f00def83732b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3ac646ee-5a42-4862-b8f5-1ccee2c27c01" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_27dd73c3-a7f9-43de-8e39-73621a504271" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3ac646ee-5a42-4862-b8f5-1ccee2c27c01" xlink:to="loc_us-gaap_EmployeeStockOptionMember_27dd73c3-a7f9-43de-8e39-73621a504271" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_0baaebd1-553e-43b1-a378-c4b83c52a65b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3ac646ee-5a42-4862-b8f5-1ccee2c27c01" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_0baaebd1-553e-43b1-a378-c4b83c52a65b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceSharesMember_45beba09-0e6e-4379-b87b-31af821d8856" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PerformanceSharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3ac646ee-5a42-4862-b8f5-1ccee2c27c01" xlink:to="loc_us-gaap_PerformanceSharesMember_45beba09-0e6e-4379-b87b-31af821d8856" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameAxis_ca332a92-5eab-45d2-8142-88ce4404419e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_be844dd8-1f8b-4298-bb72-09a8116d925b" xlink:to="loc_us-gaap_PlanNameAxis_ca332a92-5eab-45d2-8142-88ce4404419e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_ca332a92-5eab-45d2-8142-88ce4404419e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_ca332a92-5eab-45d2-8142-88ce4404419e" xlink:to="loc_us-gaap_PlanNameDomain_ca332a92-5eab-45d2-8142-88ce4404419e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_ec63ae51-feb2-4697-8b2d-e87060b5058c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_ca332a92-5eab-45d2-8142-88ce4404419e" xlink:to="loc_us-gaap_PlanNameDomain_ec63ae51-feb2-4697-8b2d-e87060b5058c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_StockPlan2015Member_787d281d-883d-4580-8def-9bdcb743fc21" xlink:href="mdgl-20240930.xsd#mdgl_StockPlan2015Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_ec63ae51-feb2-4697-8b2d-e87060b5058c" xlink:to="loc_mdgl_StockPlan2015Member_787d281d-883d-4580-8def-9bdcb743fc21" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_InducementPlan2023Member_036c4264-b36a-414f-8a2a-b59afb796131" xlink:href="mdgl-20240930.xsd#mdgl_InducementPlan2023Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_ec63ae51-feb2-4697-8b2d-e87060b5058c" xlink:to="loc_mdgl_InducementPlan2023Member_036c4264-b36a-414f-8a2a-b59afb796131" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_TwoThousandAndFifteenStockAndInducementPlanMember_9bd4ead7-e9a6-4afa-b995-086b8fe73dc4" xlink:href="mdgl-20240930.xsd#mdgl_TwoThousandAndFifteenStockAndInducementPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_ec63ae51-feb2-4697-8b2d-e87060b5058c" xlink:to="loc_mdgl_TwoThousandAndFifteenStockAndInducementPlanMember_9bd4ead7-e9a6-4afa-b995-086b8fe73dc4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_1a1f65df-acbb-44fe-abf6-bdd07fcd5ed2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_12693f7e-c67d-48fe-8ac0-df10abb21418" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_1a1f65df-acbb-44fe-abf6-bdd07fcd5ed2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_fd5a021d-0a84-4e9e-8c58-1c13fd6b06a0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_12693f7e-c67d-48fe-8ac0-df10abb21418" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_fd5a021d-0a84-4e9e-8c58-1c13fd6b06a0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_7a814d75-1b02-4fbf-b8d1-77403503635f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockCapitalSharesReservedForFutureIssuance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_12693f7e-c67d-48fe-8ac0-df10abb21418" xlink:to="loc_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_7a814d75-1b02-4fbf-b8d1-77403503635f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_259fbc71-4035-4360-9d7d-71226bb0f52d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromStockOptionsExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_12693f7e-c67d-48fe-8ac0-df10abb21418" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_259fbc71-4035-4360-9d7d-71226bb0f52d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_6c926e35-5501-4507-9907-3b6b383b9de8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_12693f7e-c67d-48fe-8ac0-df10abb21418" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_6c926e35-5501-4507-9907-3b6b383b9de8" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_8c69fe60-7fb2-43f8-b7fe-f71c57c4d59a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_12693f7e-c67d-48fe-8ac0-df10abb21418" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_8c69fe60-7fb2-43f8-b7fe-f71c57c4d59a" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_b33fa78d-31d2-4105-9804-097e2bae2bfc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_12693f7e-c67d-48fe-8ac0-df10abb21418" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_b33fa78d-31d2-4105-9804-097e2bae2bfc" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_53e32f42-5f40-4741-a9b3-a7f33a6913d7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_12693f7e-c67d-48fe-8ac0-df10abb21418" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_53e32f42-5f40-4741-a9b3-a7f33a6913d7" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_CommonStockCapitalSharesGrantedAndIssuable_fd980087-e03f-44fc-a900-8fc3769c5bf5" xlink:href="mdgl-20240930.xsd#mdgl_CommonStockCapitalSharesGrantedAndIssuable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_12693f7e-c67d-48fe-8ac0-df10abb21418" xlink:to="loc_mdgl_CommonStockCapitalSharesGrantedAndIssuable_fd980087-e03f-44fc-a900-8fc3769c5bf5" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_6bc8c77b-4870-4322-8f51-1c4462f5ffd7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_12693f7e-c67d-48fe-8ac0-df10abb21418" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_6bc8c77b-4870-4322-8f51-1c4462f5ffd7" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_7ca6446d-476a-47af-b559-02facf746dbb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_12693f7e-c67d-48fe-8ac0-df10abb21418" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_7ca6446d-476a-47af-b559-02facf746dbb" xlink:type="arc" order="10"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/StockbasedCompensationRestrictedStockUnitsDetails" xlink:type="simple" xlink:href="mdgl-20240930.xsd#StockbasedCompensationRestrictedStockUnitsDetails"/>
  <link:definitionLink xlink:role="http://www.madrigalpharma.com/role/StockbasedCompensationRestrictedStockUnitsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1f5ecad0-d1c7-4f53-a23e-74ef92ec1064" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_7b19db7f-c1b0-4f11-b2a9-464c23b1211c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1f5ecad0-d1c7-4f53-a23e-74ef92ec1064" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_7b19db7f-c1b0-4f11-b2a9-464c23b1211c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_67adf8f1-4a4f-4d20-b2ac-ec1f979cb8c3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_7b19db7f-c1b0-4f11-b2a9-464c23b1211c" xlink:to="loc_us-gaap_AwardTypeAxis_67adf8f1-4a4f-4d20-b2ac-ec1f979cb8c3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_67adf8f1-4a4f-4d20-b2ac-ec1f979cb8c3_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_67adf8f1-4a4f-4d20-b2ac-ec1f979cb8c3" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_67adf8f1-4a4f-4d20-b2ac-ec1f979cb8c3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_a5201235-076d-42d9-bb42-3cff93958bdc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_67adf8f1-4a4f-4d20-b2ac-ec1f979cb8c3" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_a5201235-076d-42d9-bb42-3cff93958bdc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_1580faff-0194-4a4c-8b47-79897a5c740c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_a5201235-076d-42d9-bb42-3cff93958bdc" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_1580faff-0194-4a4c-8b47-79897a5c740c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingRollForward_230a3885-58c8-4c7c-9eae-73e31ea2b042" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1f5ecad0-d1c7-4f53-a23e-74ef92ec1064" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingRollForward_230a3885-58c8-4c7c-9eae-73e31ea2b042" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_35b7ffef-f5e1-459f-9dfc-0b68ea3202bc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingRollForward_230a3885-58c8-4c7c-9eae-73e31ea2b042" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_35b7ffef-f5e1-459f-9dfc-0b68ea3202bc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_3cbcd720-55ee-4484-b1e1-e3e6591bb864" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingRollForward_230a3885-58c8-4c7c-9eae-73e31ea2b042" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_3cbcd720-55ee-4484-b1e1-e3e6591bb864" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_d2bac252-d9bd-4147-b089-ce452f181adc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingRollForward_230a3885-58c8-4c7c-9eae-73e31ea2b042" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_d2bac252-d9bd-4147-b089-ce452f181adc" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_b8790a34-6e20-43bc-9d3d-2f0433f9dd7b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingRollForward_230a3885-58c8-4c7c-9eae-73e31ea2b042" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_b8790a34-6e20-43bc-9d3d-2f0433f9dd7b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_20e29cc2-2028-4f78-8728-127f5c02138e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_57481900-d0b3-4d6c-a6b4-8214b512843e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_1f5ecad0-d1c7-4f53-a23e-74ef92ec1064" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_57481900-d0b3-4d6c-a6b4-8214b512843e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_a1a1658b-4167-4b7f-9e1c-256c234449e4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_57481900-d0b3-4d6c-a6b4-8214b512843e" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_a1a1658b-4167-4b7f-9e1c-256c234449e4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_56a75df1-0aae-4278-a5af-06fd262a7d84" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_57481900-d0b3-4d6c-a6b4-8214b512843e" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_56a75df1-0aae-4278-a5af-06fd262a7d84" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_5032cdf5-490e-41c0-ae00-b306416d0ccf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_57481900-d0b3-4d6c-a6b4-8214b512843e" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_5032cdf5-490e-41c0-ae00-b306416d0ccf" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_14289bc7-f453-4f38-b346-8dfe2726029d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_57481900-d0b3-4d6c-a6b4-8214b512843e" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_14289bc7-f453-4f38-b346-8dfe2726029d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_7b9181d7-d321-47e2-86e5-1590577e4de8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/StockbasedCompensationPerformanceBasedRestrictedStockUnitsDetails" xlink:type="simple" xlink:href="mdgl-20240930.xsd#StockbasedCompensationPerformanceBasedRestrictedStockUnitsDetails"/>
  <link:definitionLink xlink:role="http://www.madrigalpharma.com/role/StockbasedCompensationPerformanceBasedRestrictedStockUnitsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_0fe71e12-aa42-4aa9-a830-3506c2a34f5d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_c2361c0e-f945-42c3-91d1-b412cf4b8aa0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_0fe71e12-aa42-4aa9-a830-3506c2a34f5d" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_c2361c0e-f945-42c3-91d1-b412cf4b8aa0" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_b2661f06-2470-4910-87d6-782b7a735bbf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_c2361c0e-f945-42c3-91d1-b412cf4b8aa0" xlink:to="loc_us-gaap_AwardTypeAxis_b2661f06-2470-4910-87d6-782b7a735bbf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_b2661f06-2470-4910-87d6-782b7a735bbf_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_b2661f06-2470-4910-87d6-782b7a735bbf" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_b2661f06-2470-4910-87d6-782b7a735bbf_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_50cebf98-dc90-4510-b349-223d70a7fd7b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_b2661f06-2470-4910-87d6-782b7a735bbf" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_50cebf98-dc90-4510-b349-223d70a7fd7b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceSharesMember_81ff2524-613c-4912-86b7-24e5d915bc1d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PerformanceSharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_50cebf98-dc90-4510-b349-223d70a7fd7b" xlink:to="loc_us-gaap_PerformanceSharesMember_81ff2524-613c-4912-86b7-24e5d915bc1d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_EligibleToEarnPerformanceShareMember_00d618bc-c6c4-44b8-a1db-8e251cc247ea" xlink:href="mdgl-20240930.xsd#mdgl_EligibleToEarnPerformanceShareMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_50cebf98-dc90-4510-b349-223d70a7fd7b" xlink:to="loc_mdgl_EligibleToEarnPerformanceShareMember_00d618bc-c6c4-44b8-a1db-8e251cc247ea" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingRollForward_37b20d2b-65bc-445f-b6cd-20e0f0d1eb2a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_0fe71e12-aa42-4aa9-a830-3506c2a34f5d" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingRollForward_37b20d2b-65bc-445f-b6cd-20e0f0d1eb2a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_7eedbf78-8b88-438a-aa83-de9e8da77cce" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingRollForward_37b20d2b-65bc-445f-b6cd-20e0f0d1eb2a" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_7eedbf78-8b88-438a-aa83-de9e8da77cce" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_a3e7ae92-5b60-4bd7-94a6-271df3d1a6ac" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingRollForward_37b20d2b-65bc-445f-b6cd-20e0f0d1eb2a" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_a3e7ae92-5b60-4bd7-94a6-271df3d1a6ac" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_4636edc6-8d4b-4c09-aaa7-1c71e96d6c12" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingRollForward_37b20d2b-65bc-445f-b6cd-20e0f0d1eb2a" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_4636edc6-8d4b-4c09-aaa7-1c71e96d6c12" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_3e63a25f-8c72-49ee-a79a-c9ff3cd18fad" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingRollForward_37b20d2b-65bc-445f-b6cd-20e0f0d1eb2a" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_3e63a25f-8c72-49ee-a79a-c9ff3cd18fad" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_cd441d91-eb37-4663-9dff-338bb2e1d8ce" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_7cc56cec-51c3-48ed-99a6-295443e6ffff" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_0fe71e12-aa42-4aa9-a830-3506c2a34f5d" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_7cc56cec-51c3-48ed-99a6-295443e6ffff" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_b8dbafa7-233e-4c27-83f5-524cf098406d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_7cc56cec-51c3-48ed-99a6-295443e6ffff" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_b8dbafa7-233e-4c27-83f5-524cf098406d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_9b22dca0-445b-4ca6-97b0-d86970399341" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_7cc56cec-51c3-48ed-99a6-295443e6ffff" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_9b22dca0-445b-4ca6-97b0-d86970399341" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_6b14253c-c143-4c17-9027-317074b6b2ce" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_7cc56cec-51c3-48ed-99a6-295443e6ffff" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_6b14253c-c143-4c17-9027-317074b6b2ce" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_e13cb4bf-0035-41e0-8246-2e5e06acaac6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_7cc56cec-51c3-48ed-99a6-295443e6ffff" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_e13cb4bf-0035-41e0-8246-2e5e06acaac6" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_abcef012-8876-4d1f-9680-f5ab2e511787" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/StockbasedCompensationStockBasedCompensationExpenseDetails" xlink:type="simple" xlink:href="mdgl-20240930.xsd#StockbasedCompensationStockBasedCompensationExpenseDetails"/>
  <link:definitionLink xlink:role="http://www.madrigalpharma.com/role/StockbasedCompensationStockBasedCompensationExpenseDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c8591c2b-3fa1-4a5c-b866-9479168a27ed" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_7a95f3eb-71cb-4d93-8dfa-b8270a382cd7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c8591c2b-3fa1-4a5c-b866-9479168a27ed" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_7a95f3eb-71cb-4d93-8dfa-b8270a382cd7" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_c570c4a1-4577-4ad3-bc01-e2986918c4f4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_7a95f3eb-71cb-4d93-8dfa-b8270a382cd7" xlink:to="loc_us-gaap_AwardTypeAxis_c570c4a1-4577-4ad3-bc01-e2986918c4f4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_c570c4a1-4577-4ad3-bc01-e2986918c4f4_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_c570c4a1-4577-4ad3-bc01-e2986918c4f4" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_c570c4a1-4577-4ad3-bc01-e2986918c4f4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_76bf83e9-819e-4a6d-938f-0b338db7ee5c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_c570c4a1-4577-4ad3-bc01-e2986918c4f4" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_76bf83e9-819e-4a6d-938f-0b338db7ee5c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_1247677f-e1e3-4ec3-8737-3d4b510e9dd2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_76bf83e9-819e-4a6d-938f-0b338db7ee5c" xlink:to="loc_us-gaap_EmployeeStockOptionMember_1247677f-e1e3-4ec3-8737-3d4b510e9dd2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_0d03c088-4660-4643-b9de-18ea20f6503f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_76bf83e9-819e-4a6d-938f-0b338db7ee5c" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_0d03c088-4660-4643-b9de-18ea20f6503f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceSharesMember_1dbc216d-476c-4dbf-a6c0-04021b39000a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PerformanceSharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_76bf83e9-819e-4a6d-938f-0b338db7ee5c" xlink:to="loc_us-gaap_PerformanceSharesMember_1dbc216d-476c-4dbf-a6c0-04021b39000a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_11b146cd-2ec0-4871-9dfa-9a68ca523ad2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_7a95f3eb-71cb-4d93-8dfa-b8270a382cd7" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_11b146cd-2ec0-4871-9dfa-9a68ca523ad2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_11b146cd-2ec0-4871-9dfa-9a68ca523ad2_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_11b146cd-2ec0-4871-9dfa-9a68ca523ad2" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_11b146cd-2ec0-4871-9dfa-9a68ca523ad2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_6b4861cf-dd63-4521-87c2-fa291acd13da" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_11b146cd-2ec0-4871-9dfa-9a68ca523ad2" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_6b4861cf-dd63-4521-87c2-fa291acd13da" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember_affe3ec4-e17b-43f1-8406-5900f3695d54" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ResearchAndDevelopmentExpenseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_6b4861cf-dd63-4521-87c2-fa291acd13da" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_affe3ec4-e17b-43f1-8406-5900f3695d54" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_177f9dd4-7a6e-42ed-a3c3-168e4dee7989" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SellingGeneralAndAdministrativeExpensesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_6b4861cf-dd63-4521-87c2-fa291acd13da" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_177f9dd4-7a6e-42ed-a3c3-168e4dee7989" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_a7d19513-1c95-4cf0-afae-b7bea71364c4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c8591c2b-3fa1-4a5c-b866-9479168a27ed" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_a7d19513-1c95-4cf0-afae-b7bea71364c4" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.madrigalpharma.com/role/CommitmentsandContingenciesDetails" xlink:type="simple" xlink:href="mdgl-20240930.xsd#CommitmentsandContingenciesDetails"/>
  <link:definitionLink xlink:role="http://www.madrigalpharma.com/role/CommitmentsandContingenciesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_8ce795ea-7ddf-43f5-b973-6499262ad35e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_3f0754a7-0eb9-472c-a3ae-7a3d3be15230" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8ce795ea-7ddf-43f5-b973-6499262ad35e" xlink:to="loc_us-gaap_DebtInstrumentTable_3f0754a7-0eb9-472c-a3ae-7a3d3be15230" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CounterpartyNameAxis_0cd84b46-691a-41d0-9210-588ab3f2b185" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_CounterpartyNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_3f0754a7-0eb9-472c-a3ae-7a3d3be15230" xlink:to="loc_srt_CounterpartyNameAxis_0cd84b46-691a-41d0-9210-588ab3f2b185" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_0cd84b46-691a-41d0-9210-588ab3f2b185_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CounterpartyNameAxis_0cd84b46-691a-41d0-9210-588ab3f2b185" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_0cd84b46-691a-41d0-9210-588ab3f2b185_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_74bb9e9d-be15-470e-8039-61f94df7a4f1" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CounterpartyNameAxis_0cd84b46-691a-41d0-9210-588ab3f2b185" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_74bb9e9d-be15-470e-8039-61f94df7a4f1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_HoffmanLaRocheMember_7ce97264-4fe6-4ce5-914b-8ac23f53343e" xlink:href="mdgl-20240930.xsd#mdgl_HoffmanLaRocheMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_74bb9e9d-be15-470e-8039-61f94df7a4f1" xlink:to="loc_mdgl_HoffmanLaRocheMember_7ce97264-4fe6-4ce5-914b-8ac23f53343e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfArrangementAxis_4d70ade4-8475-4f21-9362-037313c4f554" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TypeOfArrangementAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_3f0754a7-0eb9-472c-a3ae-7a3d3be15230" xlink:to="loc_us-gaap_TypeOfArrangementAxis_4d70ade4-8475-4f21-9362-037313c4f554" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_4d70ade4-8475-4f21-9362-037313c4f554_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ArrangementsAndNonarrangementTransactionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TypeOfArrangementAxis_4d70ade4-8475-4f21-9362-037313c4f554" xlink:to="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_4d70ade4-8475-4f21-9362-037313c4f554_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_de9f3f5d-787a-476d-8ae4-2f62c9ab7b61" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ArrangementsAndNonarrangementTransactionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TypeOfArrangementAxis_4d70ade4-8475-4f21-9362-037313c4f554" xlink:to="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_de9f3f5d-787a-476d-8ae4-2f62c9ab7b61" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_ResearchDevelopmentAndCommercializationAgreementMember_2845803f-5834-4a02-9d10-5efa894d42f0" xlink:href="mdgl-20240930.xsd#mdgl_ResearchDevelopmentAndCommercializationAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_de9f3f5d-787a-476d-8ae4-2f62c9ab7b61" xlink:to="loc_mdgl_ResearchDevelopmentAndCommercializationAgreementMember_2845803f-5834-4a02-9d10-5efa894d42f0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_CollaborativeArrangementContingentConsiderationLiabilityMilestonePayment_7b66a5c4-b029-49e4-8325-ad57347f9fc6" xlink:href="mdgl-20240930.xsd#mdgl_CollaborativeArrangementContingentConsiderationLiabilityMilestonePayment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8ce795ea-7ddf-43f5-b973-6499262ad35e" xlink:to="loc_mdgl_CollaborativeArrangementContingentConsiderationLiabilityMilestonePayment_7b66a5c4-b029-49e4-8325-ad57347f9fc6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_RemainingMilestonePayments_0bf9aac0-b8af-4877-b70a-33aa78cf5e26" xlink:href="mdgl-20240930.xsd#mdgl_RemainingMilestonePayments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8ce795ea-7ddf-43f5-b973-6499262ad35e" xlink:to="loc_mdgl_RemainingMilestonePayments_0bf9aac0-b8af-4877-b70a-33aa78cf5e26" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_4d8b4dca-c339-4cb8-87f8-7fe815e3d0f4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Revenues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8ce795ea-7ddf-43f5-b973-6499262ad35e" xlink:to="loc_us-gaap_Revenues_4d8b4dca-c339-4cb8-87f8-7fe815e3d0f4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability_29477184-e523-4bf2-adc5-4e3629a0f02d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_8ce795ea-7ddf-43f5-b973-6499262ad35e" xlink:to="loc_us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability_29477184-e523-4bf2-adc5-4e3629a0f02d" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://xbrl.sec.gov/ecd/AwardTypeOnly" xlink:type="simple" xlink:href="https://xbrl.sec.gov/ecd/2023/ecd-2023.xsd#AwardTypeOnly"/>
  <link:definitionLink xlink:role="http://xbrl.sec.gov/ecd/AwardTypeOnly" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceSharesMember" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PerformanceSharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="loc_us-gaap_PerformanceSharesMember" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_EligibleToEarnPerformanceShareMember_67196ec9-5fbc-4637-b6bf-3ba0b74d4b7e" xlink:href="mdgl-20240930.xsd#mdgl_EligibleToEarnPerformanceShareMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="loc_mdgl_EligibleToEarnPerformanceShareMember_67196ec9-5fbc-4637-b6bf-3ba0b74d4b7e" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://xbrl.sec.gov/ecd/role/IndividualsOnly" xlink:type="simple" xlink:href="https://xbrl.sec.gov/ecd/2023/ecd-2023.xsd#IndividualsOnly"/>
  <link:definitionLink xlink:role="http://xbrl.sec.gov/ecd/role/IndividualsOnly" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ecd_AllIndividualsMember" xlink:href="https://xbrl.sec.gov/ecd/2023/ecd-2023.xsd#ecd_AllIndividualsMember"/>
    <link:loc xlink:type="locator" xlink:label="loc_mdgl_RichardLevyMember_c354df2b-397b-4e10-8c96-3ba8f66a1d69" xlink:href="mdgl-20240930.xsd#mdgl_RichardLevyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ecd_AllIndividualsMember" xlink:to="loc_mdgl_RichardLevyMember_c354df2b-397b-4e10-8c96-3ba8f66a1d69" xlink:type="arc" order="2"/>
  </link:definitionLink>
</link:linkbase>
