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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2025 Workiva-->
<!--r:aedd4b4a-e3e3-4e7f-aa05-ce6bd9e8df99,g:5f9881a4-6233-4776-84fe-9546ad9ae9ab-->
<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.halozyme.com/role/CondensedConsolidatedStatementsofIncomeUnaudited" xlink:type="simple" xlink:href="halo-20250930.xsd#CondensedConsolidatedStatementsofIncomeUnaudited"/>
  <link:definitionLink xlink:role="http://www.halozyme.com/role/CondensedConsolidatedStatementsofIncomeUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_fce973a5-60f6-4579-b45f-da33e7759b4e" 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_4e110064-6885-4fa0-914c-a82aa2458959" 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_fce973a5-60f6-4579-b45f-da33e7759b4e" xlink:to="loc_us-gaap_StatementTable_4e110064-6885-4fa0-914c-a82aa2458959" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_9642fb33-c45d-4404-ac09-efe5570d1368" 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_4e110064-6885-4fa0-914c-a82aa2458959" xlink:to="loc_srt_ProductOrServiceAxis_9642fb33-c45d-4404-ac09-efe5570d1368" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_9642fb33-c45d-4404-ac09-efe5570d1368_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_9642fb33-c45d-4404-ac09-efe5570d1368" xlink:to="loc_srt_ProductsAndServicesDomain_9642fb33-c45d-4404-ac09-efe5570d1368_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_f1240e61-c6ea-4333-a13d-7c58b05cb616" 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_9642fb33-c45d-4404-ac09-efe5570d1368" xlink:to="loc_srt_ProductsAndServicesDomain_f1240e61-c6ea-4333-a13d-7c58b05cb616" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RoyaltyMember_f0dbd716-7f6d-41b5-bd01-954956fb8e53" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RoyaltyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_f1240e61-c6ea-4333-a13d-7c58b05cb616" xlink:to="loc_us-gaap_RoyaltyMember_f0dbd716-7f6d-41b5-bd01-954956fb8e53" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductMember_305dc951-53e1-49ac-80cd-ed3aa8f9c9a9" 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_f1240e61-c6ea-4333-a13d-7c58b05cb616" xlink:to="loc_us-gaap_ProductMember_305dc951-53e1-49ac-80cd-ed3aa8f9c9a9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_CollaborativeAgreementsMember_3ff828e3-af35-4de6-b5b2-42c29bdb5a71" xlink:href="halo-20250930.xsd#halo_CollaborativeAgreementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_f1240e61-c6ea-4333-a13d-7c58b05cb616" xlink:to="loc_halo_CollaborativeAgreementsMember_3ff828e3-af35-4de6-b5b2-42c29bdb5a71" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenuesAbstract_dc85d666-1855-4179-ba8a-a756b59f9fae" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenuesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_fce973a5-60f6-4579-b45f-da33e7759b4e" xlink:to="loc_us-gaap_RevenuesAbstract_dc85d666-1855-4179-ba8a-a756b59f9fae" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_3f0159e2-a4e2-454a-9362-6acb31446d3c" 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_RevenuesAbstract_dc85d666-1855-4179-ba8a-a756b59f9fae" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_3f0159e2-a4e2-454a-9362-6acb31446d3c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpensesAbstract_49fe935b-8f1c-4fcd-91c0-0837c684d904" 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_fce973a5-60f6-4579-b45f-da33e7759b4e" xlink:to="loc_us-gaap_CostsAndExpensesAbstract_49fe935b-8f1c-4fcd-91c0-0837c684d904" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_8005acfb-50c2-4ed1-ae8c-d8a45565e400" 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_49fe935b-8f1c-4fcd-91c0-0837c684d904" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_8005acfb-50c2-4ed1-ae8c-d8a45565e400" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_3dbed8e5-7795-436f-901b-df3f5170dad0" 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_CostsAndExpensesAbstract_49fe935b-8f1c-4fcd-91c0-0837c684d904" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_3dbed8e5-7795-436f-901b-df3f5170dad0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_49674d25-01cc-4b38-85a0-71c826fff6de" 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_49fe935b-8f1c-4fcd-91c0-0837c684d904" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_49674d25-01cc-4b38-85a0-71c826fff6de" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_71c9aaa0-7d95-4684-94d8-ac343c563a94" 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_49fe935b-8f1c-4fcd-91c0-0837c684d904" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_71c9aaa0-7d95-4684-94d8-ac343c563a94" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_303132fe-2132-4bbd-9159-846e7ad953d3" 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_49fe935b-8f1c-4fcd-91c0-0837c684d904" xlink:to="loc_us-gaap_CostsAndExpenses_303132fe-2132-4bbd-9159-846e7ad953d3" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_ea21417a-d800-4f22-99b6-c18df227ab13" 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_fce973a5-60f6-4579-b45f-da33e7759b4e" xlink:to="loc_us-gaap_OperatingIncomeLoss_ea21417a-d800-4f22-99b6-c18df227ab13" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherIncomeAndExpensesAbstract_e557fbdf-6bfa-4625-96b3-65f5d68141f5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherIncomeAndExpensesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_fce973a5-60f6-4579-b45f-da33e7759b4e" xlink:to="loc_us-gaap_OtherIncomeAndExpensesAbstract_e557fbdf-6bfa-4625-96b3-65f5d68141f5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_72176ac0-8649-4948-a0a0-42c6a284e5d3" 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_OtherIncomeAndExpensesAbstract_e557fbdf-6bfa-4625-96b3-65f5d68141f5" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_72176ac0-8649-4948-a0a0-42c6a284e5d3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseNonoperating_0b96aad6-600b-4063-a804-dc2d9754fd36" 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_OtherIncomeAndExpensesAbstract_e557fbdf-6bfa-4625-96b3-65f5d68141f5" xlink:to="loc_us-gaap_InterestExpenseNonoperating_0b96aad6-600b-4063-a804-dc2d9754fd36" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_cf01184b-1d5c-4e53-84d3-48b2893b0cab" 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_fce973a5-60f6-4579-b45f-da33e7759b4e" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_cf01184b-1d5c-4e53-84d3-48b2893b0cab" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_5b0fabbc-421e-451e-a5fb-0908ca5782b0" 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_fce973a5-60f6-4579-b45f-da33e7759b4e" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_5b0fabbc-421e-451e-a5fb-0908ca5782b0" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_f9bf88cd-7ed9-4a72-94ac-baf4081d049c" 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_fce973a5-60f6-4579-b45f-da33e7759b4e" xlink:to="loc_us-gaap_NetIncomeLoss_f9bf88cd-7ed9-4a72-94ac-baf4081d049c" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareAbstract_462708b6-2a0f-4c43-8645-4feebbb7b27a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EarningsPerShareAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_fce973a5-60f6-4579-b45f-da33e7759b4e" xlink:to="loc_us-gaap_EarningsPerShareAbstract_462708b6-2a0f-4c43-8645-4feebbb7b27a" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasic_4518bc91-5840-4a06-afe8-00bfca672e14" 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_EarningsPerShareAbstract_462708b6-2a0f-4c43-8645-4feebbb7b27a" xlink:to="loc_us-gaap_EarningsPerShareBasic_4518bc91-5840-4a06-afe8-00bfca672e14" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDiluted_55410b1b-6caf-4cee-a4ca-fd2a23624048" 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_EarningsPerShareAbstract_462708b6-2a0f-4c43-8645-4feebbb7b27a" xlink:to="loc_us-gaap_EarningsPerShareDiluted_55410b1b-6caf-4cee-a4ca-fd2a23624048" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_3bf17e3e-9256-4b57-97c8-761fa7951ee1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_fce973a5-60f6-4579-b45f-da33e7759b4e" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_3bf17e3e-9256-4b57-97c8-761fa7951ee1" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_1e70daf9-131b-44a8-9967-417c6877f3b6" 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_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_3bf17e3e-9256-4b57-97c8-761fa7951ee1" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_1e70daf9-131b-44a8-9967-417c6877f3b6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_18128242-35da-498f-a237-09d15675373f" 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_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_3bf17e3e-9256-4b57-97c8-761fa7951ee1" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_18128242-35da-498f-a237-09d15675373f" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.halozyme.com/role/CondensedConsolidatedStatementsofStockholdersEquityUnaudited" xlink:type="simple" xlink:href="halo-20250930.xsd#CondensedConsolidatedStatementsofStockholdersEquityUnaudited"/>
  <link:definitionLink xlink:role="http://www.halozyme.com/role/CondensedConsolidatedStatementsofStockholdersEquityUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_4b248b73-06eb-4384-9379-3e9013edb641" 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_3a7e61b9-e13a-4bdb-b6ed-3f73c3f1a030" 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_4b248b73-06eb-4384-9379-3e9013edb641" xlink:to="loc_us-gaap_StatementTable_3a7e61b9-e13a-4bdb-b6ed-3f73c3f1a030" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_2d9cbc95-cd7c-4a6d-ab32-6d095231a87e" 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_3a7e61b9-e13a-4bdb-b6ed-3f73c3f1a030" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_2d9cbc95-cd7c-4a6d-ab32-6d095231a87e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_2d9cbc95-cd7c-4a6d-ab32-6d095231a87e_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_2d9cbc95-cd7c-4a6d-ab32-6d095231a87e" xlink:to="loc_us-gaap_EquityComponentDomain_2d9cbc95-cd7c-4a6d-ab32-6d095231a87e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_74664f1b-a65d-4551-a7ab-0f258461edf2" 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_2d9cbc95-cd7c-4a6d-ab32-6d095231a87e" xlink:to="loc_us-gaap_EquityComponentDomain_74664f1b-a65d-4551-a7ab-0f258461edf2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_4150296e-aafa-4b07-8bc9-6961086490fe" 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_74664f1b-a65d-4551-a7ab-0f258461edf2" xlink:to="loc_us-gaap_CommonStockMember_4150296e-aafa-4b07-8bc9-6961086490fe" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_2d3370d6-1bdc-4ee6-9bcd-cd13cc3fb278" 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_74664f1b-a65d-4551-a7ab-0f258461edf2" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_2d3370d6-1bdc-4ee6-9bcd-cd13cc3fb278" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_cbd51c0b-5c81-4049-b0b6-346091d8f2a3" 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_74664f1b-a65d-4551-a7ab-0f258461edf2" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_cbd51c0b-5c81-4049-b0b6-346091d8f2a3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_2b84583a-91c1-4c11-93f8-84b0dcd6ed26" 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_74664f1b-a65d-4551-a7ab-0f258461edf2" xlink:to="loc_us-gaap_RetainedEarningsMember_2b84583a-91c1-4c11-93f8-84b0dcd6ed26" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_b2a0ab45-7558-446c-80ad-6065942d3e14" 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_4b248b73-06eb-4384-9379-3e9013edb641" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_b2a0ab45-7558-446c-80ad-6065942d3e14" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesOutstanding_58e4eb5f-efcf-454d-8378-b3501f89fac6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_b2a0ab45-7558-446c-80ad-6065942d3e14" xlink:to="loc_us-gaap_SharesOutstanding_58e4eb5f-efcf-454d-8378-b3501f89fac6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_d70f84de-3276-40b5-bda8-22e2c58cf959" 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_b2a0ab45-7558-446c-80ad-6065942d3e14" xlink:to="loc_us-gaap_StockholdersEquity_d70f84de-3276-40b5-bda8-22e2c58cf959" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_e75cd826-91d1-4907-8df9-e8f5f55475c8" 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_b2a0ab45-7558-446c-80ad-6065942d3e14" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_e75cd826-91d1-4907-8df9-e8f5f55475c8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_7b48223c-0036-47e0-a1c7-258499e32fd8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_b2a0ab45-7558-446c-80ad-6065942d3e14" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_7b48223c-0036-47e0-a1c7-258499e32fd8" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation_49a8b39e-a5bc-4ff0-b650-2630a8d16153" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_b2a0ab45-7558-446c-80ad-6065942d3e14" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation_49a8b39e-a5bc-4ff0-b650-2630a8d16153" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_0ae8dcb6-0b47-4b8b-86a2-902e6ca9c86b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_b2a0ab45-7558-446c-80ad-6065942d3e14" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_0ae8dcb6-0b47-4b8b-86a2-902e6ca9c86b" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_699d7311-a93a-4285-8e8b-35d750e0b40f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_b2a0ab45-7558-446c-80ad-6065942d3e14" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_699d7311-a93a-4285-8e8b-35d750e0b40f" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_020f7c09-297f-4b64-b47f-259b44f0a382" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_b2a0ab45-7558-446c-80ad-6065942d3e14" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_020f7c09-297f-4b64-b47f-259b44f0a382" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_4f595d7a-4114-42ce-8ae7-9d7a18e3dc92" 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_b2a0ab45-7558-446c-80ad-6065942d3e14" xlink:to="loc_us-gaap_NetIncomeLoss_4f595d7a-4114-42ce-8ae7-9d7a18e3dc92" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesOutstanding_c2fda845-14d6-4282-99d9-d8748a66d718" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_2442805f-f25b-47fb-99a0-fb16ebfdf14a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.halozyme.com/role/OrganizationandBusinessDetails" xlink:type="simple" xlink:href="halo-20250930.xsd#OrganizationandBusinessDetails"/>
  <link:definitionLink xlink:role="http://www.halozyme.com/role/OrganizationandBusinessDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_f5504cd3-9fcc-45f2-a2d2-f51b93d4828c" 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_4b8aa535-f315-4111-bed1-84c71199ddf1" 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_f5504cd3-9fcc-45f2-a2d2-f51b93d4828c" xlink:to="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_4b8aa535-f315-4111-bed1-84c71199ddf1" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CounterpartyNameAxis_ce74d6dd-fbbc-4696-b99f-5a472d4904e8" 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_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_4b8aa535-f315-4111-bed1-84c71199ddf1" xlink:to="loc_srt_CounterpartyNameAxis_ce74d6dd-fbbc-4696-b99f-5a472d4904e8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_ce74d6dd-fbbc-4696-b99f-5a472d4904e8_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_ce74d6dd-fbbc-4696-b99f-5a472d4904e8" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_ce74d6dd-fbbc-4696-b99f-5a472d4904e8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_a6f35725-d3b7-4d14-a9b3-d97258723f92" 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_ce74d6dd-fbbc-4696-b99f-5a472d4904e8" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_a6f35725-d3b7-4d14-a9b3-d97258723f92" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_RocheMember_4f8ad97d-2205-48a0-9a7d-06269961f858" xlink:href="halo-20250930.xsd#halo_RocheMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_a6f35725-d3b7-4d14-a9b3-d97258723f92" xlink:to="loc_halo_RocheMember_4f8ad97d-2205-48a0-9a7d-06269961f858" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_JanssenMember_42fbfb6a-f757-40a4-ae2f-d925b6f0805f" xlink:href="halo-20250930.xsd#halo_JanssenMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_a6f35725-d3b7-4d14-a9b3-d97258723f92" xlink:to="loc_halo_JanssenMember_42fbfb6a-f757-40a4-ae2f-d925b6f0805f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_TakedaMember_bbb40af3-101d-4a51-ab52-b03fca222cd8" xlink:href="halo-20250930.xsd#halo_TakedaMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_a6f35725-d3b7-4d14-a9b3-d97258723f92" xlink:to="loc_halo_TakedaMember_bbb40af3-101d-4a51-ab52-b03fca222cd8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_ArgenxMember_5cad3a26-c122-434c-8576-28930e3d26d6" xlink:href="halo-20250930.xsd#halo_ArgenxMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_a6f35725-d3b7-4d14-a9b3-d97258723f92" xlink:to="loc_halo_ArgenxMember_5cad3a26-c122-434c-8576-28930e3d26d6" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_BMSMember_49d20f76-0a42-4e4d-942d-2af0bac28744" xlink:href="halo-20250930.xsd#halo_BMSMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_a6f35725-d3b7-4d14-a9b3-d97258723f92" xlink:to="loc_halo_BMSMember_49d20f76-0a42-4e4d-942d-2af0bac28744" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_RoyaltiesReceivedNumberOfProductsSold_74005dd4-2167-4d77-9470-5897770d2e93" xlink:href="halo-20250930.xsd#halo_RoyaltiesReceivedNumberOfProductsSold"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_f5504cd3-9fcc-45f2-a2d2-f51b93d4828c" xlink:to="loc_halo_RoyaltiesReceivedNumberOfProductsSold_74005dd4-2167-4d77-9470-5897770d2e93" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.halozyme.com/role/SummaryofSignificantAccountingPoliciesLeasesDetails" xlink:type="simple" xlink:href="halo-20250930.xsd#SummaryofSignificantAccountingPoliciesLeasesDetails"/>
  <link:definitionLink xlink:role="http://www.halozyme.com/role/SummaryofSignificantAccountingPoliciesLeasesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionLineItems_a7c606f6-0941-43c7-b5b6-cf73a978f12d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeLeaseDescriptionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionTable_99f00259-85bd-40f2-8e24-91b65bc42cec" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeLeaseDescriptionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_a7c606f6-0941-43c7-b5b6-cf73a978f12d" xlink:to="loc_us-gaap_LesseeLeaseDescriptionTable_99f00259-85bd-40f2-8e24-91b65bc42cec" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_3af2b68c-6f3b-4feb-8510-9d7951a7af56" 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_LesseeLeaseDescriptionTable_99f00259-85bd-40f2-8e24-91b65bc42cec" xlink:to="loc_srt_RangeAxis_3af2b68c-6f3b-4feb-8510-9d7951a7af56" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_3af2b68c-6f3b-4feb-8510-9d7951a7af56_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_3af2b68c-6f3b-4feb-8510-9d7951a7af56" xlink:to="loc_srt_RangeMember_3af2b68c-6f3b-4feb-8510-9d7951a7af56_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_652fac42-4e16-41a4-a910-444887bc725d" 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_3af2b68c-6f3b-4feb-8510-9d7951a7af56" xlink:to="loc_srt_RangeMember_652fac42-4e16-41a4-a910-444887bc725d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_385d21c3-7115-45ce-8eb9-41dd3521a045" 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_652fac42-4e16-41a4-a910-444887bc725d" xlink:to="loc_srt_MinimumMember_385d21c3-7115-45ce-8eb9-41dd3521a045" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_8f3e0ccc-b74b-49b4-9191-5b73743833c5" 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_652fac42-4e16-41a4-a910-444887bc725d" xlink:to="loc_srt_MaximumMember_8f3e0ccc-b74b-49b4-9191-5b73743833c5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseTermOfContract_437cc9cf-b320-4f37-a07b-32e39feba508" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseTermOfContract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_a7c606f6-0941-43c7-b5b6-cf73a978f12d" xlink:to="loc_us-gaap_LesseeOperatingLeaseTermOfContract_437cc9cf-b320-4f37-a07b-32e39feba508" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.halozyme.com/role/SummaryofSignificantAccountingPoliciesPropertyandEquipmentNetDetails" xlink:type="simple" xlink:href="halo-20250930.xsd#SummaryofSignificantAccountingPoliciesPropertyandEquipmentNetDetails"/>
  <link:definitionLink xlink:role="http://www.halozyme.com/role/SummaryofSignificantAccountingPoliciesPropertyandEquipmentNetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_8ac51f51-0111-45ba-9ca8-09e392ce5eb3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_d86cee05-bd6d-4b8c-bf54-36d903d3811f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_8ac51f51-0111-45ba-9ca8-09e392ce5eb3" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_d86cee05-bd6d-4b8c-bf54-36d903d3811f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_c0fea366-b609-495d-bbf7-ec2b344bef42" 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_ScheduleOfPropertyPlantAndEquipmentTable_d86cee05-bd6d-4b8c-bf54-36d903d3811f" xlink:to="loc_srt_RangeAxis_c0fea366-b609-495d-bbf7-ec2b344bef42" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_c0fea366-b609-495d-bbf7-ec2b344bef42_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_c0fea366-b609-495d-bbf7-ec2b344bef42" xlink:to="loc_srt_RangeMember_c0fea366-b609-495d-bbf7-ec2b344bef42_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_cf508724-d49a-4955-8417-cbd0d24ab0a5" 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_c0fea366-b609-495d-bbf7-ec2b344bef42" xlink:to="loc_srt_RangeMember_cf508724-d49a-4955-8417-cbd0d24ab0a5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_01886ae0-9a77-45d5-a2e1-8f5cec693eb7" 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_cf508724-d49a-4955-8417-cbd0d24ab0a5" xlink:to="loc_srt_MinimumMember_01886ae0-9a77-45d5-a2e1-8f5cec693eb7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_0039c4f1-2521-4f59-a566-a2e530f51e59" 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_cf508724-d49a-4955-8417-cbd0d24ab0a5" xlink:to="loc_srt_MaximumMember_0039c4f1-2521-4f59-a566-a2e530f51e59" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_07125e0d-6b83-4331-9438-98e28eafed1a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_8ac51f51-0111-45ba-9ca8-09e392ce5eb3" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_07125e0d-6b83-4331-9438-98e28eafed1a" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.halozyme.com/role/SummaryofSignificantAccountingPoliciesCashFlowHedgesCurrencyRisksDetails" xlink:type="simple" xlink:href="halo-20250930.xsd#SummaryofSignificantAccountingPoliciesCashFlowHedgesCurrencyRisksDetails"/>
  <link:definitionLink xlink:role="http://www.halozyme.com/role/SummaryofSignificantAccountingPoliciesCashFlowHedgesCurrencyRisksDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLineItems_8123c19f-53d0-48d9-930f-093498473057" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeTable_e3eeace5-6414-4399-b617-487dc5a4f6e7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_8123c19f-53d0-48d9-930f-093498473057" xlink:to="loc_us-gaap_DerivativeTable_e3eeace5-6414-4399-b617-487dc5a4f6e7" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_148d1120-b12c-4f9d-aa98-d90ef88b7742" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_e3eeace5-6414-4399-b617-487dc5a4f6e7" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_148d1120-b12c-4f9d-aa98-d90ef88b7742" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingRelationshipDomain_148d1120-b12c-4f9d-aa98-d90ef88b7742_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HedgingRelationshipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_148d1120-b12c-4f9d-aa98-d90ef88b7742" xlink:to="loc_us-gaap_HedgingRelationshipDomain_148d1120-b12c-4f9d-aa98-d90ef88b7742_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingRelationshipDomain_1e8f331e-6962-4e8c-b5ee-2ab0e229360d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HedgingRelationshipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_148d1120-b12c-4f9d-aa98-d90ef88b7742" xlink:to="loc_us-gaap_HedgingRelationshipDomain_1e8f331e-6962-4e8c-b5ee-2ab0e229360d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashFlowHedgingMember_292c334f-570a-440d-97cb-a5f3575828ed" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashFlowHedgingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingRelationshipDomain_1e8f331e-6962-4e8c-b5ee-2ab0e229360d" xlink:to="loc_us-gaap_CashFlowHedgingMember_292c334f-570a-440d-97cb-a5f3575828ed" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_0ab6e5be-ebbc-4e07-ab9a-57de7af2ec77" 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_DerivativeTable_e3eeace5-6414-4399-b617-487dc5a4f6e7" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_0ab6e5be-ebbc-4e07-ab9a-57de7af2ec77" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_0ab6e5be-ebbc-4e07-ab9a-57de7af2ec77_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_0ab6e5be-ebbc-4e07-ab9a-57de7af2ec77" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_0ab6e5be-ebbc-4e07-ab9a-57de7af2ec77_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_37cf2f5d-9a26-4e1b-9929-1d2c9a949fd6" 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_0ab6e5be-ebbc-4e07-ab9a-57de7af2ec77" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_37cf2f5d-9a26-4e1b-9929-1d2c9a949fd6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignExchangeForwardMember_db3e07be-10e7-46e6-a4ba-869901a38f5f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignExchangeForwardMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_37cf2f5d-9a26-4e1b-9929-1d2c9a949fd6" xlink:to="loc_us-gaap_ForeignExchangeForwardMember_db3e07be-10e7-46e6-a4ba-869901a38f5f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeTermOfContract_0561a2a1-580e-423e-b77e-75c45d3ac57b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeTermOfContract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_8123c19f-53d0-48d9-930f-093498473057" xlink:to="loc_us-gaap_DerivativeTermOfContract_0561a2a1-580e-423e-b77e-75c45d3ac57b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyCashFlowHedgeGainLossToBeReclassifiedDuringNext12Months_bf95d1b0-647a-484a-b319-18bf3bbc7e55" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignCurrencyCashFlowHedgeGainLossToBeReclassifiedDuringNext12Months"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_8123c19f-53d0-48d9-930f-093498473057" xlink:to="loc_us-gaap_ForeignCurrencyCashFlowHedgeGainLossToBeReclassifiedDuringNext12Months_bf95d1b0-647a-484a-b319-18bf3bbc7e55" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.halozyme.com/role/FairValueMeasurementComponentsofAvailableforsaleMarketableSecuritiesDetails" xlink:type="simple" xlink:href="halo-20250930.xsd#FairValueMeasurementComponentsofAvailableforsaleMarketableSecuritiesDetails"/>
  <link:definitionLink xlink:role="http://www.halozyme.com/role/FairValueMeasurementComponentsofAvailableforsaleMarketableSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_cf9ccefc-de44-4be1-bfa9-5f4e32f89598" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_3966be2e-5457-4bf7-9ae9-85410c17720d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_cf9ccefc-de44-4be1-bfa9-5f4e32f89598" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleTable_3966be2e-5457-4bf7-9ae9-85410c17720d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_282d619a-8aa0-4a7d-942e-e88ba57fdff7" 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_DebtSecuritiesAvailableForSaleTable_3966be2e-5457-4bf7-9ae9-85410c17720d" xlink:to="loc_us-gaap_FinancialInstrumentAxis_282d619a-8aa0-4a7d-942e-e88ba57fdff7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_282d619a-8aa0-4a7d-942e-e88ba57fdff7_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_282d619a-8aa0-4a7d-942e-e88ba57fdff7" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_282d619a-8aa0-4a7d-942e-e88ba57fdff7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_43e69589-f2cf-4b4c-a13b-f156aa905920" 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_282d619a-8aa0-4a7d-942e-e88ba57fdff7" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_43e69589-f2cf-4b4c-a13b-f156aa905920" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_8db47ef6-41c4-4ebb-92c2-2aa9ecb67357" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetBackedSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_43e69589-f2cf-4b4c-a13b-f156aa905920" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_8db47ef6-41c4-4ebb-92c2-2aa9ecb67357" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_3c862966-bae5-4969-812b-ea291e48c102" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CorporateDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_43e69589-f2cf-4b4c-a13b-f156aa905920" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_3c862966-bae5-4969-812b-ea291e48c102" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USTreasurySecuritiesMember_c3b1f05c-991d-4117-b915-62fd9fe2eef8" 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_43e69589-f2cf-4b4c-a13b-f156aa905920" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_c3b1f05c-991d-4117-b915-62fd9fe2eef8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AgencySecuritiesMember_886d1feb-ab3a-4746-b2ef-d64b1da4fed2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AgencySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_43e69589-f2cf-4b4c-a13b-f156aa905920" xlink:to="loc_us-gaap_AgencySecuritiesMember_886d1feb-ab3a-4746-b2ef-d64b1da4fed2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss_bd0eeee1-1388-4431-8229-6a51c83f0cec" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_cf9ccefc-de44-4be1-bfa9-5f4e32f89598" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestAfterAllowanceForCreditLoss_bd0eeee1-1388-4431-8229-6a51c83f0cec" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_e2a61bc8-ab6c-4148-be2c-06fa83e27b37" 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_ScheduleOfAvailableForSaleSecuritiesLineItems_cf9ccefc-de44-4be1-bfa9-5f4e32f89598" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_e2a61bc8-ab6c-4148-be2c-06fa83e27b37" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_b7d7b9d2-22b8-47b1-bbbf-2eef28d22f81" 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_ScheduleOfAvailableForSaleSecuritiesLineItems_cf9ccefc-de44-4be1-bfa9-5f4e32f89598" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_b7d7b9d2-22b8-47b1-bbbf-2eef28d22f81" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_47ba4a52-ee3d-4ef7-8ab0-c779fa996e05" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_cf9ccefc-de44-4be1-bfa9-5f4e32f89598" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_47ba4a52-ee3d-4ef7-8ab0-c779fa996e05" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.halozyme.com/role/FairValueMeasurementNarrativeDetails" xlink:type="simple" xlink:href="halo-20250930.xsd#FairValueMeasurementNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.halozyme.com/role/FairValueMeasurementNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_b8dbfebc-8c7e-441d-987a-f1e48c5ce241" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByBalanceSheetGroupingTable_ea2e0a8a-e92b-41c4-b7a8-d9b2b92b2ef8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByBalanceSheetGroupingTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_b8dbfebc-8c7e-441d-987a-f1e48c5ce241" xlink:to="loc_us-gaap_FairValueByBalanceSheetGroupingTable_ea2e0a8a-e92b-41c4-b7a8-d9b2b92b2ef8" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_1274fcbd-eaf0-4288-a763-fff4b4e0c727" 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_FairValueByBalanceSheetGroupingTable_ea2e0a8a-e92b-41c4-b7a8-d9b2b92b2ef8" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_1274fcbd-eaf0-4288-a763-fff4b4e0c727" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_1274fcbd-eaf0-4288-a763-fff4b4e0c727_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_1274fcbd-eaf0-4288-a763-fff4b4e0c727" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_1274fcbd-eaf0-4288-a763-fff4b4e0c727_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_4ac3d1b5-e703-43f6-ae11-aa0a3dcdab7f" 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_1274fcbd-eaf0-4288-a763-fff4b4e0c727" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_4ac3d1b5-e703-43f6-ae11-aa0a3dcdab7f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_738364d2-e7a3-4d69-9be2-00aa57e06800" 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_4ac3d1b5-e703-43f6-ae11-aa0a3dcdab7f" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_738364d2-e7a3-4d69-9be2-00aa57e06800" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions_3ecabb22-0c60-4731-ab46-d0a86a0ae7e4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_b8dbfebc-8c7e-441d-987a-f1e48c5ce241" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions_3ecabb22-0c60-4731-ab46-d0a86a0ae7e4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_5d2606b9-4c19-4994-9e9a-c59a27a9556b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_b8dbfebc-8c7e-441d-987a-f1e48c5ce241" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_5d2606b9-4c19-4994-9e9a-c59a27a9556b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_ab133570-fad7-4791-a827-9b551145a68e" 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_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_b8dbfebc-8c7e-441d-987a-f1e48c5ce241" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_ab133570-fad7-4791-a827-9b551145a68e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAllowanceForCreditLossExcludingAccruedInterest_42f816c2-550f-4f93-b702-5abb070dbff7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAllowanceForCreditLossExcludingAccruedInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_b8dbfebc-8c7e-441d-987a-f1e48c5ce241" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostAllowanceForCreditLossExcludingAccruedInterest_42f816c2-550f-4f93-b702-5abb070dbff7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_4b013931-e996-42bf-bbf0-ee6f362376d2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_b8dbfebc-8c7e-441d-987a-f1e48c5ce241" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_4b013931-e996-42bf-bbf0-ee6f362376d2" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.halozyme.com/role/FairValueMeasurementAssetsMeasuredatFairValueonaRecurringBasisDetails" xlink:type="simple" xlink:href="halo-20250930.xsd#FairValueMeasurementAssetsMeasuredatFairValueonaRecurringBasisDetails"/>
  <link:definitionLink xlink:role="http://www.halozyme.com/role/FairValueMeasurementAssetsMeasuredatFairValueonaRecurringBasisDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_6020d54c-fc8b-4a5d-bf4e-9261c987044e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByBalanceSheetGroupingTable_93edf8c0-11e8-45a7-8ba2-f49ce8e206d8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByBalanceSheetGroupingTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_6020d54c-fc8b-4a5d-bf4e-9261c987044e" xlink:to="loc_us-gaap_FairValueByBalanceSheetGroupingTable_93edf8c0-11e8-45a7-8ba2-f49ce8e206d8" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_3f0ae7f5-65fc-4677-91aa-485b371099df" 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_FairValueByBalanceSheetGroupingTable_93edf8c0-11e8-45a7-8ba2-f49ce8e206d8" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_3f0ae7f5-65fc-4677-91aa-485b371099df" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_3f0ae7f5-65fc-4677-91aa-485b371099df_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_3f0ae7f5-65fc-4677-91aa-485b371099df" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_3f0ae7f5-65fc-4677-91aa-485b371099df_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_79ee8c73-64f6-4f0f-aa38-aff9e317134a" 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_3f0ae7f5-65fc-4677-91aa-485b371099df" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_79ee8c73-64f6-4f0f-aa38-aff9e317134a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_2c4e570f-8497-4b71-888a-0fb9846da0eb" 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_79ee8c73-64f6-4f0f-aa38-aff9e317134a" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_2c4e570f-8497-4b71-888a-0fb9846da0eb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_386a55e3-b115-4e75-aec6-23c328fd843f" 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_79ee8c73-64f6-4f0f-aa38-aff9e317134a" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_386a55e3-b115-4e75-aec6-23c328fd843f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAxis_171c6bb6-00f2-4e13-91c8-8642c5207a0e" 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_FairValueByBalanceSheetGroupingTable_93edf8c0-11e8-45a7-8ba2-f49ce8e206d8" xlink:to="loc_us-gaap_CashAndCashEquivalentsAxis_171c6bb6-00f2-4e13-91c8-8642c5207a0e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_171c6bb6-00f2-4e13-91c8-8642c5207a0e_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_171c6bb6-00f2-4e13-91c8-8642c5207a0e" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_171c6bb6-00f2-4e13-91c8-8642c5207a0e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_802dde3c-b76a-4996-92c3-2f7698b91460" 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_171c6bb6-00f2-4e13-91c8-8642c5207a0e" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_802dde3c-b76a-4996-92c3-2f7698b91460" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MoneyMarketFundsMember_d23a5e50-8125-4b8e-9a5b-9072ce83cf59" 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_802dde3c-b76a-4996-92c3-2f7698b91460" xlink:to="loc_us-gaap_MoneyMarketFundsMember_d23a5e50-8125-4b8e-9a5b-9072ce83cf59" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_59e0ec7d-955c-4375-9cec-ac7086faf26f" 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_FairValueByBalanceSheetGroupingTable_93edf8c0-11e8-45a7-8ba2-f49ce8e206d8" xlink:to="loc_us-gaap_FinancialInstrumentAxis_59e0ec7d-955c-4375-9cec-ac7086faf26f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_59e0ec7d-955c-4375-9cec-ac7086faf26f_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_59e0ec7d-955c-4375-9cec-ac7086faf26f" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_59e0ec7d-955c-4375-9cec-ac7086faf26f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_ab263c53-a73e-4755-9ed7-7445a86da68b" 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_59e0ec7d-955c-4375-9cec-ac7086faf26f" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_ab263c53-a73e-4755-9ed7-7445a86da68b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_1233f091-256d-4081-997e-40c7542b65bf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetBackedSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_ab263c53-a73e-4755-9ed7-7445a86da68b" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_1233f091-256d-4081-997e-40c7542b65bf" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_4c5da402-fda9-4b88-b55c-c1bf5cc48f4b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CorporateDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_ab263c53-a73e-4755-9ed7-7445a86da68b" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_4c5da402-fda9-4b88-b55c-c1bf5cc48f4b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USTreasurySecuritiesMember_abc1181a-1c8d-471f-977e-3483966e0c89" 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_ab263c53-a73e-4755-9ed7-7445a86da68b" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_abc1181a-1c8d-471f-977e-3483966e0c89" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AgencySecuritiesMember_9ad526c8-ab61-424f-a719-6f25ca192c0b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AgencySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_ab263c53-a73e-4755-9ed7-7445a86da68b" xlink:to="loc_us-gaap_AgencySecuritiesMember_9ad526c8-ab61-424f-a719-6f25ca192c0b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_8431a2e1-6af7-4763-8712-d80944396f0b" 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_FairValueByBalanceSheetGroupingTable_93edf8c0-11e8-45a7-8ba2-f49ce8e206d8" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_8431a2e1-6af7-4763-8712-d80944396f0b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_8431a2e1-6af7-4763-8712-d80944396f0b_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_8431a2e1-6af7-4763-8712-d80944396f0b" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_8431a2e1-6af7-4763-8712-d80944396f0b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_ca34b7ca-87dd-4c95-922d-51b8f984aad4" 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_8431a2e1-6af7-4763-8712-d80944396f0b" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_ca34b7ca-87dd-4c95-922d-51b8f984aad4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignExchangeForwardMember_e8bc3762-d4ed-40ef-ae6c-43cbfb1a2887" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignExchangeForwardMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_ca34b7ca-87dd-4c95-922d-51b8f984aad4" xlink:to="loc_us-gaap_ForeignExchangeForwardMember_e8bc3762-d4ed-40ef-ae6c-43cbfb1a2887" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_42da0995-e552-4663-8b56-586ae7a7c455" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_6020d54c-fc8b-4a5d-bf4e-9261c987044e" xlink:to="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_42da0995-e552-4663-8b56-586ae7a7c455" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_30747450-795b-41ec-ba72-f3978f597451" 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_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_42da0995-e552-4663-8b56-586ae7a7c455" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_30747450-795b-41ec-ba72-f3978f597451" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_80a5f886-fcd4-4564-ae21-0343cc730ae3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_42da0995-e552-4663-8b56-586ae7a7c455" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_80a5f886-fcd4-4564-ae21-0343cc730ae3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_2ea53135-f947-4795-84c4-436e74bca2f2" 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_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_42da0995-e552-4663-8b56-586ae7a7c455" xlink:to="loc_us-gaap_DerivativeAssets_2ea53135-f947-4795-84c4-436e74bca2f2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_05aef57f-4617-4132-b688-698d21b116c2" 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_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_42da0995-e552-4663-8b56-586ae7a7c455" xlink:to="loc_us-gaap_AssetsFairValueDisclosure_05aef57f-4617-4132-b688-698d21b116c2" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_8081839c-7add-4fbc-866d-bf988bc2b086" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_6020d54c-fc8b-4a5d-bf4e-9261c987044e" xlink:to="loc_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_8081839c-7add-4fbc-866d-bf988bc2b086" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_15c6326f-c54f-453d-808e-ab1c8450e1bb" 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_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_8081839c-7add-4fbc-866d-bf988bc2b086" xlink:to="loc_us-gaap_DerivativeLiabilities_15c6326f-c54f-453d-808e-ab1c8450e1bb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitiesCurrent_b6e12adc-8e4f-4012-b4c6-fd8adc5a3da0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_8081839c-7add-4fbc-866d-bf988bc2b086" xlink:to="loc_us-gaap_DerivativeLiabilitiesCurrent_b6e12adc-8e4f-4012-b4c6-fd8adc5a3da0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitiesNoncurrent_f6b841b4-9fc1-49eb-b340-77a7b4e75754" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilitiesNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_8081839c-7add-4fbc-866d-bf988bc2b086" xlink:to="loc_us-gaap_DerivativeLiabilitiesNoncurrent_f6b841b4-9fc1-49eb-b340-77a7b4e75754" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetsCurrent_d7664154-540b-4830-b7ea-12a2ea81f67a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetsCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_8081839c-7add-4fbc-866d-bf988bc2b086" xlink:to="loc_us-gaap_DerivativeAssetsCurrent_d7664154-540b-4830-b7ea-12a2ea81f67a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetsNoncurrent_18ea6f76-df34-4ead-ba82-f7587483d567" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetsNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_8081839c-7add-4fbc-866d-bf988bc2b086" xlink:to="loc_us-gaap_DerivativeAssetsNoncurrent_18ea6f76-df34-4ead-ba82-f7587483d567" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityCurrentStatementOfFinancialPositionExtensibleEnumeration_cc3fa288-9f88-4d16-9bd6-a47e5a1c02e1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilityCurrentStatementOfFinancialPositionExtensibleEnumeration"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_8081839c-7add-4fbc-866d-bf988bc2b086" xlink:to="loc_us-gaap_DerivativeLiabilityCurrentStatementOfFinancialPositionExtensibleEnumeration_cc3fa288-9f88-4d16-9bd6-a47e5a1c02e1" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityNoncurrentStatementOfFinancialPositionExtensibleEnumeration_db268e26-6af2-4b4e-828e-03bad77e8f26" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilityNoncurrentStatementOfFinancialPositionExtensibleEnumeration"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_8081839c-7add-4fbc-866d-bf988bc2b086" xlink:to="loc_us-gaap_DerivativeLiabilityNoncurrentStatementOfFinancialPositionExtensibleEnumeration_db268e26-6af2-4b4e-828e-03bad77e8f26" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetCurrentStatementOfFinancialPositionExtensibleEnumeration_9c15d75d-9178-400c-990f-e4f7f1ebf7ca" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetCurrentStatementOfFinancialPositionExtensibleEnumeration"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_8081839c-7add-4fbc-866d-bf988bc2b086" xlink:to="loc_us-gaap_DerivativeAssetCurrentStatementOfFinancialPositionExtensibleEnumeration_9c15d75d-9178-400c-990f-e4f7f1ebf7ca" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetNoncurrentStatementOfFinancialPositionExtensibleEnumeration_a9b39620-426c-46a0-a2d7-1c92757290ae" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetNoncurrentStatementOfFinancialPositionExtensibleEnumeration"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_8081839c-7add-4fbc-866d-bf988bc2b086" xlink:to="loc_us-gaap_DerivativeAssetNoncurrentStatementOfFinancialPositionExtensibleEnumeration_a9b39620-426c-46a0-a2d7-1c92757290ae" xlink:type="arc" order="9"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.halozyme.com/role/RevenueDisaggregatedRevenuesDetails" xlink:type="simple" xlink:href="halo-20250930.xsd#RevenueDisaggregatedRevenuesDetails"/>
  <link:definitionLink xlink:role="http://www.halozyme.com/role/RevenueDisaggregatedRevenuesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_c97f07cf-e47e-4191-8a87-60df6d0773ae" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_dbc8de45-97be-467e-b4f6-e61dc732f9c3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_c97f07cf-e47e-4191-8a87-60df6d0773ae" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_dbc8de45-97be-467e-b4f6-e61dc732f9c3" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_94310e52-5f89-4741-a745-2d3537104859" 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_DisaggregationOfRevenueTable_dbc8de45-97be-467e-b4f6-e61dc732f9c3" xlink:to="loc_srt_ProductOrServiceAxis_94310e52-5f89-4741-a745-2d3537104859" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_94310e52-5f89-4741-a745-2d3537104859_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_94310e52-5f89-4741-a745-2d3537104859" xlink:to="loc_srt_ProductsAndServicesDomain_94310e52-5f89-4741-a745-2d3537104859_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_a44f4d30-f038-44ef-a2d5-64405570c5c6" 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_94310e52-5f89-4741-a745-2d3537104859" xlink:to="loc_srt_ProductsAndServicesDomain_a44f4d30-f038-44ef-a2d5-64405570c5c6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RoyaltyMember_c22cf2ca-f073-4a82-b379-1bd3bf7864a9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RoyaltyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_a44f4d30-f038-44ef-a2d5-64405570c5c6" xlink:to="loc_us-gaap_RoyaltyMember_c22cf2ca-f073-4a82-b379-1bd3bf7864a9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductMember_215731f8-64b3-4f40-b5eb-08b861137785" 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_a44f4d30-f038-44ef-a2d5-64405570c5c6" xlink:to="loc_us-gaap_ProductMember_215731f8-64b3-4f40-b5eb-08b861137785" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_ProprietaryProductsSalesMember_82396a32-e2b6-49ae-bf1e-2f083989fb2a" xlink:href="halo-20250930.xsd#halo_ProprietaryProductsSalesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductMember_215731f8-64b3-4f40-b5eb-08b861137785" xlink:to="loc_halo_ProprietaryProductsSalesMember_82396a32-e2b6-49ae-bf1e-2f083989fb2a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_BulkrHuPH20Member_4eab0db6-c49f-4fbc-a475-b2ae32f62161" xlink:href="halo-20250930.xsd#halo_BulkrHuPH20Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductMember_215731f8-64b3-4f40-b5eb-08b861137785" xlink:to="loc_halo_BulkrHuPH20Member_4eab0db6-c49f-4fbc-a475-b2ae32f62161" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_DevicePartneredProductsMember_e552ac61-ac1e-4f34-99d6-a5e54455202a" xlink:href="halo-20250930.xsd#halo_DevicePartneredProductsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductMember_215731f8-64b3-4f40-b5eb-08b861137785" xlink:to="loc_halo_DevicePartneredProductsMember_e552ac61-ac1e-4f34-99d6-a5e54455202a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_CollaborativeAgreementsMember_a4349802-0d83-4073-9f44-a798ef463656" xlink:href="halo-20250930.xsd#halo_CollaborativeAgreementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_a44f4d30-f038-44ef-a2d5-64405570c5c6" xlink:to="loc_halo_CollaborativeAgreementsMember_a4349802-0d83-4073-9f44-a798ef463656" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_UpfrontFeesMember_fd3e3048-e0ce-4463-871e-f336e8489502" xlink:href="halo-20250930.xsd#halo_UpfrontFeesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_halo_CollaborativeAgreementsMember_a4349802-0d83-4073-9f44-a798ef463656" xlink:to="loc_halo_UpfrontFeesMember_fd3e3048-e0ce-4463-871e-f336e8489502" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_EventBasedDevelopmentAndRegulatoryMilestoneAndOtherFeesMember_2fa74b00-a172-4294-be6f-c2ebd66180e1" xlink:href="halo-20250930.xsd#halo_EventBasedDevelopmentAndRegulatoryMilestoneAndOtherFeesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_halo_CollaborativeAgreementsMember_a4349802-0d83-4073-9f44-a798ef463656" xlink:to="loc_halo_EventBasedDevelopmentAndRegulatoryMilestoneAndOtherFeesMember_2fa74b00-a172-4294-be6f-c2ebd66180e1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_SalesBasedMilestoneMember_608d61f8-dfd8-4261-a93e-06b92f50a0cd" xlink:href="halo-20250930.xsd#halo_SalesBasedMilestoneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_halo_CollaborativeAgreementsMember_a4349802-0d83-4073-9f44-a798ef463656" xlink:to="loc_halo_SalesBasedMilestoneMember_608d61f8-dfd8-4261-a93e-06b92f50a0cd" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_DeviceLicensingAndDevelopmentMember_3c272538-d106-4d1f-9661-96efd9c42a1f" xlink:href="halo-20250930.xsd#halo_DeviceLicensingAndDevelopmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_halo_CollaborativeAgreementsMember_a4349802-0d83-4073-9f44-a798ef463656" xlink:to="loc_halo_DeviceLicensingAndDevelopmentMember_3c272538-d106-4d1f-9661-96efd9c42a1f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_87c958b3-9297-4547-a652-593b1878498c" 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_DisaggregationOfRevenueLineItems_c97f07cf-e47e-4191-8a87-60df6d0773ae" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_87c958b3-9297-4547-a652-593b1878498c" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.halozyme.com/role/RevenueNarrativeDetails" xlink:type="simple" xlink:href="halo-20250930.xsd#RevenueNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.halozyme.com/role/RevenueNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_749cbeeb-4748-4b2f-bf60-29e49f9bfd7a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_41976fec-a657-4cce-a929-62c4b2813ee2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_749cbeeb-4748-4b2f-bf60-29e49f9bfd7a" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_41976fec-a657-4cce-a929-62c4b2813ee2" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_369783a6-5a9d-47ea-9eb8-4ae8c68627da" 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_DisaggregationOfRevenueTable_41976fec-a657-4cce-a929-62c4b2813ee2" xlink:to="loc_srt_ProductOrServiceAxis_369783a6-5a9d-47ea-9eb8-4ae8c68627da" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_369783a6-5a9d-47ea-9eb8-4ae8c68627da_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_369783a6-5a9d-47ea-9eb8-4ae8c68627da" xlink:to="loc_srt_ProductsAndServicesDomain_369783a6-5a9d-47ea-9eb8-4ae8c68627da_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_c3d6d7f7-17ae-4883-9ecd-f700ec216b75" 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_369783a6-5a9d-47ea-9eb8-4ae8c68627da" xlink:to="loc_srt_ProductsAndServicesDomain_c3d6d7f7-17ae-4883-9ecd-f700ec216b75" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_LicenseFeesAndEventBasedMember_34e6d245-42e0-46f3-83d4-de1cb9eb7600" xlink:href="halo-20250930.xsd#halo_LicenseFeesAndEventBasedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_c3d6d7f7-17ae-4883-9ecd-f700ec216b75" xlink:to="loc_halo_LicenseFeesAndEventBasedMember_34e6d245-42e0-46f3-83d4-de1cb9eb7600" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductMember_58114a3a-efe8-4fa2-abdc-5501c1619533" 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_c3d6d7f7-17ae-4883-9ecd-f700ec216b75" xlink:to="loc_us-gaap_ProductMember_58114a3a-efe8-4fa2-abdc-5501c1619533" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfArrangementAxis_d9b54a2b-8e1a-42f2-b1ee-dda0e8cf0e86" 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_DisaggregationOfRevenueTable_41976fec-a657-4cce-a929-62c4b2813ee2" xlink:to="loc_us-gaap_TypeOfArrangementAxis_d9b54a2b-8e1a-42f2-b1ee-dda0e8cf0e86" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_d9b54a2b-8e1a-42f2-b1ee-dda0e8cf0e86_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_d9b54a2b-8e1a-42f2-b1ee-dda0e8cf0e86" xlink:to="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_d9b54a2b-8e1a-42f2-b1ee-dda0e8cf0e86_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_c5bca722-9c83-4a5d-aac0-6e6f0594a037" 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_d9b54a2b-8e1a-42f2-b1ee-dda0e8cf0e86" xlink:to="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_c5bca722-9c83-4a5d-aac0-6e6f0594a037" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_OthercollaboratorsMember_56b0dbdf-bc98-4db4-b287-82906a9840a5" xlink:href="halo-20250930.xsd#halo_OthercollaboratorsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_c5bca722-9c83-4a5d-aac0-6e6f0594a037" xlink:to="loc_halo_OthercollaboratorsMember_56b0dbdf-bc98-4db4-b287-82906a9840a5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_f20bb00f-0fc9-4f1c-8035-d3e5abe1f82b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_41976fec-a657-4cce-a929-62c4b2813ee2" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_f20bb00f-0fc9-4f1c-8035-d3e5abe1f82b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerPerformanceObligationSatisfiedInPreviousPeriod_925f0629-969b-416d-a435-f6b891104f0e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractWithCustomerPerformanceObligationSatisfiedInPreviousPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_749cbeeb-4748-4b2f-bf60-29e49f9bfd7a" xlink:to="loc_us-gaap_ContractWithCustomerPerformanceObligationSatisfiedInPreviousPeriod_925f0629-969b-416d-a435-f6b891104f0e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityRevenueRecognized_c9cd5d28-efec-4bb0-ac16-e2b93cea410c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractWithCustomerLiabilityRevenueRecognized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_749cbeeb-4748-4b2f-bf60-29e49f9bfd7a" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityRevenueRecognized_c9cd5d28-efec-4bb0-ac16-e2b93cea410c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityChangeInTimeframePerformanceObligationSatisfiedRevenueRecognized_87925b3b-3f6b-4a13-9468-c5904cafa425" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractWithCustomerLiabilityChangeInTimeframePerformanceObligationSatisfiedRevenueRecognized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_749cbeeb-4748-4b2f-bf60-29e49f9bfd7a" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityChangeInTimeframePerformanceObligationSatisfiedRevenueRecognized_87925b3b-3f6b-4a13-9468-c5904cafa425" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligation_c0d4aef2-917a-4048-a852-4fddcffc9e9c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueRemainingPerformanceObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_749cbeeb-4748-4b2f-bf60-29e49f9bfd7a" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligation_c0d4aef2-917a-4048-a852-4fddcffc9e9c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_RevenueRemainingPerformanceObligationsUnfulfilledProductPurchaseOrdersAmount_39348cf0-60d9-464e-85b7-4387cbe1829c" xlink:href="halo-20250930.xsd#halo_RevenueRemainingPerformanceObligationsUnfulfilledProductPurchaseOrdersAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_749cbeeb-4748-4b2f-bf60-29e49f9bfd7a" xlink:to="loc_halo_RevenueRemainingPerformanceObligationsUnfulfilledProductPurchaseOrdersAmount_39348cf0-60d9-464e-85b7-4387cbe1829c" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiability_7291584c-5eab-4633-92a9-c537a6f2d5d5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractWithCustomerLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_749cbeeb-4748-4b2f-bf60-29e49f9bfd7a" xlink:to="loc_us-gaap_ContractWithCustomerLiability_7291584c-5eab-4633-92a9-c537a6f2d5d5" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_cfa47dd1-3358-4fd1-a7bb-de7345254719" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_749cbeeb-4748-4b2f-bf60-29e49f9bfd7a" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_cfa47dd1-3358-4fd1-a7bb-de7345254719" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerAssetGrossCurrent_987f4db6-cfdd-49fb-90fa-900b984abd7a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractWithCustomerAssetGrossCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_749cbeeb-4748-4b2f-bf60-29e49f9bfd7a" xlink:to="loc_us-gaap_ContractWithCustomerAssetGrossCurrent_987f4db6-cfdd-49fb-90fa-900b984abd7a" xlink:type="arc" order="7"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.halozyme.com/role/RevenueNarrativeDetails_1" xlink:type="simple" xlink:href="halo-20250930.xsd#RevenueNarrativeDetails_1"/>
  <link:definitionLink xlink:role="http://www.halozyme.com/role/RevenueNarrativeDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_749cbeeb-4748-4b2f-bf60-29e49f9bfd7a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_41976fec-a657-4cce-a929-62c4b2813ee2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_749cbeeb-4748-4b2f-bf60-29e49f9bfd7a" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_41976fec-a657-4cce-a929-62c4b2813ee2" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_369783a6-5a9d-47ea-9eb8-4ae8c68627da" 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_DisaggregationOfRevenueTable_41976fec-a657-4cce-a929-62c4b2813ee2" xlink:to="loc_srt_ProductOrServiceAxis_369783a6-5a9d-47ea-9eb8-4ae8c68627da" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_369783a6-5a9d-47ea-9eb8-4ae8c68627da_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_369783a6-5a9d-47ea-9eb8-4ae8c68627da" xlink:to="loc_srt_ProductsAndServicesDomain_369783a6-5a9d-47ea-9eb8-4ae8c68627da_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_c3d6d7f7-17ae-4883-9ecd-f700ec216b75" 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_369783a6-5a9d-47ea-9eb8-4ae8c68627da" xlink:to="loc_srt_ProductsAndServicesDomain_c3d6d7f7-17ae-4883-9ecd-f700ec216b75" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_LicenseFeesAndEventBasedMember_34e6d245-42e0-46f3-83d4-de1cb9eb7600" xlink:href="halo-20250930.xsd#halo_LicenseFeesAndEventBasedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_c3d6d7f7-17ae-4883-9ecd-f700ec216b75" xlink:to="loc_halo_LicenseFeesAndEventBasedMember_34e6d245-42e0-46f3-83d4-de1cb9eb7600" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductMember_58114a3a-efe8-4fa2-abdc-5501c1619533" 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_c3d6d7f7-17ae-4883-9ecd-f700ec216b75" xlink:to="loc_us-gaap_ProductMember_58114a3a-efe8-4fa2-abdc-5501c1619533" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfArrangementAxis_d9b54a2b-8e1a-42f2-b1ee-dda0e8cf0e86" 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_DisaggregationOfRevenueTable_41976fec-a657-4cce-a929-62c4b2813ee2" xlink:to="loc_us-gaap_TypeOfArrangementAxis_d9b54a2b-8e1a-42f2-b1ee-dda0e8cf0e86" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_d9b54a2b-8e1a-42f2-b1ee-dda0e8cf0e86_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_d9b54a2b-8e1a-42f2-b1ee-dda0e8cf0e86" xlink:to="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_d9b54a2b-8e1a-42f2-b1ee-dda0e8cf0e86_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_c5bca722-9c83-4a5d-aac0-6e6f0594a037" 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_d9b54a2b-8e1a-42f2-b1ee-dda0e8cf0e86" xlink:to="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_c5bca722-9c83-4a5d-aac0-6e6f0594a037" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_OthercollaboratorsMember_56b0dbdf-bc98-4db4-b287-82906a9840a5" xlink:href="halo-20250930.xsd#halo_OthercollaboratorsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_c5bca722-9c83-4a5d-aac0-6e6f0594a037" xlink:to="loc_halo_OthercollaboratorsMember_56b0dbdf-bc98-4db4-b287-82906a9840a5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerPerformanceObligationSatisfiedInPreviousPeriod_925f0629-969b-416d-a435-f6b891104f0e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractWithCustomerPerformanceObligationSatisfiedInPreviousPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_749cbeeb-4748-4b2f-bf60-29e49f9bfd7a" xlink:to="loc_us-gaap_ContractWithCustomerPerformanceObligationSatisfiedInPreviousPeriod_925f0629-969b-416d-a435-f6b891104f0e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityRevenueRecognized_c9cd5d28-efec-4bb0-ac16-e2b93cea410c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractWithCustomerLiabilityRevenueRecognized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_749cbeeb-4748-4b2f-bf60-29e49f9bfd7a" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityRevenueRecognized_c9cd5d28-efec-4bb0-ac16-e2b93cea410c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityChangeInTimeframePerformanceObligationSatisfiedRevenueRecognized_87925b3b-3f6b-4a13-9468-c5904cafa425" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractWithCustomerLiabilityChangeInTimeframePerformanceObligationSatisfiedRevenueRecognized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_749cbeeb-4748-4b2f-bf60-29e49f9bfd7a" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityChangeInTimeframePerformanceObligationSatisfiedRevenueRecognized_87925b3b-3f6b-4a13-9468-c5904cafa425" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligation_c0d4aef2-917a-4048-a852-4fddcffc9e9c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueRemainingPerformanceObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_749cbeeb-4748-4b2f-bf60-29e49f9bfd7a" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligation_c0d4aef2-917a-4048-a852-4fddcffc9e9c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_RevenueRemainingPerformanceObligationsUnfulfilledProductPurchaseOrdersAmount_39348cf0-60d9-464e-85b7-4387cbe1829c" xlink:href="halo-20250930.xsd#halo_RevenueRemainingPerformanceObligationsUnfulfilledProductPurchaseOrdersAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_749cbeeb-4748-4b2f-bf60-29e49f9bfd7a" xlink:to="loc_halo_RevenueRemainingPerformanceObligationsUnfulfilledProductPurchaseOrdersAmount_39348cf0-60d9-464e-85b7-4387cbe1829c" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiability_7291584c-5eab-4633-92a9-c537a6f2d5d5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractWithCustomerLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_749cbeeb-4748-4b2f-bf60-29e49f9bfd7a" xlink:to="loc_us-gaap_ContractWithCustomerLiability_7291584c-5eab-4633-92a9-c537a6f2d5d5" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_cfa47dd1-3358-4fd1-a7bb-de7345254719" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_749cbeeb-4748-4b2f-bf60-29e49f9bfd7a" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_cfa47dd1-3358-4fd1-a7bb-de7345254719" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerAssetGrossCurrent_987f4db6-cfdd-49fb-90fa-900b984abd7a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractWithCustomerAssetGrossCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_749cbeeb-4748-4b2f-bf60-29e49f9bfd7a" xlink:to="loc_us-gaap_ContractWithCustomerAssetGrossCurrent_987f4db6-cfdd-49fb-90fa-900b984abd7a" xlink:type="arc" order="7"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.halozyme.com/role/CertainBalanceSheetItemsAccountsReceivablenetDetails" xlink:type="simple" xlink:href="halo-20250930.xsd#CertainBalanceSheetItemsAccountsReceivablenetDetails"/>
  <link:definitionLink xlink:role="http://www.halozyme.com/role/CertainBalanceSheetItemsAccountsReceivablenetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_c3b7299c-61cb-4384-bb77-d5e6a8213956" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_c0d0af0a-b2c1-4fb1-982f-cf8b3ebb9a14" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_c3b7299c-61cb-4384-bb77-d5e6a8213956" xlink:to="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_c0d0af0a-b2c1-4fb1-982f-cf8b3ebb9a14" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_836fef62-b2e6-4403-ba3e-58b6c5459b15" 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_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_c0d0af0a-b2c1-4fb1-982f-cf8b3ebb9a14" xlink:to="loc_srt_ProductOrServiceAxis_836fef62-b2e6-4403-ba3e-58b6c5459b15" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_836fef62-b2e6-4403-ba3e-58b6c5459b15_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_836fef62-b2e6-4403-ba3e-58b6c5459b15" xlink:to="loc_srt_ProductsAndServicesDomain_836fef62-b2e6-4403-ba3e-58b6c5459b15_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_19790b9d-ad05-40b7-bbf2-09d08daa1494" 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_836fef62-b2e6-4403-ba3e-58b6c5459b15" xlink:to="loc_srt_ProductsAndServicesDomain_19790b9d-ad05-40b7-bbf2-09d08daa1494" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_DevicePartneredProductsMember_9be9f280-a4d6-4aa8-a487-4e3a1eb71da9" xlink:href="halo-20250930.xsd#halo_DevicePartneredProductsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_19790b9d-ad05-40b7-bbf2-09d08daa1494" xlink:to="loc_halo_DevicePartneredProductsMember_9be9f280-a4d6-4aa8-a487-4e3a1eb71da9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_CollaborativeAgreementsMember_94228fdc-8bf4-4adf-b594-0a2c622423cf" xlink:href="halo-20250930.xsd#halo_CollaborativeAgreementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_19790b9d-ad05-40b7-bbf2-09d08daa1494" xlink:to="loc_halo_CollaborativeAgreementsMember_94228fdc-8bf4-4adf-b594-0a2c622423cf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RoyaltyMember_c11e1917-97cd-4216-ba5f-1b8c47487534" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RoyaltyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_19790b9d-ad05-40b7-bbf2-09d08daa1494" xlink:to="loc_us-gaap_RoyaltyMember_c11e1917-97cd-4216-ba5f-1b8c47487534" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_ProductSalesOtherMember_eae4a582-a854-4d29-a683-60e2c773c924" xlink:href="halo-20250930.xsd#halo_ProductSalesOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_19790b9d-ad05-40b7-bbf2-09d08daa1494" xlink:to="loc_halo_ProductSalesOtherMember_eae4a582-a854-4d29-a683-60e2c773c924" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableGrossCurrent_7d07a239-b69c-4409-9c06-0c9685535a91" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsReceivableGrossCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_c3b7299c-61cb-4384-bb77-d5e6a8213956" xlink:to="loc_us-gaap_AccountsReceivableGrossCurrent_7d07a239-b69c-4409-9c06-0c9685535a91" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerAssetGrossCurrent_8c41c75b-42e2-4c4a-9f92-950dc3e5db53" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractWithCustomerAssetGrossCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_c3b7299c-61cb-4384-bb77-d5e6a8213956" xlink:to="loc_us-gaap_ContractWithCustomerAssetGrossCurrent_8c41c75b-42e2-4c4a-9f92-950dc3e5db53" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_AccountsReceivableAndContractWithCustomerAssetBeforeAllowanceForCreditLossCurrent_e4a3cf41-0e12-4fb5-bb30-f159fd657b40" xlink:href="halo-20250930.xsd#halo_AccountsReceivableAndContractWithCustomerAssetBeforeAllowanceForCreditLossCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_c3b7299c-61cb-4384-bb77-d5e6a8213956" xlink:to="loc_halo_AccountsReceivableAndContractWithCustomerAssetBeforeAllowanceForCreditLossCurrent_e4a3cf41-0e12-4fb5-bb30-f159fd657b40" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_AccountsReceivableAndContractWithCustomerAssetAllowanceForCreditLossCurrent_61f15607-a8a0-4bc2-89b5-a4a8e094ca34" xlink:href="halo-20250930.xsd#halo_AccountsReceivableAndContractWithCustomerAssetAllowanceForCreditLossCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_c3b7299c-61cb-4384-bb77-d5e6a8213956" xlink:to="loc_halo_AccountsReceivableAndContractWithCustomerAssetAllowanceForCreditLossCurrent_61f15607-a8a0-4bc2-89b5-a4a8e094ca34" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_AccountsReceivableAndContractWithCustomerAssetAfterAllowanceForCreditLossCurrent_01bee50e-7d0b-40d9-8d2e-ee4a5c70a09a" xlink:href="halo-20250930.xsd#halo_AccountsReceivableAndContractWithCustomerAssetAfterAllowanceForCreditLossCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_c3b7299c-61cb-4384-bb77-d5e6a8213956" xlink:to="loc_halo_AccountsReceivableAndContractWithCustomerAssetAfterAllowanceForCreditLossCurrent_01bee50e-7d0b-40d9-8d2e-ee4a5c70a09a" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.halozyme.com/role/CertainBalanceSheetItemsPropertyandEquipmentnetDetails" xlink:type="simple" xlink:href="halo-20250930.xsd#CertainBalanceSheetItemsPropertyandEquipmentnetDetails"/>
  <link:definitionLink xlink:role="http://www.halozyme.com/role/CertainBalanceSheetItemsPropertyandEquipmentnetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_79ca2b69-3309-4413-b6d0-9a54b0dad53b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_619353ef-bbf3-43ad-bad1-2a7b8fe78f83" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_79ca2b69-3309-4413-b6d0-9a54b0dad53b" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_619353ef-bbf3-43ad-bad1-2a7b8fe78f83" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_ac208a45-97da-4d7e-bf7f-84ad93c240c6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_619353ef-bbf3-43ad-bad1-2a7b8fe78f83" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_ac208a45-97da-4d7e-bf7f-84ad93c240c6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_ac208a45-97da-4d7e-bf7f-84ad93c240c6_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_ac208a45-97da-4d7e-bf7f-84ad93c240c6" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_ac208a45-97da-4d7e-bf7f-84ad93c240c6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_404bb229-b850-4a53-a46d-805252b2ca70" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_ac208a45-97da-4d7e-bf7f-84ad93c240c6" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_404bb229-b850-4a53-a46d-805252b2ca70" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_ResearchEquipmentMember_160d2ebc-e2e5-4e39-9892-3723dea92ea2" xlink:href="halo-20250930.xsd#halo_ResearchEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_404bb229-b850-4a53-a46d-805252b2ca70" xlink:to="loc_halo_ResearchEquipmentMember_160d2ebc-e2e5-4e39-9892-3723dea92ea2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_ManufacturingEquipmentMember_875805c2-d57c-4629-82d3-bce0749020d4" xlink:href="halo-20250930.xsd#halo_ManufacturingEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_404bb229-b850-4a53-a46d-805252b2ca70" xlink:to="loc_halo_ManufacturingEquipmentMember_875805c2-d57c-4629-82d3-bce0749020d4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OfficeEquipmentMember_2e7b5b1d-8a21-4ab3-8fd4-0c8632ec0909" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OfficeEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_404bb229-b850-4a53-a46d-805252b2ca70" xlink:to="loc_us-gaap_OfficeEquipmentMember_2e7b5b1d-8a21-4ab3-8fd4-0c8632ec0909" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_c7031552-2b97-442a-bafc-eb1e52c68765" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SoftwareAndSoftwareDevelopmentCostsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_404bb229-b850-4a53-a46d-805252b2ca70" xlink:to="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_c7031552-2b97-442a-bafc-eb1e52c68765" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseholdImprovementsMember_a248e72e-5e82-41af-9186-69d55c055afe" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LeaseholdImprovementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_404bb229-b850-4a53-a46d-805252b2ca70" xlink:to="loc_us-gaap_LeaseholdImprovementsMember_a248e72e-5e82-41af-9186-69d55c055afe" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_b84f8233-1379-4f41-8648-52f85a7817d6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_79ca2b69-3309-4413-b6d0-9a54b0dad53b" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_b84f8233-1379-4f41-8648-52f85a7817d6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_2ad7246a-292c-4201-bbbe-20e6b41ae271" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_79ca2b69-3309-4413-b6d0-9a54b0dad53b" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_2ad7246a-292c-4201-bbbe-20e6b41ae271" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_8e618b56-fd37-4300-8c43-ac88e212bb16" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_79ca2b69-3309-4413-b6d0-9a54b0dad53b" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_8e618b56-fd37-4300-8c43-ac88e212bb16" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_a2ea90d8-2e02-4242-81e3-6d6aa4d001de" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_79ca2b69-3309-4413-b6d0-9a54b0dad53b" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_a2ea90d8-2e02-4242-81e3-6d6aa4d001de" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_PropertyPlantAndEquipmentAndOperatingLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_12351ddb-d632-4add-9d65-e9a9dc36803b" xlink:href="halo-20250930.xsd#halo_PropertyPlantAndEquipmentAndOperatingLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_79ca2b69-3309-4413-b6d0-9a54b0dad53b" xlink:to="loc_halo_PropertyPlantAndEquipmentAndOperatingLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_12351ddb-d632-4add-9d65-e9a9dc36803b" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.halozyme.com/role/GoodwillandIntangibleAssetsnetNarrativeDetails" xlink:type="simple" xlink:href="halo-20250930.xsd#GoodwillandIntangibleAssetsnetNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.halozyme.com/role/GoodwillandIntangibleAssetsnetNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_4e59eb10-e1e3-45ac-9556-410fe59e32d6" 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_ce40a638-de73-44ea-b7b2-24799ef01a94" 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_4e59eb10-e1e3-45ac-9556-410fe59e32d6" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_ce40a638-de73-44ea-b7b2-24799ef01a94" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_0b2190b8-fb5d-4e79-9f35-2c32b1fb214f" 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_ScheduleOfFiniteLivedIntangibleAssetsTable_ce40a638-de73-44ea-b7b2-24799ef01a94" xlink:to="loc_srt_RangeAxis_0b2190b8-fb5d-4e79-9f35-2c32b1fb214f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_0b2190b8-fb5d-4e79-9f35-2c32b1fb214f_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_0b2190b8-fb5d-4e79-9f35-2c32b1fb214f" xlink:to="loc_srt_RangeMember_0b2190b8-fb5d-4e79-9f35-2c32b1fb214f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_88546a34-3c3b-4e2d-81b3-b75388728711" 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_0b2190b8-fb5d-4e79-9f35-2c32b1fb214f" xlink:to="loc_srt_RangeMember_88546a34-3c3b-4e2d-81b3-b75388728711" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_a62e9e7d-dc3c-4cc3-a399-6afdb2980950" 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_88546a34-3c3b-4e2d-81b3-b75388728711" xlink:to="loc_srt_MinimumMember_a62e9e7d-dc3c-4cc3-a399-6afdb2980950" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_de23c2d9-bbf0-467b-8d25-4a1f0de9741e" 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_88546a34-3c3b-4e2d-81b3-b75388728711" xlink:to="loc_srt_MaximumMember_de23c2d9-bbf0-467b-8d25-4a1f0de9741e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_3174950a-3d3c-40d6-b0ad-cef5cfe2b7e7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_4e59eb10-e1e3-45ac-9556-410fe59e32d6" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_3174950a-3d3c-40d6-b0ad-cef5cfe2b7e7" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.halozyme.com/role/GoodwillandIntangibleAssetsnetIntangibleAssetsDetails" xlink:type="simple" xlink:href="halo-20250930.xsd#GoodwillandIntangibleAssetsnetIntangibleAssetsDetails"/>
  <link:definitionLink xlink:role="http://www.halozyme.com/role/GoodwillandIntangibleAssetsnetIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_c288e945-6d50-49b1-891a-1d28de7a2c29" 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_b55ec326-3c41-4644-8d09-3d3e6831941e" 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_c288e945-6d50-49b1-891a-1d28de7a2c29" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_b55ec326-3c41-4644-8d09-3d3e6831941e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_9367070d-95ec-4b01-8734-323cd0740e0f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_b55ec326-3c41-4644-8d09-3d3e6831941e" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_9367070d-95ec-4b01-8734-323cd0740e0f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9367070d-95ec-4b01-8734-323cd0740e0f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_9367070d-95ec-4b01-8734-323cd0740e0f" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9367070d-95ec-4b01-8734-323cd0740e0f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_4448c531-5613-4aa1-af68-bf57722d32a1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_9367070d-95ec-4b01-8734-323cd0740e0f" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_4448c531-5613-4aa1-af68-bf57722d32a1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_AutoInjectorTechnologyPlatformMember_c16396f3-5f8a-41e6-a9de-a3d869af7f42" xlink:href="halo-20250930.xsd#halo_AutoInjectorTechnologyPlatformMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_4448c531-5613-4aa1-af68-bf57722d32a1" xlink:to="loc_halo_AutoInjectorTechnologyPlatformMember_c16396f3-5f8a-41e6-a9de-a3d869af7f42" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_XYOSTEDProprietaryProductMember_b67c1faa-b4a9-43da-9bb1-0f3df386af78" xlink:href="halo-20250930.xsd#halo_XYOSTEDProprietaryProductMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_4448c531-5613-4aa1-af68-bf57722d32a1" xlink:to="loc_halo_XYOSTEDProprietaryProductMember_b67c1faa-b4a9-43da-9bb1-0f3df386af78" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_2a394ec3-4740-4414-9843-40a4340cd2f7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_c288e945-6d50-49b1-891a-1d28de7a2c29" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_2a394ec3-4740-4414-9843-40a4340cd2f7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_9ac866e7-8874-49fe-a78b-39b0675dee80" 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_c288e945-6d50-49b1-891a-1d28de7a2c29" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_9ac866e7-8874-49fe-a78b-39b0675dee80" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_32ce250a-0c1a-4e8e-8b6f-b5674dbf563e" 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_c288e945-6d50-49b1-891a-1d28de7a2c29" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_32ce250a-0c1a-4e8e-8b6f-b5674dbf563e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_6e6c1d54-2e97-4ac7-ad38-a23bb867fcba" 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_c288e945-6d50-49b1-891a-1d28de7a2c29" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_6e6c1d54-2e97-4ac7-ad38-a23bb867fcba" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_b66acfe2-5f68-4e7c-b4c8-09508948719d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_c288e945-6d50-49b1-891a-1d28de7a2c29" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_b66acfe2-5f68-4e7c-b4c8-09508948719d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_362f1fbd-fc84-4f3d-9a3c-57d59b5dcc44" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_c288e945-6d50-49b1-891a-1d28de7a2c29" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_362f1fbd-fc84-4f3d-9a3c-57d59b5dcc44" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.halozyme.com/role/LongTermDebtNetNarrativeDetails" xlink:type="simple" xlink:href="halo-20250930.xsd#LongTermDebtNetNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.halozyme.com/role/LongTermDebtNetNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_76313958-00de-41b0-b128-c58890bc13dc" 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_ceb8b407-f087-408b-9456-a167ec425202" 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_76313958-00de-41b0-b128-c58890bc13dc" xlink:to="loc_us-gaap_DebtInstrumentTable_ceb8b407-f087-408b-9456-a167ec425202" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_95c51d11-70b3-46c3-93c8-4004a48239f3" 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_ceb8b407-f087-408b-9456-a167ec425202" xlink:to="loc_us-gaap_DebtInstrumentAxis_95c51d11-70b3-46c3-93c8-4004a48239f3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_95c51d11-70b3-46c3-93c8-4004a48239f3_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_95c51d11-70b3-46c3-93c8-4004a48239f3" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_95c51d11-70b3-46c3-93c8-4004a48239f3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_ac158f21-fb81-4134-94ee-e8c2fd5758f3" 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_95c51d11-70b3-46c3-93c8-4004a48239f3" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_ac158f21-fb81-4134-94ee-e8c2fd5758f3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_A100ConvertibleSeniorNotesDue2028Member_122028c6-98df-4d0d-9ebf-5d885c8f4684" xlink:href="halo-20250930.xsd#halo_A100ConvertibleSeniorNotesDue2028Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_ac158f21-fb81-4134-94ee-e8c2fd5758f3" xlink:to="loc_halo_A100ConvertibleSeniorNotesDue2028Member_122028c6-98df-4d0d-9ebf-5d885c8f4684" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_A025ConvertibleSeniorNotesDue2027Member_1fe7fa92-e860-411d-a8c9-1d9d3f07f430" xlink:href="halo-20250930.xsd#halo_A025ConvertibleSeniorNotesDue2027Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_ac158f21-fb81-4134-94ee-e8c2fd5758f3" xlink:to="loc_halo_A025ConvertibleSeniorNotesDue2027Member_1fe7fa92-e860-411d-a8c9-1d9d3f07f430" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_CreditAgreementMember_1a30ebfc-1ba8-498d-bc54-8b09f24c3028" xlink:href="halo-20250930.xsd#halo_CreditAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_ac158f21-fb81-4134-94ee-e8c2fd5758f3" xlink:to="loc_halo_CreditAgreementMember_1a30ebfc-1ba8-498d-bc54-8b09f24c3028" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_0731c6c4-0c7f-422f-8d34-6178cd8688d9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_ceb8b407-f087-408b-9456-a167ec425202" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_0731c6c4-0c7f-422f-8d34-6178cd8688d9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_0731c6c4-0c7f-422f-8d34-6178cd8688d9_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_0731c6c4-0c7f-422f-8d34-6178cd8688d9" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_0731c6c4-0c7f-422f-8d34-6178cd8688d9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_439c4112-82a5-4e66-ac39-f115f1bd5cdc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_0731c6c4-0c7f-422f-8d34-6178cd8688d9" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_439c4112-82a5-4e66-ac39-f115f1bd5cdc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtMember_e91aade5-3ecf-4154-a5ec-362faf641ec6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConvertibleDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_439c4112-82a5-4e66-ac39-f115f1bd5cdc" xlink:to="loc_us-gaap_ConvertibleDebtMember_e91aade5-3ecf-4154-a5ec-362faf641ec6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_TermLoanFacilityMember_dd606275-3342-402b-90fa-f44c09090d97" xlink:href="halo-20250930.xsd#halo_TermLoanFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_439c4112-82a5-4e66-ac39-f115f1bd5cdc" xlink:to="loc_halo_TermLoanFacilityMember_dd606275-3342-402b-90fa-f44c09090d97" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis_bde50f65-7c76-4af6-b374-b47f7a1253a3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentRedemptionPeriodAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_ceb8b407-f087-408b-9456-a167ec425202" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis_bde50f65-7c76-4af6-b374-b47f7a1253a3" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_bde50f65-7c76-4af6-b374-b47f7a1253a3_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentRedemptionPeriodDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis_bde50f65-7c76-4af6-b374-b47f7a1253a3" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_bde50f65-7c76-4af6-b374-b47f7a1253a3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_19ec2250-be7c-45f5-8790-cc491e48e8a6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentRedemptionPeriodDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis_bde50f65-7c76-4af6-b374-b47f7a1253a3" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_19ec2250-be7c-45f5-8790-cc491e48e8a6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodOneMember_db018d51-bfae-4cb0-bf99-9b2f2734c9ed" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentRedemptionPeriodOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_19ec2250-be7c-45f5-8790-cc491e48e8a6" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodOneMember_db018d51-bfae-4cb0-bf99-9b2f2734c9ed" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodTwoMember_7bbbdf4d-bd9a-49ac-8e37-60a08bc23719" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentRedemptionPeriodTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain_19ec2250-be7c-45f5-8790-cc491e48e8a6" xlink:to="loc_us-gaap_DebtInstrumentRedemptionPeriodTwoMember_7bbbdf4d-bd9a-49ac-8e37-60a08bc23719" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_dbf6313e-ca93-4299-a1fc-eaff4448526f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_ceb8b407-f087-408b-9456-a167ec425202" xlink:to="loc_us-gaap_CreditFacilityAxis_dbf6313e-ca93-4299-a1fc-eaff4448526f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_dbf6313e-ca93-4299-a1fc-eaff4448526f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_dbf6313e-ca93-4299-a1fc-eaff4448526f" xlink:to="loc_us-gaap_CreditFacilityDomain_dbf6313e-ca93-4299-a1fc-eaff4448526f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_e087b8c3-5d0f-47eb-a20b-b65a602b3a18" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_dbf6313e-ca93-4299-a1fc-eaff4448526f" xlink:to="loc_us-gaap_CreditFacilityDomain_e087b8c3-5d0f-47eb-a20b-b65a602b3a18" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_4cefc072-feec-49c1-9f67-f0d620714fe3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_e087b8c3-5d0f-47eb-a20b-b65a602b3a18" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_4cefc072-feec-49c1-9f67-f0d620714fe3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_AnnualInterestPaymentPeriodAxis_0a0ff8da-7a1d-45b7-be6a-049399ca2f8a" xlink:href="halo-20250930.xsd#halo_AnnualInterestPaymentPeriodAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_ceb8b407-f087-408b-9456-a167ec425202" xlink:to="loc_halo_AnnualInterestPaymentPeriodAxis_0a0ff8da-7a1d-45b7-be6a-049399ca2f8a" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_AnnualInterestPaymentPeriodDomain_0a0ff8da-7a1d-45b7-be6a-049399ca2f8a_default" xlink:href="halo-20250930.xsd#halo_AnnualInterestPaymentPeriodDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_halo_AnnualInterestPaymentPeriodAxis_0a0ff8da-7a1d-45b7-be6a-049399ca2f8a" xlink:to="loc_halo_AnnualInterestPaymentPeriodDomain_0a0ff8da-7a1d-45b7-be6a-049399ca2f8a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_AnnualInterestPaymentPeriodDomain_b254bb50-220f-4779-8995-a18d709b826c" xlink:href="halo-20250930.xsd#halo_AnnualInterestPaymentPeriodDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_halo_AnnualInterestPaymentPeriodAxis_0a0ff8da-7a1d-45b7-be6a-049399ca2f8a" xlink:to="loc_halo_AnnualInterestPaymentPeriodDomain_b254bb50-220f-4779-8995-a18d709b826c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_DebtInstrumentInterestPeriodOneMember_b26411b1-4440-40a0-9404-d163f6ace158" xlink:href="halo-20250930.xsd#halo_DebtInstrumentInterestPeriodOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_halo_AnnualInterestPaymentPeriodDomain_b254bb50-220f-4779-8995-a18d709b826c" xlink:to="loc_halo_DebtInstrumentInterestPeriodOneMember_b26411b1-4440-40a0-9404-d163f6ace158" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_DebtInstrumentInterestPeriodTwoMember_ffdd89b0-32d0-43d8-9628-c3de4ea7dec4" xlink:href="halo-20250930.xsd#halo_DebtInstrumentInterestPeriodTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_halo_AnnualInterestPaymentPeriodDomain_b254bb50-220f-4779-8995-a18d709b826c" xlink:to="loc_halo_DebtInstrumentInterestPeriodTwoMember_ffdd89b0-32d0-43d8-9628-c3de4ea7dec4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_DebtInstrumentInterestPeriodThreeMember_54e3fcf4-ef87-4089-b6d9-5a21024121dd" xlink:href="halo-20250930.xsd#halo_DebtInstrumentInterestPeriodThreeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_halo_AnnualInterestPaymentPeriodDomain_b254bb50-220f-4779-8995-a18d709b826c" xlink:to="loc_halo_DebtInstrumentInterestPeriodThreeMember_54e3fcf4-ef87-4089-b6d9-5a21024121dd" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_DebtInstrumentInterestPeriodFourMember_0364ee0e-da01-404f-a586-2bad016f5a1f" xlink:href="halo-20250930.xsd#halo_DebtInstrumentInterestPeriodFourMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_halo_AnnualInterestPaymentPeriodDomain_b254bb50-220f-4779-8995-a18d709b826c" xlink:to="loc_halo_DebtInstrumentInterestPeriodFourMember_0364ee0e-da01-404f-a586-2bad016f5a1f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_VariableRateComponentAxis_bb9b14fc-d59d-4627-8bae-6e7c4a3ff264" xlink:href="halo-20250930.xsd#halo_VariableRateComponentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_ceb8b407-f087-408b-9456-a167ec425202" xlink:to="loc_halo_VariableRateComponentAxis_bb9b14fc-d59d-4627-8bae-6e7c4a3ff264" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_VariableRateComponentDomain_bb9b14fc-d59d-4627-8bae-6e7c4a3ff264_default" xlink:href="halo-20250930.xsd#halo_VariableRateComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_halo_VariableRateComponentAxis_bb9b14fc-d59d-4627-8bae-6e7c4a3ff264" xlink:to="loc_halo_VariableRateComponentDomain_bb9b14fc-d59d-4627-8bae-6e7c4a3ff264_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_VariableRateComponentDomain_ba16e65b-a9dc-43cf-8c80-5ebfbf2befe1" xlink:href="halo-20250930.xsd#halo_VariableRateComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_halo_VariableRateComponentAxis_bb9b14fc-d59d-4627-8bae-6e7c4a3ff264" xlink:to="loc_halo_VariableRateComponentDomain_ba16e65b-a9dc-43cf-8c80-5ebfbf2befe1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_VariableRateComponentOneMember_d59c5e89-4f6d-4128-a64b-380ba91f5230" xlink:href="halo-20250930.xsd#halo_VariableRateComponentOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_halo_VariableRateComponentDomain_ba16e65b-a9dc-43cf-8c80-5ebfbf2befe1" xlink:to="loc_halo_VariableRateComponentOneMember_d59c5e89-4f6d-4128-a64b-380ba91f5230" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_VariableRateComponentTwoMember_4e96277c-47ee-493e-acb9-7f4acd72af1a" xlink:href="halo-20250930.xsd#halo_VariableRateComponentTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_halo_VariableRateComponentDomain_ba16e65b-a9dc-43cf-8c80-5ebfbf2befe1" xlink:to="loc_halo_VariableRateComponentTwoMember_4e96277c-47ee-493e-acb9-7f4acd72af1a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateAxis_073e4efb-a977-40b2-a6a2-784156a99652" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableRateAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_ceb8b407-f087-408b-9456-a167ec425202" xlink:to="loc_us-gaap_VariableRateAxis_073e4efb-a977-40b2-a6a2-784156a99652" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_073e4efb-a977-40b2-a6a2-784156a99652_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_073e4efb-a977-40b2-a6a2-784156a99652" xlink:to="loc_us-gaap_VariableRateDomain_073e4efb-a977-40b2-a6a2-784156a99652_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_e480f775-2a30-4bdf-8c3d-3253c59f57ba" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_073e4efb-a977-40b2-a6a2-784156a99652" xlink:to="loc_us-gaap_VariableRateDomain_e480f775-2a30-4bdf-8c3d-3253c59f57ba" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredOvernightFinancingRateSofrMember_6ace0b98-cc3d-47b7-ba56-5d6564286d27" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuredOvernightFinancingRateSofrMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_e480f775-2a30-4bdf-8c3d-3253c59f57ba" xlink:to="loc_us-gaap_SecuredOvernightFinancingRateSofrMember_6ace0b98-cc3d-47b7-ba56-5d6564286d27" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalFundsEffectiveSwapRateMember_f7b2e223-7768-4886-b0c2-619ee7e3e3ec" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalFundsEffectiveSwapRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_e480f775-2a30-4bdf-8c3d-3253c59f57ba" xlink:to="loc_us-gaap_FederalFundsEffectiveSwapRateMember_f7b2e223-7768-4886-b0c2-619ee7e3e3ec" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BaseRateMember_d3cf105c-4371-4a6e-b633-3a2cf62517f5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BaseRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_e480f775-2a30-4bdf-8c3d-3253c59f57ba" xlink:to="loc_us-gaap_BaseRateMember_d3cf105c-4371-4a6e-b633-3a2cf62517f5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_45f761e5-7597-46a1-a53a-9467296e7c5e" 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_ceb8b407-f087-408b-9456-a167ec425202" xlink:to="loc_srt_RangeAxis_45f761e5-7597-46a1-a53a-9467296e7c5e" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_45f761e5-7597-46a1-a53a-9467296e7c5e_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_45f761e5-7597-46a1-a53a-9467296e7c5e" xlink:to="loc_srt_RangeMember_45f761e5-7597-46a1-a53a-9467296e7c5e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_a1a7b517-015b-452e-8d09-b57bbe24bbf1" 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_45f761e5-7597-46a1-a53a-9467296e7c5e" xlink:to="loc_srt_RangeMember_a1a7b517-015b-452e-8d09-b57bbe24bbf1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_79b752f9-fbdc-4e7d-acf5-0eff69550b59" 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_a1a7b517-015b-452e-8d09-b57bbe24bbf1" xlink:to="loc_srt_MaximumMember_79b752f9-fbdc-4e7d-acf5-0eff69550b59" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_f55e5683-7094-402d-a0f8-d60017d29efe" 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_a1a7b517-015b-452e-8d09-b57bbe24bbf1" xlink:to="loc_srt_MinimumMember_f55e5683-7094-402d-a0f8-d60017d29efe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_6525a150-6f38-4eb6-969e-271e5b1746a0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_76313958-00de-41b0-b128-c58890bc13dc" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_6525a150-6f38-4eb6-969e-271e5b1746a0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_bd788842-8017-4c4e-9289-c79f76ad4f8e" 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_76313958-00de-41b0-b128-c58890bc13dc" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_bd788842-8017-4c4e-9289-c79f76ad4f8e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFeeAmount_72bfe880-185c-43f5-8102-18b8ca279e24" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentFeeAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_76313958-00de-41b0-b128-c58890bc13dc" xlink:to="loc_us-gaap_DebtInstrumentFeeAmount_72bfe880-185c-43f5-8102-18b8ca279e24" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromConvertibleDebt_d37e07ba-8aa7-4927-8094-16cac4680f8f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromConvertibleDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_76313958-00de-41b0-b128-c58890bc13dc" xlink:to="loc_us-gaap_ProceedsFromConvertibleDebt_d37e07ba-8aa7-4927-8094-16cac4680f8f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_86243854-00ac-4368-b379-4c4bab6f5a6d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_76313958-00de-41b0-b128-c58890bc13dc" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_86243854-00ac-4368-b379-4c4bab6f5a6d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleThresholdPercentageOfStockPriceTrigger_f1d0c8ab-2042-4929-b0c6-723b86b06968" 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_DebtInstrumentLineItems_76313958-00de-41b0-b128-c58890bc13dc" xlink:to="loc_us-gaap_DebtInstrumentConvertibleThresholdPercentageOfStockPriceTrigger_f1d0c8ab-2042-4929-b0c6-723b86b06968" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleThresholdTradingDays_a23aa713-72cc-48eb-88f9-2135b653f59e" 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_DebtInstrumentLineItems_76313958-00de-41b0-b128-c58890bc13dc" xlink:to="loc_us-gaap_DebtInstrumentConvertibleThresholdTradingDays_a23aa713-72cc-48eb-88f9-2135b653f59e" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleThresholdConsecutiveTradingDays1_e7bd6889-0fbd-459e-a16c-0148b23b7e74" 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_DebtInstrumentLineItems_76313958-00de-41b0-b128-c58890bc13dc" xlink:to="loc_us-gaap_DebtInstrumentConvertibleThresholdConsecutiveTradingDays1_e7bd6889-0fbd-459e-a16c-0148b23b7e74" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_DebtInstrumentConvertibleThresholdConsecutiveBusinessDays_c36165b0-3f6e-4912-a17f-9c948fd9212c" xlink:href="halo-20250930.xsd#halo_DebtInstrumentConvertibleThresholdConsecutiveBusinessDays"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_76313958-00de-41b0-b128-c58890bc13dc" xlink:to="loc_halo_DebtInstrumentConvertibleThresholdConsecutiveBusinessDays_c36165b0-3f6e-4912-a17f-9c948fd9212c" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleConversionRatio1_01a20280-f5e3-40ca-9e4d-482cbf77071c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentConvertibleConversionRatio1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_76313958-00de-41b0-b128-c58890bc13dc" xlink:to="loc_us-gaap_DebtInstrumentConvertibleConversionRatio1_01a20280-f5e3-40ca-9e4d-482cbf77071c" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleConversionPrice1_3e769699-d01c-48a1-a275-91404e85cb23" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentConvertibleConversionPrice1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_76313958-00de-41b0-b128-c58890bc13dc" xlink:to="loc_us-gaap_DebtInstrumentConvertibleConversionPrice1_3e769699-d01c-48a1-a275-91404e85cb23" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_DebtInstrumentCapCallTransactionCapPricePerShare_00d9c5c5-dcdb-4637-8e98-e6c1bb70374d" xlink:href="halo-20250930.xsd#halo_DebtInstrumentCapCallTransactionCapPricePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_76313958-00de-41b0-b128-c58890bc13dc" xlink:to="loc_halo_DebtInstrumentCapCallTransactionCapPricePerShare_00d9c5c5-dcdb-4637-8e98-e6c1bb70374d" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_SaleOfStockPremiumOverLastReportedSalePricePercentage_4da55320-6e3c-4d56-85d9-d678cc58524c" xlink:href="halo-20250930.xsd#halo_SaleOfStockPremiumOverLastReportedSalePricePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_76313958-00de-41b0-b128-c58890bc13dc" xlink:to="loc_halo_SaleOfStockPremiumOverLastReportedSalePricePercentage_4da55320-6e3c-4d56-85d9-d678cc58524c" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockPricePerShare_57ca05e6-dc46-41fb-b7f1-bdde9a539e9f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SaleOfStockPricePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_76313958-00de-41b0-b128-c58890bc13dc" xlink:to="loc_us-gaap_SaleOfStockPricePerShare_57ca05e6-dc46-41fb-b7f1-bdde9a539e9f" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_PaymentForCappedCallTransactions_a290ce5f-df7a-458a-b1e4-9d520da4a268" xlink:href="halo-20250930.xsd#halo_PaymentForCappedCallTransactions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_76313958-00de-41b0-b128-c58890bc13dc" xlink:to="loc_halo_PaymentForCappedCallTransactions_a290ce5f-df7a-458a-b1e4-9d520da4a268" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_90a0a20f-9603-46ec-b17a-bc60793f0327" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_76313958-00de-41b0-b128-c58890bc13dc" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_90a0a20f-9603-46ec-b17a-bc60793f0327" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_a9b917a8-9c22-4c59-bfec-52a973c49264" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_76313958-00de-41b0-b128-c58890bc13dc" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_a9b917a8-9c22-4c59-bfec-52a973c49264" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityCommitmentFeePercentage_fe7a4f04-f5c5-46e3-8a77-d8af780d3acf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LineOfCreditFacilityCommitmentFeePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_76313958-00de-41b0-b128-c58890bc13dc" xlink:to="loc_us-gaap_LineOfCreditFacilityCommitmentFeePercentage_fe7a4f04-f5c5-46e3-8a77-d8af780d3acf" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsGross_8b472a85-4114-4bd1-9983-784e993f84ca" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredFinanceCostsGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_76313958-00de-41b0-b128-c58890bc13dc" xlink:to="loc_us-gaap_DeferredFinanceCostsGross_8b472a85-4114-4bd1-9983-784e993f84ca" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_488e4557-adaa-4a6e-902a-bb520581895b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_76313958-00de-41b0-b128-c58890bc13dc" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_488e4557-adaa-4a6e-902a-bb520581895b" xlink:type="arc" order="19"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.halozyme.com/role/LongTermDebtNetCarryingAmountofConvertibleNotesDetails" xlink:type="simple" xlink:href="halo-20250930.xsd#LongTermDebtNetCarryingAmountofConvertibleNotesDetails"/>
  <link:definitionLink xlink:role="http://www.halozyme.com/role/LongTermDebtNetCarryingAmountofConvertibleNotesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_66c4e492-2106-452b-97b3-5cd86c3f888d" 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_4e06f71c-b503-4824-8973-c3b2939127cd" 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_66c4e492-2106-452b-97b3-5cd86c3f888d" xlink:to="loc_us-gaap_DebtInstrumentTable_4e06f71c-b503-4824-8973-c3b2939127cd" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_3187b313-68e2-4d4c-b526-69665f5a284f" 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_4e06f71c-b503-4824-8973-c3b2939127cd" xlink:to="loc_us-gaap_DebtInstrumentAxis_3187b313-68e2-4d4c-b526-69665f5a284f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_3187b313-68e2-4d4c-b526-69665f5a284f_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_3187b313-68e2-4d4c-b526-69665f5a284f" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_3187b313-68e2-4d4c-b526-69665f5a284f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_110f9dce-ea23-4d5f-8698-cad9a78940f1" 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_3187b313-68e2-4d4c-b526-69665f5a284f" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_110f9dce-ea23-4d5f-8698-cad9a78940f1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_A025ConvertibleSeniorNotesDue2027Member_76b9655a-4ef5-4d38-a54f-0fbc6ec937f9" xlink:href="halo-20250930.xsd#halo_A025ConvertibleSeniorNotesDue2027Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_110f9dce-ea23-4d5f-8698-cad9a78940f1" xlink:to="loc_halo_A025ConvertibleSeniorNotesDue2027Member_76b9655a-4ef5-4d38-a54f-0fbc6ec937f9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_A100ConvertibleSeniorNotesDue2028Member_b3fb0f70-1e2b-4c29-8ac0-5361011b841f" xlink:href="halo-20250930.xsd#halo_A100ConvertibleSeniorNotesDue2028Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_110f9dce-ea23-4d5f-8698-cad9a78940f1" xlink:to="loc_halo_A100ConvertibleSeniorNotesDue2028Member_b3fb0f70-1e2b-4c29-8ac0-5361011b841f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_1963a898-34ab-46f9-aa7b-473884c76de6" 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_66c4e492-2106-452b-97b3-5cd86c3f888d" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_1963a898-34ab-46f9-aa7b-473884c76de6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscount_832be23a-bab8-42a9-8650-7908bc1832e6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentUnamortizedDiscount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_66c4e492-2106-452b-97b3-5cd86c3f888d" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscount_832be23a-bab8-42a9-8650-7908bc1832e6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_d0c9aa2a-9c84-485e-b443-3da2a239e356" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_66c4e492-2106-452b-97b3-5cd86c3f888d" xlink:to="loc_us-gaap_LongTermDebt_d0c9aa2a-9c84-485e-b443-3da2a239e356" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFairValue_36b70222-5027-4424-8598-2c3b88b0056e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_66c4e492-2106-452b-97b3-5cd86c3f888d" xlink:to="loc_us-gaap_DebtInstrumentFairValue_36b70222-5027-4424-8598-2c3b88b0056e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentConvertibleRemainingDiscountAmortizationPeriod1_567e5e69-450c-4a7f-8d88-fe62a91adb6a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentConvertibleRemainingDiscountAmortizationPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_66c4e492-2106-452b-97b3-5cd86c3f888d" xlink:to="loc_us-gaap_DebtInstrumentConvertibleRemainingDiscountAmortizationPeriod1_567e5e69-450c-4a7f-8d88-fe62a91adb6a" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.halozyme.com/role/LongTermDebtNetComponentsofInterestExpenseDetails" xlink:type="simple" xlink:href="halo-20250930.xsd#LongTermDebtNetComponentsofInterestExpenseDetails"/>
  <link:definitionLink xlink:role="http://www.halozyme.com/role/LongTermDebtNetComponentsofInterestExpenseDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_7790e182-ad74-43b3-b499-18c21afc4f08" 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_d05bf257-2efa-4354-9b5d-dd252a1c9b38" 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_7790e182-ad74-43b3-b499-18c21afc4f08" xlink:to="loc_us-gaap_DebtInstrumentTable_d05bf257-2efa-4354-9b5d-dd252a1c9b38" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_61ec5b2f-69d6-46df-bd6a-8eee55045422" 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_d05bf257-2efa-4354-9b5d-dd252a1c9b38" xlink:to="loc_us-gaap_DebtInstrumentAxis_61ec5b2f-69d6-46df-bd6a-8eee55045422" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_61ec5b2f-69d6-46df-bd6a-8eee55045422_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_61ec5b2f-69d6-46df-bd6a-8eee55045422" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_61ec5b2f-69d6-46df-bd6a-8eee55045422_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_06d5b76d-9ad0-4674-9a3a-07be12315749" 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_61ec5b2f-69d6-46df-bd6a-8eee55045422" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_06d5b76d-9ad0-4674-9a3a-07be12315749" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_A025ConvertibleSeniorNotesDue2027Member_0a0193a4-6195-4d6e-a9c9-3a6842aef49c" xlink:href="halo-20250930.xsd#halo_A025ConvertibleSeniorNotesDue2027Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_06d5b76d-9ad0-4674-9a3a-07be12315749" xlink:to="loc_halo_A025ConvertibleSeniorNotesDue2027Member_0a0193a4-6195-4d6e-a9c9-3a6842aef49c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_A100ConvertibleSeniorNotesDue2028Member_1bb8bfff-e23b-4694-b801-383c1578430e" xlink:href="halo-20250930.xsd#halo_A100ConvertibleSeniorNotesDue2028Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_06d5b76d-9ad0-4674-9a3a-07be12315749" xlink:to="loc_halo_A100ConvertibleSeniorNotesDue2028Member_1bb8bfff-e23b-4694-b801-383c1578430e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_a7c7880f-4022-475f-b8d0-ce245f20addb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_d05bf257-2efa-4354-9b5d-dd252a1c9b38" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_a7c7880f-4022-475f-b8d0-ce245f20addb" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_a7c7880f-4022-475f-b8d0-ce245f20addb_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_a7c7880f-4022-475f-b8d0-ce245f20addb" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_a7c7880f-4022-475f-b8d0-ce245f20addb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_05192244-8ce5-4ec5-9df9-e6108691fe6d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_a7c7880f-4022-475f-b8d0-ce245f20addb" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_05192244-8ce5-4ec5-9df9-e6108691fe6d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtMember_7e956888-3938-4ef7-b306-6b5e00d089c7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConvertibleDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_05192244-8ce5-4ec5-9df9-e6108691fe6d" xlink:to="loc_us-gaap_ConvertibleDebtMember_7e956888-3938-4ef7-b306-6b5e00d089c7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentPeriodicPaymentInterest_0e78368f-5624-4007-993a-036366f6dbc2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentPeriodicPaymentInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_7790e182-ad74-43b3-b499-18c21afc4f08" xlink:to="loc_us-gaap_DebtInstrumentPeriodicPaymentInterest_0e78368f-5624-4007-993a-036366f6dbc2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfDebtDiscountPremium_1a516cff-a91d-44fe-a120-36177f8f46d4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationOfDebtDiscountPremium"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_7790e182-ad74-43b3-b499-18c21afc4f08" xlink:to="loc_us-gaap_AmortizationOfDebtDiscountPremium_1a516cff-a91d-44fe-a120-36177f8f46d4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDebt_631ae377-4969-41ad-90e5-cf9ac8264a48" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_7790e182-ad74-43b3-b499-18c21afc4f08" xlink:to="loc_us-gaap_InterestExpenseDebt_631ae377-4969-41ad-90e5-cf9ac8264a48" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_0ea09a92-fc35-4062-9281-3d628d42654e" 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_7790e182-ad74-43b3-b499-18c21afc4f08" xlink:to="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage_0ea09a92-fc35-4062-9281-3d628d42654e" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.halozyme.com/role/StockholdersEquitySharebasedCompensationExpenseDetails" xlink:type="simple" xlink:href="halo-20250930.xsd#StockholdersEquitySharebasedCompensationExpenseDetails"/>
  <link:definitionLink xlink:role="http://www.halozyme.com/role/StockholdersEquitySharebasedCompensationExpenseDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_1b6ab313-e7bc-46f6-966a-c7e65aa68d55" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_4bc295b7-764b-4145-a3cb-3ec33068e196" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_1b6ab313-e7bc-46f6-966a-c7e65aa68d55" xlink:to="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_4bc295b7-764b-4145-a3cb-3ec33068e196" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_2b9977aa-3d7d-4966-82fa-ad5052cae3ee" 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_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_4bc295b7-764b-4145-a3cb-3ec33068e196" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_2b9977aa-3d7d-4966-82fa-ad5052cae3ee" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_2b9977aa-3d7d-4966-82fa-ad5052cae3ee_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_2b9977aa-3d7d-4966-82fa-ad5052cae3ee" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_2b9977aa-3d7d-4966-82fa-ad5052cae3ee_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_3c58150f-364d-4f8c-b3e0-6badbbd65cbe" 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_2b9977aa-3d7d-4966-82fa-ad5052cae3ee" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_3c58150f-364d-4f8c-b3e0-6badbbd65cbe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember_b82b3ad2-567e-4f17-bc5b-c0946ecc5638" 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_3c58150f-364d-4f8c-b3e0-6badbbd65cbe" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_b82b3ad2-567e-4f17-bc5b-c0946ecc5638" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_a4bf2f28-d0e3-4cf0-91a7-49960e71599f" 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_3c58150f-364d-4f8c-b3e0-6badbbd65cbe" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_a4bf2f28-d0e3-4cf0-91a7-49960e71599f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_f99f34b0-43ea-401d-a6a5-30d11cba94c4" 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_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_4bc295b7-764b-4145-a3cb-3ec33068e196" xlink:to="loc_us-gaap_AwardTypeAxis_f99f34b0-43ea-401d-a6a5-30d11cba94c4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_f99f34b0-43ea-401d-a6a5-30d11cba94c4_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_f99f34b0-43ea-401d-a6a5-30d11cba94c4" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_f99f34b0-43ea-401d-a6a5-30d11cba94c4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_19ed68c9-3bfe-4bd7-a7f1-9e5db35ad3f5" 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_f99f34b0-43ea-401d-a6a5-30d11cba94c4" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_19ed68c9-3bfe-4bd7-a7f1-9e5db35ad3f5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_bbd52807-a70f-4bc1-a27e-2cbdd7a12bc1" 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_19ed68c9-3bfe-4bd7-a7f1-9e5db35ad3f5" xlink:to="loc_us-gaap_EmployeeStockOptionMember_bbd52807-a70f-4bc1-a27e-2cbdd7a12bc1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_RSURSAandPRSUawardsMember_80cc195c-1c6a-4aef-acd7-6c695c3ccc5f" xlink:href="halo-20250930.xsd#halo_RSURSAandPRSUawardsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_19ed68c9-3bfe-4bd7-a7f1-9e5db35ad3f5" xlink:to="loc_halo_RSURSAandPRSUawardsMember_80cc195c-1c6a-4aef-acd7-6c695c3ccc5f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_e181bf40-3629-458b-b1f2-e893687b12d1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_1b6ab313-e7bc-46f6-966a-c7e65aa68d55" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_e181bf40-3629-458b-b1f2-e893687b12d1" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.halozyme.com/role/StockholdersEquityNarrativeDetails" xlink:type="simple" xlink:href="halo-20250930.xsd#StockholdersEquityNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.halozyme.com/role/StockholdersEquityNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_dc045a63-3e0c-4a38-bf9a-d35ff2b295f5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_c9e522a1-55ec-43cc-a296-ee877ee86423" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_dc045a63-3e0c-4a38-bf9a-d35ff2b295f5" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_c9e522a1-55ec-43cc-a296-ee877ee86423" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_531d56c3-4bf1-4bc9-98a4-02c816bfefae" 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_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_c9e522a1-55ec-43cc-a296-ee877ee86423" xlink:to="loc_us-gaap_AwardTypeAxis_531d56c3-4bf1-4bc9-98a4-02c816bfefae" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_531d56c3-4bf1-4bc9-98a4-02c816bfefae_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_531d56c3-4bf1-4bc9-98a4-02c816bfefae" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_531d56c3-4bf1-4bc9-98a4-02c816bfefae_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_39ed1464-b81b-4114-872a-ea84caf554e7" 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_531d56c3-4bf1-4bc9-98a4-02c816bfefae" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_39ed1464-b81b-4114-872a-ea84caf554e7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockMember_c6832b5d-97f1-4c6a-8e00-6def3889493c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_39ed1464-b81b-4114-872a-ea84caf554e7" xlink:to="loc_us-gaap_EmployeeStockMember_c6832b5d-97f1-4c6a-8e00-6def3889493c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameAxis_d5760fb9-cb32-456c-846a-23c84fd50a3a" 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_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_c9e522a1-55ec-43cc-a296-ee877ee86423" xlink:to="loc_us-gaap_PlanNameAxis_d5760fb9-cb32-456c-846a-23c84fd50a3a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_d5760fb9-cb32-456c-846a-23c84fd50a3a_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_d5760fb9-cb32-456c-846a-23c84fd50a3a" xlink:to="loc_us-gaap_PlanNameDomain_d5760fb9-cb32-456c-846a-23c84fd50a3a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_a6eac579-7250-4908-a0b1-57f978401daf" 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_d5760fb9-cb32-456c-846a-23c84fd50a3a" xlink:to="loc_us-gaap_PlanNameDomain_a6eac579-7250-4908-a0b1-57f978401daf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_A2021ESPPPlanMember_36df1438-2441-4996-a4d8-c09ec87bf86d" xlink:href="halo-20250930.xsd#halo_A2021ESPPPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_a6eac579-7250-4908-a0b1-57f978401daf" xlink:to="loc_halo_A2021ESPPPlanMember_36df1438-2441-4996-a4d8-c09ec87bf86d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ShareRepurchaseProgramAxis_ffd66aab-4c94-4d4e-b9a6-2de13ee9b575" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ShareRepurchaseProgramAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_c9e522a1-55ec-43cc-a296-ee877ee86423" xlink:to="loc_srt_ShareRepurchaseProgramAxis_ffd66aab-4c94-4d4e-b9a6-2de13ee9b575" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ShareRepurchaseProgramDomain_ffd66aab-4c94-4d4e-b9a6-2de13ee9b575_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ShareRepurchaseProgramDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ShareRepurchaseProgramAxis_ffd66aab-4c94-4d4e-b9a6-2de13ee9b575" xlink:to="loc_srt_ShareRepurchaseProgramDomain_ffd66aab-4c94-4d4e-b9a6-2de13ee9b575_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ShareRepurchaseProgramDomain_213885bb-a311-4a62-9e83-5c2fd7533883" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ShareRepurchaseProgramDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ShareRepurchaseProgramAxis_ffd66aab-4c94-4d4e-b9a6-2de13ee9b575" xlink:to="loc_srt_ShareRepurchaseProgramDomain_213885bb-a311-4a62-9e83-5c2fd7533883" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_A2021ShareRepurchaseProgramMember_03b9dc07-4092-4e11-a888-3ff872ea82d0" xlink:href="halo-20250930.xsd#halo_A2021ShareRepurchaseProgramMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ShareRepurchaseProgramDomain_213885bb-a311-4a62-9e83-5c2fd7533883" xlink:to="loc_halo_A2021ShareRepurchaseProgramMember_03b9dc07-4092-4e11-a888-3ff872ea82d0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_A2024CapitalReturnProgramMember_bf98bb8a-2603-4e2f-bb4e-1c634c389115" xlink:href="halo-20250930.xsd#halo_A2024CapitalReturnProgramMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ShareRepurchaseProgramDomain_213885bb-a311-4a62-9e83-5c2fd7533883" xlink:to="loc_halo_A2024CapitalReturnProgramMember_bf98bb8a-2603-4e2f-bb4e-1c634c389115" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_AcceleratedShareRepurchaseAgreementMember_baac7a50-beef-4eac-bb30-7e1aad97c428" xlink:href="halo-20250930.xsd#halo_AcceleratedShareRepurchaseAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ShareRepurchaseProgramDomain_213885bb-a311-4a62-9e83-5c2fd7533883" xlink:to="loc_halo_AcceleratedShareRepurchaseAgreementMember_baac7a50-beef-4eac-bb30-7e1aad97c428" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_A2024CapitalReturnProgramTrancheTwoMember_bef8dfc2-3c89-42c1-9ef6-c430f2b67005" xlink:href="halo-20250930.xsd#halo_A2024CapitalReturnProgramTrancheTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ShareRepurchaseProgramDomain_213885bb-a311-4a62-9e83-5c2fd7533883" xlink:to="loc_halo_A2024CapitalReturnProgramTrancheTwoMember_bef8dfc2-3c89-42c1-9ef6-c430f2b67005" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_A2024CapitalReturnProgramTrancheThreeMember_9c589c6a-2082-4c16-aed4-f13e5de14cf1" xlink:href="halo-20250930.xsd#halo_A2024CapitalReturnProgramTrancheThreeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ShareRepurchaseProgramDomain_213885bb-a311-4a62-9e83-5c2fd7533883" xlink:to="loc_halo_A2024CapitalReturnProgramTrancheThreeMember_9c589c6a-2082-4c16-aed4-f13e5de14cf1" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_aa357e4f-9f3c-4b8e-85c4-b14aa95d2890" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_dc045a63-3e0c-4a38-bf9a-d35ff2b295f5" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_aa357e4f-9f3c-4b8e-85c4-b14aa95d2890" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_d927e3da-122e-4c92-a5a9-458398fdd2c7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_dc045a63-3e0c-4a38-bf9a-d35ff2b295f5" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent_d927e3da-122e-4c92-a5a9-458398fdd2c7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_ShareBasedCompensationArrangementByShareBasedPaymentAwardMinimumEmployeeSubscriptionRate_eb92dc3e-5075-44b0-a44a-9fce2745aa7d" xlink:href="halo-20250930.xsd#halo_ShareBasedCompensationArrangementByShareBasedPaymentAwardMinimumEmployeeSubscriptionRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_dc045a63-3e0c-4a38-bf9a-d35ff2b295f5" xlink:to="loc_halo_ShareBasedCompensationArrangementByShareBasedPaymentAwardMinimumEmployeeSubscriptionRate_eb92dc3e-5075-44b0-a44a-9fce2745aa7d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate_98c03cd0-5711-4a52-ab1c-9ae26ed8acbf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_dc045a63-3e0c-4a38-bf9a-d35ff2b295f5" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate_98c03cd0-5711-4a52-ab1c-9ae26ed8acbf" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionAmount_c09df0c8-8a75-4bc9-ae5a-629f3820bad7" xlink:href="halo-20250930.xsd#halo_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_dc045a63-3e0c-4a38-bf9a-d35ff2b295f5" xlink:to="loc_halo_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionAmount_c09df0c8-8a75-4bc9-ae5a-629f3820bad7" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_1ea2df78-4adc-4977-9b58-720f4184c711" 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_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_dc045a63-3e0c-4a38-bf9a-d35ff2b295f5" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_1ea2df78-4adc-4977-9b58-720f4184c711" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_ShareBasedCompensationArrangementByShareBasedPaymentAwardPurchasePeriod_67817370-567a-4017-966b-4c3cde2f794c" xlink:href="halo-20250930.xsd#halo_ShareBasedCompensationArrangementByShareBasedPaymentAwardPurchasePeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_dc045a63-3e0c-4a38-bf9a-d35ff2b295f5" xlink:to="loc_halo_ShareBasedCompensationArrangementByShareBasedPaymentAwardPurchasePeriod_67817370-567a-4017-966b-4c3cde2f794c" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod_1a7db40a-c4bc-426d-bd4a-80cc5d857da5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_dc045a63-3e0c-4a38-bf9a-d35ff2b295f5" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod_1a7db40a-c4bc-426d-bd4a-80cc5d857da5" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StockRepurchaseProgramAuthorizedAmount1_63007d6a-76d5-4f05-a8cb-26f08baa1697" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_StockRepurchaseProgramAuthorizedAmount1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_dc045a63-3e0c-4a38-bf9a-d35ff2b295f5" xlink:to="loc_srt_StockRepurchaseProgramAuthorizedAmount1_63007d6a-76d5-4f05-a8cb-26f08baa1697" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchaseProgramPeriodInForce1_3cfdace5-c3a4-49af-b270-e4203baf1caf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockRepurchaseProgramPeriodInForce1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_dc045a63-3e0c-4a38-bf9a-d35ff2b295f5" xlink:to="loc_us-gaap_StockRepurchaseProgramPeriodInForce1_3cfdace5-c3a4-49af-b270-e4203baf1caf" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_68705af9-9362-47ad-ae9f-2c64d1a3b195" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_dc045a63-3e0c-4a38-bf9a-d35ff2b295f5" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_68705af9-9362-47ad-ae9f-2c64d1a3b195" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockAcquiredAverageCostPerShare_fcef9ead-d5dc-4885-a7e4-93fff025cd42" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TreasuryStockAcquiredAverageCostPerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_dc045a63-3e0c-4a38-bf9a-d35ff2b295f5" xlink:to="loc_us-gaap_TreasuryStockAcquiredAverageCostPerShare_fcef9ead-d5dc-4885-a7e4-93fff025cd42" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_AcceleratedShareRepurchaseAgreementAmount_031d51f2-ebb4-43a1-b974-5988dfef329d" xlink:href="halo-20250930.xsd#halo_AcceleratedShareRepurchaseAgreementAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_dc045a63-3e0c-4a38-bf9a-d35ff2b295f5" xlink:to="loc_halo_AcceleratedShareRepurchaseAgreementAmount_031d51f2-ebb4-43a1-b974-5988dfef329d" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AcceleratedShareRepurchasesSettlementPaymentOrReceipt_65dbdff8-89cd-4f07-a5e3-02d86af8aab9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AcceleratedShareRepurchasesSettlementPaymentOrReceipt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_dc045a63-3e0c-4a38-bf9a-d35ff2b295f5" xlink:to="loc_us-gaap_AcceleratedShareRepurchasesSettlementPaymentOrReceipt_65dbdff8-89cd-4f07-a5e3-02d86af8aab9" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_AcceleratedShareRepurchasesInitialSharesRepurchasedPercentage_2ec4aa2d-6a27-43a5-b5f6-4c5f4ec0386c" xlink:href="halo-20250930.xsd#halo_AcceleratedShareRepurchasesInitialSharesRepurchasedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_dc045a63-3e0c-4a38-bf9a-d35ff2b295f5" xlink:to="loc_halo_AcceleratedShareRepurchasesInitialSharesRepurchasedPercentage_2ec4aa2d-6a27-43a5-b5f6-4c5f4ec0386c" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AcceleratedShareRepurchasesFinalPricePaidPerShare_3aec1665-e251-4768-8d68-19c9befd9d85" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AcceleratedShareRepurchasesFinalPricePaidPerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_dc045a63-3e0c-4a38-bf9a-d35ff2b295f5" xlink:to="loc_us-gaap_AcceleratedShareRepurchasesFinalPricePaidPerShare_3aec1665-e251-4768-8d68-19c9befd9d85" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_e9025865-ed5f-48c9-9094-f93c49435a85" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_dc045a63-3e0c-4a38-bf9a-d35ff2b295f5" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_e9025865-ed5f-48c9-9094-f93c49435a85" xlink:type="arc" order="16"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.halozyme.com/role/StockholdersEquityAssumptionsUsedintheBlackScholesModelDetails" xlink:type="simple" xlink:href="halo-20250930.xsd#StockholdersEquityAssumptionsUsedintheBlackScholesModelDetails"/>
  <link:definitionLink xlink:role="http://www.halozyme.com/role/StockholdersEquityAssumptionsUsedintheBlackScholesModelDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_halo_ScheduleofSharebasedCompensationArrangementsValuationInputsLineItems_01879093-dde2-4155-bbe3-3e5ba3a8b7ec" xlink:href="halo-20250930.xsd#halo_ScheduleofSharebasedCompensationArrangementsValuationInputsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_ScheduleofSharebasedCompensationArrangementsValuationInputsTable_8397b0bc-49af-456a-b49e-dc645496a2c3" xlink:href="halo-20250930.xsd#halo_ScheduleofSharebasedCompensationArrangementsValuationInputsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_halo_ScheduleofSharebasedCompensationArrangementsValuationInputsLineItems_01879093-dde2-4155-bbe3-3e5ba3a8b7ec" xlink:to="loc_halo_ScheduleofSharebasedCompensationArrangementsValuationInputsTable_8397b0bc-49af-456a-b49e-dc645496a2c3" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_ade3f547-7158-4ca2-8f49-b4f8a7ba4c1e" 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_halo_ScheduleofSharebasedCompensationArrangementsValuationInputsTable_8397b0bc-49af-456a-b49e-dc645496a2c3" xlink:to="loc_srt_RangeAxis_ade3f547-7158-4ca2-8f49-b4f8a7ba4c1e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_ade3f547-7158-4ca2-8f49-b4f8a7ba4c1e_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_ade3f547-7158-4ca2-8f49-b4f8a7ba4c1e" xlink:to="loc_srt_RangeMember_ade3f547-7158-4ca2-8f49-b4f8a7ba4c1e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_f020b1e4-9778-4682-b4e7-493cda4521e2" 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_ade3f547-7158-4ca2-8f49-b4f8a7ba4c1e" xlink:to="loc_srt_RangeMember_f020b1e4-9778-4682-b4e7-493cda4521e2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_9f452998-819d-4679-8579-1bc52f72c0bd" 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_f020b1e4-9778-4682-b4e7-493cda4521e2" xlink:to="loc_srt_MinimumMember_9f452998-819d-4679-8579-1bc52f72c0bd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_2b8a3569-0735-4b92-9ce6-9db9a8117c9a" 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_f020b1e4-9778-4682-b4e7-493cda4521e2" xlink:to="loc_srt_MaximumMember_2b8a3569-0735-4b92-9ce6-9db9a8117c9a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsWeightedAverageVolatilityRate_af88fbbb-0f9b-4d55-9d14-a647a2f2c78f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsWeightedAverageVolatilityRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_halo_ScheduleofSharebasedCompensationArrangementsValuationInputsLineItems_01879093-dde2-4155-bbe3-3e5ba3a8b7ec" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsWeightedAverageVolatilityRate_af88fbbb-0f9b-4d55-9d14-a647a2f2c78f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_046fdb11-e460-4118-bf41-47b4181788cf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_halo_ScheduleofSharebasedCompensationArrangementsValuationInputsLineItems_01879093-dde2-4155-bbe3-3e5ba3a8b7ec" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_046fdb11-e460-4118-bf41-47b4181788cf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum_ad78132c-bb28-4d34-82f9-7ff7105a0a36" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_halo_ScheduleofSharebasedCompensationArrangementsValuationInputsLineItems_01879093-dde2-4155-bbe3-3e5ba3a8b7ec" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum_ad78132c-bb28-4d34-82f9-7ff7105a0a36" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum_de7bf970-05b9-4b49-ac89-97e0a2497097" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_halo_ScheduleofSharebasedCompensationArrangementsValuationInputsLineItems_01879093-dde2-4155-bbe3-3e5ba3a8b7ec" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum_de7bf970-05b9-4b49-ac89-97e0a2497097" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_b0f874e5-2e05-4a4e-9dfb-4be26346a0d5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_halo_ScheduleofSharebasedCompensationArrangementsValuationInputsLineItems_01879093-dde2-4155-bbe3-3e5ba3a8b7ec" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_b0f874e5-2e05-4a4e-9dfb-4be26346a0d5" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.halozyme.com/role/StockholdersEquityUnrecognizedEstimatedCompensationCostDetails" xlink:type="simple" xlink:href="halo-20250930.xsd#StockholdersEquityUnrecognizedEstimatedCompensationCostDetails"/>
  <link:definitionLink xlink:role="http://www.halozyme.com/role/StockholdersEquityUnrecognizedEstimatedCompensationCostDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_d52d56b1-9c06-4d78-85ef-1b79dc23fb34" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_4ea3eafa-9514-4f09-91b9-c7bf26779427" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_d52d56b1-9c06-4d78-85ef-1b79dc23fb34" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_4ea3eafa-9514-4f09-91b9-c7bf26779427" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_0326deec-466f-498a-9b0c-fe53094d65fd" 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_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_4ea3eafa-9514-4f09-91b9-c7bf26779427" xlink:to="loc_us-gaap_AwardTypeAxis_0326deec-466f-498a-9b0c-fe53094d65fd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0326deec-466f-498a-9b0c-fe53094d65fd_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_0326deec-466f-498a-9b0c-fe53094d65fd" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0326deec-466f-498a-9b0c-fe53094d65fd_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_a2c17b6a-d71e-4fd0-95bc-3350edd06753" 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_0326deec-466f-498a-9b0c-fe53094d65fd" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_a2c17b6a-d71e-4fd0-95bc-3350edd06753" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_01ffa21d-0f1a-4b6c-9984-b41429f18b01" 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_a2c17b6a-d71e-4fd0-95bc-3350edd06753" xlink:to="loc_us-gaap_EmployeeStockOptionMember_01ffa21d-0f1a-4b6c-9984-b41429f18b01" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_563faf48-f63a-4880-a64d-3e9a6cab6f4b" 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_a2c17b6a-d71e-4fd0-95bc-3350edd06753" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_563faf48-f63a-4880-a64d-3e9a6cab6f4b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceSharesMember_7101cc8e-4cef-4595-ba53-da14723be937" 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_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_a2c17b6a-d71e-4fd0-95bc-3350edd06753" xlink:to="loc_us-gaap_PerformanceSharesMember_7101cc8e-4cef-4595-ba53-da14723be937" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockMember_04664007-5e5f-45a7-ba2e-99f2fae0b591" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_a2c17b6a-d71e-4fd0-95bc-3350edd06753" xlink:to="loc_us-gaap_EmployeeStockMember_04664007-5e5f-45a7-ba2e-99f2fae0b591" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_9a22701d-91a7-443e-8948-039cdd3738ec" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_d52d56b1-9c06-4d78-85ef-1b79dc23fb34" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_9a22701d-91a7-443e-8948-039cdd3738ec" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_070da966-d3e0-42f8-8c93-a0177f65154f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_d52d56b1-9c06-4d78-85ef-1b79dc23fb34" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_070da966-d3e0-42f8-8c93-a0177f65154f" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.halozyme.com/role/StockholdersEquityShareRepurchaseProgramsDetails" xlink:type="simple" xlink:href="halo-20250930.xsd#StockholdersEquityShareRepurchaseProgramsDetails"/>
  <link:definitionLink xlink:role="http://www.halozyme.com/role/StockholdersEquityShareRepurchaseProgramsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_srt_ShareRepurchaseProgramLineItems_c7f35041-7050-4d42-90bc-2f9ed4cba2e6" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ShareRepurchaseProgramLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ShareRepurchaseProgramTable_c124f55a-4a81-4d91-a488-756b27f7848e" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ShareRepurchaseProgramTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_srt_ShareRepurchaseProgramLineItems_c7f35041-7050-4d42-90bc-2f9ed4cba2e6" xlink:to="loc_srt_ShareRepurchaseProgramTable_c124f55a-4a81-4d91-a488-756b27f7848e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ShareRepurchaseProgramAxis_df066d88-d2bd-4e4e-9490-717242a73ad0" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ShareRepurchaseProgramAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_srt_ShareRepurchaseProgramTable_c124f55a-4a81-4d91-a488-756b27f7848e" xlink:to="loc_srt_ShareRepurchaseProgramAxis_df066d88-d2bd-4e4e-9490-717242a73ad0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ShareRepurchaseProgramDomain_df066d88-d2bd-4e4e-9490-717242a73ad0_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ShareRepurchaseProgramDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ShareRepurchaseProgramAxis_df066d88-d2bd-4e4e-9490-717242a73ad0" xlink:to="loc_srt_ShareRepurchaseProgramDomain_df066d88-d2bd-4e4e-9490-717242a73ad0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ShareRepurchaseProgramDomain_e4e54b47-c292-44fc-baea-2cfe35d23af0" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ShareRepurchaseProgramDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ShareRepurchaseProgramAxis_df066d88-d2bd-4e4e-9490-717242a73ad0" xlink:to="loc_srt_ShareRepurchaseProgramDomain_e4e54b47-c292-44fc-baea-2cfe35d23af0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_ShareRepurchaseProgramMember_c48fbeca-411a-4bed-a76c-234030b9145d" xlink:href="halo-20250930.xsd#halo_ShareRepurchaseProgramMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ShareRepurchaseProgramDomain_e4e54b47-c292-44fc-baea-2cfe35d23af0" xlink:to="loc_halo_ShareRepurchaseProgramMember_c48fbeca-411a-4bed-a76c-234030b9145d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_298149dd-ec98-4c10-b49e-730cd9b73572" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ShareRepurchaseProgramLineItems_c7f35041-7050-4d42-90bc-2f9ed4cba2e6" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_298149dd-ec98-4c10-b49e-730cd9b73572" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockAcquiredAverageCostPerShare_ee4f1947-d7b4-460c-9f59-846d0fdc6080" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TreasuryStockAcquiredAverageCostPerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ShareRepurchaseProgramLineItems_c7f35041-7050-4d42-90bc-2f9ed4cba2e6" xlink:to="loc_us-gaap_TreasuryStockAcquiredAverageCostPerShare_ee4f1947-d7b4-460c-9f59-846d0fdc6080" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_d42ca8b5-946e-4c40-a94f-8f3dd638265d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ShareRepurchaseProgramLineItems_c7f35041-7050-4d42-90bc-2f9ed4cba2e6" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_d42ca8b5-946e-4c40-a94f-8f3dd638265d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_SharesAcquiredCommissionFeesCostPerShare_0975e707-0623-4111-8c9b-8d1b0dc45dc6" xlink:href="halo-20250930.xsd#halo_SharesAcquiredCommissionFeesCostPerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ShareRepurchaseProgramLineItems_c7f35041-7050-4d42-90bc-2f9ed4cba2e6" xlink:to="loc_halo_SharesAcquiredCommissionFeesCostPerShare_0975e707-0623-4111-8c9b-8d1b0dc45dc6" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.halozyme.com/role/EarningspershareBasicandDilutedIncomePerCommonShareComputationDetails" xlink:type="simple" xlink:href="halo-20250930.xsd#EarningspershareBasicandDilutedIncomePerCommonShareComputationDetails"/>
  <link:definitionLink xlink:role="http://www.halozyme.com/role/EarningspershareBasicandDilutedIncomePerCommonShareComputationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDilutedLineItems_d1a66a10-5efd-4fdf-a6a8-e11467504aa4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EarningsPerShareDilutedLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEarningsPerShareDilutedByCommonClassTable_41b5a09f-d568-468f-a52c-e7f9444e1aa0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfEarningsPerShareDilutedByCommonClassTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_d1a66a10-5efd-4fdf-a6a8-e11467504aa4" xlink:to="loc_us-gaap_ScheduleOfEarningsPerShareDilutedByCommonClassTable_41b5a09f-d568-468f-a52c-e7f9444e1aa0" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_14a724f5-0824-4940-82d6-d29559eefe8f" 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_ScheduleOfEarningsPerShareDilutedByCommonClassTable_41b5a09f-d568-468f-a52c-e7f9444e1aa0" xlink:to="loc_us-gaap_AwardTypeAxis_14a724f5-0824-4940-82d6-d29559eefe8f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_14a724f5-0824-4940-82d6-d29559eefe8f_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_14a724f5-0824-4940-82d6-d29559eefe8f" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_14a724f5-0824-4940-82d6-d29559eefe8f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2a9f3965-80cb-4e84-8665-3a6a8f98a45f" 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_14a724f5-0824-4940-82d6-d29559eefe8f" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2a9f3965-80cb-4e84-8665-3a6a8f98a45f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_ce93eddb-f83a-46f0-9be2-3a14228a699c" 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_2a9f3965-80cb-4e84-8665-3a6a8f98a45f" xlink:to="loc_us-gaap_EmployeeStockOptionMember_ce93eddb-f83a-46f0-9be2-3a14228a699c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_halo_RestrictStockUnitsPerformanceSharesAndESPPMember_9fb2238a-51af-4328-b175-b5882ea0786e" xlink:href="halo-20250930.xsd#halo_RestrictStockUnitsPerformanceSharesAndESPPMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_2a9f3965-80cb-4e84-8665-3a6a8f98a45f" xlink:to="loc_halo_RestrictStockUnitsPerformanceSharesAndESPPMember_9fb2238a-51af-4328-b175-b5882ea0786e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_60bcf586-692d-4d2f-9987-e29540e35bd7" 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_ScheduleOfEarningsPerShareDilutedByCommonClassTable_41b5a09f-d568-468f-a52c-e7f9444e1aa0" xlink:to="loc_us-gaap_DebtInstrumentAxis_60bcf586-692d-4d2f-9987-e29540e35bd7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_60bcf586-692d-4d2f-9987-e29540e35bd7_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_60bcf586-692d-4d2f-9987-e29540e35bd7" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_60bcf586-692d-4d2f-9987-e29540e35bd7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_649b0b0d-3c0b-408a-9cb5-5eae3109359c" 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_60bcf586-692d-4d2f-9987-e29540e35bd7" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_649b0b0d-3c0b-408a-9cb5-5eae3109359c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtSecuritiesMember_e7a582ab-7bdf-48d4-81b8-92cbf55bce4d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConvertibleDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_649b0b0d-3c0b-408a-9cb5-5eae3109359c" xlink:to="loc_us-gaap_ConvertibleDebtSecuritiesMember_e7a582ab-7bdf-48d4-81b8-92cbf55bce4d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDilutedAbstract_9fc8a26e-47ce-47c0-90e2-3fcf663619f6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersDilutedAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_d1a66a10-5efd-4fdf-a6a8-e11467504aa4" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDilutedAbstract_9fc8a26e-47ce-47c0-90e2-3fcf663619f6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_28197620-359f-4c97-9738-beabd80a7a60" 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_NetIncomeLossAvailableToCommonStockholdersDilutedAbstract_9fc8a26e-47ce-47c0-90e2-3fcf663619f6" xlink:to="loc_us-gaap_NetIncomeLoss_28197620-359f-4c97-9738-beabd80a7a60" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_b9368194-1d29-4e2a-ab6d-ba4569cd7792" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_d1a66a10-5efd-4fdf-a6a8-e11467504aa4" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_b9368194-1d29-4e2a-ab6d-ba4569cd7792" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_42a22107-c5e6-4029-b406-cb4b007e0d83" 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_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_b9368194-1d29-4e2a-ab6d-ba4569cd7792" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_42a22107-c5e6-4029-b406-cb4b007e0d83" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DilutiveSecuritiesAbstract_90b25ee5-6ca8-47ec-977a-b4fd36ea7766" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DilutiveSecuritiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_b9368194-1d29-4e2a-ab6d-ba4569cd7792" xlink:to="loc_us-gaap_DilutiveSecuritiesAbstract_90b25ee5-6ca8-47ec-977a-b4fd36ea7766" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_31f545fa-57c2-4c07-8358-e6075475a0ff" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DilutiveSecuritiesAbstract_90b25ee5-6ca8-47ec-977a-b4fd36ea7766" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_31f545fa-57c2-4c07-8358-e6075475a0ff" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_fc4a7ea2-e6b4-4d14-aa05-79ea19e63bd5" 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_DilutiveSecuritiesAbstract_90b25ee5-6ca8-47ec-977a-b4fd36ea7766" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_fc4a7ea2-e6b4-4d14-aa05-79ea19e63bd5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareReconciliationAbstract_130e959d-518b-4e4d-b27a-54e47fb0ea7c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EarningsPerShareReconciliationAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_d1a66a10-5efd-4fdf-a6a8-e11467504aa4" xlink:to="loc_us-gaap_EarningsPerShareReconciliationAbstract_130e959d-518b-4e4d-b27a-54e47fb0ea7c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasic_032ced43-e2be-4f9d-bfc3-ff689d62d4b2" 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_EarningsPerShareReconciliationAbstract_130e959d-518b-4e4d-b27a-54e47fb0ea7c" xlink:to="loc_us-gaap_EarningsPerShareBasic_032ced43-e2be-4f9d-bfc3-ff689d62d4b2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDiluted_e89f6cb6-ba96-4478-b88b-5bf05d67ba69" 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_EarningsPerShareReconciliationAbstract_130e959d-518b-4e4d-b27a-54e47fb0ea7c" xlink:to="loc_us-gaap_EarningsPerShareDiluted_e89f6cb6-ba96-4478-b88b-5bf05d67ba69" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fasb.org/us-gaap/role/eedm/ExtensibleEnumerationLists" xlink:type="simple" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-roles-2025.xsd#eedm"/>
  <link:definitionLink xlink:role="http://fasb.org/us-gaap/role/eedm/ExtensibleEnumerationLists" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrentAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrentAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent" xlink:type="arc" order="41"/>
  </link:definitionLink>
</link:linkbase>
