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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019e028f-7d9b-70cf-b19f-64545cfbe63c,g:7236b84c-0f3f-47d0-b6ad-31c002716963-->
<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.rhythmtx.com/role/CondensedConsolidatedBalanceSheetsParenthetical" xlink:type="simple" xlink:href="rytm-20260630.xsd#CondensedConsolidatedBalanceSheetsParenthetical"/>
  <link:definitionLink xlink:role="http://www.rhythmtx.com/role/CondensedConsolidatedBalanceSheetsParenthetical" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_019e028f-7e4e-75e1-b5b7-a6849f6827a1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_019e028f-7e4e-74d1-9985-6a07b1229a43" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_019e028f-7e4e-75e1-b5b7-a6849f6827a1" xlink:to="loc_us-gaap_StatementTable_019e028f-7e4e-74d1-9985-6a07b1229a43" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_019e028f-7e4e-7fa6-80e6-08a4cc27815f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_019e028f-7e4e-74d1-9985-6a07b1229a43" xlink:to="loc_us-gaap_StatementClassOfStockAxis_019e028f-7e4e-7fa6-80e6-08a4cc27815f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_019e028f-7e4e-7fa6-80e6-08a4cc27815f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_019e028f-7e4e-7fa6-80e6-08a4cc27815f" xlink:to="loc_us-gaap_ClassOfStockDomain_019e028f-7e4e-7fa6-80e6-08a4cc27815f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_019e028f-7e4e-7d7d-8cdf-2005652e7f28" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_019e028f-7e4e-7fa6-80e6-08a4cc27815f" xlink:to="loc_us-gaap_ClassOfStockDomain_019e028f-7e4e-7d7d-8cdf-2005652e7f28" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_SeriesAConvertiblePreferredStockMember_019e028f-7e4e-7758-985d-2d51d63d48d2" xlink:href="rytm-20260630.xsd#rytm_SeriesAConvertiblePreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_019e028f-7e4e-7d7d-8cdf-2005652e7f28" xlink:to="loc_rytm_SeriesAConvertiblePreferredStockMember_019e028f-7e4e-7758-985d-2d51d63d48d2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityParOrStatedValuePerShare_019e028f-7e4e-790a-8795-c84950fe0df8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TemporaryEquityParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e028f-7e4e-75e1-b5b7-a6849f6827a1" xlink:to="loc_us-gaap_TemporaryEquityParOrStatedValuePerShare_019e028f-7e4e-790a-8795-c84950fe0df8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquitySharesAuthorized_019e028f-7e4e-7143-b7a2-be0b22b79374" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TemporaryEquitySharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e028f-7e4e-75e1-b5b7-a6849f6827a1" xlink:to="loc_us-gaap_TemporaryEquitySharesAuthorized_019e028f-7e4e-7143-b7a2-be0b22b79374" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquitySharesIssued_019e028f-7e4e-735d-959b-b98308d7de13" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TemporaryEquitySharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e028f-7e4e-75e1-b5b7-a6849f6827a1" xlink:to="loc_us-gaap_TemporaryEquitySharesIssued_019e028f-7e4e-735d-959b-b98308d7de13" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquitySharesOutstanding_019e028f-7e4e-77b5-a2a4-92bd0072a3ea" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TemporaryEquitySharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e028f-7e4e-75e1-b5b7-a6849f6827a1" xlink:to="loc_us-gaap_TemporaryEquitySharesOutstanding_019e028f-7e4e-77b5-a2a4-92bd0072a3ea" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityLiquidationPreference_019e028f-7e4e-7652-b096-7ad4e8528cef" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TemporaryEquityLiquidationPreference"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e028f-7e4e-75e1-b5b7-a6849f6827a1" xlink:to="loc_us-gaap_TemporaryEquityLiquidationPreference_019e028f-7e4e-7652-b096-7ad4e8528cef" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockParOrStatedValuePerShare_019e028f-7e4e-7a3a-aec8-c801e11a28ab" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e028f-7e4e-75e1-b5b7-a6849f6827a1" xlink:to="loc_us-gaap_PreferredStockParOrStatedValuePerShare_019e028f-7e4e-7a3a-aec8-c801e11a28ab" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesAuthorized_019e028f-7e4e-7d4b-99a2-5d4a130752f7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e028f-7e4e-75e1-b5b7-a6849f6827a1" xlink:to="loc_us-gaap_PreferredStockSharesAuthorized_019e028f-7e4e-7d4b-99a2-5d4a130752f7" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesOutstanding_019e028f-7e4e-7847-bc9f-8a1868326cb1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e028f-7e4e-75e1-b5b7-a6849f6827a1" xlink:to="loc_us-gaap_PreferredStockSharesOutstanding_019e028f-7e4e-7847-bc9f-8a1868326cb1" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesIssued_019e028f-7e4e-7329-a62c-7ce1f537d061" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e028f-7e4e-75e1-b5b7-a6849f6827a1" xlink:to="loc_us-gaap_PreferredStockSharesIssued_019e028f-7e4e-7329-a62c-7ce1f537d061" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_019e028f-7e4e-79a7-af59-5f0c95fa997e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e028f-7e4e-75e1-b5b7-a6849f6827a1" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_019e028f-7e4e-79a7-af59-5f0c95fa997e" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_019e028f-7e4e-7c2c-a60c-d96b0bebeabb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e028f-7e4e-75e1-b5b7-a6849f6827a1" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_019e028f-7e4e-7c2c-a60c-d96b0bebeabb" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesIssued_019e028f-7e4e-7b4a-a961-b7411b30a6d0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e028f-7e4e-75e1-b5b7-a6849f6827a1" xlink:to="loc_us-gaap_CommonStockSharesIssued_019e028f-7e4e-7b4a-a961-b7411b30a6d0" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_019e028f-7e4e-75a4-a01f-621fc502e656" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e028f-7e4e-75e1-b5b7-a6849f6827a1" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_019e028f-7e4e-75a4-a01f-621fc502e656" xlink:type="arc" order="12"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.rhythmtx.com/role/CondensedConsolidatedStatementsofOperationsandComprehensiveLoss" xlink:type="simple" xlink:href="rytm-20260630.xsd#CondensedConsolidatedStatementsofOperationsandComprehensiveLoss"/>
  <link:definitionLink xlink:role="http://www.rhythmtx.com/role/CondensedConsolidatedStatementsofOperationsandComprehensiveLoss" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_019e028f-7e4e-7962-8928-7ed27cfbf176" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_019e028f-7e4e-71f8-9d9c-3686570adcfb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_019e028f-7e4e-7962-8928-7ed27cfbf176" xlink:to="loc_us-gaap_StatementTable_019e028f-7e4e-71f8-9d9c-3686570adcfb" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_019e028f-7e4e-78cf-8d2e-c9bb7e05da08" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_019e028f-7e4e-71f8-9d9c-3686570adcfb" xlink:to="loc_srt_ProductOrServiceAxis_019e028f-7e4e-78cf-8d2e-c9bb7e05da08" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_019e028f-7e4e-78cf-8d2e-c9bb7e05da08_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_019e028f-7e4e-78cf-8d2e-c9bb7e05da08" xlink:to="loc_srt_ProductsAndServicesDomain_019e028f-7e4e-78cf-8d2e-c9bb7e05da08_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_019e028f-7e4e-7c5c-9f58-3520884075e2" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_019e028f-7e4e-78cf-8d2e-c9bb7e05da08" xlink:to="loc_srt_ProductsAndServicesDomain_019e028f-7e4e-7c5c-9f58-3520884075e2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductMember_019e028f-7e4e-72fe-b686-b293725e46b4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProductMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_019e028f-7e4e-7c5c-9f58-3520884075e2" xlink:to="loc_us-gaap_ProductMember_019e028f-7e4e-72fe-b686-b293725e46b4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LicenseMember_019e028f-7e4e-75c6-9ea1-acad63391d09" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LicenseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_019e028f-7e4e-7c5c-9f58-3520884075e2" xlink:to="loc_us-gaap_LicenseMember_019e028f-7e4e-75c6-9ea1-acad63391d09" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019e028f-7e4e-76fe-9e56-e7c18e7a2a15" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e028f-7e4e-7962-8928-7ed27cfbf176" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019e028f-7e4e-76fe-9e56-e7c18e7a2a15" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpensesAbstract_019e028f-7e4e-7535-ba8e-cb2df54ec8c6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CostsAndExpensesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e028f-7e4e-7962-8928-7ed27cfbf176" xlink:to="loc_us-gaap_CostsAndExpensesAbstract_019e028f-7e4e-7535-ba8e-cb2df54ec8c6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_019e028f-7e4e-73a5-a4fe-9d573f0600ba" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_019e028f-7e4e-7535-ba8e-cb2df54ec8c6" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_019e028f-7e4e-73a5-a4fe-9d573f0600ba" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_019e028f-7e4e-7592-8e3a-b05a16a8fc26" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResearchAndDevelopmentExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_019e028f-7e4e-7535-ba8e-cb2df54ec8c6" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_019e028f-7e4e-7592-8e3a-b05a16a8fc26" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_019e028f-7e4e-7aed-8d31-cf9fe14e2c0d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_019e028f-7e4e-7535-ba8e-cb2df54ec8c6" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_019e028f-7e4e-7aed-8d31-cf9fe14e2c0d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_019e028f-7e4e-77af-84d1-85e621bcd51f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CostsAndExpenses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_019e028f-7e4e-7535-ba8e-cb2df54ec8c6" xlink:to="loc_us-gaap_CostsAndExpenses_019e028f-7e4e-77af-84d1-85e621bcd51f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019e028f-7e4e-7c39-90b0-91ed7ae3a8c0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e028f-7e4e-7962-8928-7ed27cfbf176" xlink:to="loc_us-gaap_OperatingIncomeLoss_019e028f-7e4e-7c39-90b0-91ed7ae3a8c0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpenseAbstract_019e028f-7e4e-7437-b6cc-873e7547cbfd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NonoperatingIncomeExpenseAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e028f-7e4e-7962-8928-7ed27cfbf176" xlink:to="loc_us-gaap_NonoperatingIncomeExpenseAbstract_019e028f-7e4e-7437-b6cc-873e7547cbfd" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_019e028f-7e4e-72d6-bdd6-1dd99612a8f1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NonoperatingIncomeExpenseAbstract_019e028f-7e4e-7437-b6cc-873e7547cbfd" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_019e028f-7e4e-72d6-bdd6-1dd99612a8f1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseNonoperating_019e028f-7e4e-7a01-a537-54cd80cff84a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseNonoperating"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NonoperatingIncomeExpenseAbstract_019e028f-7e4e-7437-b6cc-873e7547cbfd" xlink:to="loc_us-gaap_InterestExpenseNonoperating_019e028f-7e4e-7a01-a537-54cd80cff84a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeNet_019e028f-7e4e-7b72-a1cd-28423e86e30c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIncomeNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NonoperatingIncomeExpenseAbstract_019e028f-7e4e-7437-b6cc-873e7547cbfd" xlink:to="loc_us-gaap_InvestmentIncomeNet_019e028f-7e4e-7b72-a1cd-28423e86e30c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_019e028f-7e4e-7385-a646-d868a5d73b58" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NonoperatingIncomeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NonoperatingIncomeExpenseAbstract_019e028f-7e4e-7437-b6cc-873e7547cbfd" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_019e028f-7e4e-7385-a646-d868a5d73b58" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e028f-7e4e-7b23-ba2c-2e993ffb9026" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e028f-7e4e-7962-8928-7ed27cfbf176" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019e028f-7e4e-7b23-ba2c-2e993ffb9026" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019e028f-7e4e-72fd-894a-1f6ac49d5e04" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e028f-7e4e-7962-8928-7ed27cfbf176" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_019e028f-7e4e-72fd-894a-1f6ac49d5e04" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e028f-7e4e-752a-9d44-e017430c115a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e028f-7e4e-7962-8928-7ed27cfbf176" xlink:to="loc_us-gaap_NetIncomeLoss_019e028f-7e4e-752a-9d44-e017430c115a" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_ConvertiblePreferredStockDividends_019e028f-7e4e-7b9a-9d84-dd7507346551" xlink:href="rytm-20260630.xsd#rytm_ConvertiblePreferredStockDividends"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e028f-7e4e-7962-8928-7ed27cfbf176" xlink:to="loc_rytm_ConvertiblePreferredStockDividends_019e028f-7e4e-7b9a-9d84-dd7507346551" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019e028f-7e4e-7496-8c02-f2d1ddea0814" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e028f-7e4e-7962-8928-7ed27cfbf176" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019e028f-7e4e-7496-8c02-f2d1ddea0814" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasic_019e028f-7e4e-7221-a9c4-a0609ee45583" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EarningsPerShareBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e028f-7e4e-7962-8928-7ed27cfbf176" xlink:to="loc_us-gaap_EarningsPerShareBasic_019e028f-7e4e-7221-a9c4-a0609ee45583" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDiluted_019e028f-7e4e-70d3-b3b1-c520e1f34974" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EarningsPerShareDiluted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e028f-7e4e-7962-8928-7ed27cfbf176" xlink:to="loc_us-gaap_EarningsPerShareDiluted_019e028f-7e4e-70d3-b3b1-c520e1f34974" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019e028f-7e4e-74e2-8086-9e79222688f4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e028f-7e4e-7962-8928-7ed27cfbf176" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019e028f-7e4e-74e2-8086-9e79222688f4" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019e028f-7e4e-718f-9702-f4ba6de19503" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e028f-7e4e-7962-8928-7ed27cfbf176" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019e028f-7e4e-718f-9702-f4ba6de19503" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract_019e028f-7e4e-7ecc-a53e-fe7d30639076" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e028f-7e4e-7962-8928-7ed27cfbf176" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract_019e028f-7e4e-7ecc-a53e-fe7d30639076" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019faf7c-d04c-79ba-bf7e-9e9ec4dd16e7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019faf7f-9770-7f19-b98d-f4ac1da26bad" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_019e028f-7e4e-74f2-89a0-318056656318" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract_019e028f-7e4e-7ecc-a53e-fe7d30639076" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_019e028f-7e4e-74f2-89a0-318056656318" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_019e028f-7e4e-739a-8bcf-b5be4608afae" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract_019e028f-7e4e-7ecc-a53e-fe7d30639076" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_019e028f-7e4e-739a-8bcf-b5be4608afae" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_019e028f-7e4e-7801-b1c3-162202419637" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract_019e028f-7e4e-7ecc-a53e-fe7d30639076" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTax_019e028f-7e4e-7801-b1c3-162202419637" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.rhythmtx.com/role/CondensedConsolidatedStatementsofConvertiblePreferredStockStockholdersEquity" xlink:type="simple" xlink:href="rytm-20260630.xsd#CondensedConsolidatedStatementsofConvertiblePreferredStockStockholdersEquity"/>
  <link:definitionLink xlink:role="http://www.rhythmtx.com/role/CondensedConsolidatedStatementsofConvertiblePreferredStockStockholdersEquity" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_019e028f-7e4e-7f47-aabc-b2faee8f8e13" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_019e028f-7e4e-739b-966c-5281009fe955" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_019e028f-7e4e-7f47-aabc-b2faee8f8e13" xlink:to="loc_us-gaap_StatementTable_019e028f-7e4e-739b-966c-5281009fe955" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_019e028f-7e4e-7b9a-bba6-3cdf2263b6c9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_019e028f-7e4e-739b-966c-5281009fe955" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_019e028f-7e4e-7b9a-bba6-3cdf2263b6c9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019e028f-7e4e-7b9a-bba6-3cdf2263b6c9_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019e028f-7e4e-7b9a-bba6-3cdf2263b6c9" xlink:to="loc_us-gaap_EquityComponentDomain_019e028f-7e4e-7b9a-bba6-3cdf2263b6c9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019e028f-7e4e-75c0-99f3-497ecead09f1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019e028f-7e4e-7b9a-bba6-3cdf2263b6c9" xlink:to="loc_us-gaap_EquityComponentDomain_019e028f-7e4e-75c0-99f3-497ecead09f1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_019e028f-7e4e-774b-b576-5857f1843c4b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019e028f-7e4e-75c0-99f3-497ecead09f1" xlink:to="loc_us-gaap_CommonStockMember_019e028f-7e4e-774b-b576-5857f1843c4b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_019e028f-7e4e-7507-b20a-a379fd35ca95" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019e028f-7e4e-75c0-99f3-497ecead09f1" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_019e028f-7e4e-7507-b20a-a379fd35ca95" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_019e028f-7e4e-7660-86a0-e2964211776b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019e028f-7e4e-75c0-99f3-497ecead09f1" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_019e028f-7e4e-7660-86a0-e2964211776b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_019e028f-7e4e-7bab-86ce-87e017a4bd6f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019e028f-7e4e-75c0-99f3-497ecead09f1" xlink:to="loc_us-gaap_RetainedEarningsMember_019e028f-7e4e-7bab-86ce-87e017a4bd6f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_019e028f-7e4e-7ee0-9b07-031bf75c2042" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_019e028f-7e4e-739b-966c-5281009fe955" xlink:to="loc_us-gaap_StatementClassOfStockAxis_019e028f-7e4e-7ee0-9b07-031bf75c2042" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_019e028f-7e4e-7ee0-9b07-031bf75c2042_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_019e028f-7e4e-7ee0-9b07-031bf75c2042" xlink:to="loc_us-gaap_ClassOfStockDomain_019e028f-7e4e-7ee0-9b07-031bf75c2042_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_019e028f-7e4e-787b-97c2-7012e9064585" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_019e028f-7e4e-7ee0-9b07-031bf75c2042" xlink:to="loc_us-gaap_ClassOfStockDomain_019e028f-7e4e-787b-97c2-7012e9064585" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_SeriesAConvertiblePreferredStockMember_019e028f-7e4e-7719-b3e6-80d3b75a57ef" xlink:href="rytm-20260630.xsd#rytm_SeriesAConvertiblePreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_019e028f-7e4e-787b-97c2-7012e9064585" xlink:to="loc_rytm_SeriesAConvertiblePreferredStockMember_019e028f-7e4e-7719-b3e6-80d3b75a57ef" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_SeriesaConvertiblePreferredStockMember_019eacba-791d-7c7f-be7c-4c3a62a492c1" xlink:href="rytm-20260630.xsd#rytm_SeriesaConvertiblePreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_019e028f-7e4e-787b-97c2-7012e9064585" xlink:to="loc_rytm_SeriesaConvertiblePreferredStockMember_019eacba-791d-7c7f-be7c-4c3a62a492c1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityAbstract_019e028f-7e4e-71b9-9179-778ddf1035c0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TemporaryEquityAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e028f-7e4e-7f47-aabc-b2faee8f8e13" xlink:to="loc_us-gaap_TemporaryEquityAbstract_019e028f-7e4e-71b9-9179-778ddf1035c0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquitySharesOutstanding_019e028f-7e4e-798e-ae23-d1c26e260b88" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TemporaryEquitySharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityAbstract_019e028f-7e4e-71b9-9179-778ddf1035c0" xlink:to="loc_us-gaap_TemporaryEquitySharesOutstanding_019e028f-7e4e-798e-ae23-d1c26e260b88" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityCarryingAmountAttributableToParent_019e028f-7e4e-7589-9721-6bd0bcd51a2c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TemporaryEquityCarryingAmountAttributableToParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityAbstract_019e028f-7e4e-71b9-9179-778ddf1035c0" xlink:to="loc_us-gaap_TemporaryEquityCarryingAmountAttributableToParent_019e028f-7e4e-7589-9721-6bd0bcd51a2c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_TemporaryEquitySharesConversionOfConvertibleSecurities_019e028f-7e4e-76cb-b018-29e25e160336" xlink:href="rytm-20260630.xsd#rytm_TemporaryEquitySharesConversionOfConvertibleSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityAbstract_019e028f-7e4e-71b9-9179-778ddf1035c0" xlink:to="loc_rytm_TemporaryEquitySharesConversionOfConvertibleSecurities_019e028f-7e4e-76cb-b018-29e25e160336" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_TemporaryEquityValueConversionOfConvertibleSecurities_019e028f-7e4e-7504-a7ee-05d8268fd0d2" xlink:href="rytm-20260630.xsd#rytm_TemporaryEquityValueConversionOfConvertibleSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityAbstract_019e028f-7e4e-71b9-9179-778ddf1035c0" xlink:to="loc_rytm_TemporaryEquityValueConversionOfConvertibleSecurities_019e028f-7e4e-7504-a7ee-05d8268fd0d2" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityAccretionOfDividends_019e028f-7e4e-74f5-821a-f27e153e79d0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TemporaryEquityAccretionOfDividends"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityAbstract_019e028f-7e4e-71b9-9179-778ddf1035c0" xlink:to="loc_us-gaap_TemporaryEquityAccretionOfDividends_019e028f-7e4e-74f5-821a-f27e153e79d0" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_TemporaryEquityDeclarationOfDividends_019f94b5-83fd-78d8-a255-6f335e05e919" xlink:href="rytm-20260630.xsd#rytm_TemporaryEquityDeclarationOfDividends"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityAbstract_019e028f-7e4e-71b9-9179-778ddf1035c0" xlink:to="loc_rytm_TemporaryEquityDeclarationOfDividends_019f94b5-83fd-78d8-a255-6f335e05e919" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquitySharesOutstanding_019e028f-7e4e-7a46-b805-fde71c89f325" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TemporaryEquitySharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityCarryingAmountAttributableToParent_019e028f-7e4e-7bdf-9097-43c8b15ff373" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TemporaryEquityCarryingAmountAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e028f-7e4e-72cd-b881-0110aa28de14" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019e028f-7e4e-7f47-aabc-b2faee8f8e13" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e028f-7e4e-72cd-b881-0110aa28de14" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesIssued_019e028f-7e4e-7060-a0ef-40659a0558da" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e028f-7e4e-72cd-b881-0110aa28de14" xlink:to="loc_us-gaap_CommonStockSharesIssued_019e028f-7e4e-7060-a0ef-40659a0558da" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019e028f-7e4e-722f-bc72-3d85e323e60e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e028f-7e4e-72cd-b881-0110aa28de14" xlink:to="loc_us-gaap_StockholdersEquity_019e028f-7e4e-722f-bc72-3d85e323e60e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_019e028f-7e4e-70cd-a6e5-ff13eaebf962" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e028f-7e4e-72cd-b881-0110aa28de14" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_019e028f-7e4e-70cd-a6e5-ff13eaebf962" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_019e028f-7e4e-7d7a-b24f-a7ea42915bf5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e028f-7e4e-72cd-b881-0110aa28de14" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_019e028f-7e4e-7d7a-b24f-a7ea42915bf5" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_019e028f-7e4e-7cc1-9df0-d0bd4711ee9b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e028f-7e4e-72cd-b881-0110aa28de14" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_019e028f-7e4e-7cc1-9df0-d0bd4711ee9b" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_StockIssuedDuringPeriodSharesStockOptionsAndRestrictedStockUnitsVesting_019e028f-7e4e-7576-9d51-991d3c702daa" xlink:href="rytm-20260630.xsd#rytm_StockIssuedDuringPeriodSharesStockOptionsAndRestrictedStockUnitsVesting"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e028f-7e4e-72cd-b881-0110aa28de14" xlink:to="loc_rytm_StockIssuedDuringPeriodSharesStockOptionsAndRestrictedStockUnitsVesting_019e028f-7e4e-7576-9d51-991d3c702daa" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_StockIssuedDuringPeriodValueStockOptionsAndRestrictedStockUnitsVesting_019e028f-7e4e-76b0-83c1-d2e0330a39f7" xlink:href="rytm-20260630.xsd#rytm_StockIssuedDuringPeriodValueStockOptionsAndRestrictedStockUnitsVesting"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e028f-7e4e-72cd-b881-0110aa28de14" xlink:to="loc_rytm_StockIssuedDuringPeriodValueStockOptionsAndRestrictedStockUnitsVesting_019e028f-7e4e-76b0-83c1-d2e0330a39f7" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesPaidForTaxWithholdingForShareBasedCompensation_019e028f-7e4e-7499-9779-0273ab4f518a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SharesPaidForTaxWithholdingForShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e028f-7e4e-72cd-b881-0110aa28de14" xlink:to="loc_us-gaap_SharesPaidForTaxWithholdingForShareBasedCompensation_019e028f-7e4e-7499-9779-0273ab4f518a" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation_019e028f-7e4e-7515-9c17-56cb64890c26" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e028f-7e4e-72cd-b881-0110aa28de14" xlink:to="loc_us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation_019e028f-7e4e-7515-9c17-56cb64890c26" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_019e028f-7e4e-7e0b-88ef-80b5d652ade2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e028f-7e4e-72cd-b881-0110aa28de14" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_019e028f-7e4e-7e0b-88ef-80b5d652ade2" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities_019e028f-7e4e-77b5-b7a6-9cbd87264f5a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e028f-7e4e-72cd-b881-0110aa28de14" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities_019e028f-7e4e-77b5-b7a6-9cbd87264f5a" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalDividendsInExcessOfRetainedEarnings_019e028f-7e4e-7bd9-91a8-eb0724ccacaf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalDividendsInExcessOfRetainedEarnings"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e028f-7e4e-72cd-b881-0110aa28de14" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalDividendsInExcessOfRetainedEarnings_019e028f-7e4e-7bd9-91a8-eb0724ccacaf" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_019e028f-7e4e-7316-8895-64e06e6880a6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodSharesNewIssues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e028f-7e4e-72cd-b881-0110aa28de14" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_019e028f-7e4e-7316-8895-64e06e6880a6" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_019e028f-7e4e-766d-b197-938d4705b80a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodValueNewIssues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e028f-7e4e-72cd-b881-0110aa28de14" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_019e028f-7e4e-766d-b197-938d4705b80a" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_019e028f-7e4e-7dcf-b11d-7c843e61ebec" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e028f-7e4e-72cd-b881-0110aa28de14" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_019e028f-7e4e-7dcf-b11d-7c843e61ebec" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_019e028f-7e4e-76d6-9c2c-31583ecc0644" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e028f-7e4e-72cd-b881-0110aa28de14" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_019e028f-7e4e-76d6-9c2c-31583ecc0644" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e028f-7e4e-7467-a4c3-767869cf034b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019e028f-7e4e-72cd-b881-0110aa28de14" xlink:to="loc_us-gaap_NetIncomeLoss_019e028f-7e4e-7467-a4c3-767869cf034b" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesIssued_019e028f-7e4e-72ba-b886-a0738a4d25ce" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockSharesIssued"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019e028f-7e4e-76ec-8c36-7432dfc2c87e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.rhythmtx.com/role/SummaryofSignificantAccountingPoliciesOffBalanceSheetRiskandConcentrationsofCreditRiskDetails" xlink:type="simple" xlink:href="rytm-20260630.xsd#SummaryofSignificantAccountingPoliciesOffBalanceSheetRiskandConcentrationsofCreditRiskDetails"/>
  <link:definitionLink xlink:role="http://www.rhythmtx.com/role/SummaryofSignificantAccountingPoliciesOffBalanceSheetRiskandConcentrationsofCreditRiskDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductInformationLineItems_019e028f-7e4e-7d74-a3db-53b052f45776" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProductInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfProductInformationTable_019e028f-7e4e-7576-8d91-76229810dc7a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfProductInformationTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ProductInformationLineItems_019e028f-7e4e-7d74-a3db-53b052f45776" xlink:to="loc_us-gaap_ScheduleOfProductInformationTable_019e028f-7e4e-7576-8d91-76229810dc7a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MajorCustomersAxis_019e028f-7e4e-7a8d-b1fd-87c965849c7d" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MajorCustomersAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfProductInformationTable_019e028f-7e4e-7576-8d91-76229810dc7a" xlink:to="loc_srt_MajorCustomersAxis_019e028f-7e4e-7a8d-b1fd-87c965849c7d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_019e028f-7e4e-7a8d-b1fd-87c965849c7d_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_MajorCustomersAxis_019e028f-7e4e-7a8d-b1fd-87c965849c7d" xlink:to="loc_srt_NameOfMajorCustomerDomain_019e028f-7e4e-7a8d-b1fd-87c965849c7d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_019e028f-7e4e-722f-97f9-113364701442" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_MajorCustomersAxis_019e028f-7e4e-7a8d-b1fd-87c965849c7d" xlink:to="loc_srt_NameOfMajorCustomerDomain_019e028f-7e4e-722f-97f9-113364701442" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_CustomerOneMember_019e028f-7e4e-7eff-b33a-0701d2e616c1" xlink:href="rytm-20260630.xsd#rytm_CustomerOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_019e028f-7e4e-722f-97f9-113364701442" xlink:to="loc_rytm_CustomerOneMember_019e028f-7e4e-7eff-b33a-0701d2e616c1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_019e028f-7e4e-70aa-8107-eee37a26ed09" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfProductInformationTable_019e028f-7e4e-7576-8d91-76229810dc7a" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_019e028f-7e4e-70aa-8107-eee37a26ed09" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019e028f-7e4e-70aa-8107-eee37a26ed09_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_019e028f-7e4e-70aa-8107-eee37a26ed09" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019e028f-7e4e-70aa-8107-eee37a26ed09_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019e028f-7e4e-74c6-bdfc-ef14c8367e5d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_019e028f-7e4e-70aa-8107-eee37a26ed09" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019e028f-7e4e-74c6-bdfc-ef14c8367e5d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesRevenueNetMember_019e028f-7e4e-7388-a96a-e5395a4ef087" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesRevenueNetMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019e028f-7e4e-74c6-bdfc-ef14c8367e5d" xlink:to="loc_us-gaap_SalesRevenueNetMember_019e028f-7e4e-7388-a96a-e5395a4ef087" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableMember_019e028f-7e4e-7e99-84ab-f84e85e7f4f1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsReceivableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019e028f-7e4e-74c6-bdfc-ef14c8367e5d" xlink:to="loc_us-gaap_AccountsReceivableMember_019e028f-7e4e-7e99-84ab-f84e85e7f4f1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_019e028f-7e4e-712d-9c08-24e5866a663f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfProductInformationTable_019e028f-7e4e-7576-8d91-76229810dc7a" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_019e028f-7e4e-712d-9c08-24e5866a663f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_019e028f-7e4e-712d-9c08-24e5866a663f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_019e028f-7e4e-712d-9c08-24e5866a663f" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_019e028f-7e4e-712d-9c08-24e5866a663f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_019e028f-7e4e-7d2e-88ca-1e577f366d77" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_019e028f-7e4e-712d-9c08-24e5866a663f" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_019e028f-7e4e-7d2e-88ca-1e577f366d77" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerConcentrationRiskMember_019e028f-7e4e-70cb-a643-c015f70032ee" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CustomerConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_019e028f-7e4e-7d2e-88ca-1e577f366d77" xlink:to="loc_us-gaap_CustomerConcentrationRiskMember_019e028f-7e4e-70cb-a643-c015f70032ee" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_019e028f-7e4e-72e5-99d7-599bc8ca105f" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfProductInformationTable_019e028f-7e4e-7576-8d91-76229810dc7a" xlink:to="loc_srt_ProductOrServiceAxis_019e028f-7e4e-72e5-99d7-599bc8ca105f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_019e028f-7e4e-72e5-99d7-599bc8ca105f_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_019e028f-7e4e-72e5-99d7-599bc8ca105f" xlink:to="loc_srt_ProductsAndServicesDomain_019e028f-7e4e-72e5-99d7-599bc8ca105f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_019e028f-7e4e-79e4-9e76-f7fcbd9fc484" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_019e028f-7e4e-72e5-99d7-599bc8ca105f" xlink:to="loc_srt_ProductsAndServicesDomain_019e028f-7e4e-79e4-9e76-f7fcbd9fc484" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_NumberOfFederallyInsuredFinancialInstitutions_019e028f-7e4e-799a-a439-f000394e53f8" xlink:href="rytm-20260630.xsd#rytm_NumberOfFederallyInsuredFinancialInstitutions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductInformationLineItems_019e028f-7e4e-7d74-a3db-53b052f45776" xlink:to="loc_rytm_NumberOfFederallyInsuredFinancialInstitutions_019e028f-7e4e-799a-a439-f000394e53f8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_019e028f-7e4e-768e-9dd4-3be6443d19b6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskPercentage1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductInformationLineItems_019e028f-7e4e-7d74-a3db-53b052f45776" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_019e028f-7e4e-768e-9dd4-3be6443d19b6" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.rhythmtx.com/role/SummaryofSignificantAccountingPoliciesNetlosspershareDetails" xlink:type="simple" xlink:href="rytm-20260630.xsd#SummaryofSignificantAccountingPoliciesNetlosspershareDetails"/>
  <link:definitionLink xlink:role="http://www.rhythmtx.com/role/SummaryofSignificantAccountingPoliciesNetlosspershareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_019e028f-7e4e-703f-baec-1ef366ca3acf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_019e028f-7e4e-74ee-b1c7-4052d37ea1ca" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_019e028f-7e4e-703f-baec-1ef366ca3acf" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_019e028f-7e4e-74ee-b1c7-4052d37ea1ca" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_019e028f-7e4e-7892-a971-4724673ec1ba" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_019e028f-7e4e-74ee-b1c7-4052d37ea1ca" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_019e028f-7e4e-7892-a971-4724673ec1ba" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_019e028f-7e4e-7892-a971-4724673ec1ba_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AntidilutiveSecuritiesNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_019e028f-7e4e-7892-a971-4724673ec1ba" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_019e028f-7e4e-7892-a971-4724673ec1ba_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_019e028f-7e4e-7a88-a787-e1676656787f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AntidilutiveSecuritiesNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_019e028f-7e4e-7892-a971-4724673ec1ba" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_019e028f-7e4e-7a88-a787-e1676656787f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_019e028f-7e4e-791a-ad8f-49d12acf68b8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_019e028f-7e4e-7a88-a787-e1676656787f" xlink:to="loc_us-gaap_EmployeeStockOptionMember_019e028f-7e4e-791a-ad8f-49d12acf68b8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_019e028f-7e4e-7193-95ea-02176ec8f600" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_019e028f-7e4e-7a88-a787-e1676656787f" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_019e028f-7e4e-7193-95ea-02176ec8f600" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceSharesMember_019e028f-7e4e-7efb-be90-e05c321ab789" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PerformanceSharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_019e028f-7e4e-7a88-a787-e1676656787f" xlink:to="loc_us-gaap_PerformanceSharesMember_019e028f-7e4e-7efb-be90-e05c321ab789" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_SeriesAConvertiblePreferredStockMember_019e028f-7e4e-7ed2-bd88-5796d4f95f86" xlink:href="rytm-20260630.xsd#rytm_SeriesAConvertiblePreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_019e028f-7e4e-7a88-a787-e1676656787f" xlink:to="loc_rytm_SeriesAConvertiblePreferredStockMember_019e028f-7e4e-7ed2-bd88-5796d4f95f86" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_019e028f-7e4e-7779-8db7-b003e6fd7ed7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_019e028f-7e4e-703f-baec-1ef366ca3acf" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_019e028f-7e4e-7779-8db7-b003e6fd7ed7" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.rhythmtx.com/role/AssetAcquisitionsNarrativeDetails" xlink:type="simple" xlink:href="rytm-20260630.xsd#AssetAcquisitionsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.rhythmtx.com/role/AssetAcquisitionsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionLineItems_019e028f-7e4e-7620-a9ce-45574a60e4c1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionTable_019e028f-7e4e-774d-8710-97a210d3c809" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_019e028f-7e4e-7620-a9ce-45574a60e4c1" xlink:to="loc_us-gaap_AssetAcquisitionTable_019e028f-7e4e-774d-8710-97a210d3c809" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CounterpartyNameAxis_019e028f-7e4e-747d-807d-15f12fbdaab6" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CounterpartyNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AssetAcquisitionTable_019e028f-7e4e-774d-8710-97a210d3c809" xlink:to="loc_srt_CounterpartyNameAxis_019e028f-7e4e-747d-807d-15f12fbdaab6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_019e028f-7e4e-747d-807d-15f12fbdaab6_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CounterpartyNameAxis_019e028f-7e4e-747d-807d-15f12fbdaab6" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_019e028f-7e4e-747d-807d-15f12fbdaab6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_019e028f-7e4e-767c-8c52-42951c3f7f87" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CounterpartyNameAxis_019e028f-7e4e-747d-807d-15f12fbdaab6" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_019e028f-7e4e-767c-8c52-42951c3f7f87" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_LGChemLtdMember_019e028f-7e4e-79cc-af98-03fa483f2149" xlink:href="rytm-20260630.xsd#rytm_LGChemLtdMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_019e028f-7e4e-767c-8c52-42951c3f7f87" xlink:to="loc_rytm_LGChemLtdMember_019e028f-7e4e-79cc-af98-03fa483f2149" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfArrangementAxis_019e028f-7e4e-73c6-affb-916af94ec7e6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TypeOfArrangementAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AssetAcquisitionTable_019e028f-7e4e-774d-8710-97a210d3c809" xlink:to="loc_us-gaap_TypeOfArrangementAxis_019e028f-7e4e-73c6-affb-916af94ec7e6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_019e028f-7e4e-73c6-affb-916af94ec7e6_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ArrangementsAndNonarrangementTransactionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TypeOfArrangementAxis_019e028f-7e4e-73c6-affb-916af94ec7e6" xlink:to="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_019e028f-7e4e-73c6-affb-916af94ec7e6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_019e028f-7e4e-7e68-a29e-c2469317a7a6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ArrangementsAndNonarrangementTransactionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TypeOfArrangementAxis_019e028f-7e4e-73c6-affb-916af94ec7e6" xlink:to="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_019e028f-7e4e-7e68-a29e-c2469317a7a6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_LicenseAgreementAndShareIssuanceAgreementMember_019e028f-7e4e-7a6b-b4d1-78835e5dd656" xlink:href="rytm-20260630.xsd#rytm_LicenseAgreementAndShareIssuanceAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_019e028f-7e4e-7e68-a29e-c2469317a7a6" xlink:to="loc_rytm_LicenseAgreementAndShareIssuanceAgreementMember_019e028f-7e4e-7a6b-b4d1-78835e5dd656" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_019e028f-7e4e-7c74-9c95-c3da543a0c87" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AssetAcquisitionTable_019e028f-7e4e-774d-8710-97a210d3c809" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_019e028f-7e4e-7c74-9c95-c3da543a0c87" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_019e028f-7e4e-7c74-9c95-c3da543a0c87_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_019e028f-7e4e-7c74-9c95-c3da543a0c87" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_019e028f-7e4e-7c74-9c95-c3da543a0c87_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_019e028f-7e4e-789f-9786-dbe83b54974f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_019e028f-7e4e-7c74-9c95-c3da543a0c87" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_019e028f-7e4e-789f-9786-dbe83b54974f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_019e028f-7e4e-7432-9fcb-6690c7b26afb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SellingGeneralAndAdministrativeExpensesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_019e028f-7e4e-789f-9786-dbe83b54974f" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_019e028f-7e4e-7432-9fcb-6690c7b26afb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember_019e028f-7e4e-7713-8715-8f3d976ae380" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResearchAndDevelopmentExpenseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_019e028f-7e4e-789f-9786-dbe83b54974f" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_019e028f-7e4e-7713-8715-8f3d976ae380" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionAxis_019e028f-7e4e-7101-9d6b-17f36c496ca9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AssetAcquisitionTable_019e028f-7e4e-774d-8710-97a210d3c809" xlink:to="loc_us-gaap_AssetAcquisitionAxis_019e028f-7e4e-7101-9d6b-17f36c496ca9" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionDomain_019e028f-7e4e-7101-9d6b-17f36c496ca9_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetAcquisitionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AssetAcquisitionAxis_019e028f-7e4e-7101-9d6b-17f36c496ca9" xlink:to="loc_us-gaap_AssetAcquisitionDomain_019e028f-7e4e-7101-9d6b-17f36c496ca9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetAcquisitionDomain_019e028f-7e4e-7d1a-ba35-2957bf772832" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetAcquisitionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AssetAcquisitionAxis_019e028f-7e4e-7101-9d6b-17f36c496ca9" xlink:to="loc_us-gaap_AssetAcquisitionDomain_019e028f-7e4e-7d1a-ba35-2957bf772832" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_LGChemLtdMember_019e028f-7e4e-7e64-8c3d-90c885b7220e" xlink:href="rytm-20260630.xsd#rytm_LGChemLtdMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionDomain_019e028f-7e4e-7d1a-ba35-2957bf772832" xlink:to="loc_rytm_LGChemLtdMember_019e028f-7e4e-7e64-8c3d-90c885b7220e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_019e028f-7e4e-752f-810e-bd269d0564bf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationConsiderationTransferred1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_019e028f-7e4e-7620-a9ce-45574a60e4c1" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_019e028f-7e4e-752f-810e-bd269d0564bf" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_019e028f-7e4e-7e70-9024-a5b6b8326262" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_019e028f-7e4e-7620-a9ce-45574a60e4c1" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_019e028f-7e4e-7e70-9024-a5b6b8326262" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_019e028f-7e4e-7b5d-972e-fcd7673c525f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodValueNewIssues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_019e028f-7e4e-7620-a9ce-45574a60e4c1" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_019e028f-7e4e-7b5d-972e-fcd7673c525f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_ThresholdPeriodForCalculatingWeightedAverageClosingPricePerShare_019e028f-7e4e-7b17-8bf6-a84f6009d159" xlink:href="rytm-20260630.xsd#rytm_ThresholdPeriodForCalculatingWeightedAverageClosingPricePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_019e028f-7e4e-7620-a9ce-45574a60e4c1" xlink:to="loc_rytm_ThresholdPeriodForCalculatingWeightedAverageClosingPricePerShare_019e028f-7e4e-7b17-8bf6-a84f6009d159" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_StockIssuedDuringPeriodValueNewIssuesLicenseAgreement_019e028f-7e4e-743f-a111-695c0fa1bcfe" xlink:href="rytm-20260630.xsd#rytm_StockIssuedDuringPeriodValueNewIssuesLicenseAgreement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_019e028f-7e4e-7620-a9ce-45574a60e4c1" xlink:to="loc_rytm_StockIssuedDuringPeriodValueNewIssuesLicenseAgreement_019e028f-7e4e-743f-a111-695c0fa1bcfe" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_LicenseAgreementConsiderationPaymentReceivedInCash_019e028f-7e4e-7dc3-971a-0c416eeb63d6" xlink:href="rytm-20260630.xsd#rytm_LicenseAgreementConsiderationPaymentReceivedInCash"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_019e028f-7e4e-7620-a9ce-45574a60e4c1" xlink:to="loc_rytm_LicenseAgreementConsiderationPaymentReceivedInCash_019e028f-7e4e-7dc3-971a-0c416eeb63d6" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_LockUpPeriodForSubsequentCashPayment_019e028f-7e4e-7fc0-bc48-95c690ded212" xlink:href="rytm-20260630.xsd#rytm_LockUpPeriodForSubsequentCashPayment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_019e028f-7e4e-7620-a9ce-45574a60e4c1" xlink:to="loc_rytm_LockUpPeriodForSubsequentCashPayment_019e028f-7e4e-7fc0-bc48-95c690ded212" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableFairValueDisclosure_019e028f-7e4e-7535-abca-a80bac70a64c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_019e028f-7e4e-7620-a9ce-45574a60e4c1" xlink:to="loc_us-gaap_AccountsPayableFairValueDisclosure_019e028f-7e4e-7535-abca-a80bac70a64c" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_019e028f-7e4e-7ecd-a2ab-cdb46557d06e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationAcquisitionRelatedCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_019e028f-7e4e-7620-a9ce-45574a60e4c1" xlink:to="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_019e028f-7e4e-7ecd-a2ab-cdb46557d06e" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_PaymentForAdditionalConsiderationOnAssetAcquisition_019e028f-7e4e-7a0a-9acc-c0f2e5858b1e" xlink:href="rytm-20260630.xsd#rytm_PaymentForAdditionalConsiderationOnAssetAcquisition"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_019e028f-7e4e-7620-a9ce-45574a60e4c1" xlink:to="loc_rytm_PaymentForAdditionalConsiderationOnAssetAcquisition_019e028f-7e4e-7a0a-9acc-c0f2e5858b1e" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_AggregatePaymentUponAchievementOfDevelopmentAndCommercialMilestones_019e028f-7e4e-748b-8633-242fe3c552d6" xlink:href="rytm-20260630.xsd#rytm_AggregatePaymentUponAchievementOfDevelopmentAndCommercialMilestones"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetAcquisitionLineItems_019e028f-7e4e-7620-a9ce-45574a60e4c1" xlink:to="loc_rytm_AggregatePaymentUponAchievementOfDevelopmentAndCommercialMilestones_019e028f-7e4e-748b-8633-242fe3c552d6" xlink:type="arc" order="10"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.rhythmtx.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails" xlink:type="simple" xlink:href="rytm-20260630.xsd#FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails"/>
  <link:definitionLink xlink:role="http://www.rhythmtx.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesMeasuredatFairValueonaRecurringBasisDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019e028f-7e4e-7d97-90c8-91a1375cae52" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019e028f-7e4e-73e5-9368-189fa4f05d32" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019e028f-7e4e-7d97-90c8-91a1375cae52" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019e028f-7e4e-73e5-9368-189fa4f05d32" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019e028f-7e4e-7f17-8fc2-b8ead11e0c4b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019e028f-7e4e-73e5-9368-189fa4f05d32" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019e028f-7e4e-7f17-8fc2-b8ead11e0c4b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019e028f-7e4e-7f17-8fc2-b8ead11e0c4b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019e028f-7e4e-7f17-8fc2-b8ead11e0c4b" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019e028f-7e4e-7f17-8fc2-b8ead11e0c4b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019e028f-7e4e-7381-89d8-97835bf2063f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019e028f-7e4e-7f17-8fc2-b8ead11e0c4b" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019e028f-7e4e-7381-89d8-97835bf2063f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_019e028f-7e4e-793a-8d1c-303876ef17e6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019e028f-7e4e-7381-89d8-97835bf2063f" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_019e028f-7e4e-793a-8d1c-303876ef17e6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_019e028f-7e4e-7058-8dcd-9ea3e10edffe" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019e028f-7e4e-7381-89d8-97835bf2063f" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_019e028f-7e4e-7058-8dcd-9ea3e10edffe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_019e028f-7e4e-728d-ac4c-eb5b2e626c29" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019e028f-7e4e-7381-89d8-97835bf2063f" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_019e028f-7e4e-728d-ac4c-eb5b2e626c29" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAxis_019e028f-7e4e-70d1-acff-0dd0b0f4c66b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019e028f-7e4e-73e5-9368-189fa4f05d32" xlink:to="loc_us-gaap_CashAndCashEquivalentsAxis_019e028f-7e4e-70d1-acff-0dd0b0f4c66b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_019e028f-7e4e-70d1-acff-0dd0b0f4c66b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CashAndCashEquivalentsAxis_019e028f-7e4e-70d1-acff-0dd0b0f4c66b" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_019e028f-7e4e-70d1-acff-0dd0b0f4c66b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_019e028f-7e4e-786e-a596-a8d3b71117d5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CashAndCashEquivalentsAxis_019e028f-7e4e-70d1-acff-0dd0b0f4c66b" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_019e028f-7e4e-786e-a596-a8d3b71117d5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MoneyMarketFundsMember_019e028f-7e4e-7dd4-a402-b4ab22272e40" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MoneyMarketFundsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_019e028f-7e4e-786e-a596-a8d3b71117d5" xlink:to="loc_us-gaap_MoneyMarketFundsMember_019e028f-7e4e-7dd4-a402-b4ab22272e40" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_019e028f-7e4e-77f7-a31f-d75d8b6c58d3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019e028f-7e4e-73e5-9368-189fa4f05d32" xlink:to="loc_us-gaap_FinancialInstrumentAxis_019e028f-7e4e-77f7-a31f-d75d8b6c58d3" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e028f-7e4e-77f7-a31f-d75d8b6c58d3_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_019e028f-7e4e-77f7-a31f-d75d8b6c58d3" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e028f-7e4e-77f7-a31f-d75d8b6c58d3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e028f-7e4e-7083-b258-3fda0095d628" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_019e028f-7e4e-77f7-a31f-d75d8b6c58d3" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e028f-7e4e-7083-b258-3fda0095d628" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USTreasurySecuritiesMember_019e028f-7e4e-72cf-a915-9ab086dd9a43" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_USTreasurySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e028f-7e4e-7083-b258-3fda0095d628" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_019e028f-7e4e-72cf-a915-9ab086dd9a43" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_CorporateDebtSecuritiesAndCommercialPaperMember_019e028f-7e4e-7f6b-9a5a-ebf1e65c3e15" xlink:href="rytm-20260630.xsd#rytm_CorporateDebtSecuritiesAndCommercialPaperMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e028f-7e4e-7083-b258-3fda0095d628" xlink:to="loc_rytm_CorporateDebtSecuritiesAndCommercialPaperMember_019e028f-7e4e-7f6b-9a5a-ebf1e65c3e15" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosureAbstract_019e028f-7e4e-7f09-9fca-64372b00cfb6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsFairValueDisclosureAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019e028f-7e4e-7d97-90c8-91a1375cae52" xlink:to="loc_us-gaap_AssetsFairValueDisclosureAbstract_019e028f-7e4e-7f09-9fca-64372b00cfb6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_019e028f-7e4e-7b46-b1f6-c7c6c755d0b6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_019e028f-7e4e-7f09-9fca-64372b00cfb6" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_019e028f-7e4e-7b46-b1f6-c7c6c755d0b6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_019e028f-7e4e-785d-85c4-ea6e761c577d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_019e028f-7e4e-7f09-9fca-64372b00cfb6" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_019e028f-7e4e-785d-85c4-ea6e761c577d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_019e028f-7e4e-772c-bbe5-47239cac5893" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_019e028f-7e4e-7f09-9fca-64372b00cfb6" xlink:to="loc_us-gaap_DerivativeAssets_019e028f-7e4e-772c-bbe5-47239cac5893" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_019e028f-7e4e-7bc4-9ff8-4fd2de420424" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_019e028f-7e4e-7f09-9fca-64372b00cfb6" xlink:to="loc_us-gaap_AssetsFairValueDisclosure_019e028f-7e4e-7bc4-9ff8-4fd2de420424" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.rhythmtx.com/role/FairValueofFinancialAssetsandLiabilitiesChangesinEmbeddedDerivativeLiabilityDetails" xlink:type="simple" xlink:href="rytm-20260630.xsd#FairValueofFinancialAssetsandLiabilitiesChangesinEmbeddedDerivativeLiabilityDetails"/>
  <link:definitionLink xlink:role="http://www.rhythmtx.com/role/FairValueofFinancialAssetsandLiabilitiesChangesinEmbeddedDerivativeLiabilityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019e028f-7efe-7704-8aa4-1850c7b554ea" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019e028f-7efe-79af-8557-d5db5c7747b8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019e028f-7efe-7704-8aa4-1850c7b554ea" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019e028f-7efe-79af-8557-d5db5c7747b8" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019e028f-7efe-7b4e-b866-b0e91508d203" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019e028f-7efe-79af-8557-d5db5c7747b8" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019e028f-7efe-7b4e-b866-b0e91508d203" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019e028f-7efe-7b4e-b866-b0e91508d203_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019e028f-7efe-7b4e-b866-b0e91508d203" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019e028f-7efe-7b4e-b866-b0e91508d203_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019e028f-7efe-718d-9e1f-625a8c47791e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019e028f-7efe-7b4e-b866-b0e91508d203" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019e028f-7efe-718d-9e1f-625a8c47791e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_019e028f-7efe-7e39-b708-fed99e52417c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019e028f-7efe-718d-9e1f-625a8c47791e" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_019e028f-7efe-7e39-b708-fed99e52417c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_019e028f-7efe-7506-a12a-40c8a6febe32" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019e028f-7efe-79af-8557-d5db5c7747b8" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_019e028f-7efe-7506-a12a-40c8a6febe32" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019e028f-7efe-7506-a12a-40c8a6febe32_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_019e028f-7efe-7506-a12a-40c8a6febe32" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019e028f-7efe-7506-a12a-40c8a6febe32_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019e028f-7efe-7e35-b7bc-afb40bbe27ac" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_019e028f-7efe-7506-a12a-40c8a6febe32" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019e028f-7efe-7e35-b7bc-afb40bbe27ac" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmbeddedDerivativeFinancialInstrumentsMember_019e028f-7efe-7174-b6a0-328e8b596638" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmbeddedDerivativeFinancialInstrumentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_019e028f-7efe-7e35-b7bc-afb40bbe27ac" xlink:to="loc_us-gaap_EmbeddedDerivativeFinancialInstrumentsMember_019e028f-7efe-7174-b6a0-328e8b596638" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_019e028f-7efe-7f90-bcdb-ca7e3fba5ef7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019e028f-7efe-7704-8aa4-1850c7b554ea" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_019e028f-7efe-7f90-bcdb-ca7e3fba5ef7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityAssetValueBeginningBalance_019e028f-7efe-758f-a37a-6bc5f5314d9b" xlink:href="rytm-20260630.xsd#rytm_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityAssetValueBeginningBalance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_019e028f-7efe-7f90-bcdb-ca7e3fba5ef7" xlink:to="loc_rytm_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityAssetValueBeginningBalance_019e028f-7efe-758f-a37a-6bc5f5314d9b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPeriodIncreaseDecrease_019e028f-7efe-7811-b32e-b2f63118754c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPeriodIncreaseDecrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_019e028f-7efe-7f90-bcdb-ca7e3fba5ef7" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPeriodIncreaseDecrease_019e028f-7efe-7811-b32e-b2f63118754c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityAssetValueBeginningBalance_019e028f-7efe-7e68-a5d8-76e8f7a1719a" xlink:href="rytm-20260630.xsd#rytm_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityAssetValueBeginningBalance"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.rhythmtx.com/role/FairValueofFinancialAssetsandLiabilitiesMarketableSecuritiesDetails" xlink:type="simple" xlink:href="rytm-20260630.xsd#FairValueofFinancialAssetsandLiabilitiesMarketableSecuritiesDetails"/>
  <link:definitionLink xlink:role="http://www.rhythmtx.com/role/FairValueofFinancialAssetsandLiabilitiesMarketableSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019e028f-7efe-7f2f-9753-5d467800fbd8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019e028f-7efe-7ed3-8095-95a62814e58c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019e028f-7efe-7f2f-9753-5d467800fbd8" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019e028f-7efe-7ed3-8095-95a62814e58c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_019e028f-7efe-77bc-87d1-689ee82ba99d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019e028f-7efe-7ed3-8095-95a62814e58c" xlink:to="loc_us-gaap_FinancialInstrumentAxis_019e028f-7efe-77bc-87d1-689ee82ba99d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e028f-7efe-77bc-87d1-689ee82ba99d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_019e028f-7efe-77bc-87d1-689ee82ba99d" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e028f-7efe-77bc-87d1-689ee82ba99d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e028f-7efe-7edf-ab7e-796e7c19d5e0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_019e028f-7efe-77bc-87d1-689ee82ba99d" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e028f-7efe-7edf-ab7e-796e7c19d5e0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_CorporateDebtSecuritiesAndCommercialPaperMember_019e028f-7efe-79b5-ba8b-94590735d7ce" xlink:href="rytm-20260630.xsd#rytm_CorporateDebtSecuritiesAndCommercialPaperMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e028f-7efe-7edf-ab7e-796e7c19d5e0" xlink:to="loc_rytm_CorporateDebtSecuritiesAndCommercialPaperMember_019e028f-7efe-79b5-ba8b-94590735d7ce" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USTreasurySecuritiesMember_019e028f-7efe-7665-b9b5-89f77d21f6ce" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_USTreasurySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019e028f-7efe-7edf-ab7e-796e7c19d5e0" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_019e028f-7efe-7665-b9b5-89f77d21f6ce" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019e028f-7efe-723d-b3a7-45b4ff018c2f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019e028f-7efe-7f2f-9753-5d467800fbd8" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019e028f-7efe-723d-b3a7-45b4ff018c2f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_019e028f-7efe-7edd-b9b1-fdb1cd26b142" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019e028f-7efe-7f2f-9753-5d467800fbd8" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_019e028f-7efe-7edd-b9b1-fdb1cd26b142" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_019e028f-7efe-7307-8557-6dc059a93872" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019e028f-7efe-7f2f-9753-5d467800fbd8" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_019e028f-7efe-7307-8557-6dc059a93872" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_019e028f-7efe-76ce-9dd5-c20482151c5d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019e028f-7efe-7f2f-9753-5d467800fbd8" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_019e028f-7efe-76ce-9dd5-c20482151c5d" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.rhythmtx.com/role/IntangibleAssetsScheduleoffinitelivedintangibleassetsDetails" xlink:type="simple" xlink:href="rytm-20260630.xsd#IntangibleAssetsScheduleoffinitelivedintangibleassetsDetails"/>
  <link:definitionLink xlink:role="http://www.rhythmtx.com/role/IntangibleAssetsScheduleoffinitelivedintangibleassetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019e028f-7efe-71d3-b11f-28173e210704" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_019e028f-7efe-766d-befb-50f16c72891a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019e028f-7efe-71d3-b11f-28173e210704" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_019e028f-7efe-766d-befb-50f16c72891a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_019e028f-7efe-7025-be23-b105891a1c78" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_019e028f-7efe-766d-befb-50f16c72891a" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_019e028f-7efe-7025-be23-b105891a1c78" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_019e028f-7efe-7025-be23-b105891a1c78_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_019e028f-7efe-7025-be23-b105891a1c78" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_019e028f-7efe-7025-be23-b105891a1c78_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_019e028f-7efe-7181-a5f4-007fa20c2688" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_019e028f-7efe-7025-be23-b105891a1c78" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_019e028f-7efe-7181-a5f4-007fa20c2688" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_CapitalizedMilestonesMember_019e028f-7efe-79c2-ba2d-678e04ae7903" xlink:href="rytm-20260630.xsd#rytm_CapitalizedMilestonesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_019e028f-7efe-7181-a5f4-007fa20c2688" xlink:to="loc_rytm_CapitalizedMilestonesMember_019e028f-7efe-79c2-ba2d-678e04ae7903" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_019e028f-7efe-7916-84b5-9b2bfad2cd5e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019e028f-7efe-71d3-b11f-28173e210704" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_019e028f-7efe-7916-84b5-9b2bfad2cd5e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_019e028f-7efe-7e0c-b4cd-60fe1270a275" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019e028f-7efe-71d3-b11f-28173e210704" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_019e028f-7efe-7e0c-b4cd-60fe1270a275" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_019e028f-7efe-71e2-bcb7-8fa57fffe997" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019e028f-7efe-71d3-b11f-28173e210704" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_019e028f-7efe-71e2-bcb7-8fa57fffe997" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019e028f-7efe-75e9-afc5-2f53c3ecf675" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019e028f-7efe-71d3-b11f-28173e210704" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019e028f-7efe-75e9-afc5-2f53c3ecf675" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.rhythmtx.com/role/IntangibleAssetsNarrativeDetails" xlink:type="simple" xlink:href="rytm-20260630.xsd#IntangibleAssetsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.rhythmtx.com/role/IntangibleAssetsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019e028f-7efe-77b7-8b07-e092381eb028" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_019e028f-7efe-706d-bd1e-924b891c560f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019e028f-7efe-77b7-8b07-e092381eb028" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_019e028f-7efe-706d-bd1e-924b891c560f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_019e028f-7efe-7de2-a57b-fe5876ec3b90" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_019e028f-7efe-706d-bd1e-924b891c560f" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_019e028f-7efe-7de2-a57b-fe5876ec3b90" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_019e028f-7efe-7de2-a57b-fe5876ec3b90_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_019e028f-7efe-7de2-a57b-fe5876ec3b90" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_019e028f-7efe-7de2-a57b-fe5876ec3b90_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_019e028f-7efe-79c3-bfed-08029071856a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_019e028f-7efe-7de2-a57b-fe5876ec3b90" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_019e028f-7efe-79c3-bfed-08029071856a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_CapitalizedMilestonesMember_019e028f-7efe-7489-b77c-79d481661f11" xlink:href="rytm-20260630.xsd#rytm_CapitalizedMilestonesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_019e028f-7efe-79c3-bfed-08029071856a" xlink:to="loc_rytm_CapitalizedMilestonesMember_019e028f-7efe-7489-b77c-79d481661f11" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_019e028f-7efe-7256-8b26-fcb119d5b5e0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_019e028f-7efe-706d-bd1e-924b891c560f" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_019e028f-7efe-7256-8b26-fcb119d5b5e0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_019e028f-7efe-7256-8b26-fcb119d5b5e0_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_019e028f-7efe-7256-8b26-fcb119d5b5e0" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_019e028f-7efe-7256-8b26-fcb119d5b5e0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_019e028f-7efe-7f39-ad08-dd7cece1c850" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_019e028f-7efe-7256-8b26-fcb119d5b5e0" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_019e028f-7efe-7f39-ad08-dd7cece1c850" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfSalesMember_019e028f-7efe-7885-94fd-10ee0c79796c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CostOfSalesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_019e028f-7efe-7f39-ad08-dd7cece1c850" xlink:to="loc_us-gaap_CostOfSalesMember_019e028f-7efe-7885-94fd-10ee0c79796c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019e028f-7efe-7029-82d9-aea2ded52461" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019e028f-7efe-77b7-8b07-e092381eb028" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019e028f-7efe-7029-82d9-aea2ded52461" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_019e028f-7efe-7b41-a357-680838848757" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019e028f-7efe-77b7-8b07-e092381eb028" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_019e028f-7efe-7b41-a357-680838848757" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.rhythmtx.com/role/SeriesAConvertiblePreferredStockDetails" xlink:type="simple" xlink:href="rytm-20260630.xsd#SeriesAConvertiblePreferredStockDetails"/>
  <link:definitionLink xlink:role="http://www.rhythmtx.com/role/SeriesAConvertiblePreferredStockDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityLineItems_019e028f-7efe-7ec3-a8fc-8a166be53031" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TemporaryEquityLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityByClassOfStockTable_019e028f-7efe-7496-90ca-a80c5961f3d7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TemporaryEquityByClassOfStockTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_TemporaryEquityLineItems_019e028f-7efe-7ec3-a8fc-8a166be53031" xlink:to="loc_us-gaap_TemporaryEquityByClassOfStockTable_019e028f-7efe-7496-90ca-a80c5961f3d7" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_019e028f-7efe-7509-af06-88ea805c0c29" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_TemporaryEquityByClassOfStockTable_019e028f-7efe-7496-90ca-a80c5961f3d7" xlink:to="loc_us-gaap_StatementClassOfStockAxis_019e028f-7efe-7509-af06-88ea805c0c29" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_019e028f-7efe-7509-af06-88ea805c0c29_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_019e028f-7efe-7509-af06-88ea805c0c29" xlink:to="loc_us-gaap_ClassOfStockDomain_019e028f-7efe-7509-af06-88ea805c0c29_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_019e028f-7efe-70a4-bd72-fffc059221d5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_019e028f-7efe-7509-af06-88ea805c0c29" xlink:to="loc_us-gaap_ClassOfStockDomain_019e028f-7efe-70a4-bd72-fffc059221d5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_SeriesAConvertiblePreferredStockMember_019e028f-7efe-7ea7-8c6f-c2a780eef4de" xlink:href="rytm-20260630.xsd#rytm_SeriesAConvertiblePreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_019e028f-7efe-70a4-bd72-fffc059221d5" xlink:to="loc_rytm_SeriesAConvertiblePreferredStockMember_019e028f-7efe-7ea7-8c6f-c2a780eef4de" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByLiabilityClassAxis_019e028f-7efe-7383-b840-483412febbc5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByLiabilityClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_TemporaryEquityByClassOfStockTable_019e028f-7efe-7496-90ca-a80c5961f3d7" xlink:to="loc_us-gaap_FairValueByLiabilityClassAxis_019e028f-7efe-7383-b840-483412febbc5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_019e028f-7efe-7383-b840-483412febbc5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByLiabilityClassAxis_019e028f-7efe-7383-b840-483412febbc5" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_019e028f-7efe-7383-b840-483412febbc5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_019e028f-7efe-73e9-831d-1bdc0c4c4abc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByLiabilityClassAxis_019e028f-7efe-7383-b840-483412febbc5" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_019e028f-7efe-73e9-831d-1bdc0c4c4abc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForwardContractsMember_019e028f-7efe-7519-9a12-d50ab1729aed" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForwardContractsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain_019e028f-7efe-73e9-831d-1bdc0c4c4abc" xlink:to="loc_us-gaap_ForwardContractsMember_019e028f-7efe-7519-9a12-d50ab1729aed" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_019e028f-7efe-705c-aa49-281e14c84869" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_TemporaryEquityByClassOfStockTable_019e028f-7efe-7496-90ca-a80c5961f3d7" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_019e028f-7efe-705c-aa49-281e14c84869" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019e028f-7efe-705c-aa49-281e14c84869_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019e028f-7efe-705c-aa49-281e14c84869" xlink:to="loc_us-gaap_EquityComponentDomain_019e028f-7efe-705c-aa49-281e14c84869_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019e028f-7efe-7f5f-be85-6c37aeb0a86a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019e028f-7efe-705c-aa49-281e14c84869" xlink:to="loc_us-gaap_EquityComponentDomain_019e028f-7efe-7f5f-be85-6c37aeb0a86a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_019e028f-7efe-71d5-9018-88ae46950c77" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019e028f-7efe-7f5f-be85-6c37aeb0a86a" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_019e028f-7efe-71d5-9018-88ae46950c77" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_019f5c16-19ac-78c9-b2cf-de8a225aa726" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_TemporaryEquityByClassOfStockTable_019e028f-7efe-7496-90ca-a80c5961f3d7" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_019f5c16-19ac-78c9-b2cf-de8a225aa726" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_019f5c16-19ac-78c9-b2cf-de8a225aa726_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_019f5c16-19ac-78c9-b2cf-de8a225aa726" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_019f5c16-19ac-78c9-b2cf-de8a225aa726_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_019f5c16-19ac-79b4-aa77-eccc17399e9d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_019f5c16-19ac-78c9-b2cf-de8a225aa726" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_019f5c16-19ac-79b4-aa77-eccc17399e9d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventMember_019f5c16-3bd9-7fe4-bcde-8740ef0a4286" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_019f5c16-19ac-79b4-aa77-eccc17399e9d" xlink:to="loc_us-gaap_SubsequentEventMember_019f5c16-3bd9-7fe4-bcde-8740ef0a4286" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_ConvertiblePreferredStockHolderAxis_019e028f-7efe-7e9d-903f-03b3374933b5" xlink:href="rytm-20260630.xsd#rytm_ConvertiblePreferredStockHolderAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_TemporaryEquityByClassOfStockTable_019e028f-7efe-7496-90ca-a80c5961f3d7" xlink:to="loc_rytm_ConvertiblePreferredStockHolderAxis_019e028f-7efe-7e9d-903f-03b3374933b5" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_ConvertiblePreferredStockHolderDomain_019e028f-7efe-7e9d-903f-03b3374933b5_default" xlink:href="rytm-20260630.xsd#rytm_ConvertiblePreferredStockHolderDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_rytm_ConvertiblePreferredStockHolderAxis_019e028f-7efe-7e9d-903f-03b3374933b5" xlink:to="loc_rytm_ConvertiblePreferredStockHolderDomain_019e028f-7efe-7e9d-903f-03b3374933b5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_ConvertiblePreferredStockHolderDomain_019e028f-7efe-7176-9292-27645e79c222" xlink:href="rytm-20260630.xsd#rytm_ConvertiblePreferredStockHolderDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_rytm_ConvertiblePreferredStockHolderAxis_019e028f-7efe-7e9d-903f-03b3374933b5" xlink:to="loc_rytm_ConvertiblePreferredStockHolderDomain_019e028f-7efe-7176-9292-27645e79c222" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_OneHolderOfSeriesConvertiblePreferredStockMember_019e028f-7efe-719d-8164-be6d653ac0a0" xlink:href="rytm-20260630.xsd#rytm_OneHolderOfSeriesConvertiblePreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rytm_ConvertiblePreferredStockHolderDomain_019e028f-7efe-7176-9292-27645e79c222" xlink:to="loc_rytm_OneHolderOfSeriesConvertiblePreferredStockMember_019e028f-7efe-719d-8164-be6d653ac0a0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_SecondHolderOfSeriesConvertiblePreferredStockMember_019e028f-7efe-75dc-b5c3-e422f5dc5a79" xlink:href="rytm-20260630.xsd#rytm_SecondHolderOfSeriesConvertiblePreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rytm_ConvertiblePreferredStockHolderDomain_019e028f-7efe-7176-9292-27645e79c222" xlink:to="loc_rytm_SecondHolderOfSeriesConvertiblePreferredStockMember_019e028f-7efe-75dc-b5c3-e422f5dc5a79" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_TemporaryEquityStockIssuedDuringPeriodSharesNewIssues_019e028f-7efe-77e0-aea7-3ceecca26af5" xlink:href="rytm-20260630.xsd#rytm_TemporaryEquityStockIssuedDuringPeriodSharesNewIssues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_019e028f-7efe-7ec3-a8fc-8a166be53031" xlink:to="loc_rytm_TemporaryEquityStockIssuedDuringPeriodSharesNewIssues_019e028f-7efe-77e0-aea7-3ceecca26af5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityParOrStatedValuePerShare_019e028f-7efe-76f9-ab09-458727f44e52" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TemporaryEquityParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_019e028f-7efe-7ec3-a8fc-8a166be53031" xlink:to="loc_us-gaap_TemporaryEquityParOrStatedValuePerShare_019e028f-7efe-76f9-ab09-458727f44e52" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_TemporaryEquityAggregatePurchasePrice_019e028f-7efe-799d-9d17-596989f246f4" xlink:href="rytm-20260630.xsd#rytm_TemporaryEquityAggregatePurchasePrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_019e028f-7efe-7ec3-a8fc-8a166be53031" xlink:to="loc_rytm_TemporaryEquityAggregatePurchasePrice_019e028f-7efe-799d-9d17-596989f246f4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_TemporaryEquityStockIssuanceCost_019e028f-7efe-7213-9a1e-1b71172c3f5a" xlink:href="rytm-20260630.xsd#rytm_TemporaryEquityStockIssuanceCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_019e028f-7efe-7ec3-a8fc-8a166be53031" xlink:to="loc_rytm_TemporaryEquityStockIssuanceCost_019e028f-7efe-7213-9a1e-1b71172c3f5a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharePrice_019e028f-7efe-7ede-978c-0d3a7ffca1e3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SharePrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_019e028f-7efe-7ec3-a8fc-8a166be53031" xlink:to="loc_us-gaap_SharePrice_019e028f-7efe-7ede-978c-0d3a7ffca1e3" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_TemporaryEquitySharesIssuedPricePerShare_019e028f-7efe-7bc7-9b21-74d764551d09" xlink:href="rytm-20260630.xsd#rytm_TemporaryEquitySharesIssuedPricePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_019e028f-7efe-7ec3-a8fc-8a166be53031" xlink:to="loc_rytm_TemporaryEquitySharesIssuedPricePerShare_019e028f-7efe-7bc7-9b21-74d764551d09" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityContractTerms_019e028f-7efe-75e4-bc91-2ca89ae247b3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TemporaryEquityContractTerms"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_019e028f-7efe-7ec3-a8fc-8a166be53031" xlink:to="loc_us-gaap_TemporaryEquityContractTerms_019e028f-7efe-75e4-bc91-2ca89ae247b3" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_019e028f-7efe-7eea-a3e4-d6d324bbfca1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_019e028f-7efe-7ec3-a8fc-8a166be53031" xlink:to="loc_us-gaap_DerivativeLiabilities_019e028f-7efe-7eea-a3e4-d6d324bbfca1" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_TemporaryEquityFairValueDisclosure_019e028f-7efe-7671-bf47-4ff10f5ad406" xlink:href="rytm-20260630.xsd#rytm_TemporaryEquityFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_019e028f-7efe-7ec3-a8fc-8a166be53031" xlink:to="loc_rytm_TemporaryEquityFairValueDisclosure_019e028f-7efe-7671-bf47-4ff10f5ad406" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_TemporaryEquitySharesConversionOfConvertibleSecurities_019e028f-7efe-75b4-aa1b-f822bbfea786" xlink:href="rytm-20260630.xsd#rytm_TemporaryEquitySharesConversionOfConvertibleSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_019e028f-7efe-7ec3-a8fc-8a166be53031" xlink:to="loc_rytm_TemporaryEquitySharesConversionOfConvertibleSecurities_019e028f-7efe-75b4-aa1b-f822bbfea786" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertiblePreferredStockSharesIssuedUponConversion_019e028f-7efe-7c8a-b7a3-adccb4ac2f73" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConvertiblePreferredStockSharesIssuedUponConversion"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_019e028f-7efe-7ec3-a8fc-8a166be53031" xlink:to="loc_us-gaap_ConvertiblePreferredStockSharesIssuedUponConversion_019e028f-7efe-7c8a-b7a3-adccb4ac2f73" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_019e028f-7efe-7052-895e-daf0fe37b76a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_019e028f-7efe-7ec3-a8fc-8a166be53031" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_019e028f-7efe-7052-895e-daf0fe37b76a" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities_019e028f-7efe-750b-b52a-7d0208debed1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_019e028f-7efe-7ec3-a8fc-8a166be53031" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities_019e028f-7efe-750b-b52a-7d0208debed1" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_TemporaryEquityLiquidationPreferenceMultiplierFactor_019e028f-7efe-789a-9bf6-f443298f1eca" xlink:href="rytm-20260630.xsd#rytm_TemporaryEquityLiquidationPreferenceMultiplierFactor"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_019e028f-7efe-7ec3-a8fc-8a166be53031" xlink:to="loc_rytm_TemporaryEquityLiquidationPreferenceMultiplierFactor_019e028f-7efe-789a-9bf6-f443298f1eca" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityLiquidationPreferencePerShare_019e028f-7efe-7102-a078-3e2e86f2d165" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TemporaryEquityLiquidationPreferencePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_019e028f-7efe-7ec3-a8fc-8a166be53031" xlink:to="loc_us-gaap_TemporaryEquityLiquidationPreferencePerShare_019e028f-7efe-7102-a078-3e2e86f2d165" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_TemporaryEquityDividendRatePercentage_019e028f-7efe-70d9-856a-359caac69e80" xlink:href="rytm-20260630.xsd#rytm_TemporaryEquityDividendRatePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_019e028f-7efe-7ec3-a8fc-8a166be53031" xlink:to="loc_rytm_TemporaryEquityDividendRatePercentage_019e028f-7efe-70d9-856a-359caac69e80" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityAccretionOfDividends_019e028f-7efe-766f-b5f7-46cee263a5e2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TemporaryEquityAccretionOfDividends"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_019e028f-7efe-7ec3-a8fc-8a166be53031" xlink:to="loc_us-gaap_TemporaryEquityAccretionOfDividends_019e028f-7efe-766f-b5f7-46cee263a5e2" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPreferredStockCash_019f5c18-dc13-79ed-88ab-447066bad144" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DividendsPreferredStockCash"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_019e028f-7efe-7ec3-a8fc-8a166be53031" xlink:to="loc_us-gaap_DividendsPreferredStockCash_019f5c18-dc13-79ed-88ab-447066bad144" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityCarryingAmountAttributableToParent_019e028f-7efe-75fe-81b4-b26c2ef9ad42" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TemporaryEquityCarryingAmountAttributableToParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_019e028f-7efe-7ec3-a8fc-8a166be53031" xlink:to="loc_us-gaap_TemporaryEquityCarryingAmountAttributableToParent_019e028f-7efe-75fe-81b4-b26c2ef9ad42" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockConvertibleConversionPrice_019e028f-7efe-78c3-83b9-ae5e8b6e14a3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockConvertibleConversionPrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_019e028f-7efe-7ec3-a8fc-8a166be53031" xlink:to="loc_us-gaap_PreferredStockConvertibleConversionPrice_019e028f-7efe-78c3-83b9-ae5e8b6e14a3" xlink:type="arc" order="19"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_PercentageOfOwnershipAfterConversion_019e028f-7efe-707a-9d0c-5ae2daf1ee5a" xlink:href="rytm-20260630.xsd#rytm_PercentageOfOwnershipAfterConversion"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_019e028f-7efe-7ec3-a8fc-8a166be53031" xlink:to="loc_rytm_PercentageOfOwnershipAfterConversion_019e028f-7efe-707a-9d0c-5ae2daf1ee5a" xlink:type="arc" order="20"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleThresholdPercentageOfStockPriceTrigger_019f94ba-8646-77bd-8cd3-fb4102b2e13b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentConvertibleThresholdPercentageOfStockPriceTrigger"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_019e028f-7efe-7ec3-a8fc-8a166be53031" xlink:to="loc_us-gaap_DebtInstrumentConvertibleThresholdPercentageOfStockPriceTrigger_019f94ba-8646-77bd-8cd3-fb4102b2e13b" xlink:type="arc" order="21"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleThresholdTradingDays_019f94bc-01f3-74d9-b495-69c32a89559e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentConvertibleThresholdTradingDays"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_019e028f-7efe-7ec3-a8fc-8a166be53031" xlink:to="loc_us-gaap_DebtInstrumentConvertibleThresholdTradingDays_019f94bc-01f3-74d9-b495-69c32a89559e" xlink:type="arc" order="22"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleThresholdConsecutiveTradingDays1_019f94bc-94c6-71cf-a0cc-bec4f37c92ac" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentConvertibleThresholdConsecutiveTradingDays1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_019e028f-7efe-7ec3-a8fc-8a166be53031" xlink:to="loc_us-gaap_DebtInstrumentConvertibleThresholdConsecutiveTradingDays1_019f94bc-94c6-71cf-a0cc-bec4f37c92ac" xlink:type="arc" order="23"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_LimitedVotingRightsShares_019e028f-7efe-7053-a17f-3c1691047f26" xlink:href="rytm-20260630.xsd#rytm_LimitedVotingRightsShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_019e028f-7efe-7ec3-a8fc-8a166be53031" xlink:to="loc_rytm_LimitedVotingRightsShares_019e028f-7efe-7053-a17f-3c1691047f26" xlink:type="arc" order="24"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_StepUpInterestRatePercentage_019e028f-7efe-77b6-9848-920de408da7c" xlink:href="rytm-20260630.xsd#rytm_StepUpInterestRatePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_019e028f-7efe-7ec3-a8fc-8a166be53031" xlink:to="loc_rytm_StepUpInterestRatePercentage_019e028f-7efe-77b6-9848-920de408da7c" xlink:type="arc" order="25"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_PreferredStockSharesAuthorizedIncludingTemporaryEquity_019e028f-7efe-7ce9-b763-0c4c1c627ca0" xlink:href="rytm-20260630.xsd#rytm_PreferredStockSharesAuthorizedIncludingTemporaryEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_019e028f-7efe-7ec3-a8fc-8a166be53031" xlink:to="loc_rytm_PreferredStockSharesAuthorizedIncludingTemporaryEquity_019e028f-7efe-7ce9-b763-0c4c1c627ca0" xlink:type="arc" order="26"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquitySharesAuthorized_019e028f-7efe-7bf8-932f-de9b61e42793" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TemporaryEquitySharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TemporaryEquityLineItems_019e028f-7efe-7ec3-a8fc-8a166be53031" xlink:to="loc_us-gaap_TemporaryEquitySharesAuthorized_019e028f-7efe-7bf8-932f-de9b61e42793" xlink:type="arc" order="27"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.rhythmtx.com/role/CommonStockDetails" xlink:type="simple" xlink:href="rytm-20260630.xsd#CommonStockDetails"/>
  <link:definitionLink xlink:role="http://www.rhythmtx.com/role/CommonStockDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockLineItems_019e028f-7eff-7029-a5e4-e5a799af3e36" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_019e028f-7efe-77c1-b752-d5989f1b87ec" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfStockByClassTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_019e028f-7eff-7029-a5e4-e5a799af3e36" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_019e028f-7efe-77c1-b752-d5989f1b87ec" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameAxis_019e028f-7efe-71fa-a83e-98c04192d411" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_019e028f-7efe-77c1-b752-d5989f1b87ec" xlink:to="loc_us-gaap_PlanNameAxis_019e028f-7efe-71fa-a83e-98c04192d411" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_019e028f-7efe-71fa-a83e-98c04192d411_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_019e028f-7efe-71fa-a83e-98c04192d411" xlink:to="loc_us-gaap_PlanNameDomain_019e028f-7efe-71fa-a83e-98c04192d411_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_019e028f-7efe-7ce6-bd39-bbf6bb1c6df5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_019e028f-7efe-71fa-a83e-98c04192d411" xlink:to="loc_us-gaap_PlanNameDomain_019e028f-7efe-7ce6-bd39-bbf6bb1c6df5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_StockOptionsRestrictedStockUnitsPerformanceStockUnitsInAggregateMember_019e028f-7efe-7287-a793-0147920c2935" xlink:href="rytm-20260630.xsd#rytm_StockOptionsRestrictedStockUnitsPerformanceStockUnitsInAggregateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_019e028f-7efe-7ce6-bd39-bbf6bb1c6df5" xlink:to="loc_rytm_StockOptionsRestrictedStockUnitsPerformanceStockUnitsInAggregateMember_019e028f-7efe-7287-a793-0147920c2935" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_TwoThousandSeventeenEmployeeAndEmploymentInducementPlan2022stockPurchasePlansInAggregateMember_019e028f-7eff-72f9-8107-68e20a4ff5ca" xlink:href="rytm-20260630.xsd#rytm_TwoThousandSeventeenEmployeeAndEmploymentInducementPlan2022stockPurchasePlansInAggregateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_019e028f-7efe-7ce6-bd39-bbf6bb1c6df5" xlink:to="loc_rytm_TwoThousandSeventeenEmployeeAndEmploymentInducementPlan2022stockPurchasePlansInAggregateMember_019e028f-7eff-72f9-8107-68e20a4ff5ca" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_StockIncentivePlan2017Member_019e028f-7eff-73fa-be79-ef49ea76127c" xlink:href="rytm-20260630.xsd#rytm_StockIncentivePlan2017Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_019e028f-7efe-7ce6-bd39-bbf6bb1c6df5" xlink:to="loc_rytm_StockIncentivePlan2017Member_019e028f-7eff-73fa-be79-ef49ea76127c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_TwoThousandSeventeenEmployeeStockPurchasePlanMember_019e028f-7eff-791f-bbd9-3bb1e274a83c" xlink:href="rytm-20260630.xsd#rytm_TwoThousandSeventeenEmployeeStockPurchasePlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_019e028f-7efe-7ce6-bd39-bbf6bb1c6df5" xlink:to="loc_rytm_TwoThousandSeventeenEmployeeStockPurchasePlanMember_019e028f-7eff-791f-bbd9-3bb1e274a83c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_EmploymentInducementPlan2022Member_019e028f-7eff-7bde-a425-23ce73b62798" xlink:href="rytm-20260630.xsd#rytm_EmploymentInducementPlan2022Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_019e028f-7efe-7ce6-bd39-bbf6bb1c6df5" xlink:to="loc_rytm_EmploymentInducementPlan2022Member_019e028f-7eff-7bde-a425-23ce73b62798" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_019e028f-7eff-7343-9f4a-148c3c119156" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_019e028f-7efe-77c1-b752-d5989f1b87ec" xlink:to="loc_us-gaap_StatementClassOfStockAxis_019e028f-7eff-7343-9f4a-148c3c119156" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_019e028f-7eff-7343-9f4a-148c3c119156_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_019e028f-7eff-7343-9f4a-148c3c119156" xlink:to="loc_us-gaap_ClassOfStockDomain_019e028f-7eff-7343-9f4a-148c3c119156_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_019e028f-7eff-7f20-9d83-2788fe2b836c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_019e028f-7eff-7343-9f4a-148c3c119156" xlink:to="loc_us-gaap_ClassOfStockDomain_019e028f-7eff-7f20-9d83-2788fe2b836c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_019e028f-7eff-7d8b-a154-f8f3369da561" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_019e028f-7eff-7f20-9d83-2788fe2b836c" xlink:to="loc_us-gaap_CommonStockMember_019e028f-7eff-7d8b-a154-f8f3369da561" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_SeriesAConvertiblePreferredStockMember_019e028f-7eff-7cfc-9d57-955b7f18c136" xlink:href="rytm-20260630.xsd#rytm_SeriesAConvertiblePreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_019e028f-7eff-7f20-9d83-2788fe2b836c" xlink:to="loc_rytm_SeriesAConvertiblePreferredStockMember_019e028f-7eff-7cfc-9d57-955b7f18c136" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsidiarySaleOfStockAxis_019e028f-7eff-790c-aa94-a34d1cf2499f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsidiarySaleOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_019e028f-7efe-77c1-b752-d5989f1b87ec" xlink:to="loc_us-gaap_SubsidiarySaleOfStockAxis_019e028f-7eff-790c-aa94-a34d1cf2499f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_019e028f-7eff-790c-aa94-a34d1cf2499f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SaleOfStockNameOfTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_019e028f-7eff-790c-aa94-a34d1cf2499f" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_019e028f-7eff-790c-aa94-a34d1cf2499f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_019e028f-7eff-7960-b9fa-a858ca3f9f80" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SaleOfStockNameOfTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_019e028f-7eff-790c-aa94-a34d1cf2499f" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_019e028f-7eff-7960-b9fa-a858ca3f9f80" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_FollowOnOfferingMember_019e028f-7eff-7613-b280-21f3eb0bae09" xlink:href="rytm-20260630.xsd#rytm_FollowOnOfferingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_019e028f-7eff-7960-b9fa-a858ca3f9f80" xlink:to="loc_rytm_FollowOnOfferingMember_019e028f-7eff-7613-b280-21f3eb0bae09" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OverAllotmentOptionMember_019e028f-7eff-7061-b2de-6050fcb3f580" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OverAllotmentOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_019e028f-7eff-7960-b9fa-a858ca3f9f80" xlink:to="loc_us-gaap_OverAllotmentOptionMember_019e028f-7eff-7061-b2de-6050fcb3f580" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_AtMarketOfferingsMember_019e028f-7eff-7ec2-b0be-3e95f5fb61f1" xlink:href="rytm-20260630.xsd#rytm_AtMarketOfferingsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_019e028f-7eff-7960-b9fa-a858ca3f9f80" xlink:to="loc_rytm_AtMarketOfferingsMember_019e028f-7eff-7ec2-b0be-3e95f5fb61f1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_019e028f-7eff-72a3-8017-5f20fc6d9e22" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_019e028f-7efe-77c1-b752-d5989f1b87ec" xlink:to="loc_srt_RangeAxis_019e028f-7eff-72a3-8017-5f20fc6d9e22" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019e028f-7eff-72a3-8017-5f20fc6d9e22_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_019e028f-7eff-72a3-8017-5f20fc6d9e22" xlink:to="loc_srt_RangeMember_019e028f-7eff-72a3-8017-5f20fc6d9e22_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019e028f-7eff-71a6-a2d3-51f9b0f64c33" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_019e028f-7eff-72a3-8017-5f20fc6d9e22" xlink:to="loc_srt_RangeMember_019e028f-7eff-71a6-a2d3-51f9b0f64c33" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_019e028f-7eff-76a5-bca4-70a1c00f18b2" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019e028f-7eff-71a6-a2d3-51f9b0f64c33" xlink:to="loc_srt_MaximumMember_019e028f-7eff-76a5-bca4-70a1c00f18b2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_019e028f-7eff-7354-85ff-0cfc05b5b286" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_019e028f-7efe-77c1-b752-d5989f1b87ec" xlink:to="loc_us-gaap_AwardTypeAxis_019e028f-7eff-7354-85ff-0cfc05b5b286" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e028f-7eff-7354-85ff-0cfc05b5b286_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_019e028f-7eff-7354-85ff-0cfc05b5b286" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e028f-7eff-7354-85ff-0cfc05b5b286_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e028f-7eff-7cde-8504-cbdb5ec26c08" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_019e028f-7eff-7354-85ff-0cfc05b5b286" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e028f-7eff-7cde-8504-cbdb5ec26c08" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_019e028f-7eff-7651-892c-a03147d2b6cb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e028f-7eff-7cde-8504-cbdb5ec26c08" xlink:to="loc_us-gaap_EmployeeStockOptionMember_019e028f-7eff-7651-892c-a03147d2b6cb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_019e028f-7eff-73ae-8f8e-e2bd11de45a4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019e028f-7eff-7cde-8504-cbdb5ec26c08" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_019e028f-7eff-73ae-8f8e-e2bd11de45a4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_019e028f-7eff-7cb6-a0ee-57d37c485cef" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockCapitalSharesReservedForFutureIssuance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019e028f-7eff-7029-a5e4-e5a799af3e36" xlink:to="loc_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_019e028f-7eff-7cb6-a0ee-57d37c485cef" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_019e028f-7eff-7214-8088-ef5adce1aeca" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019e028f-7eff-7029-a5e4-e5a799af3e36" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_019e028f-7eff-7214-8088-ef5adce1aeca" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_TemporaryEquityStockIssuedDuringPeriodSharesNewIssues_019e028f-7eff-78cd-a594-0449c254b1f4" xlink:href="rytm-20260630.xsd#rytm_TemporaryEquityStockIssuedDuringPeriodSharesNewIssues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019e028f-7eff-7029-a5e4-e5a799af3e36" xlink:to="loc_rytm_TemporaryEquityStockIssuedDuringPeriodSharesNewIssues_019e028f-7eff-78cd-a594-0449c254b1f4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_TemporaryEquitySharesConversionOfConvertibleSecurities_019e028f-7eff-77c8-b80e-b5bc05794b97" xlink:href="rytm-20260630.xsd#rytm_TemporaryEquitySharesConversionOfConvertibleSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019e028f-7eff-7029-a5e4-e5a799af3e36" xlink:to="loc_rytm_TemporaryEquitySharesConversionOfConvertibleSecurities_019e028f-7eff-77c8-b80e-b5bc05794b97" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_019e028f-7eff-705d-9b8f-ca048b85d2f3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019e028f-7eff-7029-a5e4-e5a799af3e36" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_019e028f-7eff-705d-9b8f-ca048b85d2f3" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_NumberOfSharesToBeIssued_019e028f-7eff-7fb3-825f-a5c9e5061cf9" xlink:href="rytm-20260630.xsd#rytm_NumberOfSharesToBeIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019e028f-7eff-7029-a5e4-e5a799af3e36" xlink:to="loc_rytm_NumberOfSharesToBeIssued_019e028f-7eff-7fb3-825f-a5c9e5061cf9" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesIssuedPricePerShare_019e028f-7eff-7ecd-876c-8e34141d49d1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SharesIssuedPricePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019e028f-7eff-7029-a5e4-e5a799af3e36" xlink:to="loc_us-gaap_SharesIssuedPricePerShare_019e028f-7eff-7ecd-876c-8e34141d49d1" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_NumberOfDaysToExerciseUnderwritingOption_019e028f-7eff-7480-a767-b02351535563" xlink:href="rytm-20260630.xsd#rytm_NumberOfDaysToExerciseUnderwritingOption"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019e028f-7eff-7029-a5e4-e5a799af3e36" xlink:to="loc_rytm_NumberOfDaysToExerciseUnderwritingOption_019e028f-7eff-7480-a767-b02351535563" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_019e028f-7eff-78ec-a5b0-ae6348bfc185" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019e028f-7eff-7029-a5e4-e5a799af3e36" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_019e028f-7eff-78ec-a5b0-ae6348bfc185" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForUnderwritingExpense_019e028f-7eff-707b-b337-d0d540ed866f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForUnderwritingExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019e028f-7eff-7029-a5e4-e5a799af3e36" xlink:to="loc_us-gaap_PaymentsForUnderwritingExpense_019e028f-7eff-707b-b337-d0d540ed866f" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockConsiderationReceivedOnTransaction_019e028f-7eff-7666-b661-c1721d0c4160" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SaleOfStockConsiderationReceivedOnTransaction"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019e028f-7eff-7029-a5e4-e5a799af3e36" xlink:to="loc_us-gaap_SaleOfStockConsiderationReceivedOnTransaction_019e028f-7eff-7666-b661-c1721d0c4160" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_019e028f-7eff-76ae-9cc8-7326312c17d7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodSharesNewIssues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019e028f-7eff-7029-a5e4-e5a799af3e36" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_019e028f-7eff-76ae-9cc8-7326312c17d7" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_019e028f-7eff-7c5c-ad14-0473ff321ee7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodValueNewIssues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019e028f-7eff-7029-a5e4-e5a799af3e36" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_019e028f-7eff-7c5c-ad14-0473ff321ee7" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_019e028f-7eff-76de-8aef-5c7e47ed26f0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019e028f-7eff-7029-a5e4-e5a799af3e36" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_019e028f-7eff-76de-8aef-5c7e47ed26f0" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_019e028f-7eff-73c2-8d01-f375c20d54d4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_019e028f-7eff-7029-a5e4-e5a799af3e36" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_019e028f-7eff-73c2-8d01-f375c20d54d4" xlink:type="arc" order="14"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.rhythmtx.com/role/SignificantAgreementsDetails" xlink:type="simple" xlink:href="rytm-20260630.xsd#SignificantAgreementsDetails"/>
  <link:definitionLink xlink:role="http://www.rhythmtx.com/role/SignificantAgreementsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_019e028f-7eff-776d-9b94-58c000bc585b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_019e028f-7eff-7f56-889e-8f95536266a7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_019e028f-7eff-776d-9b94-58c000bc585b" xlink:to="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_019e028f-7eff-7f56-889e-8f95536266a7" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfArrangementAxis_019e028f-7eff-7cf1-9fc3-e162f93f645c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TypeOfArrangementAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_019e028f-7eff-7f56-889e-8f95536266a7" xlink:to="loc_us-gaap_TypeOfArrangementAxis_019e028f-7eff-7cf1-9fc3-e162f93f645c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_019e028f-7eff-7cf1-9fc3-e162f93f645c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ArrangementsAndNonarrangementTransactionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TypeOfArrangementAxis_019e028f-7eff-7cf1-9fc3-e162f93f645c" xlink:to="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_019e028f-7eff-7cf1-9fc3-e162f93f645c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_019e028f-7eff-78b6-90d7-2094c485f251" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ArrangementsAndNonarrangementTransactionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TypeOfArrangementAxis_019e028f-7eff-7cf1-9fc3-e162f93f645c" xlink:to="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_019e028f-7eff-78b6-90d7-2094c485f251" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_TerminationAgreementMember_019e028f-7eff-7391-960e-fa6e3b38524f" xlink:href="rytm-20260630.xsd#rytm_TerminationAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_019e028f-7eff-78b6-90d7-2094c485f251" xlink:to="loc_rytm_TerminationAgreementMember_019e028f-7eff-7391-960e-fa6e3b38524f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_RepaymentOfUpfrontFeesOnTermination_019e028f-7eff-7bec-8968-caa5aca0eeba" xlink:href="rytm-20260630.xsd#rytm_RepaymentOfUpfrontFeesOnTermination"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_019e028f-7eff-776d-9b94-58c000bc585b" xlink:to="loc_rytm_RepaymentOfUpfrontFeesOnTermination_019e028f-7eff-7bec-8968-caa5aca0eeba" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_AdditionalConsiderationForShareRepurchase_019e028f-7eff-7cba-8a22-539885f18539" xlink:href="rytm-20260630.xsd#rytm_AdditionalConsiderationForShareRepurchase"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_019e028f-7eff-776d-9b94-58c000bc585b" xlink:to="loc_rytm_AdditionalConsiderationForShareRepurchase_019e028f-7eff-7cba-8a22-539885f18539" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredRevenueCurrent_019e028f-7eff-7fec-bb84-f14645c3aa44" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredRevenueCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_019e028f-7eff-776d-9b94-58c000bc585b" xlink:to="loc_us-gaap_DeferredRevenueCurrent_019e028f-7eff-7fec-bb84-f14645c3aa44" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_ReversalOfLicenseRevenueRecognizedOnTerminationOfContract_019e028f-7eff-7fad-8f12-2bdaccd46822" xlink:href="rytm-20260630.xsd#rytm_ReversalOfLicenseRevenueRecognizedOnTerminationOfContract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_019e028f-7eff-776d-9b94-58c000bc585b" xlink:to="loc_rytm_ReversalOfLicenseRevenueRecognizedOnTerminationOfContract_019e028f-7eff-7fad-8f12-2bdaccd46822" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_NetReductionInLicenseRevenueUponTerminationOfContract_019e028f-7eff-7e03-8102-e6d629e7faae" xlink:href="rytm-20260630.xsd#rytm_NetReductionInLicenseRevenueUponTerminationOfContract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_019e028f-7eff-776d-9b94-58c000bc585b" xlink:to="loc_rytm_NetReductionInLicenseRevenueUponTerminationOfContract_019e028f-7eff-7e03-8102-e6d629e7faae" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.rhythmtx.com/role/LongTermObligationsDetails" xlink:type="simple" xlink:href="rytm-20260630.xsd#LongTermObligationsDetails"/>
  <link:definitionLink xlink:role="http://www.rhythmtx.com/role/LongTermObligationsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_019e028f-7eff-7173-834a-911e1f95e21c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_019e028f-7eff-7209-94b5-3d956d60b15d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e028f-7eff-7173-834a-911e1f95e21c" xlink:to="loc_us-gaap_DebtInstrumentTable_019e028f-7eff-7209-94b5-3d956d60b15d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_019e028f-7eff-7086-8740-fa1de345d2f8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019e028f-7eff-7209-94b5-3d956d60b15d" xlink:to="loc_us-gaap_DebtInstrumentAxis_019e028f-7eff-7086-8740-fa1de345d2f8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019e028f-7eff-7086-8740-fa1de345d2f8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_019e028f-7eff-7086-8740-fa1de345d2f8" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019e028f-7eff-7086-8740-fa1de345d2f8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019e028f-7eff-7d4f-b997-c8b1caa75709" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_019e028f-7eff-7086-8740-fa1de345d2f8" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019e028f-7eff-7d4f-b997-c8b1caa75709" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_RevenueInterestFinancingAgreementMember_019e028f-7eff-75f0-9af9-a764d3045d33" xlink:href="rytm-20260630.xsd#rytm_RevenueInterestFinancingAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019e028f-7eff-7d4f-b997-c8b1caa75709" xlink:to="loc_rytm_RevenueInterestFinancingAgreementMember_019e028f-7eff-75f0-9af9-a764d3045d33" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_RoyaltyInterestFinancingAgreementMember_019e028f-7eff-7251-bf44-76be304ad634" xlink:href="rytm-20260630.xsd#rytm_RoyaltyInterestFinancingAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019e028f-7eff-7d4f-b997-c8b1caa75709" xlink:to="loc_rytm_RoyaltyInterestFinancingAgreementMember_019e028f-7eff-7251-bf44-76be304ad634" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_019e028f-7eff-7ee7-9fcf-f2be140ec6ef" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019e028f-7eff-7209-94b5-3d956d60b15d" xlink:to="loc_srt_RangeAxis_019e028f-7eff-7ee7-9fcf-f2be140ec6ef" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019e028f-7eff-7ee7-9fcf-f2be140ec6ef_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_019e028f-7eff-7ee7-9fcf-f2be140ec6ef" xlink:to="loc_srt_RangeMember_019e028f-7eff-7ee7-9fcf-f2be140ec6ef_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019e028f-7eff-79b3-81a9-5a61fe7c4f7e" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_019e028f-7eff-7ee7-9fcf-f2be140ec6ef" xlink:to="loc_srt_RangeMember_019e028f-7eff-79b3-81a9-5a61fe7c4f7e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_019e028f-7eff-7199-9fac-ebb6be36e525" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019e028f-7eff-79b3-81a9-5a61fe7c4f7e" xlink:to="loc_srt_MinimumMember_019e028f-7eff-7199-9fac-ebb6be36e525" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_019e028f-7eff-72cc-9e86-817c3fc205e4" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019e028f-7eff-79b3-81a9-5a61fe7c4f7e" xlink:to="loc_srt_MaximumMember_019e028f-7eff-72cc-9e86-817c3fc205e4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_DebtCovenantMilestoneAxis_019e028f-7eff-7470-a488-56c310225f26" xlink:href="rytm-20260630.xsd#rytm_DebtCovenantMilestoneAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019e028f-7eff-7209-94b5-3d956d60b15d" xlink:to="loc_rytm_DebtCovenantMilestoneAxis_019e028f-7eff-7470-a488-56c310225f26" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_DebtCovenantMilestoneDomain_019e028f-7eff-7470-a488-56c310225f26_default" xlink:href="rytm-20260630.xsd#rytm_DebtCovenantMilestoneDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_rytm_DebtCovenantMilestoneAxis_019e028f-7eff-7470-a488-56c310225f26" xlink:to="loc_rytm_DebtCovenantMilestoneDomain_019e028f-7eff-7470-a488-56c310225f26_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_DebtCovenantMilestoneDomain_019e028f-7eff-7850-ae3f-71ae2bbe1f76" xlink:href="rytm-20260630.xsd#rytm_DebtCovenantMilestoneDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_rytm_DebtCovenantMilestoneAxis_019e028f-7eff-7470-a488-56c310225f26" xlink:to="loc_rytm_DebtCovenantMilestoneDomain_019e028f-7eff-7850-ae3f-71ae2bbe1f76" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_AnnualNetRevenuesUpTo125MillionMember_019e028f-7eff-754d-b77f-99671dc39c0f" xlink:href="rytm-20260630.xsd#rytm_AnnualNetRevenuesUpTo125MillionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rytm_DebtCovenantMilestoneDomain_019e028f-7eff-7850-ae3f-71ae2bbe1f76" xlink:to="loc_rytm_AnnualNetRevenuesUpTo125MillionMember_019e028f-7eff-754d-b77f-99671dc39c0f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_AnnualNetRevenuesBetween125MillionAnd300MillionMember_019e028f-7eff-7ba0-b3cc-b06948e17357" xlink:href="rytm-20260630.xsd#rytm_AnnualNetRevenuesBetween125MillionAnd300MillionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rytm_DebtCovenantMilestoneDomain_019e028f-7eff-7850-ae3f-71ae2bbe1f76" xlink:to="loc_rytm_AnnualNetRevenuesBetween125MillionAnd300MillionMember_019e028f-7eff-7ba0-b3cc-b06948e17357" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_AnnualNetRevenuesExceeding300MillionMember_019e028f-7eff-7293-b63f-1025e466b6c2" xlink:href="rytm-20260630.xsd#rytm_AnnualNetRevenuesExceeding300MillionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rytm_DebtCovenantMilestoneDomain_019e028f-7eff-7850-ae3f-71ae2bbe1f76" xlink:to="loc_rytm_AnnualNetRevenuesExceeding300MillionMember_019e028f-7eff-7293-b63f-1025e466b6c2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_CumulativeMinimumPaymentsFundingThresholdDateMarch312027Member_019e028f-7eff-76f0-869e-8e717a5a4c3a" xlink:href="rytm-20260630.xsd#rytm_CumulativeMinimumPaymentsFundingThresholdDateMarch312027Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rytm_DebtCovenantMilestoneDomain_019e028f-7eff-7850-ae3f-71ae2bbe1f76" xlink:to="loc_rytm_CumulativeMinimumPaymentsFundingThresholdDateMarch312027Member_019e028f-7eff-76f0-869e-8e717a5a4c3a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_CumulativeMinimumPaymentsFundingThresholdDateMarch312029Member_019e028f-7eff-77a1-9e28-ab3ced1f1925" xlink:href="rytm-20260630.xsd#rytm_CumulativeMinimumPaymentsFundingThresholdDateMarch312029Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_rytm_DebtCovenantMilestoneDomain_019e028f-7eff-7850-ae3f-71ae2bbe1f76" xlink:to="loc_rytm_CumulativeMinimumPaymentsFundingThresholdDateMarch312029Member_019e028f-7eff-77a1-9e28-ab3ced1f1925" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_019e028f-7eff-743a-9710-32b1176fac82" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentFaceAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e028f-7eff-7173-834a-911e1f95e21c" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_019e028f-7eff-743a-9710-32b1176fac82" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_ProceedsFromRoyaltyFinancingAgreement_019e028f-7eff-70a8-b448-2e535460a2da" xlink:href="rytm-20260630.xsd#rytm_ProceedsFromRoyaltyFinancingAgreement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e028f-7eff-7173-834a-911e1f95e21c" xlink:to="loc_rytm_ProceedsFromRoyaltyFinancingAgreement_019e028f-7eff-70a8-b448-2e535460a2da" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_PercentOfRoyaltyInterestPaymentOnAnnualNetRevenues_019e028f-7eff-735f-aedf-ff41e36c3891" xlink:href="rytm-20260630.xsd#rytm_PercentOfRoyaltyInterestPaymentOnAnnualNetRevenues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e028f-7eff-7173-834a-911e1f95e21c" xlink:to="loc_rytm_PercentOfRoyaltyInterestPaymentOnAnnualNetRevenues_019e028f-7eff-735f-aedf-ff41e36c3891" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_ThresholdAnnualNetRevenuesForRoyaltyInterest_019e028f-7eff-7107-8789-228b50704a14" xlink:href="rytm-20260630.xsd#rytm_ThresholdAnnualNetRevenuesForRoyaltyInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e028f-7eff-7173-834a-911e1f95e21c" xlink:to="loc_rytm_ThresholdAnnualNetRevenuesForRoyaltyInterest_019e028f-7eff-7107-8789-228b50704a14" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_ThresholdPercentOfCumulativeMinimumPaymentsFundingToInvestors_019e028f-7eff-7add-88d6-0bc5cb3e235f" xlink:href="rytm-20260630.xsd#rytm_ThresholdPercentOfCumulativeMinimumPaymentsFundingToInvestors"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e028f-7eff-7173-834a-911e1f95e21c" xlink:to="loc_rytm_ThresholdPercentOfCumulativeMinimumPaymentsFundingToInvestors_019e028f-7eff-7add-88d6-0bc5cb3e235f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebtAndCapitalSecurities_019e028f-7eff-772f-be77-74ece2c25e42" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfLongTermDebtAndCapitalSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e028f-7eff-7173-834a-911e1f95e21c" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebtAndCapitalSecurities_019e028f-7eff-772f-be77-74ece2c25e42" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfLongTermDebtAndCapitalSecurities_019e028f-7eff-742b-8d1a-bd2c8ed42804" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromRepaymentsOfLongTermDebtAndCapitalSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e028f-7eff-7173-834a-911e1f95e21c" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfLongTermDebtAndCapitalSecurities_019e028f-7eff-742b-8d1a-bd2c8ed42804" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_RevenueInterestsPayableCapAsPercentOfInvestmentAmount_019e028f-7eff-79a4-86db-5389435ed6f5" xlink:href="rytm-20260630.xsd#rytm_RevenueInterestsPayableCapAsPercentOfInvestmentAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e028f-7eff-7173-834a-911e1f95e21c" xlink:to="loc_rytm_RevenueInterestsPayableCapAsPercentOfInvestmentAmount_019e028f-7eff-79a4-86db-5389435ed6f5" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_RevenueInterestPaymentPeriodFromInitialClosing_019e028f-7eff-7e43-8316-a17bc7cd4098" xlink:href="rytm-20260630.xsd#rytm_RevenueInterestPaymentPeriodFromInitialClosing"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e028f-7eff-7173-834a-911e1f95e21c" xlink:to="loc_rytm_RevenueInterestPaymentPeriodFromInitialClosing_019e028f-7eff-7e43-8316-a17bc7cd4098" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmbeddedDerivativeFairValueOfEmbeddedDerivativeNet_019e028f-7eff-751e-85fe-5c1fd60f3ae6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmbeddedDerivativeFairValueOfEmbeddedDerivativeNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e028f-7eff-7173-834a-911e1f95e21c" xlink:to="loc_us-gaap_EmbeddedDerivativeFairValueOfEmbeddedDerivativeNet_019e028f-7eff-751e-85fe-5c1fd60f3ae6" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmbeddedDerivativeGainLossOnEmbeddedDerivativeNet_019e028f-7eff-7d85-8627-943158fb50bd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmbeddedDerivativeGainLossOnEmbeddedDerivativeNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e028f-7eff-7173-834a-911e1f95e21c" xlink:to="loc_us-gaap_EmbeddedDerivativeGainLossOnEmbeddedDerivativeNet_019e028f-7eff-7d85-8627-943158fb50bd" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredRevenueNoncurrent_019e028f-7eff-7cde-bd3d-e157cd350836" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredRevenueNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e028f-7eff-7173-834a-911e1f95e21c" xlink:to="loc_us-gaap_DeferredRevenueNoncurrent_019e028f-7eff-7cde-bd3d-e157cd350836" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_019e028f-7eff-721e-b727-b4e202b25f87" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentInterestRateEffectivePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e028f-7eff-7173-834a-911e1f95e21c" xlink:to="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_019e028f-7eff-721e-b727-b4e202b25f87" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_019e028f-7eff-7131-bdd0-8751b7efb868" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredFinanceCostsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019e028f-7eff-7173-834a-911e1f95e21c" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_019e028f-7eff-7131-bdd0-8751b7efb868" xlink:type="arc" order="13"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.rhythmtx.com/role/SegmentandGeographicInformationProfitlossDetails" xlink:type="simple" xlink:href="rytm-20260630.xsd#SegmentandGeographicInformationProfitlossDetails"/>
  <link:definitionLink xlink:role="http://www.rhythmtx.com/role/SegmentandGeographicInformationProfitlossDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_019e028f-7eff-73e2-b621-dfdd68cc978f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019e028f-7eff-740d-95ad-1c7e9bc9a6e0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019e028f-7eff-73e2-b621-dfdd68cc978f" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019e028f-7eff-740d-95ad-1c7e9bc9a6e0" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_019e028f-7eff-7314-b6ee-f30d077e0bc2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019e028f-7eff-740d-95ad-1c7e9bc9a6e0" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_019e028f-7eff-7314-b6ee-f30d077e0bc2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019e028f-7eff-7314-b6ee-f30d077e0bc2_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019e028f-7eff-7314-b6ee-f30d077e0bc2" xlink:to="loc_us-gaap_SegmentDomain_019e028f-7eff-7314-b6ee-f30d077e0bc2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019e028f-7eff-7484-9e81-18010a9da302" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019e028f-7eff-7314-b6ee-f30d077e0bc2" xlink:to="loc_us-gaap_SegmentDomain_019e028f-7eff-7484-9e81-18010a9da302" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_SingleReportableSegmentMember_019e028f-7eff-74c9-a1fd-346748d03adc" xlink:href="rytm-20260630.xsd#rytm_SingleReportableSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019e028f-7eff-7484-9e81-18010a9da302" xlink:to="loc_rytm_SingleReportableSegmentMember_019e028f-7eff-74c9-a1fd-346748d03adc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementGeographicalAxis_019e028f-7eff-77cd-979c-b71d787b5ac4" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_StatementGeographicalAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019e028f-7eff-740d-95ad-1c7e9bc9a6e0" xlink:to="loc_srt_StatementGeographicalAxis_019e028f-7eff-77cd-979c-b71d787b5ac4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_019e028f-7eff-77cd-979c-b71d787b5ac4_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_019e028f-7eff-77cd-979c-b71d787b5ac4" xlink:to="loc_srt_SegmentGeographicalDomain_019e028f-7eff-77cd-979c-b71d787b5ac4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_019e028f-7eff-73c4-b7f5-241ad770f007" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_019e028f-7eff-77cd-979c-b71d787b5ac4" xlink:to="loc_srt_SegmentGeographicalDomain_019e028f-7eff-73c4-b7f5-241ad770f007" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_US_019e028f-7eff-7d98-abee-d3ee244b0443" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_US"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_019e028f-7eff-73c4-b7f5-241ad770f007" xlink:to="loc_country_US_019e028f-7eff-7d98-abee-d3ee244b0443" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonUsMember_019e028f-7eff-7860-8e1c-27c3d4770097" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NonUsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_019e028f-7eff-73c4-b7f5-241ad770f007" xlink:to="loc_us-gaap_NonUsMember_019e028f-7eff-7860-8e1c-27c3d4770097" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_019e028f-7eff-7971-b988-876823721724" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019e028f-7eff-740d-95ad-1c7e9bc9a6e0" xlink:to="loc_srt_ProductOrServiceAxis_019e028f-7eff-7971-b988-876823721724" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_019e028f-7eff-7971-b988-876823721724_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_019e028f-7eff-7971-b988-876823721724" xlink:to="loc_srt_ProductsAndServicesDomain_019e028f-7eff-7971-b988-876823721724_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_019e028f-7eff-724d-a776-50b699c3b694" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_019e028f-7eff-7971-b988-876823721724" xlink:to="loc_srt_ProductsAndServicesDomain_019e028f-7eff-724d-a776-50b699c3b694" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductMember_019e028f-7eff-786c-b628-deff986a88d9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProductMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_019e028f-7eff-724d-a776-50b699c3b694" xlink:to="loc_us-gaap_ProductMember_019e028f-7eff-786c-b628-deff986a88d9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LicenseMember_019e028f-7eff-757d-b24c-ca008a568ae9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LicenseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_019e028f-7eff-724d-a776-50b699c3b694" xlink:to="loc_us-gaap_LicenseMember_019e028f-7eff-757d-b24c-ca008a568ae9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019e028f-7eff-7d6e-bd0b-c2ccb0b9d807" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019e028f-7eff-73e2-b621-dfdd68cc978f" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019e028f-7eff-7d6e-bd0b-c2ccb0b9d807" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_019e028f-7eff-74fe-af07-c2adbc6c0d03" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019e028f-7eff-73e2-b621-dfdd68cc978f" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_019e028f-7eff-74fe-af07-c2adbc6c0d03" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LaborAndRelatedExpense_019e028f-7eff-7a44-b445-8b37314815b9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LaborAndRelatedExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019e028f-7eff-73e2-b621-dfdd68cc978f" xlink:to="loc_us-gaap_LaborAndRelatedExpense_019e028f-7eff-7a44-b445-8b37314815b9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_PreclinicalClinicalAndDevelopmentExpense_019e028f-7eff-7e66-a38c-22cb6cddd4c0" xlink:href="rytm-20260630.xsd#rytm_PreclinicalClinicalAndDevelopmentExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019e028f-7eff-73e2-b621-dfdd68cc978f" xlink:to="loc_rytm_PreclinicalClinicalAndDevelopmentExpense_019e028f-7eff-7e66-a38c-22cb6cddd4c0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_CommercialAndMedicalExpenses_019e028f-7eff-7303-aa41-622652db4e80" xlink:href="rytm-20260630.xsd#rytm_CommercialAndMedicalExpenses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019e028f-7eff-73e2-b621-dfdd68cc978f" xlink:to="loc_rytm_CommercialAndMedicalExpenses_019e028f-7eff-7303-aa41-622652db4e80" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_019e028f-7eff-797b-97d1-55b092b2d2dd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019e028f-7eff-73e2-b621-dfdd68cc978f" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_019e028f-7eff-797b-97d1-55b092b2d2dd" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_019e028f-7eff-7ea6-b90c-a4196a83c945" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019e028f-7eff-73e2-b621-dfdd68cc978f" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_019e028f-7eff-7ea6-b90c-a4196a83c945" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNonoperatingNet_019e028f-7eff-719a-bf77-b7deb14b04f6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeExpenseNonoperatingNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019e028f-7eff-73e2-b621-dfdd68cc978f" xlink:to="loc_us-gaap_InterestIncomeExpenseNonoperatingNet_019e028f-7eff-719a-bf77-b7deb14b04f6" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019e028f-7eff-70af-b697-77c10be2415e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019e028f-7eff-73e2-b621-dfdd68cc978f" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_019e028f-7eff-70af-b697-77c10be2415e" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e028f-7eff-73b2-bb32-3c87a7b068b7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019e028f-7eff-73e2-b621-dfdd68cc978f" xlink:to="loc_us-gaap_NetIncomeLoss_019e028f-7eff-73b2-bb32-3c87a7b068b7" xlink:type="arc" order="9"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.rhythmtx.com/role/SegmentandGeographicInformationRevenuesDetails" xlink:type="simple" xlink:href="rytm-20260630.xsd#SegmentandGeographicInformationRevenuesDetails"/>
  <link:definitionLink xlink:role="http://www.rhythmtx.com/role/SegmentandGeographicInformationRevenuesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_019e028f-7eff-79bb-a81d-a266517083f4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019e028f-7eff-7e19-b5d9-01da92f22870" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019e028f-7eff-79bb-a81d-a266517083f4" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019e028f-7eff-7e19-b5d9-01da92f22870" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementGeographicalAxis_019e028f-7eff-72a5-ad0e-95d248d6584c" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_StatementGeographicalAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019e028f-7eff-7e19-b5d9-01da92f22870" xlink:to="loc_srt_StatementGeographicalAxis_019e028f-7eff-72a5-ad0e-95d248d6584c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_019e028f-7eff-72a5-ad0e-95d248d6584c_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_019e028f-7eff-72a5-ad0e-95d248d6584c" xlink:to="loc_srt_SegmentGeographicalDomain_019e028f-7eff-72a5-ad0e-95d248d6584c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_019e028f-7eff-72b4-89c5-9764a0c2e5ec" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_019e028f-7eff-72a5-ad0e-95d248d6584c" xlink:to="loc_srt_SegmentGeographicalDomain_019e028f-7eff-72b4-89c5-9764a0c2e5ec" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_US_019e028f-7eff-7420-b8f5-091a5a1d181d" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_US"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_019e028f-7eff-72b4-89c5-9764a0c2e5ec" xlink:to="loc_country_US_019e028f-7eff-7420-b8f5-091a5a1d181d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonUsMember_019e028f-7eff-7ffb-b911-c0322e447893" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NonUsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_019e028f-7eff-72b4-89c5-9764a0c2e5ec" xlink:to="loc_us-gaap_NonUsMember_019e028f-7eff-7ffb-b911-c0322e447893" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019e028f-7eff-7e65-9b2b-ad0cdf203f76" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019e028f-7eff-79bb-a81d-a266517083f4" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019e028f-7eff-7e65-9b2b-ad0cdf203f76" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.rhythmtx.com/role/SubsequentEventsDetails" xlink:type="simple" xlink:href="rytm-20260630.xsd#SubsequentEventsDetails"/>
  <link:definitionLink xlink:role="http://www.rhythmtx.com/role/SubsequentEventsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventLineItems_019f5c1a-5ed5-7cae-85fb-245b78aee8f2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTable_019f5c1a-5ed5-7f5a-a310-268b07a226ce" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SubsequentEventLineItems_019f5c1a-5ed5-7cae-85fb-245b78aee8f2" xlink:to="loc_us-gaap_SubsequentEventTable_019f5c1a-5ed5-7f5a-a310-268b07a226ce" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_019f5c1a-5ed5-7df1-b397-c58bc8425e04" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_019f5c1a-5ed5-7f5a-a310-268b07a226ce" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_019f5c1a-5ed5-7df1-b397-c58bc8425e04" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_019f5c1a-5ed5-7df1-b397-c58bc8425e04_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_019f5c1a-5ed5-7df1-b397-c58bc8425e04" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_019f5c1a-5ed5-7df1-b397-c58bc8425e04_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_019f5c1a-5ed5-784f-ac55-b03ef15b1539" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_019f5c1a-5ed5-7df1-b397-c58bc8425e04" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_019f5c1a-5ed5-784f-ac55-b03ef15b1539" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventMember_019f5c1a-5ed5-7430-a65a-61150562efa3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_019f5c1a-5ed5-784f-ac55-b03ef15b1539" xlink:to="loc_us-gaap_SubsequentEventMember_019f5c1a-5ed5-7430-a65a-61150562efa3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPreferredStockCash_019f5c1a-5ed5-757c-960d-9dbbc7210634" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DividendsPreferredStockCash"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_019f5c1a-5ed5-7cae-85fb-245b78aee8f2" xlink:to="loc_us-gaap_DividendsPreferredStockCash_019f5c1a-5ed5-757c-960d-9dbbc7210634" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://xbrl.sec.gov/ecd/role/IndividualsOnly" xlink:type="simple" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.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/2025/ecd-2025.xsd#ecd_AllIndividualsMember"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_HunterSmithMember_019f84ef-542f-78b0-8505-13374bfe6bc9" xlink:href="rytm-20260630.xsd#rytm_HunterSmithMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ecd_AllIndividualsMember" xlink:to="loc_rytm_HunterSmithMember_019f84ef-542f-78b0-8505-13374bfe6bc9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_YannMazzabraudMember_019f84eb-4e18-75a9-8c52-b91fdb90f391" xlink:href="rytm-20260630.xsd#rytm_YannMazzabraudMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ecd_AllIndividualsMember" xlink:to="loc_rytm_YannMazzabraudMember_019f84eb-4e18-75a9-8c52-b91fdb90f391" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_AlastairGarfieldMember_019f84eb-eea6-735a-a5f5-f0b292dfac7f" xlink:href="rytm-20260630.xsd#rytm_AlastairGarfieldMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ecd_AllIndividualsMember" xlink:to="loc_rytm_AlastairGarfieldMember_019f84eb-eea6-735a-a5f5-f0b292dfac7f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_JenniferLeeMember_019f84ec-4ac9-7c47-86ea-fc18a89fb874" xlink:href="rytm-20260630.xsd#rytm_JenniferLeeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ecd_AllIndividualsMember" xlink:to="loc_rytm_JenniferLeeMember_019f84ec-4ac9-7c47-86ea-fc18a89fb874" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_DavidMeekerMember_019f84ec-a078-7886-8efe-d3622f87c0cc" xlink:href="rytm-20260630.xsd#rytm_DavidMeekerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ecd_AllIndividualsMember" xlink:to="loc_rytm_DavidMeekerMember_019f84ec-a078-7886-8efe-d3622f87c0cc" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_rytm_LynnTetraultMember_019fa490-dd5e-7738-bf8a-f71f355f2cc0" xlink:href="rytm-20260630.xsd#rytm_LynnTetraultMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ecd_AllIndividualsMember" xlink:to="loc_rytm_LynnTetraultMember_019fa490-dd5e-7738-bf8a-f71f355f2cc0" xlink:type="arc" order="7"/>
  </link:definitionLink>
</link:linkbase>
