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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019f1f39-60d2-7e9f-8393-993f5fd394be,g:f7c9a8ed-55a0-4fe1-a7b0-83673c7f1bad-->
<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.donaldson.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY" xlink:type="simple" xlink:href="dci-20260731.xsd#CONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_019f1f39-62f9-735d-9845-5adaa118ef58" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_019f1f39-62f9-707a-856c-0caf8344991e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_019f1f39-62f9-735d-9845-5adaa118ef58" xlink:to="loc_us-gaap_StatementTable_019f1f39-62f9-707a-856c-0caf8344991e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_019f1f39-62f9-7ec0-90f5-238beeae671d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_019f1f39-62f9-707a-856c-0caf8344991e" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_019f1f39-62f9-7ec0-90f5-238beeae671d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019f1f39-62f9-7ec0-90f5-238beeae671d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019f1f39-62f9-7ec0-90f5-238beeae671d" xlink:to="loc_us-gaap_EquityComponentDomain_019f1f39-62f9-7ec0-90f5-238beeae671d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019f1f39-62f9-7b8a-8b1a-904a30834178" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019f1f39-62f9-7ec0-90f5-238beeae671d" xlink:to="loc_us-gaap_EquityComponentDomain_019f1f39-62f9-7b8a-8b1a-904a30834178" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_019f1f39-62f9-79bf-86ac-77993def8069" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019f1f39-62f9-7b8a-8b1a-904a30834178" xlink:to="loc_us-gaap_CommonStockMember_019f1f39-62f9-79bf-86ac-77993def8069" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_019f1f39-62f9-723e-b634-b79fef540d2f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019f1f39-62f9-7b8a-8b1a-904a30834178" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_019f1f39-62f9-723e-b634-b79fef540d2f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_019f1f39-62f9-79f2-acba-e1a84713c880" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019f1f39-62f9-7b8a-8b1a-904a30834178" xlink:to="loc_us-gaap_RetainedEarningsMember_019f1f39-62f9-79f2-acba-e1a84713c880" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_019f1f39-62f9-7a31-bfa6-76e8e13e2e38" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019f1f39-62f9-7b8a-8b1a-904a30834178" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_019f1f39-62f9-7a31-bfa6-76e8e13e2e38" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonMember_019f1f39-62f9-792d-ad99-557507e59c1a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockCommonMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019f1f39-62f9-7b8a-8b1a-904a30834178" xlink:to="loc_us-gaap_TreasuryStockCommonMember_019f1f39-62f9-792d-ad99-557507e59c1a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019f1f39-62f9-74ed-9f76-53008ae8cb51" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019f1f39-62f9-735d-9845-5adaa118ef58" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019f1f39-62f9-74ed-9f76-53008ae8cb51" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019f1f39-62f9-749d-a783-7c85848ff8bd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019f1f39-62f9-74ed-9f76-53008ae8cb51" xlink:to="loc_us-gaap_StockholdersEquity_019f1f39-62f9-749d-a783-7c85848ff8bd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxAbstract_019f1f39-62f9-7ff4-869a-dedbda1cad69" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComprehensiveIncomeNetOfTaxAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019f1f39-62f9-74ed-9f76-53008ae8cb51" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxAbstract_019f1f39-62f9-7ff4-869a-dedbda1cad69" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019f1f39-62f9-72c8-98a9-c1739fbd284d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxAbstract_019f1f39-62f9-7ff4-869a-dedbda1cad69" xlink:to="loc_us-gaap_NetIncomeLoss_019f1f39-62f9-72c8-98a9-c1739fbd284d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_019f1f39-62f9-719e-8551-8c7dcf795cb3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxAbstract_019f1f39-62f9-7ff4-869a-dedbda1cad69" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_019f1f39-62f9-719e-8551-8c7dcf795cb3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_019f1f39-62f9-7e7b-8e2e-782167b7b343" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxAbstract_019f1f39-62f9-7ff4-869a-dedbda1cad69" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentNetOfTax_019f1f39-62f9-7e7b-8e2e-782167b7b343" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax_019f1f39-62f9-77a5-a677-eeb4e2531d4f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxAbstract_019f1f39-62f9-7ff4-869a-dedbda1cad69" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax_019f1f39-62f9-77a5-a677-eeb4e2531d4f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax_019f1f39-62f9-76ca-8fde-5b094ecc2b68" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxAbstract_019f1f39-62f9-7ff4-869a-dedbda1cad69" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax_019f1f39-62f9-76ca-8fde-5b094ecc2b68" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_019f1f39-62f9-781e-ad48-59d03299ae5a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxAbstract_019f1f39-62f9-7ff4-869a-dedbda1cad69" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTax_019f1f39-62f9-781e-ad48-59d03299ae5a" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_019f1f39-62f9-7eb4-814c-c48d4dbab9c7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019f1f39-62f9-74ed-9f76-53008ae8cb51" xlink:to="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_019f1f39-62f9-7eb4-814c-c48d4dbab9c7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_019f1f39-62f9-7c39-88c6-501f425c3787" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019f1f39-62f9-74ed-9f76-53008ae8cb51" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_019f1f39-62f9-7c39-88c6-501f425c3787" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation_019f1f39-62f9-7156-9c59-e3f0bbda9f87" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019f1f39-62f9-74ed-9f76-53008ae8cb51" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation_019f1f39-62f9-7156-9c59-e3f0bbda9f87" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_DeferredStockAndOtherActivity_019f1f39-62f9-78dc-8f2a-3dfd5e5ce8c6" xlink:href="dci-20260731.xsd#dci_DeferredStockAndOtherActivity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019f1f39-62f9-74ed-9f76-53008ae8cb51" xlink:to="loc_dci_DeferredStockAndOtherActivity_019f1f39-62f9-78dc-8f2a-3dfd5e5ce8c6" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsCommonStockCash_019f1f39-62f9-729c-865f-51ca38018636" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DividendsCommonStockCash"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019f1f39-62f9-74ed-9f76-53008ae8cb51" xlink:to="loc_us-gaap_DividendsCommonStockCash_019f1f39-62f9-729c-865f-51ca38018636" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019f1f39-62f9-7a75-aabb-2e63e90c22fc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/EmployeeBenefitPlansTables" xlink:type="simple" xlink:href="dci-20260731.xsd#EmployeeBenefitPlansTables"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/EmployeeBenefitPlansTables" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-63a3-7dce-9df8-7f75e96fe548" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019f1f39-63a3-7552-bb37-c21a3eeecb16" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-63a3-7dce-9df8-7f75e96fe548" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019f1f39-63a3-7552-bb37-c21a3eeecb16" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationAxis_019f1f39-63a3-7957-9613-468e4761181c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanSponsorLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019f1f39-63a3-7552-bb37-c21a3eeecb16" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationAxis_019f1f39-63a3-7957-9613-468e4761181c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationDomain_019f1f39-63a3-7957-9613-468e4761181c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanSponsorLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationAxis_019f1f39-63a3-7957-9613-468e4761181c" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationDomain_019f1f39-63a3-7957-9613-468e4761181c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationDomain_019f1f39-63a3-77b1-b112-1f2106bd92ab" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanSponsorLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationAxis_019f1f39-63a3-7957-9613-468e4761181c" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationDomain_019f1f39-63a3-77b1-b112-1f2106bd92ab" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DomesticPlanMember_019f1f39-63a3-7133-adcc-242fd67bf003" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DomesticPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationDomain_019f1f39-63a3-77b1-b112-1f2106bd92ab" xlink:to="loc_us-gaap_DomesticPlanMember_019f1f39-63a3-7133-adcc-242fd67bf003" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_US_019f1f39-63a3-7a49-8191-5560dd7fdaa9" xlink:href="https://xbrl.sec.gov/country/2026/country-2026.xsd#country_US"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DomesticPlanMember_019f1f39-63a3-7133-adcc-242fd67bf003" xlink:to="loc_country_US_019f1f39-63a3-7a49-8191-5560dd7fdaa9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignPlanMember_019f1f39-63a3-7d33-8d63-f1780a4a8d6b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ForeignPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationDomain_019f1f39-63a3-77b1-b112-1f2106bd92ab" xlink:to="loc_us-gaap_ForeignPlanMember_019f1f39-63a3-7d33-8d63-f1780a4a8d6b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfNetBenefitCostsTableTextBlock_019f1f39-63a3-7b8d-8f91-431647e3ec82" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfNetBenefitCostsTableTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-63a3-7dce-9df8-7f75e96fe548" xlink:to="loc_us-gaap_ScheduleOfNetBenefitCostsTableTextBlock_019f1f39-63a3-7b8d-8f91-431647e3ec82" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfNetFundedStatusTableTextBlock_019f1f39-63a3-704a-ac6b-5d57c248b62f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfNetFundedStatusTableTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-63a3-7dce-9df8-7f75e96fe548" xlink:to="loc_us-gaap_ScheduleOfNetFundedStatusTableTextBlock_019f1f39-63a3-704a-ac6b-5d57c248b62f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_WeightedAverageDiscountRatesInDeterminingActuarialPresentValueOfProjectedBenefitObligationTableTextBlock_019f1f39-63a3-7558-8e23-8ff5e598f781" xlink:href="dci-20260731.xsd#dci_WeightedAverageDiscountRatesInDeterminingActuarialPresentValueOfProjectedBenefitObligationTableTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-63a3-7dce-9df8-7f75e96fe548" xlink:to="loc_dci_WeightedAverageDiscountRatesInDeterminingActuarialPresentValueOfProjectedBenefitObligationTableTextBlock_019f1f39-63a3-7558-8e23-8ff5e598f781" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAssumptionsUsedTableTextBlock_019f1f39-63a3-7ec5-9e5c-ceecd9c05bab" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfAssumptionsUsedTableTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-63a3-7dce-9df8-7f75e96fe548" xlink:to="loc_us-gaap_ScheduleOfAssumptionsUsedTableTextBlock_019f1f39-63a3-7ec5-9e5c-ceecd9c05bab" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAllocationOfPlanAssetsTableTextBlock_019f1f39-63a3-7bfc-b3f9-4634261775d4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfAllocationOfPlanAssetsTableTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-63a3-7dce-9df8-7f75e96fe548" xlink:to="loc_us-gaap_ScheduleOfAllocationOfPlanAssetsTableTextBlock_019f1f39-63a3-7bfc-b3f9-4634261775d4" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInvestmentsEntitiesThatCalculateNetAssetValuePerShareTableTextBlock_019f1f39-63a3-739e-baa2-5c677a58955f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInvestmentsEntitiesThatCalculateNetAssetValuePerShareTableTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-63a3-7dce-9df8-7f75e96fe548" xlink:to="loc_us-gaap_FairValueInvestmentsEntitiesThatCalculateNetAssetValuePerShareTableTextBlock_019f1f39-63a3-739e-baa2-5c677a58955f" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEffectOfSignificantUnobservableInputsChangesInPlanAssetsTableTextBlock_019f1f39-63a3-7a30-bb88-a9c349d021c2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfEffectOfSignificantUnobservableInputsChangesInPlanAssetsTableTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-63a3-7dce-9df8-7f75e96fe548" xlink:to="loc_us-gaap_ScheduleOfEffectOfSignificantUnobservableInputsChangesInPlanAssetsTableTextBlock_019f1f39-63a3-7a30-bb88-a9c349d021c2" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfExpectedBenefitPaymentsTableTextBlock_019f1f39-63a3-70aa-9b45-8f07a0a3d97b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfExpectedBenefitPaymentsTableTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-63a3-7dce-9df8-7f75e96fe548" xlink:to="loc_us-gaap_ScheduleOfExpectedBenefitPaymentsTableTextBlock_019f1f39-63a3-70aa-9b45-8f07a0a3d97b" xlink:type="arc" order="7"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/SummaryofSignificantAccountingPoliciesDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#SummaryofSignificantAccountingPoliciesDetails"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/SummaryofSignificantAccountingPoliciesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_019f1f39-62f9-7954-9214-534983d7258a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_019f1f39-62f9-71d7-a61e-0d12dcf20890" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_019f1f39-62f9-7954-9214-534983d7258a" xlink:to="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_019f1f39-62f9-71d7-a61e-0d12dcf20890" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_019f1f39-62f9-7016-b9dd-583eeb8cd567" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_019f1f39-62f9-71d7-a61e-0d12dcf20890" xlink:to="loc_srt_ProductOrServiceAxis_019f1f39-62f9-7016-b9dd-583eeb8cd567" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_019f1f39-62f9-7016-b9dd-583eeb8cd567_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_019f1f39-62f9-7016-b9dd-583eeb8cd567" xlink:to="loc_srt_ProductsAndServicesDomain_019f1f39-62f9-7016-b9dd-583eeb8cd567_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_019f1f39-62f9-7c08-a4c0-5dc9ba34355f" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_019f1f39-62f9-7016-b9dd-583eeb8cd567" xlink:to="loc_srt_ProductsAndServicesDomain_019f1f39-62f9-7c08-a4c0-5dc9ba34355f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShippingAndHandlingMember_019f1f39-62f9-76c7-8e73-c52398047c06" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShippingAndHandlingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_019f1f39-62f9-7c08-a4c0-5dc9ba34355f" xlink:to="loc_us-gaap_ShippingAndHandlingMember_019f1f39-62f9-76c7-8e73-c52398047c06" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_SolarisMember_019f1f39-62f9-71a8-91b7-e68bb89a78ff" xlink:href="dci-20260731.xsd#dci_SolarisMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_019f1f39-62f9-7c08-a4c0-5dc9ba34355f" xlink:to="loc_dci_SolarisMember_019f1f39-62f9-71a8-91b7-e68bb89a78ff" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_019f1f39-62f9-7b65-94b4-1fa35e8c9435" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_019f1f39-62f9-71d7-a61e-0d12dcf20890" xlink:to="loc_srt_RangeAxis_019f1f39-62f9-7b65-94b4-1fa35e8c9435" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019f1f39-62f9-7b65-94b4-1fa35e8c9435_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_019f1f39-62f9-7b65-94b4-1fa35e8c9435" xlink:to="loc_srt_RangeMember_019f1f39-62f9-7b65-94b4-1fa35e8c9435_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019f1f39-62f9-7a56-9b3e-f5aae2509409" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_019f1f39-62f9-7b65-94b4-1fa35e8c9435" xlink:to="loc_srt_RangeMember_019f1f39-62f9-7a56-9b3e-f5aae2509409" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_019f1f39-62f9-7c8a-a8d7-68d075fade6d" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019f1f39-62f9-7a56-9b3e-f5aae2509409" xlink:to="loc_srt_MinimumMember_019f1f39-62f9-7c8a-a8d7-68d075fade6d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_019f1f39-62f9-709e-9848-14b286cc0f11" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019f1f39-62f9-7a56-9b3e-f5aae2509409" xlink:to="loc_srt_MaximumMember_019f1f39-62f9-709e-9848-14b286cc0f11" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019f1f39-62f9-729d-a84f-e68f6e63812a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_019f1f39-62f9-71d7-a61e-0d12dcf20890" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019f1f39-62f9-729d-a84f-e68f6e63812a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019f1f39-62f9-729d-a84f-e68f6e63812a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019f1f39-62f9-729d-a84f-e68f6e63812a" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019f1f39-62f9-729d-a84f-e68f6e63812a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019f1f39-62f9-754a-9dde-bb81d6d5824c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019f1f39-62f9-729d-a84f-e68f6e63812a" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019f1f39-62f9-754a-9dde-bb81d6d5824c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BuildingAndBuildingImprovementsMember_019f1f39-62f9-70bd-9ed0-c7bc703e4f8a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BuildingAndBuildingImprovementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019f1f39-62f9-754a-9dde-bb81d6d5824c" xlink:to="loc_us-gaap_BuildingAndBuildingImprovementsMember_019f1f39-62f9-70bd-9ed0-c7bc703e4f8a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MachineryAndEquipmentMember_019f1f39-62f9-76dc-bbd8-e7b6ff428165" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MachineryAndEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019f1f39-62f9-754a-9dde-bb81d6d5824c" xlink:to="loc_us-gaap_MachineryAndEquipmentMember_019f1f39-62f9-76dc-bbd8-e7b6ff428165" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SoftwareDevelopmentMember_019f1f39-62f9-7357-b4f2-404622939136" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SoftwareDevelopmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019f1f39-62f9-754a-9dde-bb81d6d5824c" xlink:to="loc_us-gaap_SoftwareDevelopmentMember_019f1f39-62f9-7357-b4f2-404622939136" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019f1f39-62f9-7e56-9ecc-92e6e2b05a78" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_019f1f39-62f9-71d7-a61e-0d12dcf20890" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019f1f39-62f9-7e56-9ecc-92e6e2b05a78" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019f1f39-62f9-7e56-9ecc-92e6e2b05a78_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019f1f39-62f9-7e56-9ecc-92e6e2b05a78" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019f1f39-62f9-7e56-9ecc-92e6e2b05a78_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019f1f39-62f9-7d02-bef2-6945a3ced0df" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019f1f39-62f9-7e56-9ecc-92e6e2b05a78" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019f1f39-62f9-7d02-bef2-6945a3ced0df" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_PatentsAndTechnologyMember_019f1f39-62f9-78ec-bb6f-3e095d4c1c74" xlink:href="dci-20260731.xsd#dci_PatentsAndTechnologyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019f1f39-62f9-7d02-bef2-6945a3ced0df" xlink:to="loc_dci_PatentsAndTechnologyMember_019f1f39-62f9-78ec-bb6f-3e095d4c1c74" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncompeteAgreementsMember_019f1f39-62f9-74a8-b664-cffd2a5947c5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoncompeteAgreementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019f1f39-62f9-7d02-bef2-6945a3ced0df" xlink:to="loc_us-gaap_NoncompeteAgreementsMember_019f1f39-62f9-74a8-b664-cffd2a5947c5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerRelationshipsMember_019f1f39-62f9-78d7-9c03-a84860582fba" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CustomerRelationshipsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019f1f39-62f9-7d02-bef2-6945a3ced0df" xlink:to="loc_us-gaap_CustomerRelationshipsMember_019f1f39-62f9-78d7-9c03-a84860582fba" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TrademarksMember_019f1f39-62f9-755c-9c13-73c1c42fbb7b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TrademarksMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019f1f39-62f9-7d02-bef2-6945a3ced0df" xlink:to="loc_us-gaap_TrademarksMember_019f1f39-62f9-755c-9c13-73c1c42fbb7b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_019f1f39-62f9-7df6-8ab7-64c96519d5d5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_019f1f39-62f9-71d7-a61e-0d12dcf20890" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_019f1f39-62f9-7df6-8ab7-64c96519d5d5" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019f1f39-62f9-7df6-8ab7-64c96519d5d5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019f1f39-62f9-7df6-8ab7-64c96519d5d5" xlink:to="loc_us-gaap_SegmentDomain_019f1f39-62f9-7df6-8ab7-64c96519d5d5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019f1f39-62f9-7f82-99f5-ab0320bb9aa0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019f1f39-62f9-7df6-8ab7-64c96519d5d5" xlink:to="loc_us-gaap_SegmentDomain_019f1f39-62f9-7f82-99f5-ab0320bb9aa0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_LifeSciencesSegmentMember_019f1f39-62f9-7669-b615-9699616f5c16" xlink:href="dci-20260731.xsd#dci_LifeSciencesSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019f1f39-62f9-7f82-99f5-ab0320bb9aa0" xlink:to="loc_dci_LifeSciencesSegmentMember_019f1f39-62f9-7669-b615-9699616f5c16" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_019f1f39-62f9-7082-b032-9c125f8a6b40" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_019f1f39-62f9-71d7-a61e-0d12dcf20890" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_019f1f39-62f9-7082-b032-9c125f8a6b40" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019f1f39-62f9-7082-b032-9c125f8a6b40_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_019f1f39-62f9-7082-b032-9c125f8a6b40" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019f1f39-62f9-7082-b032-9c125f8a6b40_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019f1f39-62f9-7e2c-adf2-4a2c1500b330" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_019f1f39-62f9-7082-b032-9c125f8a6b40" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019f1f39-62f9-7e2c-adf2-4a2c1500b330" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_UnivercellsTechnologiesMember_019f1f39-62f9-7eba-b38e-8c62a41b621f" xlink:href="dci-20260731.xsd#dci_UnivercellsTechnologiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019f1f39-62f9-7e2c-adf2-4a2c1500b330" xlink:to="loc_dci_UnivercellsTechnologiesMember_019f1f39-62f9-7eba-b38e-8c62a41b621f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_01a046b5-2b96-7c94-8bf2-3a34966726f3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable_019f1f39-62f9-71d7-a61e-0d12dcf20890" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_01a046b5-2b96-7c94-8bf2-3a34966726f3" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_01a046b5-2b96-7c94-8bf2-3a34966726f3_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_01a046b5-2b96-7c94-8bf2-3a34966726f3" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_01a046b5-2b96-7c94-8bf2-3a34966726f3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_01a046b5-2b96-7bcf-8cea-54bde74e5430" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_01a046b5-2b96-7c94-8bf2-3a34966726f3" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_01a046b5-2b96-7bcf-8cea-54bde74e5430" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignExchangeForwardMember_01a046b5-2b96-775f-8cde-2f4f50d8dc31" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ForeignExchangeForwardMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_01a046b5-2b96-7bcf-8cea-54bde74e5430" xlink:to="loc_us-gaap_ForeignExchangeForwardMember_01a046b5-2b96-775f-8cde-2f4f50d8dc31" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedDuringPeriodValue_01a08ff8-ce84-7d6d-bbcc-23e6effa0653" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockRepurchasedDuringPeriodValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_019f1f39-62f9-7954-9214-534983d7258a" xlink:to="loc_us-gaap_StockRepurchasedDuringPeriodValue_01a08ff8-ce84-7d6d-bbcc-23e6effa0653" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_019f1f39-62f9-75ed-8c1b-0bc21e73950b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ForeignCurrencyTransactionGainLossBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_019f1f39-62f9-7954-9214-534983d7258a" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_019f1f39-62f9-75ed-8c1b-0bc21e73950b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfRevenue_019f1f39-62f9-73e3-a90d-38c3bc62270c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CostOfRevenue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_019f1f39-62f9-7954-9214-534983d7258a" xlink:to="loc_us-gaap_CostOfRevenue_019f1f39-62f9-73e3-a90d-38c3bc62270c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableSale_019f1f39-62f9-7a97-ae1e-7139ab4a0a74" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccountsReceivableSale"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_019f1f39-62f9-7954-9214-534983d7258a" xlink:to="loc_us-gaap_AccountsReceivableSale_019f1f39-62f9-7a97-ae1e-7139ab4a0a74" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfAccountsReceivable_019f1f39-62f9-7878-8860-59dc5014c110" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainLossOnSaleOfAccountsReceivable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_019f1f39-62f9-7954-9214-534983d7258a" xlink:to="loc_us-gaap_GainLossOnSaleOfAccountsReceivable_019f1f39-62f9-7878-8860-59dc5014c110" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfOtherReceivables_019f1f39-62f9-723d-926a-8354ea58079b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromSaleOfOtherReceivables"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_019f1f39-62f9-7954-9214-534983d7258a" xlink:to="loc_us-gaap_ProceedsFromSaleOfOtherReceivables_019f1f39-62f9-723d-926a-8354ea58079b" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PercentageOfLIFOInventory_019f1f39-63a1-7e47-b5b8-a1efa1deb229" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PercentageOfLIFOInventory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_019f1f39-62f9-7954-9214-534983d7258a" xlink:to="loc_us-gaap_PercentageOfLIFOInventory_019f1f39-63a1-7e47-b5b8-a1efa1deb229" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ExcessOfReplacementOrCurrentCostsOverStatedLIFOValue_019f1f39-63a1-737f-8625-5bb38bed2bf6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ExcessOfReplacementOrCurrentCostsOverStatedLIFOValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_019f1f39-62f9-7954-9214-534983d7258a" xlink:to="loc_us-gaap_ExcessOfReplacementOrCurrentCostsOverStatedLIFOValue_019f1f39-63a1-737f-8625-5bb38bed2bf6" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Depreciation_019f1f39-63a1-798b-bd7b-f8b547d92816" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Depreciation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_019f1f39-62f9-7954-9214-534983d7258a" xlink:to="loc_us-gaap_Depreciation_019f1f39-63a1-798b-bd7b-f8b547d92816" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_019f1f39-63a1-7520-b2c1-7bd9217feb68" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_019f1f39-62f9-7954-9214-534983d7258a" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_019f1f39-63a1-7520-b2c1-7bd9217feb68" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_CapitalizationOfDirectCostForPurchaseOfInternalUseSoftwareAmortizationPeriod_019f1f39-63a1-7ede-add2-43506259675b" xlink:href="dci-20260731.xsd#dci_CapitalizationOfDirectCostForPurchaseOfInternalUseSoftwareAmortizationPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_019f1f39-62f9-7954-9214-534983d7258a" xlink:to="loc_dci_CapitalizationOfDirectCostForPurchaseOfInternalUseSoftwareAmortizationPeriod_019f1f39-63a1-7ede-add2-43506259675b" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_019f1f39-63a1-7f68-ae5b-65693d76201a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_019f1f39-62f9-7954-9214-534983d7258a" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_019f1f39-63a1-7f68-ae5b-65693d76201a" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetImpairmentCharges_019f4011-3933-7bcf-b547-19aeef3e52c1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetImpairmentCharges"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_019f1f39-62f9-7954-9214-534983d7258a" xlink:to="loc_us-gaap_AssetImpairmentCharges_019f4011-3933-7bcf-b547-19aeef3e52c1" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairmentOfIntangibleAssetsFinitelived_019f1f39-63a1-7bce-9afd-797192184fc6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ImpairmentOfIntangibleAssetsFinitelived"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_019f1f39-62f9-7954-9214-534983d7258a" xlink:to="loc_us-gaap_ImpairmentOfIntangibleAssetsFinitelived_019f1f39-63a1-7bce-9afd-797192184fc6" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeTermOfContract_01a046b5-2b96-79f9-abc5-8c799b26f91a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeTermOfContract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems_019f1f39-62f9-7954-9214-534983d7258a" xlink:to="loc_us-gaap_DerivativeTermOfContract_01a046b5-2b96-79f9-abc5-8c799b26f91a" xlink:type="arc" order="14"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/AcquisitionsandEquityMethodInvestmentsNarrativeDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#AcquisitionsandEquityMethodInvestmentsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/AcquisitionsandEquityMethodInvestmentsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_019f1f39-63a1-7422-938a-bce3aad54e51" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019f1f39-63a1-7d9e-b0a8-ee22325a13bb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f1f39-63a1-7422-938a-bce3aad54e51" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019f1f39-63a1-7d9e-b0a8-ee22325a13bb" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_019f2672-4bca-754e-9930-102394281b31" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019f1f39-63a1-7d9e-b0a8-ee22325a13bb" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_019f2672-4bca-754e-9930-102394281b31" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019f2672-4bca-754e-9930-102394281b31_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_019f2672-4bca-754e-9930-102394281b31" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019f2672-4bca-754e-9930-102394281b31_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019f2672-4bca-73c4-934a-c591ea4ff1fc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_019f2672-4bca-754e-9930-102394281b31" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019f2672-4bca-73c4-934a-c591ea4ff1fc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_FiltrationGroupsFacetFiltrationMember_019f2674-e848-7f09-b6c7-701558f37399" xlink:href="dci-20260731.xsd#dci_FiltrationGroupsFacetFiltrationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019f2672-4bca-73c4-934a-c591ea4ff1fc" xlink:to="loc_dci_FiltrationGroupsFacetFiltrationMember_019f2674-e848-7f09-b6c7-701558f37399" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_019f26c9-abad-74ee-9fb2-c0c59d650d46" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019f1f39-63a1-7d9e-b0a8-ee22325a13bb" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_019f26c9-abad-74ee-9fb2-c0c59d650d46" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_019f26c9-abad-74ee-9fb2-c0c59d650d46_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_019f26c9-abad-74ee-9fb2-c0c59d650d46" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_019f26c9-abad-74ee-9fb2-c0c59d650d46_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_019f26ca-0d10-7e82-aa64-77ca58e81297" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_019f26c9-abad-74ee-9fb2-c0c59d650d46" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_019f26ca-0d10-7e82-aa64-77ca58e81297" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_MedicaS.p.AMember_019f26ca-373d-7ab2-a3e3-b7af92aa0b24" xlink:href="dci-20260731.xsd#dci_MedicaS.p.AMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_019f26ca-0d10-7e82-aa64-77ca58e81297" xlink:to="loc_dci_MedicaS.p.AMember_019f26ca-373d-7ab2-a3e3-b7af92aa0b24" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_019f26e1-0a93-7fed-86e0-5cbe1531606b" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019f1f39-63a1-7d9e-b0a8-ee22325a13bb" xlink:to="loc_dei_LegalEntityAxis_019f26e1-0a93-7fed-86e0-5cbe1531606b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019f26e1-0a93-7fed-86e0-5cbe1531606b_default" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_019f26e1-0a93-7fed-86e0-5cbe1531606b" xlink:to="loc_dei_EntityDomain_019f26e1-0a93-7fed-86e0-5cbe1531606b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019f26e2-56cf-70b6-9ce8-bad0331b2d61" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_019f26e1-0a93-7fed-86e0-5cbe1531606b" xlink:to="loc_dei_EntityDomain_019f26e2-56cf-70b6-9ce8-bad0331b2d61" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_FiltrationGroupsFacetFiltrationMember_019fd73b-3997-72a6-8c85-2c08503acc82" xlink:href="dci-20260731.xsd#dci_FiltrationGroupsFacetFiltrationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_019f26e2-56cf-70b6-9ce8-bad0331b2d61" xlink:to="loc_dci_FiltrationGroupsFacetFiltrationMember_019fd73b-3997-72a6-8c85-2c08503acc82" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_MedicaS.p.AMember_019f26e2-8b88-72f9-b472-5ba2393a67e4" xlink:href="dci-20260731.xsd#dci_MedicaS.p.AMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_019f26e2-56cf-70b6-9ce8-bad0331b2d61" xlink:to="loc_dci_MedicaS.p.AMember_019f26e2-8b88-72f9-b472-5ba2393a67e4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_01a01395-f94c-7589-9c62-776801833577" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019f1f39-63a1-7d9e-b0a8-ee22325a13bb" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_01a01395-f94c-7589-9c62-776801833577" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_01a01395-f94c-7589-9c62-776801833577_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_01a01395-f94c-7589-9c62-776801833577" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_01a01395-f94c-7589-9c62-776801833577_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_01a01395-f94c-7f36-b788-001f78f8f74a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_01a01395-f94c-7589-9c62-776801833577" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_01a01395-f94c-7f36-b788-001f78f8f74a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnsecuredDebtMember_01a01396-2cbc-7259-b271-69c44a8fea75" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnsecuredDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_01a01395-f94c-7f36-b788-001f78f8f74a" xlink:to="loc_us-gaap_UnsecuredDebtMember_01a01396-2cbc-7259-b271-69c44a8fea75" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_01a01396-5cb5-7984-b65d-ad639ec7a90e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019f1f39-63a1-7d9e-b0a8-ee22325a13bb" xlink:to="loc_us-gaap_DebtInstrumentAxis_01a01396-5cb5-7984-b65d-ad639ec7a90e" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_01a01396-5cb5-7984-b65d-ad639ec7a90e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_01a01396-5cb5-7984-b65d-ad639ec7a90e" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_01a01396-5cb5-7984-b65d-ad639ec7a90e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_01a01396-5cb5-7e75-871f-5dd3291c24d5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_01a01396-5cb5-7984-b65d-ad639ec7a90e" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_01a01396-5cb5-7e75-871f-5dd3291c24d5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_UnsecuredSeniorNotesDueMayFourTwoThousandTwentyNineMember_01a01396-a84d-7a65-a708-7c0797affe03" xlink:href="dci-20260731.xsd#dci_UnsecuredSeniorNotesDueMayFourTwoThousandTwentyNineMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_01a01396-5cb5-7e75-871f-5dd3291c24d5" xlink:to="loc_dci_UnsecuredSeniorNotesDueMayFourTwoThousandTwentyNineMember_01a01396-a84d-7a65-a708-7c0797affe03" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementScenarioAxis_01a046a6-ac5c-76e5-9c3a-9881d9670107" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_StatementScenarioAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019f1f39-63a1-7d9e-b0a8-ee22325a13bb" xlink:to="loc_srt_StatementScenarioAxis_01a046a6-ac5c-76e5-9c3a-9881d9670107" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_01a046a6-ac5c-76e5-9c3a-9881d9670107_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementScenarioAxis_01a046a6-ac5c-76e5-9c3a-9881d9670107" xlink:to="loc_srt_ScenarioUnspecifiedDomain_01a046a6-ac5c-76e5-9c3a-9881d9670107_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_01a046a6-ac5c-7d5a-9671-0263d73fd71e" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementScenarioAxis_01a046a6-ac5c-76e5-9c3a-9881d9670107" xlink:to="loc_srt_ScenarioUnspecifiedDomain_01a046a6-ac5c-7d5a-9671-0263d73fd71e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScenarioPlanMember_01a046a6-ac5c-7d09-8348-7c62b2b31c10" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScenarioPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ScenarioUnspecifiedDomain_01a046a6-ac5c-7d5a-9671-0263d73fd71e" xlink:to="loc_us-gaap_ScenarioPlanMember_01a046a6-ac5c-7d09-8348-7c62b2b31c10" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_01a046b6-b632-72a5-87ff-a5b958400f84" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019f1f39-63a1-7d9e-b0a8-ee22325a13bb" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_01a046b6-b632-72a5-87ff-a5b958400f84" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_01a046b6-b632-72a5-87ff-a5b958400f84_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_01a046b6-b632-72a5-87ff-a5b958400f84" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_01a046b6-b632-72a5-87ff-a5b958400f84_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_01a046b6-b632-73d3-96e0-1e493b3e5ad7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_01a046b6-b632-72a5-87ff-a5b958400f84" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_01a046b6-b632-73d3-96e0-1e493b3e5ad7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerRelationshipsMember_01a046b6-b632-711e-8e93-2374ec55295a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CustomerRelationshipsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_01a046b6-b632-73d3-96e0-1e493b3e5ad7" xlink:to="loc_us-gaap_CustomerRelationshipsMember_01a046b6-b632-711e-8e93-2374ec55295a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TrademarksMember_01a046b6-b632-728a-84b6-8cf24e1db090" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TrademarksMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_01a046b6-b632-73d3-96e0-1e493b3e5ad7" xlink:to="loc_us-gaap_TrademarksMember_01a046b6-b632-728a-84b6-8cf24e1db090" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherIntangibleAssetsMember_01a046b6-b632-75a0-85cb-b526c84e96f3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherIntangibleAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_01a046b6-b632-73d3-96e0-1e493b3e5ad7" xlink:to="loc_us-gaap_OtherIntangibleAssetsMember_01a046b6-b632-75a0-85cb-b526c84e96f3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_01a046b6-b632-7ddb-9e76-2f85fc43da68" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019f1f39-63a1-7d9e-b0a8-ee22325a13bb" xlink:to="loc_srt_RangeAxis_01a046b6-b632-7ddb-9e76-2f85fc43da68" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_01a046b6-b632-7ddb-9e76-2f85fc43da68_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_01a046b6-b632-7ddb-9e76-2f85fc43da68" xlink:to="loc_srt_RangeMember_01a046b6-b632-7ddb-9e76-2f85fc43da68_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_01a046b6-b632-7f46-ba52-588a76f1f058" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_01a046b6-b632-7ddb-9e76-2f85fc43da68" xlink:to="loc_srt_RangeMember_01a046b6-b632-7f46-ba52-588a76f1f058" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_01a046b6-b632-76b5-b08b-8e38525a2abd" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_01a046b6-b632-7f46-ba52-588a76f1f058" xlink:to="loc_srt_MinimumMember_01a046b6-b632-76b5-b08b-8e38525a2abd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_01a046b6-b632-7250-a2c8-39112a5b8724" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_01a046b6-b632-7f46-ba52-588a76f1f058" xlink:to="loc_srt_MaximumMember_01a046b6-b632-7250-a2c8-39112a5b8724" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_019f26f9-4166-7c5a-8c1c-0b3bcd7b8144" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f1f39-63a1-7422-938a-bce3aad54e51" xlink:to="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_019f26f9-4166-7c5a-8c1c-0b3bcd7b8144" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_019f2671-b0a9-714e-92e0-1215682e3cee" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f1f39-63a1-7422-938a-bce3aad54e51" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_019f2671-b0a9-714e-92e0-1215682e3cee" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross_019f2677-4be6-706f-8708-d0790f18b5ed" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireBusinessesGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f1f39-63a1-7422-938a-bce3aad54e51" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_019f2677-4be6-706f-8708-d0790f18b5ed" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_019f267a-e4c6-7685-8dbf-b01c8b334fc9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f1f39-63a1-7422-938a-bce3aad54e51" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_019f267a-e4c6-7685-8dbf-b01c8b334fc9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_019f267b-e2fc-7bb9-8795-98c4f5bb0e50" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f1f39-63a1-7422-938a-bce3aad54e51" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_019f267b-e2fc-7bb9-8795-98c4f5bb0e50" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_019f2688-9a6a-70bb-99cf-a9c83aef6fd1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f1f39-63a1-7422-938a-bce3aad54e51" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_019f2688-9a6a-70bb-99cf-a9c83aef6fd1" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityNumberOfEmployees_019f268d-cbf0-722c-9f2f-ce7fb8c9a672" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityNumberOfEmployees"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f1f39-63a1-7422-938a-bce3aad54e51" xlink:to="loc_dei_EntityNumberOfEmployees_019f268d-cbf0-722c-9f2f-ce7fb8c9a672" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_019fb0ce-bea2-758f-900c-be0b4dffe65b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Goodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f1f39-63a1-7422-938a-bce3aad54e51" xlink:to="loc_us-gaap_Goodwill_019fb0ce-bea2-758f-900c-be0b4dffe65b" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_01a01394-c7cd-7c11-a8f6-137ccd459244" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f1f39-63a1-7422-938a-bce3aad54e51" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_01a01394-c7cd-7c11-a8f6-137ccd459244" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities_019fb0cf-8517-72a6-bf49-817bb091e0c4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f1f39-63a1-7422-938a-bce3aad54e51" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities_019fb0cf-8517-72a6-bf49-817bb091e0c4" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets_019fb0d0-1c59-725e-b23b-298f7e4880e2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f1f39-63a1-7422-938a-bce3aad54e51" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets_019fb0d0-1c59-725e-b23b-298f7e4880e2" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefinitelivedIntangibleAssetsAcquired_01a046b6-b632-7d07-bd3f-ebb4c5b7dddd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IndefinitelivedIntangibleAssetsAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f1f39-63a1-7422-938a-bce3aad54e51" xlink:to="loc_us-gaap_IndefinitelivedIntangibleAssetsAcquired_01a046b6-b632-7d07-bd3f-ebb4c5b7dddd" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_01a046b6-b632-7c33-918c-042e84ae7bf0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f1f39-63a1-7422-938a-bce3aad54e51" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_01a046b6-b632-7c33-918c-042e84ae7bf0" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_019f477c-09ed-77c4-896d-1d33c65a5df4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f1f39-63a1-7422-938a-bce3aad54e51" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_019f477c-09ed-77c4-896d-1d33c65a5df4" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_019f26f5-d744-749e-9a9f-2619252b46cd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationAcquisitionRelatedCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f1f39-63a1-7422-938a-bce3aad54e51" xlink:to="loc_us-gaap_BusinessCombinationAcquisitionRelatedCosts_019f26f5-d744-749e-9a9f-2619252b46cd" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual_019f26f4-6608-7c4f-aeab-61518f341a53" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f1f39-63a1-7422-938a-bce3aad54e51" xlink:to="loc_us-gaap_BusinessCombinationProFormaInformationRevenueOfAcquireeSinceAcquisitionDateActual_019f26f4-6608-7c4f-aeab-61518f341a53" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual_019f26f4-ba0f-7096-864f-3cf5a778e6e6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f1f39-63a1-7422-938a-bce3aad54e51" xlink:to="loc_us-gaap_BusinessCombinationProFormaInformationEarningsOrLossOfAcquireeSinceAcquisitionDateActual_019f26f4-ba0f-7096-864f-3cf5a778e6e6" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_BusinessAcquisitionPostAcquisitionAmortizationExpense_01a04438-fc6c-7398-b9b7-163a4552197f" xlink:href="dci-20260731.xsd#dci_BusinessAcquisitionPostAcquisitionAmortizationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f1f39-63a1-7422-938a-bce3aad54e51" xlink:to="loc_dci_BusinessAcquisitionPostAcquisitionAmortizationExpense_01a04438-fc6c-7398-b9b7-163a4552197f" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_019f1f39-63a1-7c19-9bce-89a32448a5ea" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityMethodInvestmentOwnershipPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f1f39-63a1-7422-938a-bce3aad54e51" xlink:to="loc_us-gaap_EquityMethodInvestmentOwnershipPercentage_019f1f39-63a1-7c19-9bce-89a32448a5ea" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_019f1f39-63a1-7890-a9d0-f06f8b282c79" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireEquityMethodInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f1f39-63a1-7422-938a-bce3aad54e51" xlink:to="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments_019f1f39-63a1-7890-a9d0-f06f8b282c79" xlink:type="arc" order="19"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestmentAggregateCost_019f1f39-63a1-71a4-b057-58f8fe0d6c97" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityMethodInvestmentAggregateCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f1f39-63a1-7422-938a-bce3aad54e51" xlink:to="loc_us-gaap_EquityMethodInvestmentAggregateCost_019f1f39-63a1-71a4-b057-58f8fe0d6c97" xlink:type="arc" order="20"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_EquityMethodInvestmentOwnershipPercentageParent_019f1f39-63a1-7c4f-803d-9a11c2400f0e" xlink:href="dci-20260731.xsd#dci_EquityMethodInvestmentOwnershipPercentageParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f1f39-63a1-7422-938a-bce3aad54e51" xlink:to="loc_dci_EquityMethodInvestmentOwnershipPercentageParent_019f1f39-63a1-7c4f-803d-9a11c2400f0e" xlink:type="arc" order="21"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/AcquisitionsandEquityMethodInvestmentsScheduleofComponentsofAcquisitionsNetofCashAcquiredDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#AcquisitionsandEquityMethodInvestmentsScheduleofComponentsofAcquisitionsNetofCashAcquiredDetails"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/AcquisitionsandEquityMethodInvestmentsScheduleofComponentsofAcquisitionsNetofCashAcquiredDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_019f26ac-049a-7665-a471-688ab481860e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019f1f39-63a1-7fd6-a9db-c5e9e5f5d002" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f26ac-049a-7665-a471-688ab481860e" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019f1f39-63a1-7fd6-a9db-c5e9e5f5d002" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_019f1f39-63a1-7f68-9eaf-f8b64aa56bdc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019f1f39-63a1-7fd6-a9db-c5e9e5f5d002" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_019f1f39-63a1-7f68-9eaf-f8b64aa56bdc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019f1f39-63a1-7f68-9eaf-f8b64aa56bdc_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_019f1f39-63a1-7f68-9eaf-f8b64aa56bdc" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019f1f39-63a1-7f68-9eaf-f8b64aa56bdc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019f1f39-63a1-783f-8d63-94243198f126" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_019f1f39-63a1-7f68-9eaf-f8b64aa56bdc" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019f1f39-63a1-783f-8d63-94243198f126" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_FiltrationGroupsFacetFiltrationMember_019f26e7-88bb-7fcb-b952-04ffa2866813" xlink:href="dci-20260731.xsd#dci_FiltrationGroupsFacetFiltrationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019f1f39-63a1-783f-8d63-94243198f126" xlink:to="loc_dci_FiltrationGroupsFacetFiltrationMember_019f26e7-88bb-7fcb-b952-04ffa2866813" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019f26e8-ce92-7711-bd39-d3f763c830f8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019f1f39-63a1-7fd6-a9db-c5e9e5f5d002" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019f26e8-ce92-7711-bd39-d3f763c830f8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019f26e8-ce92-7711-bd39-d3f763c830f8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019f26e8-ce92-7711-bd39-d3f763c830f8" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019f26e8-ce92-7711-bd39-d3f763c830f8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019f26e8-ce92-76cd-8713-bf20cfee2368" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019f26e8-ce92-7711-bd39-d3f763c830f8" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019f26e8-ce92-76cd-8713-bf20cfee2368" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TrademarksAndTradeNamesMember_019f26e9-f57d-77e2-ad78-47d73e248d86" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TrademarksAndTradeNamesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019f26e8-ce92-76cd-8713-bf20cfee2368" xlink:to="loc_us-gaap_TrademarksAndTradeNamesMember_019f26e9-f57d-77e2-ad78-47d73e248d86" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerRelationshipsMember_019f26eb-43bf-769c-b4b2-7fd30f8f3986" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CustomerRelationshipsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019f26e8-ce92-76cd-8713-bf20cfee2368" xlink:to="loc_us-gaap_CustomerRelationshipsMember_019f26eb-43bf-769c-b4b2-7fd30f8f3986" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractBasedIntangibleAssetsMember_019f26ec-41e0-7e05-b96b-aff974e27d65" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractBasedIntangibleAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019f26e8-ce92-76cd-8713-bf20cfee2368" xlink:to="loc_us-gaap_ContractBasedIntangibleAssetsMember_019f26ec-41e0-7e05-b96b-aff974e27d65" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAbstract_01a04397-0f6e-7082-af9d-6e8ec69b1111" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f26ac-049a-7665-a471-688ab481860e" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAbstract_01a04397-0f6e-7082-af9d-6e8ec69b1111" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_019f26ac-f630-79f5-aabd-d472ab90650a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAbstract_01a04397-0f6e-7082-af9d-6e8ec69b1111" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_019f26ac-f630-79f5-aabd-d472ab90650a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_01a00d69-282b-7954-bdd6-00dcd34c6e6f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAbstract_01a04397-0f6e-7082-af9d-6e8ec69b1111" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_01a00d69-282b-7954-bdd6-00dcd34c6e6f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory_01a00d69-5dbd-7800-956d-88db9fee0e56" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAbstract_01a04397-0f6e-7082-af9d-6e8ec69b1111" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory_01a00d69-5dbd-7800-956d-88db9fee0e56" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_01a04375-5acb-7710-aec8-1204f2e49b86" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAbstract_01a04397-0f6e-7082-af9d-6e8ec69b1111" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_01a04375-5acb-7710-aec8-1204f2e49b86" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_019f26ac-a411-7cf8-b4f5-9d5ec0dac627" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Goodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAbstract_01a04397-0f6e-7082-af9d-6e8ec69b1111" xlink:to="loc_us-gaap_Goodwill_019f26ac-a411-7cf8-b4f5-9d5ec0dac627" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwillAbstract_01a013ef-91dc-7d96-9ad3-e5579ba27c45" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwillAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f26ac-049a-7665-a471-688ab481860e" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwillAbstract_01a013ef-91dc-7d96-9ad3-e5579ba27c45" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_01a01389-e28f-780e-ac5d-1c02f7c84f71" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwillAbstract_01a013ef-91dc-7d96-9ad3-e5579ba27c45" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_01a01389-e28f-780e-ac5d-1c02f7c84f71" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets_019f26ac-cc49-72a0-ade6-2e46e86a21b6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f26ac-049a-7665-a471-688ab481860e" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets_019f26ac-cc49-72a0-ade6-2e46e86a21b6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_01a04378-9e42-7d34-b164-c00e2e0eb726" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f26ac-049a-7665-a471-688ab481860e" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets_01a04378-9e42-7d34-b164-c00e2e0eb726" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAcquiredIncludingGoodwill_01a04379-37ce-727a-a38d-c6388b919583" xlink:href="dci-20260731.xsd#dci_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAcquiredIncludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f26ac-049a-7665-a471-688ab481860e" xlink:to="loc_dci_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAcquiredIncludingGoodwill_01a04379-37ce-727a-a38d-c6388b919583" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesAbstract_01a04399-c821-7760-b8a0-3ecc1254c0c6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f26ac-049a-7665-a471-688ab481860e" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesAbstract_01a04399-c821-7760-b8a0-3ecc1254c0c6" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_01a0437c-325d-7aad-b738-d0426c2184fb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesAbstract_01a04399-c821-7760-b8a0-3ecc1254c0c6" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_01a0437c-325d-7aad-b738-d0426c2184fb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesDeferredRevenue_01a043e9-0b27-7253-b193-df26e1385d7f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesDeferredRevenue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesAbstract_01a04399-c821-7760-b8a0-3ecc1254c0c6" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesDeferredRevenue_01a043e9-0b27-7253-b193-df26e1385d7f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities_019f26ac-e091-753f-ad7f-a2eb70e83f58" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesAbstract_01a04399-c821-7760-b8a0-3ecc1254c0c6" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities_019f26ac-e091-753f-ad7f-a2eb70e83f58" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther_01a0439e-51fa-7ffe-865e-74af65aee496" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesAbstract_01a04399-c821-7760-b8a0-3ecc1254c0c6" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther_01a0439e-51fa-7ffe-865e-74af65aee496" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_019f26ac-85b4-7623-af3b-a56f13d6b450" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f26ac-049a-7665-a471-688ab481860e" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_019f26ac-85b4-7623-af3b-a56f13d6b450" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_01a043f4-1fa3-7b27-b0c7-6958b385d1dc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f26ac-049a-7665-a471-688ab481860e" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_01a043f4-1fa3-7b27-b0c7-6958b385d1dc" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_019f26ac-b8de-7fb5-b3fe-4ad4c77c8ea1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationConsiderationTransferred1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f26ac-049a-7665-a471-688ab481860e" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_019f26ac-b8de-7fb5-b3fe-4ad4c77c8ea1" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAcquiredFromAcquisition_01a043f5-5bd6-79a1-af96-7004f1ae22c7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAcquiredFromAcquisition"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f26ac-049a-7665-a471-688ab481860e" xlink:to="loc_us-gaap_CashAcquiredFromAcquisition_01a043f5-5bd6-79a1-af96-7004f1ae22c7" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_019f26ad-0ad8-7efb-90fa-cfb4142ae115" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f26ac-049a-7665-a471-688ab481860e" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_019f26ad-0ad8-7efb-90fa-cfb4142ae115" xlink:type="arc" order="10"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/RevenueScheduleofDisaggregationofRevenueDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#RevenueScheduleofDisaggregationofRevenueDetails"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/RevenueScheduleofDisaggregationofRevenueDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_019f1f39-63a1-7670-8feb-8f44c31608f8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_019f1f39-63a1-7502-b93b-519549f160c1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_019f1f39-63a1-7670-8feb-8f44c31608f8" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_019f1f39-63a1-7502-b93b-519549f160c1" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementGeographicalAxis_019f1f39-63a1-7b26-9044-a55f01649190" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_StatementGeographicalAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_019f1f39-63a1-7502-b93b-519549f160c1" xlink:to="loc_srt_StatementGeographicalAxis_019f1f39-63a1-7b26-9044-a55f01649190" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_019f1f39-63a1-7b26-9044-a55f01649190_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_019f1f39-63a1-7b26-9044-a55f01649190" xlink:to="loc_srt_SegmentGeographicalDomain_019f1f39-63a1-7b26-9044-a55f01649190_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_019f1f39-63a1-7522-ab59-f4bb958dcb5d" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_019f1f39-63a1-7b26-9044-a55f01649190" xlink:to="loc_srt_SegmentGeographicalDomain_019f1f39-63a1-7522-ab59-f4bb958dcb5d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_UnitedStatesAndCanadaMember_019f1f39-63a1-728f-90ad-b2ca53a74deb" xlink:href="dci-20260731.xsd#dci_UnitedStatesAndCanadaMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_019f1f39-63a1-7522-ab59-f4bb958dcb5d" xlink:to="loc_dci_UnitedStatesAndCanadaMember_019f1f39-63a1-728f-90ad-b2ca53a74deb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EMEAMember_019f1f39-63a1-785d-86a5-fad59e9fb0bf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EMEAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_019f1f39-63a1-7522-ab59-f4bb958dcb5d" xlink:to="loc_us-gaap_EMEAMember_019f1f39-63a1-785d-86a5-fad59e9fb0bf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_AsiaPacificMember_019f1f39-63a1-7d43-9043-e1c7c2f1edd2" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_AsiaPacificMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_019f1f39-63a1-7522-ab59-f4bb958dcb5d" xlink:to="loc_srt_AsiaPacificMember_019f1f39-63a1-7d43-9043-e1c7c2f1edd2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_LatinAmericaMember_019f1f39-63a1-7b9e-a792-ac50d7c1f316" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_LatinAmericaMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_019f1f39-63a1-7522-ab59-f4bb958dcb5d" xlink:to="loc_srt_LatinAmericaMember_019f1f39-63a1-7b9e-a792-ac50d7c1f316" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_019f1f39-63a1-71c6-ae48-212d87487940" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_019f1f39-63a1-7670-8feb-8f44c31608f8" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_019f1f39-63a1-71c6-ae48-212d87487940" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/PropertyPlantandEquipmentNetDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#PropertyPlantandEquipmentNetDetails"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/PropertyPlantandEquipmentNetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_019f1f39-63a2-7075-a063-1a54e3d79f8e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_019f1f39-63a2-74bf-9bfc-886498be4734" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_019f1f39-63a2-7075-a063-1a54e3d79f8e" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_019f1f39-63a2-74bf-9bfc-886498be4734" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019f1f39-63a2-7d9f-ab84-bf7f380c730f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_019f1f39-63a2-74bf-9bfc-886498be4734" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019f1f39-63a2-7d9f-ab84-bf7f380c730f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019f1f39-63a2-7d9f-ab84-bf7f380c730f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019f1f39-63a2-7d9f-ab84-bf7f380c730f" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019f1f39-63a2-7d9f-ab84-bf7f380c730f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019f1f39-63a2-73ff-93cf-fdda83353f9b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019f1f39-63a2-7d9f-ab84-bf7f380c730f" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019f1f39-63a2-73ff-93cf-fdda83353f9b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LandMember_019f1f39-63a2-7dd9-a33d-227236ab99d1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LandMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019f1f39-63a2-73ff-93cf-fdda83353f9b" xlink:to="loc_us-gaap_LandMember_019f1f39-63a2-7dd9-a33d-227236ab99d1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BuildingMember_019f1f39-63a2-7d12-9310-196e77462606" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BuildingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019f1f39-63a2-73ff-93cf-fdda83353f9b" xlink:to="loc_us-gaap_BuildingMember_019f1f39-63a2-7d12-9310-196e77462606" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MachineryAndEquipmentMember_019f1f39-63a2-7e5c-9856-289c3616c077" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MachineryAndEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019f1f39-63a2-73ff-93cf-fdda83353f9b" xlink:to="loc_us-gaap_MachineryAndEquipmentMember_019f1f39-63a2-7e5c-9856-289c3616c077" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SoftwareDevelopmentMember_019f1f39-63a2-74a3-a8de-74ebe9e5aade" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SoftwareDevelopmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019f1f39-63a2-73ff-93cf-fdda83353f9b" xlink:to="loc_us-gaap_SoftwareDevelopmentMember_019f1f39-63a2-74a3-a8de-74ebe9e5aade" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConstructionInProgressMember_019f1f39-63a2-7eb0-bbca-0a8b7b8f9f79" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ConstructionInProgressMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019f1f39-63a2-73ff-93cf-fdda83353f9b" xlink:to="loc_us-gaap_ConstructionInProgressMember_019f1f39-63a2-7eb0-bbca-0a8b7b8f9f79" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_019f1f39-63a2-7b47-8623-f434c769c071" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_019f1f39-63a2-7075-a063-1a54e3d79f8e" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_019f1f39-63a2-7b47-8623-f434c769c071" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_019f1f39-63a2-70a7-ae46-f5a3124abba6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_019f1f39-63a2-7075-a063-1a54e3d79f8e" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_019f1f39-63a2-70a7-ae46-f5a3124abba6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_019f1f39-63a2-7aef-91d7-d67988d1bf76" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_019f1f39-63a2-7075-a063-1a54e3d79f8e" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_019f1f39-63a2-7aef-91d7-d67988d1bf76" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/GoodwillandIntangibleAssetsScheduleofReconciliationofGoodwillDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#GoodwillandIntangibleAssetsScheduleofReconciliationofGoodwillDetails"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/GoodwillandIntangibleAssetsScheduleofReconciliationofGoodwillDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillLineItems_019f1f39-63a2-712f-9a5c-d57a39194eb2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GoodwillLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfGoodwillTable_019f1f39-63a2-7e26-9191-a71eb9f7ad0f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfGoodwillTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GoodwillLineItems_019f1f39-63a2-712f-9a5c-d57a39194eb2" xlink:to="loc_us-gaap_ScheduleOfGoodwillTable_019f1f39-63a2-7e26-9191-a71eb9f7ad0f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_019f1f39-63a2-7321-8ac9-1e61ee34b2ad" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_019f1f39-63a2-7e26-9191-a71eb9f7ad0f" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_019f1f39-63a2-7321-8ac9-1e61ee34b2ad" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019f1f39-63a2-7321-8ac9-1e61ee34b2ad_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019f1f39-63a2-7321-8ac9-1e61ee34b2ad" xlink:to="loc_us-gaap_SegmentDomain_019f1f39-63a2-7321-8ac9-1e61ee34b2ad_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019f1f39-63a2-72f7-a134-d02e2c0fa0b3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019f1f39-63a2-7321-8ac9-1e61ee34b2ad" xlink:to="loc_us-gaap_SegmentDomain_019f1f39-63a2-72f7-a134-d02e2c0fa0b3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_MobileSolutionsSegmentMember_019f1f39-63a2-793c-a684-066bae0aad0d" xlink:href="dci-20260731.xsd#dci_MobileSolutionsSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019f1f39-63a2-72f7-a134-d02e2c0fa0b3" xlink:to="loc_dci_MobileSolutionsSegmentMember_019f1f39-63a2-793c-a684-066bae0aad0d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_IndustrialSolutionsSegmentMember_019f1f39-63a2-7e4a-91b5-fca2f4d2c9f6" xlink:href="dci-20260731.xsd#dci_IndustrialSolutionsSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019f1f39-63a2-72f7-a134-d02e2c0fa0b3" xlink:to="loc_dci_IndustrialSolutionsSegmentMember_019f1f39-63a2-7e4a-91b5-fca2f4d2c9f6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_LifeSciencesSegmentMember_019f1f39-63a2-7ae3-a273-acb3f531ec69" xlink:href="dci-20260731.xsd#dci_LifeSciencesSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019f1f39-63a2-72f7-a134-d02e2c0fa0b3" xlink:to="loc_dci_LifeSciencesSegmentMember_019f1f39-63a2-7ae3-a273-acb3f531ec69" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillRollForward_019f1f39-63a2-773d-b45f-2def7f3fb98d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GoodwillRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_019f1f39-63a2-712f-9a5c-d57a39194eb2" xlink:to="loc_us-gaap_GoodwillRollForward_019f1f39-63a2-773d-b45f-2def7f3fb98d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_019f1f39-63a2-7583-a110-7080861d8b38" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Goodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_019f1f39-63a2-773d-b45f-2def7f3fb98d" xlink:to="loc_us-gaap_Goodwill_019f1f39-63a2-7583-a110-7080861d8b38" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillAcquiredDuringPeriod_019f1f39-63a2-7aa8-9d58-1e30c05f2367" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GoodwillAcquiredDuringPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_019f1f39-63a2-773d-b45f-2def7f3fb98d" xlink:to="loc_us-gaap_GoodwillAcquiredDuringPeriod_019f1f39-63a2-7aa8-9d58-1e30c05f2367" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillForeignCurrencyTranslationGainLoss_019f1f39-63a2-7c13-98f5-8d43647303e8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GoodwillForeignCurrencyTranslationGainLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_019f1f39-63a2-773d-b45f-2def7f3fb98d" xlink:to="loc_us-gaap_GoodwillForeignCurrencyTranslationGainLoss_019f1f39-63a2-7c13-98f5-8d43647303e8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_019f1f39-63a2-7487-b799-7298e8806482" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Goodwill"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/GoodwillandIntangibleAssetsNarrativeDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#GoodwillandIntangibleAssetsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/GoodwillandIntangibleAssetsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019f1f39-63a2-76a2-aaa7-b11e79815502" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_019f1f39-63a2-7184-b656-e4cba64fe586" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019f1f39-63a2-76a2-aaa7-b11e79815502" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_019f1f39-63a2-7184-b656-e4cba64fe586" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_019f1f39-63a2-7b6a-a34f-9378e9125619" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_019f1f39-63a2-7184-b656-e4cba64fe586" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_019f1f39-63a2-7b6a-a34f-9378e9125619" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019f1f39-63a2-7b6a-a34f-9378e9125619_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019f1f39-63a2-7b6a-a34f-9378e9125619" xlink:to="loc_us-gaap_SegmentDomain_019f1f39-63a2-7b6a-a34f-9378e9125619_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019f1f39-63a2-7f54-86f4-c63ea83d62ee" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019f1f39-63a2-7b6a-a34f-9378e9125619" xlink:to="loc_us-gaap_SegmentDomain_019f1f39-63a2-7f54-86f4-c63ea83d62ee" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_IndustrialSolutionsSegmentMember_019f408c-8c53-7a48-8dab-0962cf3b0b70" xlink:href="dci-20260731.xsd#dci_IndustrialSolutionsSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019f1f39-63a2-7f54-86f4-c63ea83d62ee" xlink:to="loc_dci_IndustrialSolutionsSegmentMember_019f408c-8c53-7a48-8dab-0962cf3b0b70" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_LifeSciencesSegmentMember_019f1f39-63a2-7c6c-b27d-9d8bfdce1c97" xlink:href="dci-20260731.xsd#dci_LifeSciencesSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019f1f39-63a2-7f54-86f4-c63ea83d62ee" xlink:to="loc_dci_LifeSciencesSegmentMember_019f1f39-63a2-7c6c-b27d-9d8bfdce1c97" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019f1f39-63a2-7148-9c1d-e42341ef7f79" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_019f1f39-63a2-7184-b656-e4cba64fe586" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019f1f39-63a2-7148-9c1d-e42341ef7f79" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019f1f39-63a2-7148-9c1d-e42341ef7f79_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019f1f39-63a2-7148-9c1d-e42341ef7f79" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019f1f39-63a2-7148-9c1d-e42341ef7f79_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019f1f39-63a2-7b54-ad43-e2e71ae19ee4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019f1f39-63a2-7148-9c1d-e42341ef7f79" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019f1f39-63a2-7b54-ad43-e2e71ae19ee4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerRelationshipsMember_019f1f39-63a2-70f5-993e-e020b4ff900a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CustomerRelationshipsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019f1f39-63a2-7b54-ad43-e2e71ae19ee4" xlink:to="loc_us-gaap_CustomerRelationshipsMember_019f1f39-63a2-70f5-993e-e020b4ff900a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TrademarksMember_019f1f39-63a2-73cf-8966-e051c52a3d51" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TrademarksMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019f1f39-63a2-7b54-ad43-e2e71ae19ee4" xlink:to="loc_us-gaap_TrademarksMember_019f1f39-63a2-73cf-8966-e051c52a3d51" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_TechnologyAndPatentsMember_019f1f39-63a2-7dfa-bbcc-2b4212eed319" xlink:href="dci-20260731.xsd#dci_TechnologyAndPatentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019f1f39-63a2-7b54-ad43-e2e71ae19ee4" xlink:to="loc_dci_TechnologyAndPatentsMember_019f1f39-63a2-7dfa-bbcc-2b4212eed319" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncompeteAgreementsMember_019f1f39-63a2-7f46-81bb-5b59fc148ad7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoncompeteAgreementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019f1f39-63a2-7b54-ad43-e2e71ae19ee4" xlink:to="loc_us-gaap_NoncompeteAgreementsMember_019f1f39-63a2-7f46-81bb-5b59fc148ad7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherIntangibleAssetsMember_01a0443b-17ef-732c-8a49-745a62b86814" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherIntangibleAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019f1f39-63a2-7b54-ad43-e2e71ae19ee4" xlink:to="loc_us-gaap_OtherIntangibleAssetsMember_01a0443b-17ef-732c-8a49-745a62b86814" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_019f1f39-63a2-7589-8680-fe7b2b74192a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_019f1f39-63a2-7184-b656-e4cba64fe586" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_019f1f39-63a2-7589-8680-fe7b2b74192a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019f1f39-63a2-7589-8680-fe7b2b74192a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_019f1f39-63a2-7589-8680-fe7b2b74192a" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019f1f39-63a2-7589-8680-fe7b2b74192a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019f1f39-63a2-7c8d-82c2-61acaa294f4d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_019f1f39-63a2-7589-8680-fe7b2b74192a" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019f1f39-63a2-7c8d-82c2-61acaa294f4d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_UnivercellsTechnologiesMember_019f1f39-63a2-7cbc-94db-f4c77bb92831" xlink:href="dci-20260731.xsd#dci_UnivercellsTechnologiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019f1f39-63a2-7c8d-82c2-61acaa294f4d" xlink:to="loc_dci_UnivercellsTechnologiesMember_019f1f39-63a2-7cbc-94db-f4c77bb92831" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_FiltrationGroupsFacetFiltrationMember_01a0452c-d464-731d-95cc-15dc2f8eae7d" xlink:href="dci-20260731.xsd#dci_FiltrationGroupsFacetFiltrationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019f1f39-63a2-7c8d-82c2-61acaa294f4d" xlink:to="loc_dci_FiltrationGroupsFacetFiltrationMember_01a0452c-d464-731d-95cc-15dc2f8eae7d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_019f1f39-63a2-7345-a521-95f83918a82f" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_019f1f39-63a2-7184-b656-e4cba64fe586" xlink:to="loc_srt_ProductOrServiceAxis_019f1f39-63a2-7345-a521-95f83918a82f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_019f1f39-63a2-7345-a521-95f83918a82f_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_019f1f39-63a2-7345-a521-95f83918a82f" xlink:to="loc_srt_ProductsAndServicesDomain_019f1f39-63a2-7345-a521-95f83918a82f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_019f1f39-63a2-7552-a758-1118bd5c7f4e" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_019f1f39-63a2-7345-a521-95f83918a82f" xlink:to="loc_srt_ProductsAndServicesDomain_019f1f39-63a2-7552-a758-1118bd5c7f4e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_SolarisMember_019f1f39-63a2-7dd4-bf76-b266923a7c09" xlink:href="dci-20260731.xsd#dci_SolarisMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_019f1f39-63a2-7552-a758-1118bd5c7f4e" xlink:to="loc_dci_SolarisMember_019f1f39-63a2-7dd4-bf76-b266923a7c09" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_019fb102-ca03-77c0-a34c-a89f73c60a72" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_019f1f39-63a2-7184-b656-e4cba64fe586" xlink:to="loc_srt_RangeAxis_019fb102-ca03-77c0-a34c-a89f73c60a72" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019fb102-ca03-77c0-a34c-a89f73c60a72_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_019fb102-ca03-77c0-a34c-a89f73c60a72" xlink:to="loc_srt_RangeMember_019fb102-ca03-77c0-a34c-a89f73c60a72_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019fb102-ca03-7de0-ac71-609cdcfccbd3" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_019fb102-ca03-77c0-a34c-a89f73c60a72" xlink:to="loc_srt_RangeMember_019fb102-ca03-7de0-ac71-609cdcfccbd3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_019fb103-b357-79f4-ba8b-dbd67d9dddcb" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019fb102-ca03-7de0-ac71-609cdcfccbd3" xlink:to="loc_srt_MinimumMember_019fb103-b357-79f4-ba8b-dbd67d9dddcb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_019fb103-ed88-79f0-a4b9-1bfeb38cd5e9" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019fb102-ca03-7de0-ac71-609cdcfccbd3" xlink:to="loc_srt_MaximumMember_019fb103-ed88-79f0-a4b9-1bfeb38cd5e9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillAcquiredDuringPeriod_019f408c-8c53-72e0-a604-1e2a1171f592" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GoodwillAcquiredDuringPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019f1f39-63a2-76a2-aaa7-b11e79815502" xlink:to="loc_us-gaap_GoodwillAcquiredDuringPeriod_019f408c-8c53-72e0-a604-1e2a1171f592" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefinitelivedIntangibleAssetsAcquired_019fb108-d8a8-735b-a8f5-eece1b3af210" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IndefinitelivedIntangibleAssetsAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019f1f39-63a2-76a2-aaa7-b11e79815502" xlink:to="loc_us-gaap_IndefinitelivedIntangibleAssetsAcquired_019fb108-d8a8-735b-a8f5-eece1b3af210" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_01a0452c-d464-7882-89ba-10319dc112d6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019f1f39-63a2-76a2-aaa7-b11e79815502" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_01a0452c-d464-7882-89ba-10319dc112d6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_01a013cc-165f-7b30-875b-0bbf7217e888" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019f1f39-63a2-76a2-aaa7-b11e79815502" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_01a013cc-165f-7b30-875b-0bbf7217e888" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairmentOfIntangibleAssetsFinitelived_019f1f39-63a2-76b3-94c3-e595e776b779" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ImpairmentOfIntangibleAssetsFinitelived"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019f1f39-63a2-76a2-aaa7-b11e79815502" xlink:to="loc_us-gaap_ImpairmentOfIntangibleAssetsFinitelived_019f1f39-63a2-76b3-94c3-e595e776b779" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsForeignCurrencyTranslationGainLoss_019f1f39-63a2-7287-a8fe-79b6eca1c090" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsForeignCurrencyTranslationGainLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019f1f39-63a2-76a2-aaa7-b11e79815502" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsForeignCurrencyTranslationGainLoss_019f1f39-63a2-7287-a8fe-79b6eca1c090" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_019f1f39-63a2-7e0e-9d77-364c4f6a023d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019f1f39-63a2-76a2-aaa7-b11e79815502" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_019f1f39-63a2-7e0e-9d77-364c4f6a023d" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/GoodwillandIntangibleAssetsScheduleofReconciliationofIntangibleAssetsDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#GoodwillandIntangibleAssetsScheduleofReconciliationofIntangibleAssetsDetails"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/GoodwillandIntangibleAssetsScheduleofReconciliationofIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019f1f39-63a2-7020-b793-fd2126a2b3b5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_019f1f39-63a2-7d25-9b23-d020b64058a6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019f1f39-63a2-7020-b793-fd2126a2b3b5" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_019f1f39-63a2-7d25-9b23-d020b64058a6" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019f1f39-63a2-78f9-a765-787e7b0b73f5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_019f1f39-63a2-7d25-9b23-d020b64058a6" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019f1f39-63a2-78f9-a765-787e7b0b73f5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019f1f39-63a2-78f9-a765-787e7b0b73f5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019f1f39-63a2-78f9-a765-787e7b0b73f5" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019f1f39-63a2-78f9-a765-787e7b0b73f5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019f1f39-63a2-723d-ac39-75e3ae106fb7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019f1f39-63a2-78f9-a765-787e7b0b73f5" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019f1f39-63a2-723d-ac39-75e3ae106fb7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerRelationshipsMember_019f1f39-63a2-78ed-bb14-69b19923ba8a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CustomerRelationshipsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019f1f39-63a2-723d-ac39-75e3ae106fb7" xlink:to="loc_us-gaap_CustomerRelationshipsMember_019f1f39-63a2-78ed-bb14-69b19923ba8a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TrademarksMember_019f1f39-63a2-7347-95e3-06c0d7e55998" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TrademarksMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019f1f39-63a2-723d-ac39-75e3ae106fb7" xlink:to="loc_us-gaap_TrademarksMember_019f1f39-63a2-7347-95e3-06c0d7e55998" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TechnologyBasedIntangibleAssetsMember_019f1f39-63a2-7824-a1db-891174d25fcd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TechnologyBasedIntangibleAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019f1f39-63a2-723d-ac39-75e3ae106fb7" xlink:to="loc_us-gaap_TechnologyBasedIntangibleAssetsMember_019f1f39-63a2-7824-a1db-891174d25fcd" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncompeteAgreementsMember_019f1f39-63a2-71a1-9549-d9933d1fe44c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoncompeteAgreementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019f1f39-63a2-723d-ac39-75e3ae106fb7" xlink:to="loc_us-gaap_NoncompeteAgreementsMember_019f1f39-63a2-71a1-9549-d9933d1fe44c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherIntangibleAssetsMember_019fb0de-63fb-7cf8-8c24-c48009c7e8eb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherIntangibleAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019f1f39-63a2-723d-ac39-75e3ae106fb7" xlink:to="loc_us-gaap_OtherIntangibleAssetsMember_019fb0de-63fb-7cf8-8c24-c48009c7e8eb" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_019fb100-464b-75c7-afec-35dff7a10661" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_019f1f39-63a2-7d25-9b23-d020b64058a6" xlink:to="loc_srt_RangeAxis_019fb100-464b-75c7-afec-35dff7a10661" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019fb100-464b-75c7-afec-35dff7a10661_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_019fb100-464b-75c7-afec-35dff7a10661" xlink:to="loc_srt_RangeMember_019fb100-464b-75c7-afec-35dff7a10661_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019fb100-464b-768c-baaa-46ca3fd13d26" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_019fb100-464b-75c7-afec-35dff7a10661" xlink:to="loc_srt_RangeMember_019fb100-464b-768c-baaa-46ca3fd13d26" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_019fb100-6f0f-7ffd-851c-52c77faa1cf5" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019fb100-464b-768c-baaa-46ca3fd13d26" xlink:to="loc_srt_MinimumMember_019fb100-6f0f-7ffd-851c-52c77faa1cf5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_019fb100-ddad-770e-be65-2f9aa21fd5e1" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019fb100-464b-768c-baaa-46ca3fd13d26" xlink:to="loc_srt_MaximumMember_019fb100-ddad-770e-be65-2f9aa21fd5e1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_019f1f39-63a2-75a0-8dd1-fe11d4e855e5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019f1f39-63a2-7020-b793-fd2126a2b3b5" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_019f1f39-63a2-75a0-8dd1-fe11d4e855e5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_019f1f39-63a2-7b7a-a261-caed5b3f2bb1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019f1f39-63a2-7020-b793-fd2126a2b3b5" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_019f1f39-63a2-7b7a-a261-caed5b3f2bb1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_019f1f39-63a2-7540-9f57-657dab01a05f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019f1f39-63a2-7020-b793-fd2126a2b3b5" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_019f1f39-63a2-7540-9f57-657dab01a05f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019f1f39-63a2-753b-9a7f-4d5488469c84" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019f1f39-63a2-7020-b793-fd2126a2b3b5" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019f1f39-63a2-753b-9a7f-4d5488469c84" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/ShortTermBorrowingsandLongTermDebtScheduleofShortTermBorrowingsDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#ShortTermBorrowingsandLongTermDebtScheduleofShortTermBorrowingsDetails"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/ShortTermBorrowingsandLongTermDebtScheduleofShortTermBorrowingsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermDebtLineItems_019f1f39-63a2-7c63-8152-b4e56665a0c4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermDebtLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShortTermDebtTable_019f1f39-63a2-7f9f-8746-eb0152763ec6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfShortTermDebtTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShortTermDebtLineItems_019f1f39-63a2-7c63-8152-b4e56665a0c4" xlink:to="loc_us-gaap_ScheduleOfShortTermDebtTable_019f1f39-63a2-7f9f-8746-eb0152763ec6" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementGeographicalAxis_019f1f39-63a2-76aa-815c-63b0688f09f7" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_StatementGeographicalAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShortTermDebtTable_019f1f39-63a2-7f9f-8746-eb0152763ec6" xlink:to="loc_srt_StatementGeographicalAxis_019f1f39-63a2-76aa-815c-63b0688f09f7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_019f1f39-63a2-76aa-815c-63b0688f09f7_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_019f1f39-63a2-76aa-815c-63b0688f09f7" xlink:to="loc_srt_SegmentGeographicalDomain_019f1f39-63a2-76aa-815c-63b0688f09f7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_019f1f39-63a2-7d0c-9ae2-9c27aa7e3e74" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_019f1f39-63a2-76aa-815c-63b0688f09f7" xlink:to="loc_srt_SegmentGeographicalDomain_019f1f39-63a2-7d0c-9ae2-9c27aa7e3e74" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EuropeMember_019f1f39-63a2-7435-9503-ab1a62f1cc7f" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_EuropeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_019f1f39-63a2-7d0c-9ae2-9c27aa7e3e74" xlink:to="loc_srt_EuropeMember_019f1f39-63a2-7435-9503-ab1a62f1cc7f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_US_019f1f39-63a2-7164-a4c0-3a839f660367" xlink:href="https://xbrl.sec.gov/country/2026/country-2026.xsd#country_US"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_019f1f39-63a2-7d0c-9ae2-9c27aa7e3e74" xlink:to="loc_country_US_019f1f39-63a2-7164-a4c0-3a839f660367" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_NonUSExcludingEuropeMember_019f1f39-63a2-78c8-b9c0-d4a31de14226" xlink:href="dci-20260731.xsd#dci_NonUSExcludingEuropeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_019f1f39-63a2-7d0c-9ae2-9c27aa7e3e74" xlink:to="loc_dci_NonUSExcludingEuropeMember_019f1f39-63a2-78c8-b9c0-d4a31de14226" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermDebtTypeAxis_019f1f39-63a2-7ac9-95d5-53b3787e9f18" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShortTermDebtTable_019f1f39-63a2-7f9f-8746-eb0152763ec6" xlink:to="loc_us-gaap_ShortTermDebtTypeAxis_019f1f39-63a2-7ac9-95d5-53b3787e9f18" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermDebtTypeDomain_019f1f39-63a2-7ac9-95d5-53b3787e9f18_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShortTermDebtTypeAxis_019f1f39-63a2-7ac9-95d5-53b3787e9f18" xlink:to="loc_us-gaap_ShortTermDebtTypeDomain_019f1f39-63a2-7ac9-95d5-53b3787e9f18_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermDebtTypeDomain_019f1f39-63a2-7a84-b24b-c0577667ceeb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShortTermDebtTypeAxis_019f1f39-63a2-7ac9-95d5-53b3787e9f18" xlink:to="loc_us-gaap_ShortTermDebtTypeDomain_019f1f39-63a2-7a84-b24b-c0577667ceeb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommercialPaperMember_019f1f39-63a2-7f34-ab65-3dd4f784199d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommercialPaperMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermDebtTypeDomain_019f1f39-63a2-7a84-b24b-c0577667ceeb" xlink:to="loc_us-gaap_CommercialPaperMember_019f1f39-63a2-7f34-ab65-3dd4f784199d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_019f1f39-63a2-7162-b400-2abebe879a15" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermDebtTypeDomain_019f1f39-63a2-7a84-b24b-c0577667ceeb" xlink:to="loc_us-gaap_LineOfCreditMember_019f1f39-63a2-7162-b400-2abebe879a15" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_019f1f39-63a2-74e2-9cc9-e526dbfeb230" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShortTermDebtTable_019f1f39-63a2-7f9f-8746-eb0152763ec6" xlink:to="loc_us-gaap_DebtInstrumentAxis_019f1f39-63a2-74e2-9cc9-e526dbfeb230" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019f1f39-63a2-74e2-9cc9-e526dbfeb230_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_019f1f39-63a2-74e2-9cc9-e526dbfeb230" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019f1f39-63a2-74e2-9cc9-e526dbfeb230_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019f1f39-63a2-7b71-8587-aba96ab86883" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_019f1f39-63a2-74e2-9cc9-e526dbfeb230" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019f1f39-63a2-7b71-8587-aba96ab86883" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_ShorttermDebtOutstandingBorrowingsMember_019f1f39-63a2-70eb-bca6-4cb694fadf62" xlink:href="dci-20260731.xsd#dci_ShorttermDebtOutstandingBorrowingsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019f1f39-63a2-7b71-8587-aba96ab86883" xlink:to="loc_dci_ShorttermDebtOutstandingBorrowingsMember_019f1f39-63a2-70eb-bca6-4cb694fadf62" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_ShorttermDebtOtherNonborrowingReductionsMember_019f1f39-63a2-7a45-b14c-43b1a32c7462" xlink:href="dci-20260731.xsd#dci_ShorttermDebtOtherNonborrowingReductionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019f1f39-63a2-7b71-8587-aba96ab86883" xlink:to="loc_dci_ShorttermDebtOtherNonborrowingReductionsMember_019f1f39-63a2-7a45-b14c-43b1a32c7462" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_019f1f39-63a2-7da3-b310-2d508e8fa376" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermDebtLineItems_019f1f39-63a2-7c63-8152-b4e56665a0c4" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_019f1f39-63a2-7da3-b310-2d508e8fa376" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermBorrowings_019f1f39-63a2-798e-8b69-938f8c1255f0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermBorrowings"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermDebtLineItems_019f1f39-63a2-7c63-8152-b4e56665a0c4" xlink:to="loc_us-gaap_ShortTermBorrowings_019f1f39-63a2-798e-8b69-938f8c1255f0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_019f1f39-63a2-78b3-ba00-427158e04e67" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermDebtLineItems_019f1f39-63a2-7c63-8152-b4e56665a0c4" xlink:to="loc_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_019f1f39-63a2-78b3-ba00-427158e04e67" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermDebtWeightedAverageInterestRate_019f1f39-63a2-7b12-af7b-2e5669d8dde3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermDebtWeightedAverageInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermDebtLineItems_019f1f39-63a2-7c63-8152-b4e56665a0c4" xlink:to="loc_us-gaap_ShortTermDebtWeightedAverageInterestRate_019f1f39-63a2-7b12-af7b-2e5669d8dde3" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/ShortTermBorrowingsandLongTermDebtScheduleofLongTermDebtDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#ShortTermBorrowingsandLongTermDebtScheduleofLongTermDebtDetails"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/ShortTermBorrowingsandLongTermDebtScheduleofLongTermDebtDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_019f1f39-63a2-7110-9931-147e477ca98f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_019f1f39-63a2-76e5-8e06-63c06fb60847" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019f1f39-63a2-7110-9931-147e477ca98f" xlink:to="loc_us-gaap_DebtInstrumentTable_019f1f39-63a2-76e5-8e06-63c06fb60847" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_019f1f39-63a2-759a-bd52-7565d9baa2ff" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019f1f39-63a2-76e5-8e06-63c06fb60847" xlink:to="loc_us-gaap_DebtInstrumentAxis_019f1f39-63a2-759a-bd52-7565d9baa2ff" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019f1f39-63a2-759a-bd52-7565d9baa2ff_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_019f1f39-63a2-759a-bd52-7565d9baa2ff" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019f1f39-63a2-759a-bd52-7565d9baa2ff_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019f1f39-63a2-7f20-a063-a3c904be22e6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_019f1f39-63a2-759a-bd52-7565d9baa2ff" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019f1f39-63a2-7f20-a063-a3c904be22e6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_UnsecuredSeniorNotesDueMayFourTwoThousandTwentyNineMember_019ffe0f-43cd-7deb-a8e6-9f0ecb2759bc" xlink:href="dci-20260731.xsd#dci_UnsecuredSeniorNotesDueMayFourTwoThousandTwentyNineMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019f1f39-63a2-7f20-a063-a3c904be22e6" xlink:to="loc_dci_UnsecuredSeniorNotesDueMayFourTwoThousandTwentyNineMember_019ffe0f-43cd-7deb-a8e6-9f0ecb2759bc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_UnsecuredSeniorNotesDueJuneTwelveTwoThousandTwentyEightMember_019f1f39-63a2-7041-ad01-15bdf1243f1b" xlink:href="dci-20260731.xsd#dci_UnsecuredSeniorNotesDueJuneTwelveTwoThousandTwentyEightMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019f1f39-63a2-7f20-a063-a3c904be22e6" xlink:to="loc_dci_UnsecuredSeniorNotesDueJuneTwelveTwoThousandTwentyEightMember_019f1f39-63a2-7041-ad01-15bdf1243f1b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_UnsecuredSeniorNotesDueJuneSeventeenTwoThousandThrityMember_019f1f39-63a2-7eeb-8316-09b268228da6" xlink:href="dci-20260731.xsd#dci_UnsecuredSeniorNotesDueJuneSeventeenTwoThousandThrityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019f1f39-63a2-7f20-a063-a3c904be22e6" xlink:to="loc_dci_UnsecuredSeniorNotesDueJuneSeventeenTwoThousandThrityMember_019f1f39-63a2-7eeb-8316-09b268228da6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_UnsecuredSeniorNotesDueAugustFiveTwoThousandThirtyOneMember_019f1f39-63a2-78d9-93d7-40b8f3d54362" xlink:href="dci-20260731.xsd#dci_UnsecuredSeniorNotesDueAugustFiveTwoThousandThirtyOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019f1f39-63a2-7f20-a063-a3c904be22e6" xlink:to="loc_dci_UnsecuredSeniorNotesDueAugustFiveTwoThousandThirtyOneMember_019f1f39-63a2-78d9-93d7-40b8f3d54362" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_VariableRateCommittedRevolvingCreditFacilityDueJuneTwelveTwoThousandThirtyMember_019f1f39-63a2-7664-a46c-91b9901e860f" xlink:href="dci-20260731.xsd#dci_VariableRateCommittedRevolvingCreditFacilityDueJuneTwelveTwoThousandThirtyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019f1f39-63a2-7f20-a063-a3c904be22e6" xlink:to="loc_dci_VariableRateCommittedRevolvingCreditFacilityDueJuneTwelveTwoThousandThirtyMember_019f1f39-63a2-7664-a46c-91b9901e860f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_VariableRateCommittedUnsecuredTermLoanDueMarchTwentySixTwoThousandTwentyNineMember_019f1f39-63a2-7e9b-868f-643badbe6e4b" xlink:href="dci-20260731.xsd#dci_VariableRateCommittedUnsecuredTermLoanDueMarchTwentySixTwoThousandTwentyNineMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019f1f39-63a2-7f20-a063-a3c904be22e6" xlink:to="loc_dci_VariableRateCommittedUnsecuredTermLoanDueMarchTwentySixTwoThousandTwentyNineMember_019f1f39-63a2-7e9b-868f-643badbe6e4b" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_UnsecuredSeniorNotesDueNovemberFiveTwoThousandTwentyEightMember_019f1f39-63a2-751d-aa7a-694bf2c06034" xlink:href="dci-20260731.xsd#dci_UnsecuredSeniorNotesDueNovemberFiveTwoThousandTwentyEightMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019f1f39-63a2-7f20-a063-a3c904be22e6" xlink:to="loc_dci_UnsecuredSeniorNotesDueNovemberFiveTwoThousandTwentyEightMember_019f1f39-63a2-751d-aa7a-694bf2c06034" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_VariableRateGuaranteedSeniorNoteDueMayTwentyTwoThousandTwentyEightMember_019f1f39-63a2-7cea-bf2d-5b766e7d015e" xlink:href="dci-20260731.xsd#dci_VariableRateGuaranteedSeniorNoteDueMayTwentyTwoThousandTwentyEightMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019f1f39-63a2-7f20-a063-a3c904be22e6" xlink:to="loc_dci_VariableRateGuaranteedSeniorNoteDueMayTwentyTwoThousandTwentyEightMember_019f1f39-63a2-7cea-bf2d-5b766e7d015e" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_VariableRateGuaranteedSeniorNoteDueJulyFifteenTwoThousandTwentySixMember_019f1f39-63a2-7beb-94dc-a285e4487609" xlink:href="dci-20260731.xsd#dci_VariableRateGuaranteedSeniorNoteDueJulyFifteenTwoThousandTwentySixMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019f1f39-63a2-7f20-a063-a3c904be22e6" xlink:to="loc_dci_VariableRateGuaranteedSeniorNoteDueJulyFifteenTwoThousandTwentySixMember_019f1f39-63a2-7beb-94dc-a285e4487609" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_019f1f39-63a2-700f-b228-56b5f9e59acb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019f1f39-63a2-76e5-8e06-63c06fb60847" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_019f1f39-63a2-700f-b228-56b5f9e59acb" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019f1f39-63a2-700f-b228-56b5f9e59acb_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019f1f39-63a2-700f-b228-56b5f9e59acb" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019f1f39-63a2-700f-b228-56b5f9e59acb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019f1f39-63a2-77c5-a500-4cc1ce5a3170" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019f1f39-63a2-700f-b228-56b5f9e59acb" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019f1f39-63a2-77c5-a500-4cc1ce5a3170" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnsecuredDebtMember_019f1f39-63a2-7db8-a027-8d16b9800319" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnsecuredDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_019f1f39-63a2-77c5-a500-4cc1ce5a3170" xlink:to="loc_us-gaap_UnsecuredDebtMember_019f1f39-63a2-7db8-a027-8d16b9800319" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_019f1f39-63a2-7e0f-9128-469383dbc1cc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019f1f39-63a2-76e5-8e06-63c06fb60847" xlink:to="loc_us-gaap_CreditFacilityAxis_019f1f39-63a2-7e0f-9128-469383dbc1cc" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_019f1f39-63a2-7e0f-9128-469383dbc1cc_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_019f1f39-63a2-7e0f-9128-469383dbc1cc" xlink:to="loc_us-gaap_CreditFacilityDomain_019f1f39-63a2-7e0f-9128-469383dbc1cc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_019f1f39-63a2-7f01-908a-5fbfb457a4ec" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_019f1f39-63a2-7e0f-9128-469383dbc1cc" xlink:to="loc_us-gaap_CreditFacilityDomain_019f1f39-63a2-7f01-908a-5fbfb457a4ec" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_019f1f39-63a2-7c43-a94e-e5b21d3558fc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_019f1f39-63a2-7f01-908a-5fbfb457a4ec" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_019f1f39-63a2-7c43-a94e-e5b21d3558fc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_019f1f39-63a2-79ce-9456-98e8afb5e0b0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentFaceAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019f1f39-63a2-7110-9931-147e477ca98f" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_019f1f39-63a2-79ce-9456-98e8afb5e0b0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_019f1f39-63a2-77f2-a881-a79a221ed4a3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019f1f39-63a2-7110-9931-147e477ca98f" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_019f1f39-63a2-77f2-a881-a79a221ed4a3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_019f1f39-63a2-7289-9ae5-0d49fc3a49f6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019f1f39-63a2-7110-9931-147e477ca98f" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_019f1f39-63a2-7289-9ae5-0d49fc3a49f6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_019f1f39-63a2-74a9-a2a3-9db9b432cc1f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredFinanceCostsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019f1f39-63a2-7110-9931-147e477ca98f" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_019f1f39-63a2-74a9-a2a3-9db9b432cc1f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_019f1f39-63a2-7587-9b38-cfd4bae7ae2a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtLongtermAndShorttermCombinedAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019f1f39-63a2-7110-9931-147e477ca98f" xlink:to="loc_us-gaap_DebtLongtermAndShorttermCombinedAmount_019f1f39-63a2-7587-9b38-cfd4bae7ae2a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_019f1f39-63a2-7b21-b70b-6d8226980e87" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019f1f39-63a2-7110-9931-147e477ca98f" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_019f1f39-63a2-7b21-b70b-6d8226980e87" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_019f1f39-63a2-71f3-b670-f0f6e238d538" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligations"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019f1f39-63a2-7110-9931-147e477ca98f" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_019f1f39-63a2-71f3-b670-f0f6e238d538" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/ShortTermBorrowingsandLongTermDebtNarrativeDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#ShortTermBorrowingsandLongTermDebtNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/ShortTermBorrowingsandLongTermDebtNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_019f1f39-63a2-7630-a554-cf6d6f1f1f4d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_019f1f39-63a2-7828-b1b7-1a3f9f3ef27e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019f1f39-63a2-7630-a554-cf6d6f1f1f4d" xlink:to="loc_us-gaap_DebtInstrumentTable_019f1f39-63a2-7828-b1b7-1a3f9f3ef27e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_019f1f39-63a2-761e-86ef-5a84ff21946e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019f1f39-63a2-7828-b1b7-1a3f9f3ef27e" xlink:to="loc_us-gaap_CreditFacilityAxis_019f1f39-63a2-761e-86ef-5a84ff21946e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_019f1f39-63a2-761e-86ef-5a84ff21946e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_019f1f39-63a2-761e-86ef-5a84ff21946e" xlink:to="loc_us-gaap_CreditFacilityDomain_019f1f39-63a2-761e-86ef-5a84ff21946e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_019f1f39-63a2-7960-a1e1-cb70349fad6d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_019f1f39-63a2-761e-86ef-5a84ff21946e" xlink:to="loc_us-gaap_CreditFacilityDomain_019f1f39-63a2-7960-a1e1-cb70349fad6d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_019f1f39-63a2-7bfc-8083-00319cf26b36" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_019f1f39-63a2-7960-a1e1-cb70349fad6d" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_019f1f39-63a2-7bfc-8083-00319cf26b36" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_MultiCurrencyRevolvingCreditFacilityMember_019f1f39-63a2-7a05-b640-8271d7b1bef5" xlink:href="dci-20260731.xsd#dci_MultiCurrencyRevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_019f1f39-63a2-7960-a1e1-cb70349fad6d" xlink:to="loc_dci_MultiCurrencyRevolvingCreditFacilityMember_019f1f39-63a2-7a05-b640-8271d7b1bef5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_019f1f39-63a2-7c26-a826-ac8e2c3a4d25" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019f1f39-63a2-7828-b1b7-1a3f9f3ef27e" xlink:to="loc_us-gaap_DebtInstrumentAxis_019f1f39-63a2-7c26-a826-ac8e2c3a4d25" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019f1f39-63a2-7c26-a826-ac8e2c3a4d25_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_019f1f39-63a2-7c26-a826-ac8e2c3a4d25" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019f1f39-63a2-7c26-a826-ac8e2c3a4d25_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019f1f39-63a2-7a87-97c8-d11d0338225f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_019f1f39-63a2-7c26-a826-ac8e2c3a4d25" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019f1f39-63a2-7a87-97c8-d11d0338225f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_UnsecuredDelayedDrawTermLoanCreditFacilityMember_019f4109-b647-7103-8339-c71a7a722014" xlink:href="dci-20260731.xsd#dci_UnsecuredDelayedDrawTermLoanCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019f1f39-63a2-7a87-97c8-d11d0338225f" xlink:to="loc_dci_UnsecuredDelayedDrawTermLoanCreditFacilityMember_019f4109-b647-7103-8339-c71a7a722014" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_VariableRateCommittedRevolvingCreditFacilityDueJuneTwelfthTwoThousandThirtyMember_019f1f39-63a2-7956-a86b-159333e7fd89" xlink:href="dci-20260731.xsd#dci_VariableRateCommittedRevolvingCreditFacilityDueJuneTwelfthTwoThousandThirtyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019f1f39-63a2-7a87-97c8-d11d0338225f" xlink:to="loc_dci_VariableRateCommittedRevolvingCreditFacilityDueJuneTwelfthTwoThousandThirtyMember_019f1f39-63a2-7956-a86b-159333e7fd89" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_NewUnsecuredSeniorNotesDueJuneTwelveTwoThousandTwentyEightMember_019f1f39-63a2-73e0-8b20-1c6145e617ed" xlink:href="dci-20260731.xsd#dci_NewUnsecuredSeniorNotesDueJuneTwelveTwoThousandTwentyEightMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019f1f39-63a2-7a87-97c8-d11d0338225f" xlink:to="loc_dci_NewUnsecuredSeniorNotesDueJuneTwelveTwoThousandTwentyEightMember_019f1f39-63a2-73e0-8b20-1c6145e617ed" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_019f1f39-63a2-7b46-abc8-ad19ff170f88" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019f1f39-63a2-7828-b1b7-1a3f9f3ef27e" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_019f1f39-63a2-7b46-abc8-ad19ff170f88" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019f1f39-63a2-7b46-abc8-ad19ff170f88_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019f1f39-63a2-7b46-abc8-ad19ff170f88" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019f1f39-63a2-7b46-abc8-ad19ff170f88_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019f1f39-63a2-78c6-8b95-0c9f8e787273" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019f1f39-63a2-7b46-abc8-ad19ff170f88" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019f1f39-63a2-78c6-8b95-0c9f8e787273" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnsecuredDebtMember_019f1f39-63a2-7311-ad69-3c1abb71a6af" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnsecuredDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_019f1f39-63a2-78c6-8b95-0c9f8e787273" xlink:to="loc_us-gaap_UnsecuredDebtMember_019f1f39-63a2-7311-ad69-3c1abb71a6af" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermDebtTypeAxis_019f1f39-63a2-7346-9edb-c26267760d07" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019f1f39-63a2-7828-b1b7-1a3f9f3ef27e" xlink:to="loc_us-gaap_ShortTermDebtTypeAxis_019f1f39-63a2-7346-9edb-c26267760d07" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermDebtTypeDomain_019f1f39-63a2-7346-9edb-c26267760d07_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShortTermDebtTypeAxis_019f1f39-63a2-7346-9edb-c26267760d07" xlink:to="loc_us-gaap_ShortTermDebtTypeDomain_019f1f39-63a2-7346-9edb-c26267760d07_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermDebtTypeDomain_019f1f39-63a2-7fbe-aab5-c143ec203500" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShortTermDebtTypeAxis_019f1f39-63a2-7346-9edb-c26267760d07" xlink:to="loc_us-gaap_ShortTermDebtTypeDomain_019f1f39-63a2-7fbe-aab5-c143ec203500" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_019f1f39-63a2-7e1b-ab43-54babfb24497" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermDebtTypeDomain_019f1f39-63a2-7fbe-aab5-c143ec203500" xlink:to="loc_us-gaap_LineOfCreditMember_019f1f39-63a2-7e1b-ab43-54babfb24497" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_019f1f39-63a2-7274-a5e1-f76a2f37b068" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019f1f39-63a2-7828-b1b7-1a3f9f3ef27e" xlink:to="loc_srt_RangeAxis_019f1f39-63a2-7274-a5e1-f76a2f37b068" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019f1f39-63a2-7274-a5e1-f76a2f37b068_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_019f1f39-63a2-7274-a5e1-f76a2f37b068" xlink:to="loc_srt_RangeMember_019f1f39-63a2-7274-a5e1-f76a2f37b068_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019f1f39-63a2-786b-aeb9-e17c3b6ae6be" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_019f1f39-63a2-7274-a5e1-f76a2f37b068" xlink:to="loc_srt_RangeMember_019f1f39-63a2-786b-aeb9-e17c3b6ae6be" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_019f1f39-63a2-7986-8390-18d12d7a0887" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019f1f39-63a2-786b-aeb9-e17c3b6ae6be" xlink:to="loc_srt_MinimumMember_019f1f39-63a2-7986-8390-18d12d7a0887" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_019f1f39-63a2-7147-a734-6278d9398052" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019f1f39-63a2-786b-aeb9-e17c3b6ae6be" xlink:to="loc_srt_MaximumMember_019f1f39-63a2-7147-a734-6278d9398052" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTerm_019f6617-63d7-7099-9049-96c4bb10d0f1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019f1f39-63a2-7630-a554-cf6d6f1f1f4d" xlink:to="loc_us-gaap_DebtInstrumentTerm_019f6617-63d7-7099-9049-96c4bb10d0f1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_019f1f39-63a2-7c70-81c7-ec86376f0e55" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019f1f39-63a2-7630-a554-cf6d6f1f1f4d" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_019f1f39-63a2-7c70-81c7-ec86376f0e55" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_019f1f39-63a2-77f3-958d-93c6db811b12" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019f1f39-63a2-7630-a554-cf6d6f1f1f4d" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_019f1f39-63a2-77f3-958d-93c6db811b12" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_LineOfCreditFacilityAdditionalBorrowingCapacityUnderCertainConditions_019f1f39-63a2-786d-9d4d-ac7fc19b2bfa" xlink:href="dci-20260731.xsd#dci_LineOfCreditFacilityAdditionalBorrowingCapacityUnderCertainConditions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019f1f39-63a2-7630-a554-cf6d6f1f1f4d" xlink:to="loc_dci_LineOfCreditFacilityAdditionalBorrowingCapacityUnderCertainConditions_019f1f39-63a2-786d-9d4d-ac7fc19b2bfa" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityCommitmentFeePercentage_019f1f39-63a2-7514-9b32-8473c6baf071" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditFacilityCommitmentFeePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019f1f39-63a2-7630-a554-cf6d6f1f1f4d" xlink:to="loc_us-gaap_LineOfCreditFacilityCommitmentFeePercentage_019f1f39-63a2-7514-9b32-8473c6baf071" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity_019f1f39-63a2-7d27-bfb6-73dc8e370d46" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019f1f39-63a2-7630-a554-cf6d6f1f1f4d" xlink:to="loc_us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity_019f1f39-63a2-7d27-bfb6-73dc8e370d46" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/IncomeTaxesScheduleofIncomeTaxPaidbyIndividualJurisdictionDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#IncomeTaxesScheduleofIncomeTaxPaidbyIndividualJurisdictionDetails"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/IncomeTaxesScheduleofIncomeTaxPaidbyIndividualJurisdictionDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxPaidByIndividualJurisdictionLineItems_019f4af2-2a04-7dcb-aacf-827855386ecd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxPaidByIndividualJurisdictionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxPaidByIndividualJurisdictionTable_019f4af2-2a04-7299-927c-a82c0a6cfbb4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxPaidByIndividualJurisdictionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_IncomeTaxPaidByIndividualJurisdictionLineItems_019f4af2-2a04-7dcb-aacf-827855386ecd" xlink:to="loc_us-gaap_IncomeTaxPaidByIndividualJurisdictionTable_019f4af2-2a04-7299-927c-a82c0a6cfbb4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityAxis_019f4af2-2a04-709b-87f3-eadb9a103b32" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxAuthorityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_IncomeTaxPaidByIndividualJurisdictionTable_019f4af2-2a04-7299-927c-a82c0a6cfbb4" xlink:to="loc_us-gaap_IncomeTaxAuthorityAxis_019f4af2-2a04-709b-87f3-eadb9a103b32" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_019f4af2-2a04-709b-87f3-eadb9a103b32_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxAuthorityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_019f4af2-2a04-709b-87f3-eadb9a103b32" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_019f4af2-2a04-709b-87f3-eadb9a103b32_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_019f4af2-2a04-716b-addb-ab7472470021" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxAuthorityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_019f4af2-2a04-709b-87f3-eadb9a103b32" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_019f4af2-2a04-716b-addb-ab7472470021" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_MX_019f4af2-2a04-7c57-a2dd-92af137e32b4" xlink:href="https://xbrl.sec.gov/country/2026/country-2026.xsd#country_MX"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_019f4af2-2a04-716b-addb-ab7472470021" xlink:to="loc_country_MX_019f4af2-2a04-7c57-a2dd-92af137e32b4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_CN_019f4af2-2a04-753f-bb0b-55cda58405ef" xlink:href="https://xbrl.sec.gov/country/2026/country-2026.xsd#country_CN"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_019f4af2-2a04-716b-addb-ab7472470021" xlink:to="loc_country_CN_019f4af2-2a04-753f-bb0b-55cda58405ef" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxPaidForeignAfterRefundReceived_019f4af2-2a04-73ee-aa9e-507f8fa34193" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxPaidForeignAfterRefundReceived"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxPaidByIndividualJurisdictionLineItems_019f4af2-2a04-7dcb-aacf-827855386ecd" xlink:to="loc_us-gaap_IncomeTaxPaidForeignAfterRefundReceived_019f4af2-2a04-73ee-aa9e-507f8fa34193" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/IncomeTaxesNarrativeDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#IncomeTaxesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/IncomeTaxesNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxContingencyLineItems_019f1f39-63a2-7d08-b4f5-c3553f7f2b7b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxContingencyLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxContingencyTable_019f1f39-63a2-7e04-8040-08bf06e6c1c4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxContingencyTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_019f1f39-63a2-7d08-b4f5-c3553f7f2b7b" xlink:to="loc_us-gaap_IncomeTaxContingencyTable_019f1f39-63a2-7e04-8040-08bf06e6c1c4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ValuationAllowanceByDeferredTaxAssetAxis_019f1f39-63a2-719a-a262-0d96aed6e4ec" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ValuationAllowanceByDeferredTaxAssetAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_IncomeTaxContingencyTable_019f1f39-63a2-7e04-8040-08bf06e6c1c4" xlink:to="loc_us-gaap_ValuationAllowanceByDeferredTaxAssetAxis_019f1f39-63a2-719a-a262-0d96aed6e4ec" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetDomain_019f1f39-63a2-719a-a262-0d96aed6e4ec_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredTaxAssetDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ValuationAllowanceByDeferredTaxAssetAxis_019f1f39-63a2-719a-a262-0d96aed6e4ec" xlink:to="loc_us-gaap_DeferredTaxAssetDomain_019f1f39-63a2-719a-a262-0d96aed6e4ec_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetDomain_019f1f39-63a2-7b48-9a19-aaa4b59a1d23" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredTaxAssetDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ValuationAllowanceByDeferredTaxAssetAxis_019f1f39-63a2-719a-a262-0d96aed6e4ec" xlink:to="loc_us-gaap_DeferredTaxAssetDomain_019f1f39-63a2-7b48-9a19-aaa4b59a1d23" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_FederalTaxCreditsMember_019f1f39-63a2-7ec6-9ad2-904ca2ada8e4" xlink:href="dci-20260731.xsd#dci_FederalTaxCreditsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredTaxAssetDomain_019f1f39-63a2-7b48-9a19-aaa4b59a1d23" xlink:to="loc_dci_FederalTaxCreditsMember_019f1f39-63a2-7ec6-9ad2-904ca2ada8e4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_ResearchAndDevelopmentCreditsMember_019f1f39-63a2-7bcd-b913-46ba27edbd88" xlink:href="dci-20260731.xsd#dci_ResearchAndDevelopmentCreditsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredTaxAssetDomain_019f1f39-63a2-7b48-9a19-aaa4b59a1d23" xlink:to="loc_dci_ResearchAndDevelopmentCreditsMember_019f1f39-63a2-7bcd-b913-46ba27edbd88" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_NetOperatingLossAndTaxCreditMember_019f1f39-63a2-72f4-8a52-514742c553fe" xlink:href="dci-20260731.xsd#dci_NetOperatingLossAndTaxCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredTaxAssetDomain_019f1f39-63a2-7b48-9a19-aaa4b59a1d23" xlink:to="loc_dci_NetOperatingLossAndTaxCreditMember_019f1f39-63a2-72f4-8a52-514742c553fe" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_019f1f39-63a2-7277-b943-e45fc4ed1564" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_IncomeTaxContingencyTable_019f1f39-63a2-7e04-8040-08bf06e6c1c4" xlink:to="loc_srt_RangeAxis_019f1f39-63a2-7277-b943-e45fc4ed1564" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019f1f39-63a2-7277-b943-e45fc4ed1564_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_019f1f39-63a2-7277-b943-e45fc4ed1564" xlink:to="loc_srt_RangeMember_019f1f39-63a2-7277-b943-e45fc4ed1564_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019f1f39-63a2-731b-96bc-f63821e249cf" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_019f1f39-63a2-7277-b943-e45fc4ed1564" xlink:to="loc_srt_RangeMember_019f1f39-63a2-731b-96bc-f63821e249cf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_019f1f39-63a2-78bf-b84c-d02d1a97e84f" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019f1f39-63a2-731b-96bc-f63821e249cf" xlink:to="loc_srt_MinimumMember_019f1f39-63a2-78bf-b84c-d02d1a97e84f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_019f1f39-63a2-77de-b208-f61261609c68" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019f1f39-63a2-731b-96bc-f63821e249cf" xlink:to="loc_srt_MaximumMember_019f1f39-63a2-77de-b208-f61261609c68" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxesPaidNet_019f5a3a-472d-7c00-9cd9-9a6536c19fa4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeTaxesPaidNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_019f1f39-63a2-7d08-b4f5-c3553f7f2b7b" xlink:to="loc_us-gaap_IncomeTaxesPaidNet_019f5a3a-472d-7c00-9cd9-9a6536c19fa4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsForeign_019f1f39-63a2-7b02-8b39-353bb48da5c0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsForeign"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_019f1f39-63a2-7d08-b4f5-c3553f7f2b7b" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsForeign_019f1f39-63a2-7b02-8b39-353bb48da5c0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsResearch_019f1f39-63a2-785d-a576-d79878786422" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsResearch"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_019f1f39-63a2-7d08-b4f5-c3553f7f2b7b" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwardsResearch_019f1f39-63a2-785d-a576-d79878786422" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLossCarryforwards_019f1f39-63a2-714a-9b21-3910fcd206aa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLossCarryforwards"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_019f1f39-63a2-7d08-b4f5-c3553f7f2b7b" xlink:to="loc_us-gaap_OperatingLossCarryforwards_019f1f39-63a2-714a-9b21-3910fcd206aa" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_TaxCreditCarryforwardTerm_019f1f39-63a2-74d1-bbda-59e9da869c35" xlink:href="dci-20260731.xsd#dci_TaxCreditCarryforwardTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_019f1f39-63a2-7d08-b4f5-c3553f7f2b7b" xlink:to="loc_dci_TaxCreditCarryforwardTerm_019f1f39-63a2-74d1-bbda-59e9da869c35" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_019f1f39-63a2-7606-8202-c9a6e69d359c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredTaxAssetsValuationAllowance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_019f1f39-63a2-7d08-b4f5-c3553f7f2b7b" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_019f1f39-63a2-7606-8202-c9a6e69d359c" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UndistributedEarningsOfForeignSubsidiaries_019f1f39-63a2-75d2-b5a4-8902c86e75d8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UndistributedEarningsOfForeignSubsidiaries"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_019f1f39-63a2-7d08-b4f5-c3553f7f2b7b" xlink:to="loc_us-gaap_UndistributedEarningsOfForeignSubsidiaries_019f1f39-63a2-75d2-b5a4-8902c86e75d8" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesUndistributedForeignEarnings_019f1f39-63a2-79fc-afc4-f4f79693d636" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredTaxLiabilitiesUndistributedForeignEarnings"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_019f1f39-63a2-7d08-b4f5-c3553f7f2b7b" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesUndistributedForeignEarnings_019f1f39-63a2-79fc-afc4-f4f79693d636" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_UndistributedEarningsOfForeignSubsidiariesTax_019f1f39-63a2-787e-a806-7755a1307718" xlink:href="dci-20260731.xsd#dci_UndistributedEarningsOfForeignSubsidiariesTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_019f1f39-63a2-7d08-b4f5-c3553f7f2b7b" xlink:to="loc_dci_UndistributedEarningsOfForeignSubsidiariesTax_019f1f39-63a2-787e-a806-7755a1307718" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilityNotRecognizedAmountOfUnrecognizedDeferredTaxLiabilityUndistributedEarningsOfForeignSubsidiaries_019f1f39-63a2-72b2-a8f8-c32ad6f92b0a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredTaxLiabilityNotRecognizedAmountOfUnrecognizedDeferredTaxLiabilityUndistributedEarningsOfForeignSubsidiaries"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_019f1f39-63a2-7d08-b4f5-c3553f7f2b7b" xlink:to="loc_us-gaap_DeferredTaxLiabilityNotRecognizedAmountOfUnrecognizedDeferredTaxLiabilityUndistributedEarningsOfForeignSubsidiaries_019f1f39-63a2-72b2-a8f8-c32ad6f92b0a" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued_019f1f39-63a2-751c-bd83-c27accc36c54" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_019f1f39-63a2-7d08-b4f5-c3553f7f2b7b" xlink:to="loc_us-gaap_UnrecognizedTaxBenefitsIncomeTaxPenaltiesAndInterestAccrued_019f1f39-63a2-751c-bd83-c27accc36c54" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrecognizedTaxBenefitsInterestOnIncomeTaxesAccrued_019f1f39-63a2-7a69-bd8d-8b0042d4bef1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnrecognizedTaxBenefitsInterestOnIncomeTaxesAccrued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxContingencyLineItems_019f1f39-63a2-7d08-b4f5-c3553f7f2b7b" xlink:to="loc_us-gaap_UnrecognizedTaxBenefitsInterestOnIncomeTaxesAccrued_019f1f39-63a2-7a69-bd8d-8b0042d4bef1" xlink:type="arc" order="11"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/IncomeTaxesScheduleofNOLandTaxCreditValuationAllowancesDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#IncomeTaxesScheduleofNOLandTaxCreditValuationAllowancesDetails"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/IncomeTaxesScheduleofNOLandTaxCreditValuationAllowancesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ValuationAllowanceLineItems_019f1f39-63a2-7464-9498-81395b1fb42a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ValuationAllowanceLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ValuationAllowanceTable_019f1f39-63a2-7e80-a75c-b484a357dbd4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ValuationAllowanceTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ValuationAllowanceLineItems_019f1f39-63a2-7464-9498-81395b1fb42a" xlink:to="loc_us-gaap_ValuationAllowanceTable_019f1f39-63a2-7e80-a75c-b484a357dbd4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ValuationAllowanceByDeferredTaxAssetAxis_019f1f39-63a2-7436-9834-0c4b3c9332b4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ValuationAllowanceByDeferredTaxAssetAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ValuationAllowanceTable_019f1f39-63a2-7e80-a75c-b484a357dbd4" xlink:to="loc_us-gaap_ValuationAllowanceByDeferredTaxAssetAxis_019f1f39-63a2-7436-9834-0c4b3c9332b4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetDomain_019f1f39-63a2-7436-9834-0c4b3c9332b4_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredTaxAssetDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ValuationAllowanceByDeferredTaxAssetAxis_019f1f39-63a2-7436-9834-0c4b3c9332b4" xlink:to="loc_us-gaap_DeferredTaxAssetDomain_019f1f39-63a2-7436-9834-0c4b3c9332b4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetDomain_019f1f39-63a2-7f07-93c1-963d00a557a1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredTaxAssetDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ValuationAllowanceByDeferredTaxAssetAxis_019f1f39-63a2-7436-9834-0c4b3c9332b4" xlink:to="loc_us-gaap_DeferredTaxAssetDomain_019f1f39-63a2-7f07-93c1-963d00a557a1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_NetOperatingLossAndTaxCreditMember_019f1f39-63a2-74ef-bddc-551551fdac2f" xlink:href="dci-20260731.xsd#dci_NetOperatingLossAndTaxCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredTaxAssetDomain_019f1f39-63a2-7f07-93c1-963d00a557a1" xlink:to="loc_dci_NetOperatingLossAndTaxCreditMember_019f1f39-63a2-74ef-bddc-551551fdac2f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_ValuationAllowanceDeferredTaxAssetRollForward_019f1f39-63a2-7ebd-8043-a69f04dc7fa1" xlink:href="dci-20260731.xsd#dci_ValuationAllowanceDeferredTaxAssetRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationAllowanceLineItems_019f1f39-63a2-7464-9498-81395b1fb42a" xlink:to="loc_dci_ValuationAllowanceDeferredTaxAssetRollForward_019f1f39-63a2-7ebd-8043-a69f04dc7fa1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_019f1f39-63a2-7ab8-90cb-41f13e13de11" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredTaxAssetsValuationAllowance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dci_ValuationAllowanceDeferredTaxAssetRollForward_019f1f39-63a2-7ebd-8043-a69f04dc7fa1" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_019f1f39-63a2-7ab8-90cb-41f13e13de11" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_ValuationAllowanceDeferredTaxAssetCharges_019f1f39-63a2-71d5-ba76-f9f66f987950" xlink:href="dci-20260731.xsd#dci_ValuationAllowanceDeferredTaxAssetCharges"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dci_ValuationAllowanceDeferredTaxAssetRollForward_019f1f39-63a2-7ebd-8043-a69f04dc7fa1" xlink:to="loc_dci_ValuationAllowanceDeferredTaxAssetCharges_019f1f39-63a2-71d5-ba76-f9f66f987950" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_ValuationAllowanceDeferredTaxAssetDeductionsFromReserves_019f1f39-63a2-71a7-a096-f5be1445d947" xlink:href="dci-20260731.xsd#dci_ValuationAllowanceDeferredTaxAssetDeductionsFromReserves"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dci_ValuationAllowanceDeferredTaxAssetRollForward_019f1f39-63a2-7ebd-8043-a69f04dc7fa1" xlink:to="loc_dci_ValuationAllowanceDeferredTaxAssetDeductionsFromReserves_019f1f39-63a2-71a7-a096-f5be1445d947" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_019f1f39-63a2-7935-b026-ce0d34aa5f60" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredTaxAssetsValuationAllowance"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/StockholdersEquityScheduleofTreasuryStockActivityDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#StockholdersEquityScheduleofTreasuryStockActivityDetails"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/StockholdersEquityScheduleofTreasuryStockActivityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityClassOfTreasuryStockLineItems_019f1f39-63a2-7f45-9195-8e3c1c144cb5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityClassOfTreasuryStockLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfTreasuryStockTable_019f1f39-63a2-76fd-9c25-03ad0fdcb5a3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ClassOfTreasuryStockTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_019f1f39-63a2-7f45-9195-8e3c1c144cb5" xlink:to="loc_us-gaap_ClassOfTreasuryStockTable_019f1f39-63a2-76fd-9c25-03ad0fdcb5a3" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_019f1f39-63a2-761d-a67f-ae03d2503e89" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ClassOfTreasuryStockTable_019f1f39-63a2-76fd-9c25-03ad0fdcb5a3" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_019f1f39-63a2-761d-a67f-ae03d2503e89" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019f1f39-63a2-761d-a67f-ae03d2503e89_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019f1f39-63a2-761d-a67f-ae03d2503e89" xlink:to="loc_us-gaap_EquityComponentDomain_019f1f39-63a2-761d-a67f-ae03d2503e89_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019f1f39-63a2-74f5-8bc1-667aa3effce8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019f1f39-63a2-761d-a67f-ae03d2503e89" xlink:to="loc_us-gaap_EquityComponentDomain_019f1f39-63a2-74f5-8bc1-667aa3effce8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonMember_019f1f39-63a2-7c54-a665-b47ccc8d9f1d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockCommonMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019f1f39-63a2-74f5-8bc1-667aa3effce8" xlink:to="loc_us-gaap_TreasuryStockCommonMember_019f1f39-63a2-7c54-a665-b47ccc8d9f1d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_ScheduleofTreasurySharesActivityRollForward_019f1f39-63a2-73bf-afb7-ee33e8194766" xlink:href="dci-20260731.xsd#dci_ScheduleofTreasurySharesActivityRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityClassOfTreasuryStockLineItems_019f1f39-63a2-7f45-9195-8e3c1c144cb5" xlink:to="loc_dci_ScheduleofTreasurySharesActivityRollForward_019f1f39-63a2-73bf-afb7-ee33e8194766" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonShares_019f1f39-63a2-76a4-9a71-fa1cef62e3b9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockCommonShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dci_ScheduleofTreasurySharesActivityRollForward_019f1f39-63a2-73bf-afb7-ee33e8194766" xlink:to="loc_us-gaap_TreasuryStockCommonShares_019f1f39-63a2-76a4-9a71-fa1cef62e3b9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockSharesAcquired_019f1f39-63a2-7c2a-a65a-b69b21ba317d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockSharesAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dci_ScheduleofTreasurySharesActivityRollForward_019f1f39-63a2-73bf-afb7-ee33e8194766" xlink:to="loc_us-gaap_TreasuryStockSharesAcquired_019f1f39-63a2-7c2a-a65a-b69b21ba317d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_019f1f39-63a2-7047-8f0b-6fdc5b2cfe1d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dci_ScheduleofTreasurySharesActivityRollForward_019f1f39-63a2-73bf-afb7-ee33e8194766" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_019f1f39-63a2-7047-8f0b-6fdc5b2cfe1d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_019f1f39-63a2-7c19-850e-fb514acf1c7a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dci_ScheduleofTreasurySharesActivityRollForward_019f1f39-63a2-73bf-afb7-ee33e8194766" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_019f1f39-63a2-7c19-850e-fb514acf1c7a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_OtherDispositionsDuringPeriodShares_019f1f39-63a2-7118-97b3-ef1dfde205e3" xlink:href="dci-20260731.xsd#dci_OtherDispositionsDuringPeriodShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dci_ScheduleofTreasurySharesActivityRollForward_019f1f39-63a2-73bf-afb7-ee33e8194766" xlink:to="loc_dci_OtherDispositionsDuringPeriodShares_019f1f39-63a2-7118-97b3-ef1dfde205e3" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonShares_019f1f39-63a2-722a-a27c-d19354f98932" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockCommonShares"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/AccumulatedOtherComprehensiveLossDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#AccumulatedOtherComprehensiveLossDetails"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/AccumulatedOtherComprehensiveLossDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeLineItems_019f1f39-63a2-77d0-8ea3-f95f20c90c03" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable_019f1f39-63a2-7c24-a660-03e4fe0e431a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeLineItems_019f1f39-63a2-77d0-8ea3-f95f20c90c03" xlink:to="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable_019f1f39-63a2-7c24-a660-03e4fe0e431a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_019f1f39-63a2-7e19-89c4-f1daeb2c73ab" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable_019f1f39-63a2-7c24-a660-03e4fe0e431a" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_019f1f39-63a2-7e19-89c4-f1daeb2c73ab" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019f1f39-63a2-7e19-89c4-f1daeb2c73ab_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019f1f39-63a2-7e19-89c4-f1daeb2c73ab" xlink:to="loc_us-gaap_EquityComponentDomain_019f1f39-63a2-7e19-89c4-f1daeb2c73ab_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019f1f39-63a2-7504-9183-23803b2b08df" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019f1f39-63a2-7e19-89c4-f1daeb2c73ab" xlink:to="loc_us-gaap_EquityComponentDomain_019f1f39-63a2-7504-9183-23803b2b08df" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_019f1f39-63a2-7b62-989e-6c75a207e6af" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019f1f39-63a2-7504-9183-23803b2b08df" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_019f1f39-63a2-7b62-989e-6c75a207e6af" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedTranslationAdjustmentMember_019f1f39-63a2-7205-931a-0913d4a9b923" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedTranslationAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_019f1f39-63a2-7b62-989e-6c75a207e6af" xlink:to="loc_us-gaap_AccumulatedTranslationAdjustmentMember_019f1f39-63a2-7205-931a-0913d4a9b923" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember_019f1f39-63a2-7a44-bf80-e82df8b93718" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_019f1f39-63a2-7b62-989e-6c75a207e6af" xlink:to="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember_019f1f39-63a2-7a44-bf80-e82df8b93718" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember_019f1f39-63a2-7c84-a694-8958545d890c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_019f1f39-63a2-7b62-989e-6c75a207e6af" xlink:to="loc_us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember_019f1f39-63a2-7c84-a694-8958545d890c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_AccumulatedDefinedBenefitPlansAdjustmentForeignCurrencyTranslationAttributableToParentMember_019f1f39-63a2-70d9-a151-6cc53de41f9f" xlink:href="dci-20260731.xsd#dci_AccumulatedDefinedBenefitPlansAdjustmentForeignCurrencyTranslationAttributableToParentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_019f1f39-63a2-7b62-989e-6c75a207e6af" xlink:to="loc_dci_AccumulatedDefinedBenefitPlansAdjustmentForeignCurrencyTranslationAttributableToParentMember_019f1f39-63a2-70d9-a151-6cc53de41f9f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_AccumulatedDefinedBenefitPlansAdjustmentNetPriorServiceCostAndActuarialLossesAttributableToParentMember_019f1f39-63a2-7e4a-adb6-3f5718b323ca" xlink:href="dci-20260731.xsd#dci_AccumulatedDefinedBenefitPlansAdjustmentNetPriorServiceCostAndActuarialLossesAttributableToParentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_019f1f39-63a2-7b62-989e-6c75a207e6af" xlink:to="loc_dci_AccumulatedDefinedBenefitPlansAdjustmentNetPriorServiceCostAndActuarialLossesAttributableToParentMember_019f1f39-63a2-7e4a-adb6-3f5718b323ca" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementScenarioAxis_019f1f39-63a2-7fa7-bb88-10fe6bef87c3" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_StatementScenarioAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable_019f1f39-63a2-7c24-a660-03e4fe0e431a" xlink:to="loc_srt_StatementScenarioAxis_019f1f39-63a2-7fa7-bb88-10fe6bef87c3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_019f1f39-63a2-7fa7-bb88-10fe6bef87c3_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementScenarioAxis_019f1f39-63a2-7fa7-bb88-10fe6bef87c3" xlink:to="loc_srt_ScenarioUnspecifiedDomain_019f1f39-63a2-7fa7-bb88-10fe6bef87c3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_019f1f39-63a2-747e-875b-cbdd2180eb6b" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementScenarioAxis_019f1f39-63a2-7fa7-bb88-10fe6bef87c3" xlink:to="loc_srt_ScenarioUnspecifiedDomain_019f1f39-63a2-747e-875b-cbdd2180eb6b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScenarioAdjustmentMember_019f1f39-63a2-795f-9f79-f566368eb7e6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScenarioAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ScenarioUnspecifiedDomain_019f1f39-63a2-747e-875b-cbdd2180eb6b" xlink:to="loc_us-gaap_ScenarioAdjustmentMember_019f1f39-63a2-795f-9f79-f566368eb7e6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_019f1f39-63a2-70b8-b092-f0f3052c6c85" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AOCIAttributableToParentNetOfTaxRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeLineItems_019f1f39-63a2-77d0-8ea3-f95f20c90c03" xlink:to="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_019f1f39-63a2-70b8-b092-f0f3052c6c85" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019f1f39-63a2-7216-885d-8fc980387933" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_019f1f39-63a2-70b8-b092-f0f3052c6c85" xlink:to="loc_us-gaap_StockholdersEquity_019f1f39-63a2-7216-885d-8fc980387933" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OciBeforeReclassificationsBeforeTaxAttributableToParent_019f457c-34fd-7f6a-957e-ebf0b9c0aa7c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OciBeforeReclassificationsBeforeTaxAttributableToParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_019f1f39-63a2-70b8-b092-f0f3052c6c85" xlink:to="loc_us-gaap_OciBeforeReclassificationsBeforeTaxAttributableToParent_019f457c-34fd-7f6a-957e-ebf0b9c0aa7c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsTax_019f1f39-63a2-789e-ad49-0d3ad5f77261" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_019f1f39-63a2-70b8-b092-f0f3052c6c85" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsTax_019f1f39-63a2-789e-ad49-0d3ad5f77261" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent_019f457d-c6f7-73b0-9054-31d7c417284d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_019f1f39-63a2-70b8-b092-f0f3052c6c85" xlink:to="loc_us-gaap_OciBeforeReclassificationsNetOfTaxAttributableToParent_019f457d-c6f7-73b0-9054-31d7c417284d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent_019f1f39-63a2-72e6-9e27-029264a5dad0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_019f1f39-63a2-70b8-b092-f0f3052c6c85" xlink:to="loc_us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent_019f1f39-63a2-72e6-9e27-029264a5dad0" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAociCurrentPeriodTax_019f1f39-63a2-7a53-90a1-6085456b630b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReclassificationFromAociCurrentPeriodTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_019f1f39-63a2-70b8-b092-f0f3052c6c85" xlink:to="loc_us-gaap_ReclassificationFromAociCurrentPeriodTax_019f1f39-63a2-7a53-90a1-6085456b630b" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_019f1f39-63a2-7cf9-8df8-daea201b18a6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_019f1f39-63a2-70b8-b092-f0f3052c6c85" xlink:to="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_019f1f39-63a2-7cf9-8df8-daea201b18a6" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019f1f39-63a2-78b5-bb47-664221d6feb3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_019f1f39-63a2-70b8-b092-f0f3052c6c85" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019f1f39-63a2-78b5-bb47-664221d6feb3" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019f1f39-63a2-77e5-9a1a-4de4a2c09339" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsBeforeTax_019f5a6a-52f4-749a-b455-5304d8a4b9d0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeLineItems_019f1f39-63a2-77d0-8ea3-f95f20c90c03" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsBeforeTax_019f5a6a-52f4-749a-b455-5304d8a4b9d0" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/StockBasedCompensationNarrativeDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#StockBasedCompensationNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/StockBasedCompensationNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019f1f39-63a2-7ca6-b9a0-2cd969ac8fb4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019f1f39-63a2-72b0-b9df-40d884001dc1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019f1f39-63a2-7ca6-b9a0-2cd969ac8fb4" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019f1f39-63a2-72b0-b9df-40d884001dc1" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_019f1f39-63a2-7c03-9bd5-9cadcf94d6e0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019f1f39-63a2-72b0-b9df-40d884001dc1" xlink:to="loc_us-gaap_AwardTypeAxis_019f1f39-63a2-7c03-9bd5-9cadcf94d6e0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019f1f39-63a2-7c03-9bd5-9cadcf94d6e0_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_019f1f39-63a2-7c03-9bd5-9cadcf94d6e0" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019f1f39-63a2-7c03-9bd5-9cadcf94d6e0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019f1f39-63a2-7b9d-afdd-48e1efca0af5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_019f1f39-63a2-7c03-9bd5-9cadcf94d6e0" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019f1f39-63a2-7b9d-afdd-48e1efca0af5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_019f1f39-63a2-7f98-86f3-56661a1f0a7b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019f1f39-63a2-7b9d-afdd-48e1efca0af5" xlink:to="loc_us-gaap_EmployeeStockOptionMember_019f1f39-63a2-7f98-86f3-56661a1f0a7b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceSharesMember_019f1f39-63a2-7fa6-b3da-f9963bbf510c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PerformanceSharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019f1f39-63a2-7b9d-afdd-48e1efca0af5" xlink:to="loc_us-gaap_PerformanceSharesMember_019f1f39-63a2-7fa6-b3da-f9963bbf510c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameAxis_019f1f39-63a2-7271-a25c-0153555c437a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019f1f39-63a2-72b0-b9df-40d884001dc1" xlink:to="loc_us-gaap_PlanNameAxis_019f1f39-63a2-7271-a25c-0153555c437a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_019f1f39-63a2-7271-a25c-0153555c437a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_019f1f39-63a2-7271-a25c-0153555c437a" xlink:to="loc_us-gaap_PlanNameDomain_019f1f39-63a2-7271-a25c-0153555c437a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_019f1f39-63a2-7501-9594-e1199ea0d588" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_019f1f39-63a2-7271-a25c-0153555c437a" xlink:to="loc_us-gaap_PlanNameDomain_019f1f39-63a2-7501-9594-e1199ea0d588" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_A2019MasterStockIncentivePlanMember_019f1f39-63a2-7af5-986b-2fb4d65705c3" xlink:href="dci-20260731.xsd#dci_A2019MasterStockIncentivePlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_019f1f39-63a2-7501-9594-e1199ea0d588" xlink:to="loc_dci_A2019MasterStockIncentivePlanMember_019f1f39-63a2-7af5-986b-2fb4d65705c3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_019f1f39-63a2-74d6-9a32-9a1eaf91cf49" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019f1f39-63a2-72b0-b9df-40d884001dc1" xlink:to="loc_srt_RangeAxis_019f1f39-63a2-74d6-9a32-9a1eaf91cf49" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019f1f39-63a2-74d6-9a32-9a1eaf91cf49_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_019f1f39-63a2-74d6-9a32-9a1eaf91cf49" xlink:to="loc_srt_RangeMember_019f1f39-63a2-74d6-9a32-9a1eaf91cf49_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019f1f39-63a2-7443-9e7b-1b57611c41e0" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_019f1f39-63a2-74d6-9a32-9a1eaf91cf49" xlink:to="loc_srt_RangeMember_019f1f39-63a2-7443-9e7b-1b57611c41e0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_019f1f39-63a2-776e-a285-0de1a9f9b49a" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019f1f39-63a2-7443-9e7b-1b57611c41e0" xlink:to="loc_srt_MinimumMember_019f1f39-63a2-776e-a285-0de1a9f9b49a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_019f1f39-63a2-79e0-8010-98f3474d0098" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019f1f39-63a2-7443-9e7b-1b57611c41e0" xlink:to="loc_srt_MaximumMember_019f1f39-63a2-79e0-8010-98f3474d0098" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_019f1f39-63a2-7a17-92d4-b065dd415648" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019f1f39-63a2-7ca6-b9a0-2cd969ac8fb4" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_019f1f39-63a2-7a17-92d4-b065dd415648" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_019f1f39-63a2-7ba8-8846-83a9648ca96d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019f1f39-63a2-7ca6-b9a0-2cd969ac8fb4" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_019f1f39-63a2-7ba8-8846-83a9648ca96d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_019f1f39-63a2-7a99-8492-bf3c66afc679" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019f1f39-63a2-7ca6-b9a0-2cd969ac8fb4" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_019f1f39-63a2-7a99-8492-bf3c66afc679" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_019f1f39-63a2-7950-9009-ed66d8d35c72" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019f1f39-63a2-7ca6-b9a0-2cd969ac8fb4" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_019f1f39-63a2-7950-9009-ed66d8d35c72" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_019f1f39-63a2-7773-af0d-669fd69864ad" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019f1f39-63a2-7ca6-b9a0-2cd969ac8fb4" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_019f1f39-63a2-7773-af0d-669fd69864ad" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_019f1f39-63a2-794b-a1db-c23a46bd210b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019f1f39-63a2-7ca6-b9a0-2cd969ac8fb4" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_019f1f39-63a2-794b-a1db-c23a46bd210b" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue_019f1f39-63a2-71fb-bb67-559a37c47d5b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019f1f39-63a2-7ca6-b9a0-2cd969ac8fb4" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue_019f1f39-63a2-71fb-bb67-559a37c47d5b" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1_019f1f39-63a2-778d-aa70-42cf83680a5c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019f1f39-63a2-7ca6-b9a0-2cd969ac8fb4" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1_019f1f39-63a2-778d-aa70-42cf83680a5c" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_019f1f39-63a2-72d1-8d81-f63cd4f56aeb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019f1f39-63a2-7ca6-b9a0-2cd969ac8fb4" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_019f1f39-63a2-72d1-8d81-f63cd4f56aeb" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_ShareBasedCompensationArrangementByShareBasedPaymentAwardPerformancePeriod_01a0cbd6-7a46-7b37-b761-7f7ac65027f3" xlink:href="dci-20260731.xsd#dci_ShareBasedCompensationArrangementByShareBasedPaymentAwardPerformancePeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019f1f39-63a2-7ca6-b9a0-2cd969ac8fb4" xlink:to="loc_dci_ShareBasedCompensationArrangementByShareBasedPaymentAwardPerformancePeriod_01a0cbd6-7a46-7b37-b761-7f7ac65027f3" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_01a0cdef-1a86-7916-96d5-24c59eb47c7d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019f1f39-63a2-7ca6-b9a0-2cd969ac8fb4" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_01a0cdef-1a86-7916-96d5-24c59eb47c7d" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_ShareBasedCompensationArrangeByShareBasedPaymentAwardAwardTargetPayoutPercentage_019f1f39-63a2-7206-bede-5b3ebbc64859" xlink:href="dci-20260731.xsd#dci_ShareBasedCompensationArrangeByShareBasedPaymentAwardAwardTargetPayoutPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019f1f39-63a2-7ca6-b9a0-2cd969ac8fb4" xlink:to="loc_dci_ShareBasedCompensationArrangeByShareBasedPaymentAwardAwardTargetPayoutPercentage_019f1f39-63a2-7206-bede-5b3ebbc64859" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_019f1f39-63a2-7336-b50a-4ebbc6dea42d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/StockBasedCompensationScheduleofValuationAssumptionusedtoDetermineFairValueofStockBasedCompensationAwardsDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#StockBasedCompensationScheduleofValuationAssumptionusedtoDetermineFairValueofStockBasedCompensationAwardsDetails"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/StockBasedCompensationScheduleofValuationAssumptionusedtoDetermineFairValueofStockBasedCompensationAwardsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019f1f39-63a2-7682-aa7b-302e3cbf3b72" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019f1f39-63a2-75d0-a95a-968906128576" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019f1f39-63a2-7682-aa7b-302e3cbf3b72" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019f1f39-63a2-75d0-a95a-968906128576" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TitleOfIndividualAxis_019f1f39-63a2-7120-83d5-da8854a4a324" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_TitleOfIndividualAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019f1f39-63a2-75d0-a95a-968906128576" xlink:to="loc_srt_TitleOfIndividualAxis_019f1f39-63a2-7120-83d5-da8854a4a324" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_019f1f39-63a2-7120-83d5-da8854a4a324_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_TitleOfIndividualAxis_019f1f39-63a2-7120-83d5-da8854a4a324" xlink:to="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_019f1f39-63a2-7120-83d5-da8854a4a324_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_019f1f39-63a2-7f5d-8241-3d19051edc93" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_TitleOfIndividualAxis_019f1f39-63a2-7120-83d5-da8854a4a324" xlink:to="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_019f1f39-63a2-7f5d-8241-3d19051edc93" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_DirectorGrantsMember_019f1f39-63a2-799e-93f5-4810852d9635" xlink:href="dci-20260731.xsd#dci_DirectorGrantsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_019f1f39-63a2-7f5d-8241-3d19051edc93" xlink:to="loc_dci_DirectorGrantsMember_019f1f39-63a2-799e-93f5-4810852d9635" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_OfficerGrantsMember_019f1f39-63a2-7e76-8844-c839ab407b5a" xlink:href="dci-20260731.xsd#dci_OfficerGrantsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_019f1f39-63a2-7f5d-8241-3d19051edc93" xlink:to="loc_dci_OfficerGrantsMember_019f1f39-63a2-7e76-8844-c839ab407b5a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_NonOfficerGrantsMember_019f1f39-63a2-76a9-a6e0-06b1d0a55308" xlink:href="dci-20260731.xsd#dci_NonOfficerGrantsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_019f1f39-63a2-7f5d-8241-3d19051edc93" xlink:to="loc_dci_NonOfficerGrantsMember_019f1f39-63a2-76a9-a6e0-06b1d0a55308" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum_019f1f39-63a2-75ff-a997-866b11d4b67c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019f1f39-63a2-7682-aa7b-302e3cbf3b72" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMinimum_019f1f39-63a2-75ff-a997-866b11d4b67c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum_019f1f39-63a2-7af6-affb-bf2d8fe21ce0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019f1f39-63a2-7682-aa7b-302e3cbf3b72" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRateMaximum_019f1f39-63a2-7af6-affb-bf2d8fe21ce0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum_019f1f39-63a2-77f1-8eda-6b215599974c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019f1f39-63a2-7682-aa7b-302e3cbf3b72" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMinimum_019f1f39-63a2-77f1-8eda-6b215599974c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum_019f1f39-63a2-7633-98ea-0208bf02be36" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019f1f39-63a2-7682-aa7b-302e3cbf3b72" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRateMaximum_019f1f39-63a2-7633-98ea-0208bf02be36" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_019f1f39-63a2-7e85-8296-1fe700ba480e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019f1f39-63a2-7682-aa7b-302e3cbf3b72" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_019f1f39-63a2-7e85-8296-1fe700ba480e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_019f1f39-63a2-7f69-86c3-4be7277c73d7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019f1f39-63a2-7682-aa7b-302e3cbf3b72" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_019f1f39-63a2-7f69-86c3-4be7277c73d7" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/StockBasedCompensationScheduleofOutstandingandExercisableOptionsDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#StockBasedCompensationScheduleofOutstandingandExercisableOptionsDetails"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/StockBasedCompensationScheduleofOutstandingandExercisableOptionsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_019f1f39-63a2-761b-a2ee-37a6a23a3438" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_019f1f39-63a2-7e23-b697-c729c785f37b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_019f1f39-63a2-761b-a2ee-37a6a23a3438" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_019f1f39-63a2-7e23-b697-c729c785f37b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_019f1f39-63a2-7d48-870d-5b57da01423a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_019f1f39-63a2-7e23-b697-c729c785f37b" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_019f1f39-63a2-7d48-870d-5b57da01423a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_019f1f39-63a2-7d48-870d-5b57da01423a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_019f1f39-63a2-7d48-870d-5b57da01423a" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_019f1f39-63a2-7d48-870d-5b57da01423a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_019f1f39-63a2-7d7f-986b-e13015479785" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_019f1f39-63a2-7d48-870d-5b57da01423a" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_019f1f39-63a2-7d7f-986b-e13015479785" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_RangeOneMember_019f1f39-63a2-71fc-be3a-0ab422ea5527" xlink:href="dci-20260731.xsd#dci_RangeOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_019f1f39-63a2-7d7f-986b-e13015479785" xlink:to="loc_dci_RangeOneMember_019f1f39-63a2-71fc-be3a-0ab422ea5527" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_RangeTwoMember_019f1f39-63a2-7c1c-a636-34e1afa523e7" xlink:href="dci-20260731.xsd#dci_RangeTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_019f1f39-63a2-7d7f-986b-e13015479785" xlink:to="loc_dci_RangeTwoMember_019f1f39-63a2-7c1c-a636-34e1afa523e7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_RangeThreeMember_019f1f39-63a2-7f37-96cf-394709237e99" xlink:href="dci-20260731.xsd#dci_RangeThreeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_019f1f39-63a2-7d7f-986b-e13015479785" xlink:to="loc_dci_RangeThreeMember_019f1f39-63a2-7f37-96cf-394709237e99" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_RangeFourMember_019f1f39-63a2-70c4-8156-a67d5f4e5dfb" xlink:href="dci-20260731.xsd#dci_RangeFourMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_019f1f39-63a2-7d7f-986b-e13015479785" xlink:to="loc_dci_RangeFourMember_019f1f39-63a2-70c4-8156-a67d5f4e5dfb" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_RangeFiveMember_019f1f39-63a2-7c38-9087-f545dc1d172e" xlink:href="dci-20260731.xsd#dci_RangeFiveMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_019f1f39-63a2-7d7f-986b-e13015479785" xlink:to="loc_dci_RangeFiveMember_019f1f39-63a2-7c38-9087-f545dc1d172e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit_019f1f39-63a2-76c3-bc15-ecaffa285088" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_019f1f39-63a2-761b-a2ee-37a6a23a3438" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit_019f1f39-63a2-76c3-bc15-ecaffa285088" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit_019f1f39-63a2-7388-8905-52d935ef5301" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_019f1f39-63a2-761b-a2ee-37a6a23a3438" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit_019f1f39-63a2-7388-8905-52d935ef5301" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_019f1f39-63a2-7b17-944b-f53476c2b99d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_019f1f39-63a2-761b-a2ee-37a6a23a3438" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_019f1f39-63a2-7b17-944b-f53476c2b99d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_019f1f39-63a2-7e9f-8025-9920bf0453c2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_019f1f39-63a2-761b-a2ee-37a6a23a3438" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_019f1f39-63a2-7e9f-8025-9920bf0453c2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1_019f1f39-63a2-70b0-a6c0-64da9100039b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_019f1f39-63a2-761b-a2ee-37a6a23a3438" xlink:to="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1_019f1f39-63a2-70b0-a6c0-64da9100039b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber_019f1f39-63a2-7923-86f8-223754f9b5b9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_019f1f39-63a2-761b-a2ee-37a6a23a3438" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber_019f1f39-63a2-7923-86f8-223754f9b5b9" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1_019f1f39-63a2-7046-9678-e9f6f0901421" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_019f1f39-63a2-761b-a2ee-37a6a23a3438" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1_019f1f39-63a2-7046-9678-e9f6f0901421" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeExercisableOptionsWeightedAverageExercisePrice1_019f1f39-63a2-7dc4-9b87-6c611764d60e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeExercisableOptionsWeightedAverageExercisePrice1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_019f1f39-63a2-761b-a2ee-37a6a23a3438" xlink:to="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeExercisableOptionsWeightedAverageExercisePrice1_019f1f39-63a2-7dc4-9b87-6c611764d60e" xlink:type="arc" order="7"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/StockBasedCompensationScheduleofPerformanceSharesActivityDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#StockBasedCompensationScheduleofPerformanceSharesActivityDetails"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/StockBasedCompensationScheduleofPerformanceSharesActivityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019f1f39-63a3-7880-a59e-e12f91ea1a02" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019f1f39-63a3-74ba-9210-50221330f2f4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019f1f39-63a3-7880-a59e-e12f91ea1a02" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019f1f39-63a3-74ba-9210-50221330f2f4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_019f1f39-63a3-756e-87f3-ff3d250787a5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019f1f39-63a3-74ba-9210-50221330f2f4" xlink:to="loc_us-gaap_AwardTypeAxis_019f1f39-63a3-756e-87f3-ff3d250787a5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019f1f39-63a3-756e-87f3-ff3d250787a5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_019f1f39-63a3-756e-87f3-ff3d250787a5" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019f1f39-63a3-756e-87f3-ff3d250787a5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019f1f39-63a3-724b-8266-cad1fcf90149" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_019f1f39-63a3-756e-87f3-ff3d250787a5" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019f1f39-63a3-724b-8266-cad1fcf90149" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceSharesMember_019f1f39-63a3-779c-9607-8757549ae208" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PerformanceSharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019f1f39-63a3-724b-8266-cad1fcf90149" xlink:to="loc_us-gaap_PerformanceSharesMember_019f1f39-63a3-779c-9607-8757549ae208" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_019f1f39-63a3-77ca-8adf-2b3c9f30d691" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019f1f39-63a3-7880-a59e-e12f91ea1a02" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_019f1f39-63a3-77ca-8adf-2b3c9f30d691" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_019f1f39-63a3-758e-b64b-7a46bfb4a000" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_019f1f39-63a3-77ca-8adf-2b3c9f30d691" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_019f1f39-63a3-758e-b64b-7a46bfb4a000" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_019f1f39-63a3-72f8-82b2-0d1dc284962f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_019f1f39-63a3-77ca-8adf-2b3c9f30d691" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_019f1f39-63a3-72f8-82b2-0d1dc284962f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_019f1f39-63a3-7ad9-a256-66d2719b7e67" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_019f1f39-63a3-77ca-8adf-2b3c9f30d691" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_019f1f39-63a3-7ad9-a256-66d2719b7e67" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_019f1f39-63a3-75a8-9d72-0df62ac6d87a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_019f1f39-63a3-77ca-8adf-2b3c9f30d691" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_019f1f39-63a3-75a8-9d72-0df62ac6d87a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_019f1f39-63a3-74ac-b5a6-08931320cfb8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_019f1f39-63a3-721c-9bba-e94b7a31a956" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019f1f39-63a3-7880-a59e-e12f91ea1a02" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_019f1f39-63a3-721c-9bba-e94b7a31a956" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_019f1f39-63a3-7105-85a2-42addf242a2e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_019f1f39-63a3-721c-9bba-e94b7a31a956" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_019f1f39-63a3-7105-85a2-42addf242a2e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_019f1f39-63a3-7488-8bb5-fe8d80c139ee" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_019f1f39-63a3-721c-9bba-e94b7a31a956" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_019f1f39-63a3-7488-8bb5-fe8d80c139ee" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_019f1f39-63a3-7633-b184-e736e78ea16a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_019f1f39-63a3-721c-9bba-e94b7a31a956" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_019f1f39-63a3-7633-b184-e736e78ea16a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_019f1f39-63a3-7108-8a82-8aa1c28a76ff" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_019f1f39-63a3-721c-9bba-e94b7a31a956" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_019f1f39-63a3-7108-8a82-8aa1c28a76ff" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_019f1f39-63a3-7c33-a9b9-1531ff0cdb73" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/EmployeeBenefitPlansScheduleofChangesinProjectedBenefitObligationsFairValueofPlanAssetsandFundedStatusDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#EmployeeBenefitPlansScheduleofChangesinProjectedBenefitObligationsFairValueofPlanAssetsandFundedStatusDetails"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/EmployeeBenefitPlansScheduleofChangesinProjectedBenefitObligationsFairValueofPlanAssetsandFundedStatusDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-63a3-7f41-8012-33cb6c89a079" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019f1f39-63a3-7390-8561-1fa9930220f2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-63a3-7f41-8012-33cb6c89a079" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019f1f39-63a3-7390-8561-1fa9930220f2" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_019f1f39-63a3-7401-b246-249b9e142f2f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019f1f39-63a3-7390-8561-1fa9930220f2" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_019f1f39-63a3-7401-b246-249b9e142f2f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_019f1f39-63a3-7401-b246-249b9e142f2f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_019f1f39-63a3-7401-b246-249b9e142f2f" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_019f1f39-63a3-7401-b246-249b9e142f2f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_019f1f39-63a3-77f5-a472-c86db35d1372" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_019f1f39-63a3-7401-b246-249b9e142f2f" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_019f1f39-63a3-77f5-a472-c86db35d1372" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_019f1f39-63a3-7ed3-a91d-6abee56f4349" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PensionPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_019f1f39-63a3-77f5-a472-c86db35d1372" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_019f1f39-63a3-7ed3-a91d-6abee56f4349" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_019f1f39-63a3-7abf-8805-8bcd897ddd77" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-63a3-7f41-8012-33cb6c89a079" xlink:to="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_019f1f39-63a3-7abf-8805-8bcd897ddd77" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanBenefitObligation_019f1f39-63a3-7ed1-9589-fa0a0ec34dfc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanBenefitObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_019f1f39-63a3-7abf-8805-8bcd897ddd77" xlink:to="loc_us-gaap_DefinedBenefitPlanBenefitObligation_019f1f39-63a3-7ed1-9589-fa0a0ec34dfc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_019f1f39-63a3-77ce-8a86-6b895017a885" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanServiceCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_019f1f39-63a3-7abf-8805-8bcd897ddd77" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_019f1f39-63a3-77ce-8a86-6b895017a885" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_019f1f39-63a3-7172-b83e-52d77a9bfc3b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanInterestCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_019f1f39-63a3-7abf-8805-8bcd897ddd77" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_019f1f39-63a3-7172-b83e-52d77a9bfc3b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanPlanAmendments_019f1f39-63a3-7a63-827a-47637d38657d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanPlanAmendments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_019f1f39-63a3-7abf-8805-8bcd897ddd77" xlink:to="loc_us-gaap_DefinedBenefitPlanPlanAmendments_019f1f39-63a3-7a63-827a-47637d38657d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanBenefitObligationContributionsByPlanParticipant_019f1f39-63a3-773a-8da8-b1ac26ecdfa0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanBenefitObligationContributionsByPlanParticipant"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_019f1f39-63a3-7abf-8805-8bcd897ddd77" xlink:to="loc_us-gaap_DefinedBenefitPlanBenefitObligationContributionsByPlanParticipant_019f1f39-63a3-773a-8da8-b1ac26ecdfa0" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanActuarialGainLoss_019f1f39-63a3-7a72-a30d-def1492c8b73" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanActuarialGainLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_019f1f39-63a3-7abf-8805-8bcd897ddd77" xlink:to="loc_us-gaap_DefinedBenefitPlanActuarialGainLoss_019f1f39-63a3-7a72-a30d-def1492c8b73" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanForeignCurrencyExchangeRateChangesBenefitObligation_019f1f39-63a3-79eb-8e51-f0eba2ca827c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanForeignCurrencyExchangeRateChangesBenefitObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_019f1f39-63a3-7abf-8805-8bcd897ddd77" xlink:to="loc_us-gaap_DefinedBenefitPlanForeignCurrencyExchangeRateChangesBenefitObligation_019f1f39-63a3-79eb-8e51-f0eba2ca827c" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanBenefitObligationPaymentForSettlement_019f1f39-63a3-72cf-9eb4-f3913eedcc8c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanBenefitObligationPaymentForSettlement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_019f1f39-63a3-7abf-8805-8bcd897ddd77" xlink:to="loc_us-gaap_DefinedBenefitPlanBenefitObligationPaymentForSettlement_019f1f39-63a3-72cf-9eb4-f3913eedcc8c" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanBusinessCombinationsAndAcquisitionsBenefitObligation_019f1f39-63a3-7662-8e98-3ceec4f4df64" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanBusinessCombinationsAndAcquisitionsBenefitObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_019f1f39-63a3-7abf-8805-8bcd897ddd77" xlink:to="loc_us-gaap_DefinedBenefitPlanBusinessCombinationsAndAcquisitionsBenefitObligation_019f1f39-63a3-7662-8e98-3ceec4f4df64" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanBenefitObligationBenefitsPaid_019f1f39-63a3-79a8-8ba8-c4bda65abd8c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanBenefitObligationBenefitsPaid"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_019f1f39-63a3-7abf-8805-8bcd897ddd77" xlink:to="loc_us-gaap_DefinedBenefitPlanBenefitObligationBenefitsPaid_019f1f39-63a3-79a8-8ba8-c4bda65abd8c" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanBenefitObligation_019f1f39-63a3-7e11-9f86-b18aa0d17531" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanBenefitObligation"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_019f1f39-63a3-7eb3-8488-d24ff3a3999a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-63a3-7f41-8012-33cb6c89a079" xlink:to="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_019f1f39-63a3-7eb3-8488-d24ff3a3999a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_019f1f39-63a3-7588-9de1-725cce30a759" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanFairValueOfPlanAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_019f1f39-63a3-7eb3-8488-d24ff3a3999a" xlink:to="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_019f1f39-63a3-7588-9de1-725cce30a759" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanActualReturnOnPlanAssets_019f1f39-63a3-76dd-8bb3-da5f3fe21a35" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanActualReturnOnPlanAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_019f1f39-63a3-7eb3-8488-d24ff3a3999a" xlink:to="loc_us-gaap_DefinedBenefitPlanActualReturnOnPlanAssets_019f1f39-63a3-76dd-8bb3-da5f3fe21a35" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanContributionsByEmployer_019f1f39-63a3-71d7-996a-b6098bcee631" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanContributionsByEmployer"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_019f1f39-63a3-7eb3-8488-d24ff3a3999a" xlink:to="loc_us-gaap_DefinedBenefitPlanContributionsByEmployer_019f1f39-63a3-71d7-996a-b6098bcee631" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanPlanAssetsContributionsByPlanParticipant_019f1f39-63a3-7b88-ad71-b82c9533aee7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanPlanAssetsContributionsByPlanParticipant"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_019f1f39-63a3-7eb3-8488-d24ff3a3999a" xlink:to="loc_us-gaap_DefinedBenefitPlanPlanAssetsContributionsByPlanParticipant_019f1f39-63a3-7b88-ad71-b82c9533aee7" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanPlanAssetsForeignCurrencyTranslationGainLoss_019f1f39-63a3-7fe1-bd58-c24208e6a7c0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanPlanAssetsForeignCurrencyTranslationGainLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_019f1f39-63a3-7eb3-8488-d24ff3a3999a" xlink:to="loc_us-gaap_DefinedBenefitPlanPlanAssetsForeignCurrencyTranslationGainLoss_019f1f39-63a3-7fe1-bd58-c24208e6a7c0" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanSettlementsPlanAssets_019f1f39-63a3-710a-ab63-18ce2c14135a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanSettlementsPlanAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_019f1f39-63a3-7eb3-8488-d24ff3a3999a" xlink:to="loc_us-gaap_DefinedBenefitPlanSettlementsPlanAssets_019f1f39-63a3-710a-ab63-18ce2c14135a" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanBusinessCombinationsAndAcquisitionsPlanAssets_019f1f39-63a3-70e7-ba32-8659b63661dd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanBusinessCombinationsAndAcquisitionsPlanAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_019f1f39-63a3-7eb3-8488-d24ff3a3999a" xlink:to="loc_us-gaap_DefinedBenefitPlanBusinessCombinationsAndAcquisitionsPlanAssets_019f1f39-63a3-70e7-ba32-8659b63661dd" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanPlanAssetsBenefitsPaid_019f1f39-63a3-773b-b7b5-f36a9e813e50" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanPlanAssetsBenefitsPaid"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_019f1f39-63a3-7eb3-8488-d24ff3a3999a" xlink:to="loc_us-gaap_DefinedBenefitPlanPlanAssetsBenefitsPaid_019f1f39-63a3-773b-b7b5-f36a9e813e50" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_019f1f39-63a3-763e-859b-815b24fe9c36" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanFairValueOfPlanAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlanAbstract_019f1f39-63a3-79ef-970f-3772fa71d393" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanFundedStatusOfPlanAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-63a3-7f41-8012-33cb6c89a079" xlink:to="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlanAbstract_019f1f39-63a3-79ef-970f-3772fa71d393" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_019f1f39-63a3-79a8-bb65-ed6499aa3a7c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanFundedStatusOfPlan"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlanAbstract_019f1f39-63a3-79ef-970f-3772fa71d393" xlink:to="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_019f1f39-63a3-79a8-bb65-ed6499aa3a7c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheetAbstract_019f1f39-63a3-7b86-9c81-84bec3d07671" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheetAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-63a3-7f41-8012-33cb6c89a079" xlink:to="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheetAbstract_019f1f39-63a3-7b86-9c81-84bec3d07671" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent_019f1f39-63a3-7261-aad8-10f27312437d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheetAbstract_019f1f39-63a3-7b86-9c81-84bec3d07671" xlink:to="loc_us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent_019f1f39-63a3-7261-aad8-10f27312437d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_019f1f39-63a3-778a-9e2a-c1266027e5cd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheetAbstract_019f1f39-63a3-7b86-9c81-84bec3d07671" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_019f1f39-63a3-778a-9e2a-c1266027e5cd" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_019f1f39-63a3-709e-861b-64ac54363007" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheetAbstract_019f1f39-63a3-7b86-9c81-84bec3d07671" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_019f1f39-63a3-709e-861b-64ac54363007" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_019f1f39-63a3-78e9-86b2-2f38932d627e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheetAbstract_019f1f39-63a3-7b86-9c81-84bec3d07671" xlink:to="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_019f1f39-63a3-78e9-86b2-2f38932d627e" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/EmployeeBenefitPlansNarrativeDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#EmployeeBenefitPlansNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/EmployeeBenefitPlansNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-63a3-7a12-89e8-87ad654f2697" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019f1f39-63a3-798f-95d5-68fee61acf0d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-63a3-7a12-89e8-87ad654f2697" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019f1f39-63a3-798f-95d5-68fee61acf0d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_019f1f39-63a3-754e-b384-174f871b8c73" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019f1f39-63a3-798f-95d5-68fee61acf0d" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_019f1f39-63a3-754e-b384-174f871b8c73" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_019f1f39-63a3-754e-b384-174f871b8c73_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_019f1f39-63a3-754e-b384-174f871b8c73" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_019f1f39-63a3-754e-b384-174f871b8c73_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_019f1f39-63a3-7d11-8ca6-3aff60cc0118" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_019f1f39-63a3-754e-b384-174f871b8c73" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_019f1f39-63a3-7d11-8ca6-3aff60cc0118" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_019f1f39-63a3-74d4-891d-0207441295d2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PensionPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_019f1f39-63a3-7d11-8ca6-3aff60cc0118" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_019f1f39-63a3-74d4-891d-0207441295d2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_RetirementSavingsAndEmployeeStockOwnershipPlanMember_019f1f39-63a3-719c-bd9e-3397107c8071" xlink:href="dci-20260731.xsd#dci_RetirementSavingsAndEmployeeStockOwnershipPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_019f1f39-63a3-7d11-8ca6-3aff60cc0118" xlink:to="loc_dci_RetirementSavingsAndEmployeeStockOwnershipPlanMember_019f1f39-63a3-719c-bd9e-3397107c8071" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_019f1f39-63a3-7eb5-8497-5d494521e3d9" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019f1f39-63a3-798f-95d5-68fee61acf0d" xlink:to="loc_srt_RangeAxis_019f1f39-63a3-7eb5-8497-5d494521e3d9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019f1f39-63a3-7eb5-8497-5d494521e3d9_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_019f1f39-63a3-7eb5-8497-5d494521e3d9" xlink:to="loc_srt_RangeMember_019f1f39-63a3-7eb5-8497-5d494521e3d9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019f1f39-63a3-730d-acdc-bddaaf82e283" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_019f1f39-63a3-7eb5-8497-5d494521e3d9" xlink:to="loc_srt_RangeMember_019f1f39-63a3-730d-acdc-bddaaf82e283" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_019f1f39-63a3-7fc2-a59c-215d1d3fa1c3" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019f1f39-63a3-730d-acdc-bddaaf82e283" xlink:to="loc_srt_MinimumMember_019f1f39-63a3-7fc2-a59c-215d1d3fa1c3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_019f1f39-63a3-7cac-bb84-65dd412ce167" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019f1f39-63a3-730d-acdc-bddaaf82e283" xlink:to="loc_srt_MaximumMember_019f1f39-63a3-7cac-bb84-65dd412ce167" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_019f1f39-63a3-7797-a763-5dff857e3958" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019f1f39-63a3-798f-95d5-68fee61acf0d" xlink:to="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_019f1f39-63a3-7797-a763-5dff857e3958" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanAssetCategoriesDomain_019f1f39-63a3-7797-a763-5dff857e3958_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanAssetCategoriesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_019f1f39-63a3-7797-a763-5dff857e3958" xlink:to="loc_us-gaap_PlanAssetCategoriesDomain_019f1f39-63a3-7797-a763-5dff857e3958_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanAssetCategoriesDomain_019f1f39-63a3-7c30-8cd1-b0e88a5cb686" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanAssetCategoriesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_019f1f39-63a3-7797-a763-5dff857e3958" xlink:to="loc_us-gaap_PlanAssetCategoriesDomain_019f1f39-63a3-7c30-8cd1-b0e88a5cb686" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FixedIncomeSecuritiesMember_019f1f39-63a3-77ca-bd23-b7939da8377c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FixedIncomeSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_019f1f39-63a3-7c30-8cd1-b0e88a5cb686" xlink:to="loc_us-gaap_FixedIncomeSecuritiesMember_019f1f39-63a3-77ca-bd23-b7939da8377c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanEquitySecuritiesMember_019f1f39-63a3-7d6b-a091-305e893abac3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanEquitySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_019f1f39-63a3-7c30-8cd1-b0e88a5cb686" xlink:to="loc_us-gaap_DefinedBenefitPlanEquitySecuritiesMember_019f1f39-63a3-7d6b-a091-305e893abac3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019f1f39-63a3-7a9b-9441-c4fa6d454447" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019f1f39-63a3-798f-95d5-68fee61acf0d" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019f1f39-63a3-7a9b-9441-c4fa6d454447" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019f1f39-63a3-7a9b-9441-c4fa6d454447_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019f1f39-63a3-7a9b-9441-c4fa6d454447" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019f1f39-63a3-7a9b-9441-c4fa6d454447_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019f1f39-63a3-7c95-8304-9dc708dbc185" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019f1f39-63a3-7a9b-9441-c4fa6d454447" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019f1f39-63a3-7c95-8304-9dc708dbc185" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_019f1f39-63a3-7ab1-8d78-0d5742f80790" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019f1f39-63a3-7c95-8304-9dc708dbc185" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_019f1f39-63a3-7ab1-8d78-0d5742f80790" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationAxis_019f1f39-63a3-7d27-964d-fa2d03f05779" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanSponsorLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019f1f39-63a3-798f-95d5-68fee61acf0d" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationAxis_019f1f39-63a3-7d27-964d-fa2d03f05779" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationDomain_019f1f39-63a3-7d27-964d-fa2d03f05779_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanSponsorLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationAxis_019f1f39-63a3-7d27-964d-fa2d03f05779" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationDomain_019f1f39-63a3-7d27-964d-fa2d03f05779_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationDomain_019f1f39-63a3-7820-8f13-6c1f986d60b2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanSponsorLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationAxis_019f1f39-63a3-7d27-964d-fa2d03f05779" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationDomain_019f1f39-63a3-7820-8f13-6c1f986d60b2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DomesticPlanMember_019f1f39-63a3-7bcf-9a5d-43d865706dc0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DomesticPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationDomain_019f1f39-63a3-7820-8f13-6c1f986d60b2" xlink:to="loc_us-gaap_DomesticPlanMember_019f1f39-63a3-7bcf-9a5d-43d865706dc0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_US_019f1f39-63a3-7585-bfc5-c1b800f7803e" xlink:href="https://xbrl.sec.gov/country/2026/country-2026.xsd#country_US"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DomesticPlanMember_019f1f39-63a3-7bcf-9a5d-43d865706dc0" xlink:to="loc_country_US_019f1f39-63a3-7585-bfc5-c1b800f7803e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_019f1f39-63a3-7f81-9d75-3d6a622db59f" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019f1f39-63a3-798f-95d5-68fee61acf0d" xlink:to="loc_dei_LegalEntityAxis_019f1f39-63a3-7f81-9d75-3d6a622db59f" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019f1f39-63a3-7f81-9d75-3d6a622db59f_default" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_019f1f39-63a3-7f81-9d75-3d6a622db59f" xlink:to="loc_dei_EntityDomain_019f1f39-63a3-7f81-9d75-3d6a622db59f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019f1f39-63a3-7cd4-b2ea-04484d81ccb8" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_019f1f39-63a3-7f81-9d75-3d6a622db59f" xlink:to="loc_dei_EntityDomain_019f1f39-63a3-7cd4-b2ea-04484d81ccb8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_IndependentInsuranceCompanyMember_019f1f39-63a3-770f-9cd9-af39c8d6d50a" xlink:href="dci-20260731.xsd#dci_IndependentInsuranceCompanyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_019f1f39-63a3-7cd4-b2ea-04484d81ccb8" xlink:to="loc_dci_IndependentInsuranceCompanyMember_019f1f39-63a3-770f-9cd9-af39c8d6d50a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_019f1f39-63a3-71ba-a9bd-82cd56f11d71" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanFundedStatusOfPlan"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-63a3-7a12-89e8-87ad654f2697" xlink:to="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_019f1f39-63a3-71ba-a9bd-82cd56f11d71" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax_019f1f39-63a3-7ea4-9377-1ca719d48a06" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-63a3-7a12-89e8-87ad654f2697" xlink:to="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax_019f1f39-63a3-7ea4-9377-1ca719d48a06" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAccumulatedBenefitObligation_019f1f39-63a3-7703-ae23-b04021872ee4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanAccumulatedBenefitObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-63a3-7a12-89e8-87ad654f2697" xlink:to="loc_us-gaap_DefinedBenefitPlanAccumulatedBenefitObligation_019f1f39-63a3-7703-ae23-b04021872ee4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanPensionPlanWithProjectedBenefitObligationInExcessOfPlanAssetsProjectedBenefitObligation_019f1f39-63a3-72d1-b0ea-eba166f9a8dc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanPensionPlanWithProjectedBenefitObligationInExcessOfPlanAssetsProjectedBenefitObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-63a3-7a12-89e8-87ad654f2697" xlink:to="loc_us-gaap_DefinedBenefitPlanPensionPlanWithProjectedBenefitObligationInExcessOfPlanAssetsProjectedBenefitObligation_019f1f39-63a3-72d1-b0ea-eba166f9a8dc" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanPensionPlanWithProjectedBenefitObligationInExcessOfPlanAssetsPlanAssets_019f1f39-63a3-78cf-ad1a-aa0ff8545c6a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanPensionPlanWithProjectedBenefitObligationInExcessOfPlanAssetsPlanAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-63a3-7a12-89e8-87ad654f2697" xlink:to="loc_us-gaap_DefinedBenefitPlanPensionPlanWithProjectedBenefitObligationInExcessOfPlanAssetsPlanAssets_019f1f39-63a3-78cf-ad1a-aa0ff8545c6a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAggregateProjectedBenefitObligation_019f1f39-63a3-70d4-ab2f-868d65146305" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAggregateProjectedBenefitObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-63a3-7a12-89e8-87ad654f2697" xlink:to="loc_us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAggregateProjectedBenefitObligation_019f1f39-63a3-70d4-ab2f-868d65146305" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAggregateAccumulatedBenefitObligation_019f1f39-63a3-7c76-b4ea-c0efb2faf015" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAggregateAccumulatedBenefitObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-63a3-7a12-89e8-87ad654f2697" xlink:to="loc_us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAggregateAccumulatedBenefitObligation_019f1f39-63a3-7c76-b4ea-c0efb2faf015" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAggregateFairValueOfPlanAssets_019f1f39-63a3-73c2-90cf-4ff44a37e347" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAggregateFairValueOfPlanAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-63a3-7a12-89e8-87ad654f2697" xlink:to="loc_us-gaap_DefinedBenefitPlanPensionPlansWithAccumulatedBenefitObligationsInExcessOfPlanAssetsAggregateFairValueOfPlanAssets_019f1f39-63a3-73c2-90cf-4ff44a37e347" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanPlanAssetsTargetAllocationPercentage_019f1f39-63a3-7b59-9212-4de51b9d51f7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanPlanAssetsTargetAllocationPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-63a3-7a12-89e8-87ad654f2697" xlink:to="loc_us-gaap_DefinedBenefitPlanPlanAssetsTargetAllocationPercentage_019f1f39-63a3-7b59-9212-4de51b9d51f7" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_ContributoryEmployeeSavingPlanEmployeeContributionThresholdLimitFromCompensationMaximum_019f1f39-63a3-7cde-93fa-bf869255063e" xlink:href="dci-20260731.xsd#dci_ContributoryEmployeeSavingPlanEmployeeContributionThresholdLimitFromCompensationMaximum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-63a3-7a12-89e8-87ad654f2697" xlink:to="loc_dci_ContributoryEmployeeSavingPlanEmployeeContributionThresholdLimitFromCompensationMaximum_019f1f39-63a3-7cde-93fa-bf869255063e" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_ContributoryEmployeeSavingPlanPercentageMatchOfParticipantsFirstContributions_019f1f39-63a3-7833-8f7f-1cae51c2a770" xlink:href="dci-20260731.xsd#dci_ContributoryEmployeeSavingPlanPercentageMatchOfParticipantsFirstContributions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-63a3-7a12-89e8-87ad654f2697" xlink:to="loc_dci_ContributoryEmployeeSavingPlanPercentageMatchOfParticipantsFirstContributions_019f1f39-63a3-7833-8f7f-1cae51c2a770" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_ContributoryEmployeeSavingPlanPercentageOfParticipantsFirstEligibleCompensation_019f1f39-63a3-7410-8f6c-c0027224c18a" xlink:href="dci-20260731.xsd#dci_ContributoryEmployeeSavingPlanPercentageOfParticipantsFirstEligibleCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-63a3-7a12-89e8-87ad654f2697" xlink:to="loc_dci_ContributoryEmployeeSavingPlanPercentageOfParticipantsFirstEligibleCompensation_019f1f39-63a3-7410-8f6c-c0027224c18a" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_ContributoryEmployeeSavingPlanPercentageMatchOfParticipantsSecondContributions_019f1f39-63a3-705f-9fc1-74032b7c7bea" xlink:href="dci-20260731.xsd#dci_ContributoryEmployeeSavingPlanPercentageMatchOfParticipantsSecondContributions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-63a3-7a12-89e8-87ad654f2697" xlink:to="loc_dci_ContributoryEmployeeSavingPlanPercentageMatchOfParticipantsSecondContributions_019f1f39-63a3-705f-9fc1-74032b7c7bea" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_ContributoryEmployeeSavingPlanPercentageOfParticipantsSecondEligibleCompensation_019f1f39-63a3-71d7-9c3b-1ce68a6d640a" xlink:href="dci-20260731.xsd#dci_ContributoryEmployeeSavingPlanPercentageOfParticipantsSecondEligibleCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-63a3-7a12-89e8-87ad654f2697" xlink:to="loc_dci_ContributoryEmployeeSavingPlanPercentageOfParticipantsSecondEligibleCompensation_019f1f39-63a3-71d7-9c3b-1ce68a6d640a" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_DefinedContributionPlanAnnualRetirementContributionsPercent_019f1f39-63a3-71dd-a384-994216d73ac8" xlink:href="dci-20260731.xsd#dci_DefinedContributionPlanAnnualRetirementContributionsPercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-63a3-7a12-89e8-87ad654f2697" xlink:to="loc_dci_DefinedContributionPlanAnnualRetirementContributionsPercent_019f1f39-63a3-71dd-a384-994216d73ac8" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanContributionsByEmployer_019f1f39-63a3-7155-8891-7cb6e986b2bd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanContributionsByEmployer"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-63a3-7a12-89e8-87ad654f2697" xlink:to="loc_us-gaap_DefinedBenefitPlanContributionsByEmployer_019f1f39-63a3-7155-8891-7cb6e986b2bd" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_DeferredCompensationArrangementWithIndividualMaximumFutureDeferredReceiptsAllowed_019f1f39-63a3-7d7e-a779-a94a1fff02c6" xlink:href="dci-20260731.xsd#dci_DeferredCompensationArrangementWithIndividualMaximumFutureDeferredReceiptsAllowed"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-63a3-7a12-89e8-87ad654f2697" xlink:to="loc_dci_DeferredCompensationArrangementWithIndividualMaximumFutureDeferredReceiptsAllowed_019f1f39-63a3-7d7e-a779-a94a1fff02c6" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredCompensationArrangementWithIndividualRecordedLiability_019f1f39-63a3-77e8-adbb-ad6c6d36c9fb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredCompensationArrangementWithIndividualRecordedLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-63a3-7a12-89e8-87ad654f2697" xlink:to="loc_us-gaap_DeferredCompensationArrangementWithIndividualRecordedLiability_019f1f39-63a3-77e8-adbb-ad6c6d36c9fb" xlink:type="arc" order="17"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/EmployeeBenefitPlansScheduleofWeightedAverageDiscountRatesinDeterminingActuarialPresentValueofProjectedBenefitObligationDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#EmployeeBenefitPlansScheduleofWeightedAverageDiscountRatesinDeterminingActuarialPresentValueofProjectedBenefitObligationDetails"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/EmployeeBenefitPlansScheduleofWeightedAverageDiscountRatesinDeterminingActuarialPresentValueofProjectedBenefitObligationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-63a3-7835-a6cd-d4b91415f0bb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019f1f39-63a3-7024-b141-3583543e75ac" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-63a3-7835-a6cd-d4b91415f0bb" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019f1f39-63a3-7024-b141-3583543e75ac" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationAxis_019f1f39-63a3-72ec-837c-87ff36a5ec3c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanSponsorLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019f1f39-63a3-7024-b141-3583543e75ac" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationAxis_019f1f39-63a3-72ec-837c-87ff36a5ec3c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationDomain_019f1f39-63a3-72ec-837c-87ff36a5ec3c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanSponsorLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationAxis_019f1f39-63a3-72ec-837c-87ff36a5ec3c" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationDomain_019f1f39-63a3-72ec-837c-87ff36a5ec3c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationDomain_019f1f39-63a3-738e-8e34-6fe9f7cf2cad" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanSponsorLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationAxis_019f1f39-63a3-72ec-837c-87ff36a5ec3c" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationDomain_019f1f39-63a3-738e-8e34-6fe9f7cf2cad" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DomesticPlanMember_019f1f39-63a3-77b8-9c0e-6215aa0f8237" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DomesticPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationDomain_019f1f39-63a3-738e-8e34-6fe9f7cf2cad" xlink:to="loc_us-gaap_DomesticPlanMember_019f1f39-63a3-77b8-9c0e-6215aa0f8237" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_US_019f1f39-63a3-7ad9-a6e6-cb6a812d45f6" xlink:href="https://xbrl.sec.gov/country/2026/country-2026.xsd#country_US"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DomesticPlanMember_019f1f39-63a3-77b8-9c0e-6215aa0f8237" xlink:to="loc_country_US_019f1f39-63a3-7ad9-a6e6-cb6a812d45f6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignPlanMember_019f1f39-63a3-7b25-985e-f733bae2227a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ForeignPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationDomain_019f1f39-63a3-738e-8e34-6fe9f7cf2cad" xlink:to="loc_us-gaap_ForeignPlanMember_019f1f39-63a3-7b25-985e-f733bae2227a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_019f1f39-63a3-723e-a75a-be46731a2f65" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019f1f39-63a3-7024-b141-3583543e75ac" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_019f1f39-63a3-723e-a75a-be46731a2f65" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_019f1f39-63a3-723e-a75a-be46731a2f65_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_019f1f39-63a3-723e-a75a-be46731a2f65" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_019f1f39-63a3-723e-a75a-be46731a2f65_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_019f1f39-63a3-7201-8d65-0a135c636d48" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_019f1f39-63a3-723e-a75a-be46731a2f65" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_019f1f39-63a3-7201-8d65-0a135c636d48" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_019f1f39-63a3-74ff-bcf8-97d4045d44c3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PensionPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_019f1f39-63a3-7201-8d65-0a135c636d48" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_019f1f39-63a3-74ff-bcf8-97d4045d44c3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate_019f1f39-63a3-7a64-9e80-1f8b468081c1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-63a3-7835-a6cd-d4b91415f0bb" xlink:to="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate_019f1f39-63a3-7a64-9e80-1f8b468081c1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease_019f1f39-6453-7513-93e6-9daf6b04a80d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-63a3-7835-a6cd-d4b91415f0bb" xlink:to="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease_019f1f39-6453-7513-93e6-9daf6b04a80d" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/EmployeeBenefitPlansScheduleofAssumptionsusedtoDetermineNetPeriodicBenefitCostDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#EmployeeBenefitPlansScheduleofAssumptionsusedtoDetermineNetPeriodicBenefitCostDetails"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/EmployeeBenefitPlansScheduleofAssumptionsusedtoDetermineNetPeriodicBenefitCostDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-6453-7772-9c34-4fe5ecbdf44e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019f1f39-6453-7425-88d2-108b5ef9da1a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-6453-7772-9c34-4fe5ecbdf44e" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019f1f39-6453-7425-88d2-108b5ef9da1a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationAxis_019f1f39-6453-701f-adba-83d36c02ca81" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanSponsorLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019f1f39-6453-7425-88d2-108b5ef9da1a" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationAxis_019f1f39-6453-701f-adba-83d36c02ca81" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationDomain_019f1f39-6453-701f-adba-83d36c02ca81_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanSponsorLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationAxis_019f1f39-6453-701f-adba-83d36c02ca81" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationDomain_019f1f39-6453-701f-adba-83d36c02ca81_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationDomain_019f1f39-6453-7839-9c4a-8068dd566419" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanSponsorLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationAxis_019f1f39-6453-701f-adba-83d36c02ca81" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationDomain_019f1f39-6453-7839-9c4a-8068dd566419" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DomesticPlanMember_019f1f39-6453-7d5b-9bbd-9fabefbb99d5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DomesticPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationDomain_019f1f39-6453-7839-9c4a-8068dd566419" xlink:to="loc_us-gaap_DomesticPlanMember_019f1f39-6453-7d5b-9bbd-9fabefbb99d5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_US_019f1f39-6453-72af-8280-bea8be00e9e8" xlink:href="https://xbrl.sec.gov/country/2026/country-2026.xsd#country_US"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DomesticPlanMember_019f1f39-6453-7d5b-9bbd-9fabefbb99d5" xlink:to="loc_country_US_019f1f39-6453-72af-8280-bea8be00e9e8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignPlanMember_019f1f39-6453-72d6-81f9-360d65c0b1f3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ForeignPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationDomain_019f1f39-6453-7839-9c4a-8068dd566419" xlink:to="loc_us-gaap_ForeignPlanMember_019f1f39-6453-72d6-81f9-360d65c0b1f3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_019f1f39-6453-7821-93a9-dc720a395d99" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019f1f39-6453-7425-88d2-108b5ef9da1a" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_019f1f39-6453-7821-93a9-dc720a395d99" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_019f1f39-6453-7821-93a9-dc720a395d99_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_019f1f39-6453-7821-93a9-dc720a395d99" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_019f1f39-6453-7821-93a9-dc720a395d99_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_019f1f39-6453-7230-993a-880456fefdc0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_019f1f39-6453-7821-93a9-dc720a395d99" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_019f1f39-6453-7230-993a-880456fefdc0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_019f1f39-6453-7127-b687-c827d9baae3f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PensionPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_019f1f39-6453-7230-993a-880456fefdc0" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_019f1f39-6453-7127-b687-c827d9baae3f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRate_019f1f39-6453-7a04-bae0-419edd61200a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-6453-7772-9c34-4fe5ecbdf44e" xlink:to="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRate_019f1f39-6453-7a04-bae0-419edd61200a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets_019f1f39-6453-72a4-a8ca-58317eb9156b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-6453-7772-9c34-4fe5ecbdf44e" xlink:to="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets_019f1f39-6453-72a4-a8ca-58317eb9156b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostRateOfCompensationIncrease_019f1f39-6453-7de6-8cc9-dc91ef801d39" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostRateOfCompensationIncrease"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-6453-7772-9c34-4fe5ecbdf44e" xlink:to="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostRateOfCompensationIncrease_019f1f39-6453-7de6-8cc9-dc91ef801d39" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/EmployeeBenefitPlansScheduleofEstimatedFairValueofPensionPlanAssetsandtheirRespectiveLevelsintheFairValueHierarchyDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#EmployeeBenefitPlansScheduleofEstimatedFairValueofPensionPlanAssetsandtheirRespectiveLevelsintheFairValueHierarchyDetails"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/EmployeeBenefitPlansScheduleofEstimatedFairValueofPensionPlanAssetsandtheirRespectiveLevelsintheFairValueHierarchyDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-6453-7a5c-ad93-60c4b279ba0a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019f1f39-6453-7e13-a6bf-8a1698df62dc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-6453-7a5c-ad93-60c4b279ba0a" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019f1f39-6453-7e13-a6bf-8a1698df62dc" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_019f1f39-6453-7c05-88f7-4f9c17404862" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019f1f39-6453-7e13-a6bf-8a1698df62dc" xlink:to="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_019f1f39-6453-7c05-88f7-4f9c17404862" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanAssetCategoriesDomain_019f1f39-6453-7c05-88f7-4f9c17404862_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanAssetCategoriesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_019f1f39-6453-7c05-88f7-4f9c17404862" xlink:to="loc_us-gaap_PlanAssetCategoriesDomain_019f1f39-6453-7c05-88f7-4f9c17404862_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanAssetCategoriesDomain_019f1f39-6453-7c86-9524-001173e637d1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanAssetCategoriesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_019f1f39-6453-7c05-88f7-4f9c17404862" xlink:to="loc_us-gaap_PlanAssetCategoriesDomain_019f1f39-6453-7c86-9524-001173e637d1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanCashAndCashEquivalentsMember_019f1f39-6453-7205-b657-4754321898aa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanCashAndCashEquivalentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_019f1f39-6453-7c86-9524-001173e637d1" xlink:to="loc_us-gaap_DefinedBenefitPlanCashAndCashEquivalentsMember_019f1f39-6453-7205-b657-4754321898aa" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanEquitySecuritiesMember_019f1f39-6453-7543-a7dd-a4a0157fa392" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanEquitySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_019f1f39-6453-7c86-9524-001173e637d1" xlink:to="loc_us-gaap_DefinedBenefitPlanEquitySecuritiesMember_019f1f39-6453-7543-a7dd-a4a0157fa392" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FixedIncomeSecuritiesMember_019f1f39-6453-7320-8b62-5b61161ccfd0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FixedIncomeSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_019f1f39-6453-7c86-9524-001173e637d1" xlink:to="loc_us-gaap_FixedIncomeSecuritiesMember_019f1f39-6453-7320-8b62-5b61161ccfd0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_DefinedBenefitPlanInsuranceContractsMember_019f1f39-6453-713c-90b1-a1eb56420b92" xlink:href="dci-20260731.xsd#dci_DefinedBenefitPlanInsuranceContractsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_019f1f39-6453-7c86-9524-001173e637d1" xlink:to="loc_dci_DefinedBenefitPlanInsuranceContractsMember_019f1f39-6453-713c-90b1-a1eb56420b92" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019f1f39-6453-7d28-9098-29b3cf757353" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019f1f39-6453-7e13-a6bf-8a1698df62dc" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019f1f39-6453-7d28-9098-29b3cf757353" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019f1f39-6453-7d28-9098-29b3cf757353_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019f1f39-6453-7d28-9098-29b3cf757353" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019f1f39-6453-7d28-9098-29b3cf757353_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019f1f39-6453-7326-9f29-34bf3816d541" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019f1f39-6453-7d28-9098-29b3cf757353" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019f1f39-6453-7326-9f29-34bf3816d541" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_019f1f39-6453-737d-af83-33291113c8ad" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019f1f39-6453-7326-9f29-34bf3816d541" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_019f1f39-6453-737d-af83-33291113c8ad" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_019f1f39-6453-76ce-8b44-89a0acb453d4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019f1f39-6453-7326-9f29-34bf3816d541" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_019f1f39-6453-76ce-8b44-89a0acb453d4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_019f1f39-6453-71ad-95c3-b615d38238f3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019f1f39-6453-7326-9f29-34bf3816d541" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_019f1f39-6453-71ad-95c3-b615d38238f3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasuredAtNetAssetValuePerShareMember_019f1f39-6453-7fb6-b77a-3b2e32658729" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasuredAtNetAssetValuePerShareMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019f1f39-6453-7326-9f29-34bf3816d541" xlink:to="loc_us-gaap_FairValueMeasuredAtNetAssetValuePerShareMember_019f1f39-6453-7fb6-b77a-3b2e32658729" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationAxis_019f1f39-6453-716a-a16e-357a50b6b003" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanSponsorLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019f1f39-6453-7e13-a6bf-8a1698df62dc" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationAxis_019f1f39-6453-716a-a16e-357a50b6b003" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationDomain_019f1f39-6453-716a-a16e-357a50b6b003_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanSponsorLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationAxis_019f1f39-6453-716a-a16e-357a50b6b003" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationDomain_019f1f39-6453-716a-a16e-357a50b6b003_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationDomain_019f1f39-6453-7454-8d14-023821daf3b5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanSponsorLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationAxis_019f1f39-6453-716a-a16e-357a50b6b003" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationDomain_019f1f39-6453-7454-8d14-023821daf3b5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DomesticPlanMember_019f1f39-6453-7e62-a4a7-02f0c78ca74e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DomesticPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationDomain_019f1f39-6453-7454-8d14-023821daf3b5" xlink:to="loc_us-gaap_DomesticPlanMember_019f1f39-6453-7e62-a4a7-02f0c78ca74e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_US_019f1f39-6453-77ef-9f80-c27417fbbed6" xlink:href="https://xbrl.sec.gov/country/2026/country-2026.xsd#country_US"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DomesticPlanMember_019f1f39-6453-7e62-a4a7-02f0c78ca74e" xlink:to="loc_country_US_019f1f39-6453-77ef-9f80-c27417fbbed6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_019f1f39-6453-7617-b2cd-17488026a40e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019f1f39-6453-7e13-a6bf-8a1698df62dc" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_019f1f39-6453-7617-b2cd-17488026a40e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_019f1f39-6453-7617-b2cd-17488026a40e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_019f1f39-6453-7617-b2cd-17488026a40e" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_019f1f39-6453-7617-b2cd-17488026a40e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_019f1f39-6453-7269-a348-c50be84093cf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_019f1f39-6453-7617-b2cd-17488026a40e" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_019f1f39-6453-7269-a348-c50be84093cf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_019f1f39-6453-71b1-a4c3-fa60095dab1e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PensionPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_019f1f39-6453-7269-a348-c50be84093cf" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_019f1f39-6453-71b1-a4c3-fa60095dab1e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_019f1f39-6453-7b9d-a035-c4a8c3a1cda6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanFairValueOfPlanAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-6453-7a5c-ad93-60c4b279ba0a" xlink:to="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_019f1f39-6453-7b9d-a035-c4a8c3a1cda6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_DefinedBenefitPlanAlternativeInvestmentsFairValueOfPlanAssets_019f1f39-6453-7081-a652-e83b71fc3211" xlink:href="dci-20260731.xsd#dci_DefinedBenefitPlanAlternativeInvestmentsFairValueOfPlanAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-6453-7a5c-ad93-60c4b279ba0a" xlink:to="loc_dci_DefinedBenefitPlanAlternativeInvestmentsFairValueOfPlanAssets_019f1f39-6453-7081-a652-e83b71fc3211" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_DefinedBenefitPlanAssetsInvestmentAtFairValue_019f1f39-6453-7a61-a139-b1d67777ae8e" xlink:href="dci-20260731.xsd#dci_DefinedBenefitPlanAssetsInvestmentAtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-6453-7a5c-ad93-60c4b279ba0a" xlink:to="loc_dci_DefinedBenefitPlanAssetsInvestmentAtFairValue_019f1f39-6453-7a61-a139-b1d67777ae8e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_DefinedBenefitPlanAssetsAccruedIncome_019f1f39-6453-7ad3-8ab8-8e7cf4d2e15e" xlink:href="dci-20260731.xsd#dci_DefinedBenefitPlanAssetsAccruedIncome"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-6453-7a5c-ad93-60c4b279ba0a" xlink:to="loc_dci_DefinedBenefitPlanAssetsAccruedIncome_019f1f39-6453-7ad3-8ab8-8e7cf4d2e15e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_DefineBenefitPlanAssetsIncludingAssetsMeasuredUnderTheNetAssetValueApproach_019f1f39-6453-781b-aeb0-cc7b8f0c5713" xlink:href="dci-20260731.xsd#dci_DefineBenefitPlanAssetsIncludingAssetsMeasuredUnderTheNetAssetValueApproach"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-6453-7a5c-ad93-60c4b279ba0a" xlink:to="loc_dci_DefineBenefitPlanAssetsIncludingAssetsMeasuredUnderTheNetAssetValueApproach_019f1f39-6453-781b-aeb0-cc7b8f0c5713" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/EmployeeBenefitPlansScheduleofCertainInvestmentsatNAVDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#EmployeeBenefitPlansScheduleofCertainInvestmentsatNAVDetails"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/EmployeeBenefitPlansScheduleofCertainInvestmentsatNAVDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInvestmentsEntitiesThatCalculateNetAssetValuePerShareLineItems_019f1f39-6453-7bb4-a572-73b89dc68ab3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInvestmentsEntitiesThatCalculateNetAssetValuePerShareLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInvestmentsEntitiesThatCalculateNetAssetValuePerShareTable_019f1f39-6453-7106-80b5-2e9e61d93a19" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInvestmentsEntitiesThatCalculateNetAssetValuePerShareTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueInvestmentsEntitiesThatCalculateNetAssetValuePerShareLineItems_019f1f39-6453-7bb4-a572-73b89dc68ab3" xlink:to="loc_us-gaap_FairValueInvestmentsEntitiesThatCalculateNetAssetValuePerShareTable_019f1f39-6453-7106-80b5-2e9e61d93a19" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_019f1f39-6453-7897-8f84-e29ecd984bc3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueInvestmentsEntitiesThatCalculateNetAssetValuePerShareTable_019f1f39-6453-7106-80b5-2e9e61d93a19" xlink:to="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_019f1f39-6453-7897-8f84-e29ecd984bc3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanAssetCategoriesDomain_019f1f39-6453-7897-8f84-e29ecd984bc3_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanAssetCategoriesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_019f1f39-6453-7897-8f84-e29ecd984bc3" xlink:to="loc_us-gaap_PlanAssetCategoriesDomain_019f1f39-6453-7897-8f84-e29ecd984bc3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanAssetCategoriesDomain_019f1f39-6453-73c8-aa92-599527d88299" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanAssetCategoriesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_019f1f39-6453-7897-8f84-e29ecd984bc3" xlink:to="loc_us-gaap_PlanAssetCategoriesDomain_019f1f39-6453-73c8-aa92-599527d88299" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanEquitySecuritiesMember_019f1f39-6453-7474-b0b2-b4a48fa8370a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanEquitySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_019f1f39-6453-73c8-aa92-599527d88299" xlink:to="loc_us-gaap_DefinedBenefitPlanEquitySecuritiesMember_019f1f39-6453-7474-b0b2-b4a48fa8370a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FixedIncomeSecuritiesMember_019f1f39-6453-7f30-8795-62fa0e9383a5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FixedIncomeSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_019f1f39-6453-73c8-aa92-599527d88299" xlink:to="loc_us-gaap_FixedIncomeSecuritiesMember_019f1f39-6453-7f30-8795-62fa0e9383a5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanRealEstateMember_019f1f39-6453-7d7a-bf8d-79c7310f0064" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanRealEstateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_019f1f39-6453-73c8-aa92-599527d88299" xlink:to="loc_us-gaap_DefinedBenefitPlanRealEstateMember_019f1f39-6453-7d7a-bf8d-79c7310f0064" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019f1f39-6453-7913-944c-9c47b4cc23b7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueInvestmentsEntitiesThatCalculateNetAssetValuePerShareTable_019f1f39-6453-7106-80b5-2e9e61d93a19" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019f1f39-6453-7913-944c-9c47b4cc23b7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019f1f39-6453-7913-944c-9c47b4cc23b7_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019f1f39-6453-7913-944c-9c47b4cc23b7" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019f1f39-6453-7913-944c-9c47b4cc23b7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019f1f39-6453-7a77-89a7-21d3cd5b9d4e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019f1f39-6453-7913-944c-9c47b4cc23b7" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019f1f39-6453-7a77-89a7-21d3cd5b9d4e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasuredAtNetAssetValuePerShareMember_019f1f39-6453-7f05-b651-1b101cc8ae2b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasuredAtNetAssetValuePerShareMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019f1f39-6453-7a77-89a7-21d3cd5b9d4e" xlink:to="loc_us-gaap_FairValueMeasuredAtNetAssetValuePerShareMember_019f1f39-6453-7f05-b651-1b101cc8ae2b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationAxis_019f1f39-6453-7989-bace-483d908235d0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanSponsorLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueInvestmentsEntitiesThatCalculateNetAssetValuePerShareTable_019f1f39-6453-7106-80b5-2e9e61d93a19" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationAxis_019f1f39-6453-7989-bace-483d908235d0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationDomain_019f1f39-6453-7989-bace-483d908235d0_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanSponsorLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationAxis_019f1f39-6453-7989-bace-483d908235d0" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationDomain_019f1f39-6453-7989-bace-483d908235d0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanSponsorLocationDomain_019f1f39-6453-750d-a8af-e117e647f9ac" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanSponsorLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationAxis_019f1f39-6453-7989-bace-483d908235d0" xlink:to="loc_us-gaap_RetirementPlanSponsorLocationDomain_019f1f39-6453-750d-a8af-e117e647f9ac" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DomesticPlanMember_019f1f39-6453-7395-ac88-c36fc7710b7b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DomesticPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanSponsorLocationDomain_019f1f39-6453-750d-a8af-e117e647f9ac" xlink:to="loc_us-gaap_DomesticPlanMember_019f1f39-6453-7395-ac88-c36fc7710b7b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_US_019f1f39-6453-7870-8caf-bdb553fecc98" xlink:href="https://xbrl.sec.gov/country/2026/country-2026.xsd#country_US"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DomesticPlanMember_019f1f39-6453-7395-ac88-c36fc7710b7b" xlink:to="loc_country_US_019f1f39-6453-7870-8caf-bdb553fecc98" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_019f1f39-6453-7257-bfc2-05b67133e2c6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueInvestmentsEntitiesThatCalculateNetAssetValuePerShareTable_019f1f39-6453-7106-80b5-2e9e61d93a19" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_019f1f39-6453-7257-bfc2-05b67133e2c6" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_019f1f39-6453-7257-bfc2-05b67133e2c6_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_019f1f39-6453-7257-bfc2-05b67133e2c6" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_019f1f39-6453-7257-bfc2-05b67133e2c6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_019f1f39-6453-7e4a-b6f6-aa9dd0de470b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_019f1f39-6453-7257-bfc2-05b67133e2c6" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_019f1f39-6453-7e4a-b6f6-aa9dd0de470b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_019f1f39-6453-793f-8aef-486f4330b2df" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PensionPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_019f1f39-6453-7e4a-b6f6-aa9dd0de470b" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_019f1f39-6453-793f-8aef-486f4330b2df" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_019f1f39-6453-72cd-ac77-f2bd3c507a93" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueInvestmentsEntitiesThatCalculateNetAssetValuePerShareTable_019f1f39-6453-7106-80b5-2e9e61d93a19" xlink:to="loc_srt_RangeAxis_019f1f39-6453-72cd-ac77-f2bd3c507a93" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019f1f39-6453-72cd-ac77-f2bd3c507a93_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_019f1f39-6453-72cd-ac77-f2bd3c507a93" xlink:to="loc_srt_RangeMember_019f1f39-6453-72cd-ac77-f2bd3c507a93_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019f1f39-6453-77c8-8446-5f318270a6c7" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_019f1f39-6453-72cd-ac77-f2bd3c507a93" xlink:to="loc_srt_RangeMember_019f1f39-6453-77c8-8446-5f318270a6c7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_019f1f39-6453-780d-acdb-66a6d8ac216b" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019f1f39-6453-77c8-8446-5f318270a6c7" xlink:to="loc_srt_MinimumMember_019f1f39-6453-780d-acdb-66a6d8ac216b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_019f1f39-6453-72ed-a6c0-5cd01c9dbb3e" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019f1f39-6453-77c8-8446-5f318270a6c7" xlink:to="loc_srt_MaximumMember_019f1f39-6453-72ed-a6c0-5cd01c9dbb3e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_DefinedBenefitPlanAlternativeInvestmentsFairValueOfPlanAssets_019f1f39-6453-7448-9ac9-e0f0e04df933" xlink:href="dci-20260731.xsd#dci_DefinedBenefitPlanAlternativeInvestmentsFairValueOfPlanAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueInvestmentsEntitiesThatCalculateNetAssetValuePerShareLineItems_019f1f39-6453-7bb4-a572-73b89dc68ab3" xlink:to="loc_dci_DefinedBenefitPlanAlternativeInvestmentsFairValueOfPlanAssets_019f1f39-6453-7448-9ac9-e0f0e04df933" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInvestmentsEntitiesThatCalculateNetAssetValuePerShareUnfundedCommittments_019f1f39-6453-76b8-a86c-7b9638e6b625" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInvestmentsEntitiesThatCalculateNetAssetValuePerShareUnfundedCommittments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueInvestmentsEntitiesThatCalculateNetAssetValuePerShareLineItems_019f1f39-6453-7bb4-a572-73b89dc68ab3" xlink:to="loc_us-gaap_FairValueInvestmentsEntitiesThatCalculateNetAssetValuePerShareUnfundedCommittments_019f1f39-6453-76b8-a86c-7b9638e6b625" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/EmployeeBenefitPlansScheduleofChangesinFairValueofUSPensionPlansLevel3AssetsDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#EmployeeBenefitPlansScheduleofChangesinFairValueofUSPensionPlansLevel3AssetsDetails"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/EmployeeBenefitPlansScheduleofChangesinFairValueofUSPensionPlansLevel3AssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-6454-722a-885c-168c36a0b7b0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019f1f39-6454-76b0-a175-72311bf9eb44" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-6454-722a-885c-168c36a0b7b0" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019f1f39-6454-76b0-a175-72311bf9eb44" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019f1f39-6454-71b2-bb43-163918de8f35" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019f1f39-6454-76b0-a175-72311bf9eb44" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019f1f39-6454-71b2-bb43-163918de8f35" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019f1f39-6454-71b2-bb43-163918de8f35_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019f1f39-6454-71b2-bb43-163918de8f35" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019f1f39-6454-71b2-bb43-163918de8f35_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019f1f39-6454-7cc7-9ed5-65516971a29c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019f1f39-6454-71b2-bb43-163918de8f35" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019f1f39-6454-7cc7-9ed5-65516971a29c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_019f1f39-6454-7532-bbb9-4281dc181845" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019f1f39-6454-7cc7-9ed5-65516971a29c" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_019f1f39-6454-7532-bbb9-4281dc181845" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_019f1f39-6454-7e59-bd4d-b253800bbc8a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019f1f39-6454-76b0-a175-72311bf9eb44" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_019f1f39-6454-7e59-bd4d-b253800bbc8a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_019f1f39-6454-7e59-bd4d-b253800bbc8a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_019f1f39-6454-7e59-bd4d-b253800bbc8a" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_019f1f39-6454-7e59-bd4d-b253800bbc8a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_019f1f39-6454-764c-ac86-33b6feeee9aa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_019f1f39-6454-7e59-bd4d-b253800bbc8a" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_019f1f39-6454-764c-ac86-33b6feeee9aa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_019f1f39-6454-7f28-9c45-f1ef3582e304" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PensionPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_019f1f39-6454-764c-ac86-33b6feeee9aa" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_019f1f39-6454-7f28-9c45-f1ef3582e304" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsLevel3ReconciliationRollForward_019f1f39-6454-7170-bdbf-97daf360b623" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsLevel3ReconciliationRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-6454-722a-885c-168c36a0b7b0" xlink:to="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsLevel3ReconciliationRollForward_019f1f39-6454-7170-bdbf-97daf360b623" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_019f1f39-6454-7b94-ae0a-97f3c7dd675d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanFairValueOfPlanAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsLevel3ReconciliationRollForward_019f1f39-6454-7170-bdbf-97daf360b623" xlink:to="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_019f1f39-6454-7b94-ae0a-97f3c7dd675d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanActualReturnOnPlanAssetsStillHeld_019f1f39-6454-7239-9a6f-9aa0fcc992f5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanActualReturnOnPlanAssetsStillHeld"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsLevel3ReconciliationRollForward_019f1f39-6454-7170-bdbf-97daf360b623" xlink:to="loc_us-gaap_DefinedBenefitPlanActualReturnOnPlanAssetsStillHeld_019f1f39-6454-7239-9a6f-9aa0fcc992f5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_DefinedBenefitPlanPlanAssetsLevel3ReconciliationIncreaseDecreaseFromForeignCurrencyExchange_019f1f39-6454-7257-a1e0-08760d97a64b" xlink:href="dci-20260731.xsd#dci_DefinedBenefitPlanPlanAssetsLevel3ReconciliationIncreaseDecreaseFromForeignCurrencyExchange"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsLevel3ReconciliationRollForward_019f1f39-6454-7170-bdbf-97daf360b623" xlink:to="loc_dci_DefinedBenefitPlanPlanAssetsLevel3ReconciliationIncreaseDecreaseFromForeignCurrencyExchange_019f1f39-6454-7257-a1e0-08760d97a64b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanPurchasesSalesAndSettlements_019f1f39-6454-758b-8726-c08b52991f53" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanPurchasesSalesAndSettlements"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsLevel3ReconciliationRollForward_019f1f39-6454-7170-bdbf-97daf360b623" xlink:to="loc_us-gaap_DefinedBenefitPlanPurchasesSalesAndSettlements_019f1f39-6454-758b-8726-c08b52991f53" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_019f1f39-6454-7bd6-938b-0e001bb61c21" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanFairValueOfPlanAssets"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/EmployeeBenefitPlansScheduleoftheChangesintheFairValueofNonUSPensionPlansAssetswithUnobservableInputsDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#EmployeeBenefitPlansScheduleoftheChangesintheFairValueofNonUSPensionPlansAssetswithUnobservableInputsDetails"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/EmployeeBenefitPlansScheduleoftheChangesintheFairValueofNonUSPensionPlansAssetswithUnobservableInputsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-6454-7953-92b7-9e047198614a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019f1f39-6454-7801-8443-fa83bcd4508e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-6454-7953-92b7-9e047198614a" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019f1f39-6454-7801-8443-fa83bcd4508e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_019f1f39-6454-791a-8df1-17bbed6fa5ca" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019f1f39-6454-7801-8443-fa83bcd4508e" xlink:to="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_019f1f39-6454-791a-8df1-17bbed6fa5ca" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanAssetCategoriesDomain_019f1f39-6454-791a-8df1-17bbed6fa5ca_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanAssetCategoriesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_019f1f39-6454-791a-8df1-17bbed6fa5ca" xlink:to="loc_us-gaap_PlanAssetCategoriesDomain_019f1f39-6454-791a-8df1-17bbed6fa5ca_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanAssetCategoriesDomain_019f1f39-6454-74ca-bc1f-ecf0014fa1d8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PlanAssetCategoriesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_019f1f39-6454-791a-8df1-17bbed6fa5ca" xlink:to="loc_us-gaap_PlanAssetCategoriesDomain_019f1f39-6454-74ca-bc1f-ecf0014fa1d8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanEquitySecuritiesMember_019f1f39-6454-7393-8895-24928834f036" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanEquitySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_019f1f39-6454-74ca-bc1f-ecf0014fa1d8" xlink:to="loc_us-gaap_DefinedBenefitPlanEquitySecuritiesMember_019f1f39-6454-7393-8895-24928834f036" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FixedIncomeSecuritiesMember_019f1f39-6454-7a6d-82ef-548abff8c50e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FixedIncomeSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_019f1f39-6454-74ca-bc1f-ecf0014fa1d8" xlink:to="loc_us-gaap_FixedIncomeSecuritiesMember_019f1f39-6454-7a6d-82ef-548abff8c50e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanNameAxis_019f1f39-6454-7fba-bbfe-8bcfc1858836" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019f1f39-6454-7801-8443-fa83bcd4508e" xlink:to="loc_us-gaap_RetirementPlanNameAxis_019f1f39-6454-7fba-bbfe-8bcfc1858836" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanNameDomain_019f1f39-6454-7fba-bbfe-8bcfc1858836_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanNameAxis_019f1f39-6454-7fba-bbfe-8bcfc1858836" xlink:to="loc_us-gaap_RetirementPlanNameDomain_019f1f39-6454-7fba-bbfe-8bcfc1858836_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanNameDomain_019f1f39-6454-7986-b0b3-b567d728fd15" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanNameAxis_019f1f39-6454-7fba-bbfe-8bcfc1858836" xlink:to="loc_us-gaap_RetirementPlanNameDomain_019f1f39-6454-7986-b0b3-b567d728fd15" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_SalariedPensionPlanMember_019f1f39-6454-7916-bd68-b4a2ed5d7adf" xlink:href="dci-20260731.xsd#dci_SalariedPensionPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_019f1f39-6454-7986-b0b3-b567d728fd15" xlink:to="loc_dci_SalariedPensionPlanMember_019f1f39-6454-7916-bd68-b4a2ed5d7adf" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_HourlyPensionPlanMember_019f1f39-6454-7e28-9120-a3f279f85f9f" xlink:href="dci-20260731.xsd#dci_HourlyPensionPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanNameDomain_019f1f39-6454-7986-b0b3-b567d728fd15" xlink:to="loc_dci_HourlyPensionPlanMember_019f1f39-6454-7e28-9120-a3f279f85f9f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_019f1f39-6454-7e8f-9626-afa8a607d6a3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_019f1f39-6454-7801-8443-fa83bcd4508e" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_019f1f39-6454-7e8f-9626-afa8a607d6a3" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_019f1f39-6454-7e8f-9626-afa8a607d6a3_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_019f1f39-6454-7e8f-9626-afa8a607d6a3" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_019f1f39-6454-7e8f-9626-afa8a607d6a3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_019f1f39-6454-7fa2-a03d-a4dae5b0570d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_019f1f39-6454-7e8f-9626-afa8a607d6a3" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_019f1f39-6454-7fa2-a03d-a4dae5b0570d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_019f1f39-6454-72d1-a809-86a6589dd9c9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PensionPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_019f1f39-6454-7fa2-a03d-a4dae5b0570d" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_019f1f39-6454-72d1-a809-86a6589dd9c9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanPlanAssetsTargetAllocationPercentage_019f1f39-6454-7533-95bc-13cae705b508" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DefinedBenefitPlanPlanAssetsTargetAllocationPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_019f1f39-6454-7953-92b7-9e047198614a" xlink:to="loc_us-gaap_DefinedBenefitPlanPlanAssetsTargetAllocationPercentage_019f1f39-6454-7533-95bc-13cae705b508" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/DerivativeInstrumentsandHedgingDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#DerivativeInstrumentsandHedgingDetails"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/DerivativeInstrumentsandHedgingDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLineItems_019f1f39-6454-7887-9b26-fe9003978567" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeTable_019f1f39-6454-7c5f-b72a-37aa05b1d810" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_019f1f39-6454-7887-9b26-fe9003978567" xlink:to="loc_us-gaap_DerivativeTable_019f1f39-6454-7c5f-b72a-37aa05b1d810" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_019f1f39-6454-72a5-8d2a-a37d8f575401" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_019f1f39-6454-7c5f-b72a-37aa05b1d810" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_019f1f39-6454-72a5-8d2a-a37d8f575401" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019f1f39-6454-72a5-8d2a-a37d8f575401_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_019f1f39-6454-72a5-8d2a-a37d8f575401" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019f1f39-6454-72a5-8d2a-a37d8f575401_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019f1f39-6454-7949-a76a-620dcf8ae6a2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_019f1f39-6454-72a5-8d2a-a37d8f575401" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019f1f39-6454-7949-a76a-620dcf8ae6a2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignExchangeForwardMember_019f1f39-6454-7258-a32c-a725efd0ae60" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ForeignExchangeForwardMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_019f1f39-6454-7949-a76a-620dcf8ae6a2" xlink:to="loc_us-gaap_ForeignExchangeForwardMember_019f1f39-6454-7258-a32c-a725efd0ae60" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrencySwapMember_01a077b7-f596-79a8-912a-d75495d0a14b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CurrencySwapMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_019f1f39-6454-7949-a76a-620dcf8ae6a2" xlink:to="loc_us-gaap_CurrencySwapMember_01a077b7-f596-79a8-912a-d75495d0a14b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019f1f39-6454-7885-80aa-0e2896768ea6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_019f1f39-6454-7c5f-b72a-37aa05b1d810" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019f1f39-6454-7885-80aa-0e2896768ea6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019f1f39-6454-7885-80aa-0e2896768ea6_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019f1f39-6454-7885-80aa-0e2896768ea6" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019f1f39-6454-7885-80aa-0e2896768ea6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019f1f39-6454-74c6-87fa-aeff99d3e273" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019f1f39-6454-7885-80aa-0e2896768ea6" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019f1f39-6454-74c6-87fa-aeff99d3e273" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_019f1f39-6454-7430-bcde-e7da512be616" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019f1f39-6454-74c6-87fa-aeff99d3e273" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_019f1f39-6454-7430-bcde-e7da512be616" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationAxis_019f1f39-6454-7f6d-a640-ebffcc8addf6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgingDesignationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_019f1f39-6454-7c5f-b72a-37aa05b1d810" xlink:to="loc_us-gaap_HedgingDesignationAxis_019f1f39-6454-7f6d-a640-ebffcc8addf6" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationDomain_019f1f39-6454-7f6d-a640-ebffcc8addf6_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgingDesignationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_HedgingDesignationAxis_019f1f39-6454-7f6d-a640-ebffcc8addf6" xlink:to="loc_us-gaap_HedgingDesignationDomain_019f1f39-6454-7f6d-a640-ebffcc8addf6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationDomain_019f1f39-6454-7c28-9705-3b64d4804282" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgingDesignationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_HedgingDesignationAxis_019f1f39-6454-7f6d-a640-ebffcc8addf6" xlink:to="loc_us-gaap_HedgingDesignationDomain_019f1f39-6454-7c28-9705-3b64d4804282" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DesignatedAsHedgingInstrumentMember_019f1f39-6454-72fc-9604-c6668dffa6c9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DesignatedAsHedgingInstrumentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_019f1f39-6454-7c28-9705-3b64d4804282" xlink:to="loc_us-gaap_DesignatedAsHedgingInstrumentMember_019f1f39-6454-72fc-9604-c6668dffa6c9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NondesignatedMember_019f1f39-6454-72e6-8f51-b00f2cb1dee3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NondesignatedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_019f1f39-6454-7c28-9705-3b64d4804282" xlink:to="loc_us-gaap_NondesignatedMember_019f1f39-6454-72e6-8f51-b00f2cb1dee3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_019f1f39-6454-7cd3-b102-e59b3e1ec814" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_019f1f39-6454-7c5f-b72a-37aa05b1d810" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_019f1f39-6454-7cd3-b102-e59b3e1ec814" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingRelationshipDomain_019f1f39-6454-7cd3-b102-e59b3e1ec814_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgingRelationshipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_019f1f39-6454-7cd3-b102-e59b3e1ec814" xlink:to="loc_us-gaap_HedgingRelationshipDomain_019f1f39-6454-7cd3-b102-e59b3e1ec814_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingRelationshipDomain_019f1f39-6454-7819-a385-c761e2256a2c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgingRelationshipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_019f1f39-6454-7cd3-b102-e59b3e1ec814" xlink:to="loc_us-gaap_HedgingRelationshipDomain_019f1f39-6454-7819-a385-c761e2256a2c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetInvestmentHedgingMember_019f1f39-6454-7a1b-aeb4-4ce989fcfbc0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetInvestmentHedgingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingRelationshipDomain_019f1f39-6454-7819-a385-c761e2256a2c" xlink:to="loc_us-gaap_NetInvestmentHedgingMember_019f1f39-6454-7a1b-aeb4-4ce989fcfbc0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashFlowHedgingMember_019f1f39-6454-7cd3-b797-45dc9cc268af" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashFlowHedgingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingRelationshipDomain_019f1f39-6454-7819-a385-c761e2256a2c" xlink:to="loc_us-gaap_CashFlowHedgingMember_019f1f39-6454-7cd3-b797-45dc9cc268af" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeNotionalAmount_019f1f39-6454-74b0-8d80-e14028c6b7bb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeNotionalAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_019f1f39-6454-7887-9b26-fe9003978567" xlink:to="loc_us-gaap_DerivativeNotionalAmount_019f1f39-6454-74b0-8d80-e14028c6b7bb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeNumberOfInstrumentsHeld_019f1f39-6454-79d2-afe5-341fce179714" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeNumberOfInstrumentsHeld"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_019f1f39-6454-7887-9b26-fe9003978567" xlink:to="loc_us-gaap_DerivativeNumberOfInstrumentsHeld_019f1f39-6454-79d2-afe5-341fce179714" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/FairValueMeasurementsNarrativeDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#FairValueMeasurementsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/FairValueMeasurementsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_019f1f39-6454-721c-85d5-624c9e68998a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_019f1f39-6454-7cd6-9978-d216f01ea95a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019f1f39-6454-721c-85d5-624c9e68998a" xlink:to="loc_us-gaap_DebtInstrumentTable_019f1f39-6454-7cd6-9978-d216f01ea95a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_019f1f39-6454-7397-bfce-1f7916992251" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019f1f39-6454-7cd6-9978-d216f01ea95a" xlink:to="loc_us-gaap_DebtInstrumentAxis_019f1f39-6454-7397-bfce-1f7916992251" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019f1f39-6454-7397-bfce-1f7916992251_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_019f1f39-6454-7397-bfce-1f7916992251" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019f1f39-6454-7397-bfce-1f7916992251_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019f1f39-6454-7dc4-8ca4-6b882ce1d5cf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_019f1f39-6454-7397-bfce-1f7916992251" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019f1f39-6454-7dc4-8ca4-6b882ce1d5cf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_LongTermDebtFixedInterestRateMember_019f1f39-6454-711d-8bff-05f67993166a" xlink:href="dci-20260731.xsd#dci_LongTermDebtFixedInterestRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019f1f39-6454-7dc4-8ca4-6b882ce1d5cf" xlink:to="loc_dci_LongTermDebtFixedInterestRateMember_019f1f39-6454-711d-8bff-05f67993166a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_LongTermDebtVariableInterestRateMember_019f1f39-6454-7907-aeee-ddf39a593715" xlink:href="dci-20260731.xsd#dci_LongTermDebtVariableInterestRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019f1f39-6454-7dc4-8ca4-6b882ce1d5cf" xlink:to="loc_dci_LongTermDebtVariableInterestRateMember_019f1f39-6454-7907-aeee-ddf39a593715" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019f1f39-6454-7b37-b8cd-64eea73d4337" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019f1f39-6454-7cd6-9978-d216f01ea95a" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019f1f39-6454-7b37-b8cd-64eea73d4337" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019f1f39-6454-7b37-b8cd-64eea73d4337_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019f1f39-6454-7b37-b8cd-64eea73d4337" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019f1f39-6454-7b37-b8cd-64eea73d4337_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019f1f39-6454-7518-9b97-2e8bc8cbb708" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019f1f39-6454-7b37-b8cd-64eea73d4337" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019f1f39-6454-7518-9b97-2e8bc8cbb708" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_019f1f39-6454-72d8-a9f4-1cd4ef791337" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019f1f39-6454-7518-9b97-2e8bc8cbb708" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_019f1f39-6454-72d8-a9f4-1cd4ef791337" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_019f1f39-6454-75ab-ac9c-1b54095ab66d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019f1f39-6454-7518-9b97-2e8bc8cbb708" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_019f1f39-6454-75ab-ac9c-1b54095ab66d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_019f1f39-6454-7bc6-b231-ad9bdbb1f7cb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByMeasurementBasisAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019f1f39-6454-7cd6-9978-d216f01ea95a" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_019f1f39-6454-7bc6-b231-ad9bdbb1f7cb" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_019f1f39-6454-7bc6-b231-ad9bdbb1f7cb_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_019f1f39-6454-7bc6-b231-ad9bdbb1f7cb" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_019f1f39-6454-7bc6-b231-ad9bdbb1f7cb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueDisclosureItemAmountsDomain_019f1f39-6454-70d5-8ba2-d2b98df290d4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueDisclosureItemAmountsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_019f1f39-6454-7bc6-b231-ad9bdbb1f7cb" xlink:to="loc_us-gaap_FairValueDisclosureItemAmountsDomain_019f1f39-6454-70d5-8ba2-d2b98df290d4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_019f1f39-6454-786c-a8b9-56caa5444276" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_019f1f39-6454-70d5-8ba2-d2b98df290d4" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_019f1f39-6454-786c-a8b9-56caa5444276" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_019f1f39-6454-7c28-b6d7-8f8d1e33bacb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_019f1f39-6454-786c-a8b9-56caa5444276" xlink:to="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_019f1f39-6454-7c28-b6d7-8f8d1e33bacb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_019f1f39-6454-77b5-8ac5-894a39acec35" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CarryingReportedAmountFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_019f1f39-6454-786c-a8b9-56caa5444276" xlink:to="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_019f1f39-6454-77b5-8ac5-894a39acec35" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFairValue_019f1f39-6454-7d95-bcbd-d6c514a94eef" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019f1f39-6454-721c-85d5-624c9e68998a" xlink:to="loc_us-gaap_DebtInstrumentFairValue_019f1f39-6454-7d95-bcbd-d6c514a94eef" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestments_019f1f39-6454-7f0d-96a0-c6c528ddae94" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityMethodInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019f1f39-6454-721c-85d5-624c9e68998a" xlink:to="loc_us-gaap_EquityMethodInvestments_019f1f39-6454-7f0d-96a0-c6c528ddae94" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue_019f4a6d-963d-7b96-a3bf-3c2ede6b5c10" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019f1f39-6454-721c-85d5-624c9e68998a" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue_019f4a6d-963d-7b96-a3bf-3c2ede6b5c10" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements_019f4a6d-3297-7abf-b160-5c77cd96b8b7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019f1f39-6454-721c-85d5-624c9e68998a" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements_019f4a6d-3297-7abf-b160-5c77cd96b8b7" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/FairValueMeasurementsScheduleofDerivativesonBalanceSheetDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#FairValueMeasurementsScheduleofDerivativesonBalanceSheetDetails"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/FairValueMeasurementsScheduleofDerivativesonBalanceSheetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_019f1f39-6454-763a-ae7f-c05fb7613b6b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByBalanceSheetGroupingTable_019f1f39-6454-7f71-bab4-63738620dc34" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByBalanceSheetGroupingTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_019f1f39-6454-763a-ae7f-c05fb7613b6b" xlink:to="loc_us-gaap_FairValueByBalanceSheetGroupingTable_019f1f39-6454-7f71-bab4-63738620dc34" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_019f1f39-6454-714a-8962-8b405386774d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_019f1f39-6454-7f71-bab4-63738620dc34" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_019f1f39-6454-714a-8962-8b405386774d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019f1f39-6454-714a-8962-8b405386774d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_019f1f39-6454-714a-8962-8b405386774d" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019f1f39-6454-714a-8962-8b405386774d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019f1f39-6454-72b9-a7c6-50200db7af74" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_019f1f39-6454-714a-8962-8b405386774d" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019f1f39-6454-72b9-a7c6-50200db7af74" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignExchangeForwardMember_019f1f39-6454-7532-bec1-dce4656d7f8b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ForeignExchangeForwardMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_019f1f39-6454-72b9-a7c6-50200db7af74" xlink:to="loc_us-gaap_ForeignExchangeForwardMember_019f1f39-6454-7532-bec1-dce4656d7f8b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019f1f39-6454-7bff-90ff-41d66a6dd2fc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_019f1f39-6454-7f71-bab4-63738620dc34" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019f1f39-6454-7bff-90ff-41d66a6dd2fc" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019f1f39-6454-7bff-90ff-41d66a6dd2fc_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019f1f39-6454-7bff-90ff-41d66a6dd2fc" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019f1f39-6454-7bff-90ff-41d66a6dd2fc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019f1f39-6454-78a9-9106-db30aeaac922" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019f1f39-6454-7bff-90ff-41d66a6dd2fc" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019f1f39-6454-78a9-9106-db30aeaac922" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_019f1f39-6454-7631-ba1b-7b934168a4d5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019f1f39-6454-78a9-9106-db30aeaac922" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_019f1f39-6454-7631-ba1b-7b934168a4d5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationAxis_019f1f39-6454-7990-9f9d-ea619c632f22" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgingDesignationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_019f1f39-6454-7f71-bab4-63738620dc34" xlink:to="loc_us-gaap_HedgingDesignationAxis_019f1f39-6454-7990-9f9d-ea619c632f22" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationDomain_019f1f39-6454-7990-9f9d-ea619c632f22_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgingDesignationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_HedgingDesignationAxis_019f1f39-6454-7990-9f9d-ea619c632f22" xlink:to="loc_us-gaap_HedgingDesignationDomain_019f1f39-6454-7990-9f9d-ea619c632f22_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationDomain_019f1f39-6454-76cf-8be0-be4d16b7e611" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgingDesignationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_HedgingDesignationAxis_019f1f39-6454-7990-9f9d-ea619c632f22" xlink:to="loc_us-gaap_HedgingDesignationDomain_019f1f39-6454-76cf-8be0-be4d16b7e611" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DesignatedAsHedgingInstrumentMember_019f1f39-6454-7143-a5af-0faec555f124" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DesignatedAsHedgingInstrumentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_019f1f39-6454-76cf-8be0-be4d16b7e611" xlink:to="loc_us-gaap_DesignatedAsHedgingInstrumentMember_019f1f39-6454-7143-a5af-0faec555f124" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NondesignatedMember_019f1f39-6454-7aaa-94d4-9eec5a4be48e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NondesignatedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_019f1f39-6454-76cf-8be0-be4d16b7e611" xlink:to="loc_us-gaap_NondesignatedMember_019f1f39-6454-7aaa-94d4-9eec5a4be48e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_019f1f39-6454-73a7-ac4b-61bf12b8f637" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_019f1f39-6454-7f71-bab4-63738620dc34" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_019f1f39-6454-73a7-ac4b-61bf12b8f637" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingRelationshipDomain_019f1f39-6454-73a7-ac4b-61bf12b8f637_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgingRelationshipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_019f1f39-6454-73a7-ac4b-61bf12b8f637" xlink:to="loc_us-gaap_HedgingRelationshipDomain_019f1f39-6454-73a7-ac4b-61bf12b8f637_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingRelationshipDomain_019f1f39-6454-7cf3-82ae-574d1c3df5c3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_HedgingRelationshipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_019f1f39-6454-73a7-ac4b-61bf12b8f637" xlink:to="loc_us-gaap_HedgingRelationshipDomain_019f1f39-6454-7cf3-82ae-574d1c3df5c3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetInvestmentHedgingMember_019f1f39-6454-7ff5-b349-253e01a86d4d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetInvestmentHedgingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingRelationshipDomain_019f1f39-6454-7cf3-82ae-574d1c3df5c3" xlink:to="loc_us-gaap_NetInvestmentHedgingMember_019f1f39-6454-7ff5-b349-253e01a86d4d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_019f1f39-6454-7533-83f8-7cac8d37fffa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeFairValueOfDerivativeAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_019f1f39-6454-763a-ae7f-c05fb7613b6b" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_019f1f39-6454-7533-83f8-7cac8d37fffa" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_019f1f39-6454-7ce0-8676-5553a397d808" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DerivativeFairValueOfDerivativeLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_019f1f39-6454-763a-ae7f-c05fb7613b6b" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_019f1f39-6454-7ce0-8676-5553a397d808" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/GuaranteesDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#GuaranteesDetails"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/GuaranteesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsLineItems_019f1f39-6454-7898-8044-bf7fde75c340" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GuaranteeObligationsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_019f1f39-6454-7097-95f8-86dd1b371c11" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfGuaranteeObligationsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_019f1f39-6454-7898-8044-bf7fde75c340" xlink:to="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_019f1f39-6454-7097-95f8-86dd1b371c11" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_019f1f39-6454-7292-aa7b-2719854ddd03" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_019f1f39-6454-7097-95f8-86dd1b371c11" xlink:to="loc_dei_LegalEntityAxis_019f1f39-6454-7292-aa7b-2719854ddd03" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019f1f39-6454-7292-aa7b-2719854ddd03_default" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_019f1f39-6454-7292-aa7b-2719854ddd03" xlink:to="loc_dei_EntityDomain_019f1f39-6454-7292-aa7b-2719854ddd03_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_019f1f39-6454-760f-b53b-3d1024910564" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_019f1f39-6454-7292-aa7b-2719854ddd03" xlink:to="loc_dei_EntityDomain_019f1f39-6454-760f-b53b-3d1024910564" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_AdvancedFiltrationSystemsIncMember_019f1f39-6454-78af-9a65-547e0fc91f55" xlink:href="dci-20260731.xsd#dci_AdvancedFiltrationSystemsIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_019f1f39-6454-760f-b53b-3d1024910564" xlink:to="loc_dci_AdvancedFiltrationSystemsIncMember_019f1f39-6454-78af-9a65-547e0fc91f55" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_019f1f39-6454-7087-9498-d61667b60e30" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_019f1f39-6454-7097-95f8-86dd1b371c11" xlink:to="loc_us-gaap_CreditFacilityAxis_019f1f39-6454-7087-9498-d61667b60e30" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_019f1f39-6454-7087-9498-d61667b60e30_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_019f1f39-6454-7087-9498-d61667b60e30" xlink:to="loc_us-gaap_CreditFacilityDomain_019f1f39-6454-7087-9498-d61667b60e30_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_019f1f39-6454-7dbc-a6af-b79cb2a11de1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_019f1f39-6454-7087-9498-d61667b60e30" xlink:to="loc_us-gaap_CreditFacilityDomain_019f1f39-6454-7dbc-a6af-b79cb2a11de1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_019f1f39-6454-786b-98de-bc84f3437b86" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_019f1f39-6454-7dbc-a6af-b79cb2a11de1" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_019f1f39-6454-786b-98de-bc84f3437b86" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_MultiCurrencyRevolvingCreditFacilityMember_019f1f39-6454-7aa1-9979-ec3e1f750932" xlink:href="dci-20260731.xsd#dci_MultiCurrencyRevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_019f1f39-6454-7dbc-a6af-b79cb2a11de1" xlink:to="loc_dci_MultiCurrencyRevolvingCreditFacilityMember_019f1f39-6454-7aa1-9979-ec3e1f750932" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CounterpartyNameAxis_019f1f39-6454-730b-8d4f-5300c9f4147e" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_CounterpartyNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_019f1f39-6454-7097-95f8-86dd1b371c11" xlink:to="loc_srt_CounterpartyNameAxis_019f1f39-6454-730b-8d4f-5300c9f4147e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_019f1f39-6454-730b-8d4f-5300c9f4147e_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CounterpartyNameAxis_019f1f39-6454-730b-8d4f-5300c9f4147e" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_019f1f39-6454-730b-8d4f-5300c9f4147e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_019f1f39-6454-7234-9367-e1b683fba1c5" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CounterpartyNameAxis_019f1f39-6454-730b-8d4f-5300c9f4147e" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_019f1f39-6454-7234-9367-e1b683fba1c5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_AdvancedFiltrationSystemsIncMember_019f1f39-6454-79d3-b060-804958925f27" xlink:href="dci-20260731.xsd#dci_AdvancedFiltrationSystemsIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_019f1f39-6454-7234-9367-e1b683fba1c5" xlink:to="loc_dci_AdvancedFiltrationSystemsIncMember_019f1f39-6454-79d3-b060-804958925f27" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_019f1f39-6454-7ec2-be47-ca4e53aa5e63" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_019f1f39-6454-7097-95f8-86dd1b371c11" xlink:to="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_019f1f39-6454-7ec2-be47-ca4e53aa5e63" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_019f1f39-6454-7ec2-be47-ca4e53aa5e63_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_019f1f39-6454-7ec2-be47-ca4e53aa5e63" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_019f1f39-6454-7ec2-be47-ca4e53aa5e63_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EquityMethodInvesteeNameDomain_019f1f39-6454-7b9f-ae79-9cf08f99a85c" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_EquityMethodInvesteeNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_019f1f39-6454-7ec2-be47-ca4e53aa5e63" xlink:to="loc_srt_EquityMethodInvesteeNameDomain_019f1f39-6454-7b9f-ae79-9cf08f99a85c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_AdvancedFiltrationSystemsIncMember_019f1f39-6454-7517-9235-3f87a1054e15" xlink:href="dci-20260731.xsd#dci_AdvancedFiltrationSystemsIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EquityMethodInvesteeNameDomain_019f1f39-6454-7b9f-ae79-9cf08f99a85c" xlink:to="loc_dci_AdvancedFiltrationSystemsIncMember_019f1f39-6454-7517-9235-3f87a1054e15" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingencyAccrualAtCarryingValue_01a06bfd-ecbd-72a2-8b19-b4bad73b9611" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LossContingencyAccrualAtCarryingValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_019f1f39-6454-7898-8044-bf7fde75c340" xlink:to="loc_us-gaap_LossContingencyAccrualAtCarryingValue_01a06bfd-ecbd-72a2-8b19-b4bad73b9611" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LettersOfCreditOutstandingAmount_01a06c52-eaa9-7a91-a267-0a60d6aca3d1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LettersOfCreditOutstandingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_019f1f39-6454-7898-8044-bf7fde75c340" xlink:to="loc_us-gaap_LettersOfCreditOutstandingAmount_01a06c52-eaa9-7a91-a267-0a60d6aca3d1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_019f1f39-6454-7850-93e0-fb2750ed0cb6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_019f1f39-6454-7898-8044-bf7fde75c340" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_019f1f39-6454-7850-93e0-fb2750ed0cb6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_019f1f39-6454-727a-8603-02c928a24a57" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_019f1f39-6454-7898-8044-bf7fde75c340" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_019f1f39-6454-727a-8603-02c928a24a57" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_019f1f39-6454-706b-84ab-1c900174ac4f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_019f1f39-6454-7898-8044-bf7fde75c340" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_019f1f39-6454-706b-84ab-1c900174ac4f" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/CommitmentsandContingenciesScheduleofContingentConsiderationArrangementLiabilitiesDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#CommitmentsandContingenciesScheduleofContingentConsiderationArrangementLiabilitiesDetails"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/CommitmentsandContingenciesScheduleofContingentConsiderationArrangementLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_019f1f39-6454-79bd-8a58-7f178a996e21" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019f1f39-6454-7094-b344-24818b7594ce" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f1f39-6454-79bd-8a58-7f178a996e21" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019f1f39-6454-7094-b344-24818b7594ce" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_019f1f39-6454-7d97-8fcd-aa0cb4f10889" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019f1f39-6454-7094-b344-24818b7594ce" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_019f1f39-6454-7d97-8fcd-aa0cb4f10889" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019f1f39-6454-7d97-8fcd-aa0cb4f10889_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_019f1f39-6454-7d97-8fcd-aa0cb4f10889" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019f1f39-6454-7d97-8fcd-aa0cb4f10889_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019f1f39-6454-7fd2-a2da-956ea1bd9b46" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_019f1f39-6454-7d97-8fcd-aa0cb4f10889" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019f1f39-6454-7fd2-a2da-956ea1bd9b46" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_PurilogicsMember_019f1f39-6454-766b-ab75-e6d0141f9f4f" xlink:href="dci-20260731.xsd#dci_PurilogicsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019f1f39-6454-7fd2-a2da-956ea1bd9b46" xlink:to="loc_dci_PurilogicsMember_019f1f39-6454-766b-ab75-e6d0141f9f4f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesOfIndividuallyImmaterialBusinessAcquisitionsMember_019f1f39-6454-7fe0-aae3-8086f6eab953" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SeriesOfIndividuallyImmaterialBusinessAcquisitionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019f1f39-6454-7fd2-a2da-956ea1bd9b46" xlink:to="loc_us-gaap_SeriesOfIndividuallyImmaterialBusinessAcquisitionsMember_019f1f39-6454-7fe0-aae3-8086f6eab953" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContingentConsiderationByTypeAxis_019f1f39-6454-72ab-b0cf-8607c9730fdc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContingentConsiderationByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019f1f39-6454-7094-b344-24818b7594ce" xlink:to="loc_us-gaap_ContingentConsiderationByTypeAxis_019f1f39-6454-72ab-b0cf-8607c9730fdc" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContingentConsiderationTypeDomain_019f1f39-6454-72ab-b0cf-8607c9730fdc_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContingentConsiderationTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ContingentConsiderationByTypeAxis_019f1f39-6454-72ab-b0cf-8607c9730fdc" xlink:to="loc_us-gaap_ContingentConsiderationTypeDomain_019f1f39-6454-72ab-b0cf-8607c9730fdc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContingentConsiderationTypeDomain_019f1f39-6454-7d7b-be30-787dcb86f4d2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContingentConsiderationTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ContingentConsiderationByTypeAxis_019f1f39-6454-72ab-b0cf-8607c9730fdc" xlink:to="loc_us-gaap_ContingentConsiderationTypeDomain_019f1f39-6454-7d7b-be30-787dcb86f4d2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_ContingentCompensationMember_019f1f39-6454-7fdc-81fd-c3b0a7e9d268" xlink:href="dci-20260731.xsd#dci_ContingentCompensationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ContingentConsiderationTypeDomain_019f1f39-6454-7d7b-be30-787dcb86f4d2" xlink:to="loc_dci_ContingentCompensationMember_019f1f39-6454-7fdc-81fd-c3b0a7e9d268" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_FuturePerformanceMember_019f1f39-6454-7bf0-b70d-57e6c4c9c4c0" xlink:href="dci-20260731.xsd#dci_FuturePerformanceMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ContingentConsiderationTypeDomain_019f1f39-6454-7d7b-be30-787dcb86f4d2" xlink:to="loc_dci_FuturePerformanceMember_019f1f39-6454-7bf0-b70d-57e6c4c9c4c0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_019f1f39-6454-786e-b2c4-cbb2b04b8593" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationContingentConsiderationLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f1f39-6454-79bd-8a58-7f178a996e21" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_019f1f39-6454-786e-b2c4-cbb2b04b8593" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh_019f1f39-6454-78a3-966a-1ce146a5ff1b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f1f39-6454-79bd-8a58-7f178a996e21" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh_019f1f39-6454-78a3-966a-1ce146a5ff1b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityCurrent_019f1f39-6454-70c2-9ee4-cf1bd1a27b29" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationContingentConsiderationLiabilityCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f1f39-6454-79bd-8a58-7f178a996e21" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityCurrent_019f1f39-6454-70c2-9ee4-cf1bd1a27b29" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentForContingentConsiderationLiabilityInvestingActivities_019f1f39-6454-70f5-980d-2c1131afc825" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentForContingentConsiderationLiabilityInvestingActivities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f1f39-6454-79bd-8a58-7f178a996e21" xlink:to="loc_us-gaap_PaymentForContingentConsiderationLiabilityInvestingActivities_019f1f39-6454-70f5-980d-2c1131afc825" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1_019f1f39-6454-74d0-9f5b-a5b4b386bea9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f1f39-6454-79bd-8a58-7f178a996e21" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1_019f1f39-6454-74d0-9f5b-a5b4b386bea9" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_CumulativePaymentForContingentConsiderationLiability_019f1f39-6454-73f0-ad01-772caea97133" xlink:href="dci-20260731.xsd#dci_CumulativePaymentForContingentConsiderationLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f1f39-6454-79bd-8a58-7f178a996e21" xlink:to="loc_dci_CumulativePaymentForContingentConsiderationLiability_019f1f39-6454-73f0-ad01-772caea97133" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/CommitmentsandContingenciesNarrativeDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#CommitmentsandContingenciesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/CommitmentsandContingenciesNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_019f1f39-6454-7031-939f-35449b8273e5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019f1f39-6454-776b-a9a8-4a3929edf1b6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f1f39-6454-7031-939f-35449b8273e5" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019f1f39-6454-776b-a9a8-4a3929edf1b6" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MajorCustomersAxis_019f1f39-6454-79a7-a385-e48e315a9320" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MajorCustomersAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019f1f39-6454-776b-a9a8-4a3929edf1b6" xlink:to="loc_srt_MajorCustomersAxis_019f1f39-6454-79a7-a385-e48e315a9320" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_019f1f39-6454-79a7-a385-e48e315a9320_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_MajorCustomersAxis_019f1f39-6454-79a7-a385-e48e315a9320" xlink:to="loc_srt_NameOfMajorCustomerDomain_019f1f39-6454-79a7-a385-e48e315a9320_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_019f1f39-6454-73b3-88e0-d47da3bee25f" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_MajorCustomersAxis_019f1f39-6454-79a7-a385-e48e315a9320" xlink:to="loc_srt_NameOfMajorCustomerDomain_019f1f39-6454-73b3-88e0-d47da3bee25f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_CustomerOneMember_019f1f39-6454-71d4-ac0c-37408789391a" xlink:href="dci-20260731.xsd#dci_CustomerOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_019f1f39-6454-73b3-88e0-d47da3bee25f" xlink:to="loc_dci_CustomerOneMember_019f1f39-6454-71d4-ac0c-37408789391a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_01a0136f-abdf-727a-b07a-e51ecbafb4ae" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_019f1f39-6454-776b-a9a8-4a3929edf1b6" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_01a0136f-abdf-727a-b07a-e51ecbafb4ae" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_01a0136f-abdf-727a-b07a-e51ecbafb4ae_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_01a0136f-abdf-727a-b07a-e51ecbafb4ae" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_01a0136f-abdf-727a-b07a-e51ecbafb4ae_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_01a0136f-abdf-7617-8399-8d27a8667110" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_01a0136f-abdf-727a-b07a-e51ecbafb4ae" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_01a0136f-abdf-7617-8399-8d27a8667110" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_PurilogicsMember_01a0136f-abdf-7b6c-b052-eb33b9bda471" xlink:href="dci-20260731.xsd#dci_PurilogicsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_01a0136f-abdf-7617-8399-8d27a8667110" xlink:to="loc_dci_PurilogicsMember_01a0136f-abdf-7b6c-b052-eb33b9bda471" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductWarrantyAccrual_019f1f39-6454-7a4a-96c4-2b0777451f0f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProductWarrantyAccrual"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f1f39-6454-7031-939f-35449b8273e5" xlink:to="loc_us-gaap_ProductWarrantyAccrual_019f1f39-6454-7a4a-96c4-2b0777451f0f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductWarrantyAccrualWarrantiesIssued_01a0a41e-507e-7ae6-9e42-505ea2887733" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProductWarrantyAccrualWarrantiesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_019f1f39-6454-7031-939f-35449b8273e5" xlink:to="loc_us-gaap_ProductWarrantyAccrualWarrantiesIssued_01a0a41e-507e-7ae6-9e42-505ea2887733" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/SegmentReportingScheduleofSegmentDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#SegmentReportingScheduleofSegmentDetails"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/SegmentReportingScheduleofSegmentDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_019f1f39-6454-7ee9-8f23-4c902270fbeb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019f1f39-6454-76c5-b7fd-c1ba9c2776dd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019f1f39-6454-7ee9-8f23-4c902270fbeb" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019f1f39-6454-76c5-b7fd-c1ba9c2776dd" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_019f1f39-6454-725f-bd0e-3781a87e8964" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019f1f39-6454-76c5-b7fd-c1ba9c2776dd" xlink:to="loc_srt_ConsolidationItemsAxis_019f1f39-6454-725f-bd0e-3781a87e8964" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019f1f39-6454-725f-bd0e-3781a87e8964_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_019f1f39-6454-725f-bd0e-3781a87e8964" xlink:to="loc_srt_ConsolidationItemsDomain_019f1f39-6454-725f-bd0e-3781a87e8964_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019f1f39-6454-7c1c-b5e0-7f70864cf9d2" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_019f1f39-6454-725f-bd0e-3781a87e8964" xlink:to="loc_srt_ConsolidationItemsDomain_019f1f39-6454-7c1c-b5e0-7f70864cf9d2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_019f1f39-6454-701e-bcb8-9da67bdba17a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_019f1f39-6454-7c1c-b5e0-7f70864cf9d2" xlink:to="loc_us-gaap_OperatingSegmentsMember_019f1f39-6454-701e-bcb8-9da67bdba17a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_CorporateAndReconcilingItemsMember_019f1f39-6454-7f28-bd84-82fe27511ae2" xlink:href="dci-20260731.xsd#dci_CorporateAndReconcilingItemsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_019f1f39-6454-7c1c-b5e0-7f70864cf9d2" xlink:to="loc_dci_CorporateAndReconcilingItemsMember_019f1f39-6454-7f28-bd84-82fe27511ae2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_019f1f39-6454-7153-8c81-b1a500a92c7b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019f1f39-6454-76c5-b7fd-c1ba9c2776dd" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_019f1f39-6454-7153-8c81-b1a500a92c7b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019f1f39-6454-7153-8c81-b1a500a92c7b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019f1f39-6454-7153-8c81-b1a500a92c7b" xlink:to="loc_us-gaap_SegmentDomain_019f1f39-6454-7153-8c81-b1a500a92c7b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019f1f39-6454-7422-a934-f1355fcbb5a4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019f1f39-6454-7153-8c81-b1a500a92c7b" xlink:to="loc_us-gaap_SegmentDomain_019f1f39-6454-7422-a934-f1355fcbb5a4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_MobileSolutionsSegmentMember_019f1f39-6454-7141-90eb-920be4027ac3" xlink:href="dci-20260731.xsd#dci_MobileSolutionsSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019f1f39-6454-7422-a934-f1355fcbb5a4" xlink:to="loc_dci_MobileSolutionsSegmentMember_019f1f39-6454-7141-90eb-920be4027ac3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_IndustrialSolutionsSegmentMember_019f1f39-6454-7555-ae77-1be2fec3fd82" xlink:href="dci-20260731.xsd#dci_IndustrialSolutionsSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019f1f39-6454-7422-a934-f1355fcbb5a4" xlink:to="loc_dci_IndustrialSolutionsSegmentMember_019f1f39-6454-7555-ae77-1be2fec3fd82" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_LifeSciencesSegmentMember_019f1f39-6454-7f6d-bd2a-8ed35e8d0c2c" xlink:href="dci-20260731.xsd#dci_LifeSciencesSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019f1f39-6454-7422-a934-f1355fcbb5a4" xlink:to="loc_dci_LifeSciencesSegmentMember_019f1f39-6454-7f6d-bd2a-8ed35e8d0c2c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_019f1f39-6454-74aa-8711-c4916c676b16" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019f1f39-6454-7ee9-8f23-4c902270fbeb" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_019f1f39-6454-74aa-8711-c4916c676b16" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfRevenue_019f1f39-6454-7541-96a5-fa2cf577b249" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CostOfRevenue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019f1f39-6454-7ee9-8f23-4c902270fbeb" xlink:to="loc_us-gaap_CostOfRevenue_019f1f39-6454-7541-96a5-fa2cf577b249" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingOtherItemAmount_019f1f39-6454-7ff5-a89a-11106ca69495" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentReportingOtherItemAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019f1f39-6454-7ee9-8f23-4c902270fbeb" xlink:to="loc_us-gaap_SegmentReportingOtherItemAmount_019f1f39-6454-7ff5-a89a-11106ca69495" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019f1f39-6454-7950-bc76-8a2e26425aa3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019f1f39-6454-7ee9-8f23-4c902270fbeb" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019f1f39-6454-7950-bc76-8a2e26425aa3" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_019f1f39-6454-75a6-932c-688e09a0a0af" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019f1f39-6454-7ee9-8f23-4c902270fbeb" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_019f1f39-6454-75a6-932c-688e09a0a0af" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_019f1f39-6454-748b-a46a-fbbcb4bd3276" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019f1f39-6454-7ee9-8f23-4c902270fbeb" xlink:to="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_019f1f39-6454-748b-a46a-fbbcb4bd3276" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/SegmentReportingScheduleofReconciliationofNetSalesbyProductGroupPerSegmentDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#SegmentReportingScheduleofReconciliationofNetSalesbyProductGroupPerSegmentDetails"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/SegmentReportingScheduleofReconciliationofNetSalesbyProductGroupPerSegmentDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_019f1f39-6454-76b3-810d-a949799abc14" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019f1f39-6454-7958-bb8d-075daf997a02" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019f1f39-6454-76b3-810d-a949799abc14" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019f1f39-6454-7958-bb8d-075daf997a02" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_019f1f39-6454-729e-a770-0850d5f2b3c9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019f1f39-6454-7958-bb8d-075daf997a02" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_019f1f39-6454-729e-a770-0850d5f2b3c9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019f1f39-6454-729e-a770-0850d5f2b3c9_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019f1f39-6454-729e-a770-0850d5f2b3c9" xlink:to="loc_us-gaap_SegmentDomain_019f1f39-6454-729e-a770-0850d5f2b3c9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019f1f39-6454-70ae-9a0f-72da8f305ce2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019f1f39-6454-729e-a770-0850d5f2b3c9" xlink:to="loc_us-gaap_SegmentDomain_019f1f39-6454-70ae-9a0f-72da8f305ce2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_MobileSolutionsSegmentMember_019f1f39-6454-7275-92fa-be3dd6fdb5c9" xlink:href="dci-20260731.xsd#dci_MobileSolutionsSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019f1f39-6454-70ae-9a0f-72da8f305ce2" xlink:to="loc_dci_MobileSolutionsSegmentMember_019f1f39-6454-7275-92fa-be3dd6fdb5c9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_IndustrialSolutionsSegmentMember_019f1f39-6454-7479-86f6-d9bd679d8b16" xlink:href="dci-20260731.xsd#dci_IndustrialSolutionsSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019f1f39-6454-70ae-9a0f-72da8f305ce2" xlink:to="loc_dci_IndustrialSolutionsSegmentMember_019f1f39-6454-7479-86f6-d9bd679d8b16" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_LifeSciencesSegmentMember_019f1f39-6454-7628-b677-1a464e8089d9" xlink:href="dci-20260731.xsd#dci_LifeSciencesSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019f1f39-6454-70ae-9a0f-72da8f305ce2" xlink:to="loc_dci_LifeSciencesSegmentMember_019f1f39-6454-7628-b677-1a464e8089d9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_019f1f39-6454-78ee-b1d9-b18194dbc42d" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019f1f39-6454-7958-bb8d-075daf997a02" xlink:to="loc_srt_ProductOrServiceAxis_019f1f39-6454-78ee-b1d9-b18194dbc42d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_019f1f39-6454-78ee-b1d9-b18194dbc42d_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_019f1f39-6454-78ee-b1d9-b18194dbc42d" xlink:to="loc_srt_ProductsAndServicesDomain_019f1f39-6454-78ee-b1d9-b18194dbc42d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_019f1f39-6454-7820-9803-58d84fe572dd" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_019f1f39-6454-78ee-b1d9-b18194dbc42d" xlink:to="loc_srt_ProductsAndServicesDomain_019f1f39-6454-7820-9803-58d84fe572dd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_OffRoadProductsMember_019f1f39-6454-7f8c-b8f3-f1ffa17b2fb6" xlink:href="dci-20260731.xsd#dci_OffRoadProductsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_019f1f39-6454-7820-9803-58d84fe572dd" xlink:to="loc_dci_OffRoadProductsMember_019f1f39-6454-7f8c-b8f3-f1ffa17b2fb6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_OnRoadProductsMember_019f1f39-6454-77e2-a2e6-fa22dd349f8f" xlink:href="dci-20260731.xsd#dci_OnRoadProductsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_019f1f39-6454-7820-9803-58d84fe572dd" xlink:to="loc_dci_OnRoadProductsMember_019f1f39-6454-77e2-a2e6-fa22dd349f8f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_AftermarketProductsMember_019f1f39-6454-7fcb-bb1b-fd113bbf1980" xlink:href="dci-20260731.xsd#dci_AftermarketProductsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_019f1f39-6454-7820-9803-58d84fe572dd" xlink:to="loc_dci_AftermarketProductsMember_019f1f39-6454-7fcb-bb1b-fd113bbf1980" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_IndustrialFiltrationSolutionsProductsMember_019f1f39-6454-7e51-82c5-945a1d506d8e" xlink:href="dci-20260731.xsd#dci_IndustrialFiltrationSolutionsProductsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_019f1f39-6454-7820-9803-58d84fe572dd" xlink:to="loc_dci_IndustrialFiltrationSolutionsProductsMember_019f1f39-6454-7e51-82c5-945a1d506d8e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_AerospaceAndDefenseProductsMember_019f1f39-6454-7427-a584-5e833a858523" xlink:href="dci-20260731.xsd#dci_AerospaceAndDefenseProductsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_019f1f39-6454-7820-9803-58d84fe572dd" xlink:to="loc_dci_AerospaceAndDefenseProductsMember_019f1f39-6454-7427-a584-5e833a858523" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_019f1f39-6454-7efa-a7c0-9b8190cac349" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019f1f39-6454-7958-bb8d-075daf997a02" xlink:to="loc_srt_ConsolidationItemsAxis_019f1f39-6454-7efa-a7c0-9b8190cac349" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019f1f39-6454-7efa-a7c0-9b8190cac349_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_019f1f39-6454-7efa-a7c0-9b8190cac349" xlink:to="loc_srt_ConsolidationItemsDomain_019f1f39-6454-7efa-a7c0-9b8190cac349_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019f1f39-6454-77f8-899b-3b4b8d822ccb" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_019f1f39-6454-7efa-a7c0-9b8190cac349" xlink:to="loc_srt_ConsolidationItemsDomain_019f1f39-6454-77f8-899b-3b4b8d822ccb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_019f1f39-6454-730d-b6b3-ed862e3496ac" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_019f1f39-6454-77f8-899b-3b4b8d822ccb" xlink:to="loc_us-gaap_OperatingSegmentsMember_019f1f39-6454-730d-b6b3-ed862e3496ac" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_019f1f39-6454-7f37-8c56-958ffa91b1ea" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019f1f39-6454-76b3-810d-a949799abc14" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_019f1f39-6454-7f37-8c56-958ffa91b1ea" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/SegmentReportingScheduleofNetSalesbyOriginationandPropertyPlantandEquipmentbyGeographicRegionDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#SegmentReportingScheduleofNetSalesbyOriginationandPropertyPlantandEquipmentbyGeographicRegionDetails"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/SegmentReportingScheduleofNetSalesbyOriginationandPropertyPlantandEquipmentbyGeographicRegionDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_019f1f39-6454-7eca-8067-ae98714c5100" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_019f1f39-6454-78c1-82c6-0dd8bf3e7040" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019f1f39-6454-7eca-8067-ae98714c5100" xlink:to="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_019f1f39-6454-78c1-82c6-0dd8bf3e7040" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementGeographicalAxis_019f1f39-6454-72f5-b512-4cc2f8f0cdf1" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_StatementGeographicalAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_019f1f39-6454-78c1-82c6-0dd8bf3e7040" xlink:to="loc_srt_StatementGeographicalAxis_019f1f39-6454-72f5-b512-4cc2f8f0cdf1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_019f1f39-6454-72f5-b512-4cc2f8f0cdf1_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_019f1f39-6454-72f5-b512-4cc2f8f0cdf1" xlink:to="loc_srt_SegmentGeographicalDomain_019f1f39-6454-72f5-b512-4cc2f8f0cdf1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_019f1f39-6454-7341-8733-f73c49c45f0f" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_019f1f39-6454-72f5-b512-4cc2f8f0cdf1" xlink:to="loc_srt_SegmentGeographicalDomain_019f1f39-6454-7341-8733-f73c49c45f0f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dci_UnitedStatesAndCanadaMember_019f1f39-6454-7b86-a2fd-0e577308c971" xlink:href="dci-20260731.xsd#dci_UnitedStatesAndCanadaMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_019f1f39-6454-7341-8733-f73c49c45f0f" xlink:to="loc_dci_UnitedStatesAndCanadaMember_019f1f39-6454-7b86-a2fd-0e577308c971" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EMEAMember_019f1f39-6454-7004-ae22-c4a46c7bf2f5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EMEAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_019f1f39-6454-7341-8733-f73c49c45f0f" xlink:to="loc_us-gaap_EMEAMember_019f1f39-6454-7004-ae22-c4a46c7bf2f5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_AsiaPacificMember_019f1f39-6454-7f3f-a5b2-0a53ebb3d183" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_AsiaPacificMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_019f1f39-6454-7341-8733-f73c49c45f0f" xlink:to="loc_srt_AsiaPacificMember_019f1f39-6454-7f3f-a5b2-0a53ebb3d183" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_LatinAmericaMember_019f1f39-6454-76ed-84fd-519d6feea672" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_LatinAmericaMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_019f1f39-6454-7341-8733-f73c49c45f0f" xlink:to="loc_srt_LatinAmericaMember_019f1f39-6454-76ed-84fd-519d6feea672" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_019f1f39-6454-7d6f-b361-d66bd54c7941" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019f1f39-6454-7eca-8067-ae98714c5100" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_019f1f39-6454-7d6f-b361-d66bd54c7941" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncurrentAssets_019f1f39-6454-75b9-a273-c71a8a589537" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoncurrentAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019f1f39-6454-7eca-8067-ae98714c5100" xlink:to="loc_us-gaap_NoncurrentAssets_019f1f39-6454-75b9-a273-c71a8a589537" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_019f1f39-6454-70d8-93df-c5c95cdd2c34" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019f1f39-6454-7eca-8067-ae98714c5100" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_019f1f39-6454-70d8-93df-c5c95cdd2c34" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/RestructuringandOtherChargesDetails" xlink:type="simple" xlink:href="dci-20260731.xsd#RestructuringandOtherChargesDetails"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/RestructuringandOtherChargesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_019f1f39-6454-7382-affd-3e14ad2a4a83" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestructuringCostAndReserveLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_019f1f39-6454-7b79-b729-5f6ada4fa318" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_019f1f39-6454-7382-affd-3e14ad2a4a83" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_019f1f39-6454-7b79-b729-5f6ada4fa318" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementOfIncomeLocationBalanceAxis_019f1f39-6454-7781-90df-361d333fcade" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementOfIncomeLocationBalanceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_019f1f39-6454-7b79-b729-5f6ada4fa318" xlink:to="loc_us-gaap_StatementOfIncomeLocationBalanceAxis_019f1f39-6454-7781-90df-361d333fcade" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_019f1f39-6454-7207-973b-cc0b6b9ae2f9" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_019f1f39-6454-7b79-b729-5f6ada4fa318" xlink:to="loc_srt_ConsolidationItemsAxis_019f1f39-6454-7207-973b-cc0b6b9ae2f9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019f1f39-6454-7207-973b-cc0b6b9ae2f9_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_019f1f39-6454-7207-973b-cc0b6b9ae2f9" xlink:to="loc_srt_ConsolidationItemsDomain_019f1f39-6454-7207-973b-cc0b6b9ae2f9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019f1f39-6454-75ec-a8cf-158a58fbad58" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_019f1f39-6454-7207-973b-cc0b6b9ae2f9" xlink:to="loc_srt_ConsolidationItemsDomain_019f1f39-6454-75ec-a8cf-158a58fbad58" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_019f1f39-6454-76a9-bf30-f85503c02116" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_019f1f39-6454-75ec-a8cf-158a58fbad58" xlink:to="loc_us-gaap_OperatingSegmentsMember_019f1f39-6454-76a9-bf30-f85503c02116" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementOfFinancialPositionLocationBalanceAxis_019f5eaa-2fc8-7ced-8e31-a0fee671395b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementOfFinancialPositionLocationBalanceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_019f1f39-6454-7b79-b729-5f6ada4fa318" xlink:to="loc_us-gaap_StatementOfFinancialPositionLocationBalanceAxis_019f5eaa-2fc8-7ced-8e31-a0fee671395b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCosts_019f5e9e-6d9a-7f37-b129-1210a47d4198" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestructuringCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_019f1f39-6454-7382-affd-3e14ad2a4a83" xlink:to="loc_us-gaap_RestructuringCosts_019f5e9e-6d9a-7f37-b129-1210a47d4198" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringReserve_019f1f39-6454-7d2a-b691-31f9f8fd6937" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestructuringReserve"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_019f1f39-6454-7382-affd-3e14ad2a4a83" xlink:to="loc_us-gaap_RestructuringReserve_019f1f39-6454-7d2a-b691-31f9f8fd6937" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/RestructuringandOtherChargesDetails_1" xlink:type="simple" xlink:href="dci-20260731.xsd#RestructuringandOtherChargesDetails_1"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/RestructuringandOtherChargesDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_019f1f39-6454-7382-affd-3e14ad2a4a83" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestructuringCostAndReserveLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_019f1f39-6454-7b79-b729-5f6ada4fa318" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_019f1f39-6454-7382-affd-3e14ad2a4a83" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_019f1f39-6454-7b79-b729-5f6ada4fa318" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_019f1f39-6454-7207-973b-cc0b6b9ae2f9" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_019f1f39-6454-7b79-b729-5f6ada4fa318" xlink:to="loc_srt_ConsolidationItemsAxis_019f1f39-6454-7207-973b-cc0b6b9ae2f9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019f1f39-6454-7207-973b-cc0b6b9ae2f9_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_019f1f39-6454-7207-973b-cc0b6b9ae2f9" xlink:to="loc_srt_ConsolidationItemsDomain_019f1f39-6454-7207-973b-cc0b6b9ae2f9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019f1f39-6454-75ec-a8cf-158a58fbad58" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_019f1f39-6454-7207-973b-cc0b6b9ae2f9" xlink:to="loc_srt_ConsolidationItemsDomain_019f1f39-6454-75ec-a8cf-158a58fbad58" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_019f1f39-6454-76a9-bf30-f85503c02116" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_019f1f39-6454-75ec-a8cf-158a58fbad58" xlink:to="loc_us-gaap_OperatingSegmentsMember_019f1f39-6454-76a9-bf30-f85503c02116" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCosts_019f5e9e-6d9a-7f37-b129-1210a47d4198" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestructuringCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_019f1f39-6454-7382-affd-3e14ad2a4a83" xlink:to="loc_us-gaap_RestructuringCosts_019f5e9e-6d9a-7f37-b129-1210a47d4198" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringReserve_019f1f39-6454-7d2a-b691-31f9f8fd6937" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestructuringReserve"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_019f1f39-6454-7382-affd-3e14ad2a4a83" xlink:to="loc_us-gaap_RestructuringReserve_019f1f39-6454-7d2a-b691-31f9f8fd6937" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/RestructuringandOtherChargesDetails_2" xlink:type="simple" xlink:href="dci-20260731.xsd#RestructuringandOtherChargesDetails_2"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/RestructuringandOtherChargesDetails_2" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_019f1f39-6454-7382-affd-3e14ad2a4a83" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestructuringCostAndReserveLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_019f1f39-6454-7b79-b729-5f6ada4fa318" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_019f1f39-6454-7382-affd-3e14ad2a4a83" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_019f1f39-6454-7b79-b729-5f6ada4fa318" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_019f1f39-6454-7207-973b-cc0b6b9ae2f9" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_019f1f39-6454-7b79-b729-5f6ada4fa318" xlink:to="loc_srt_ConsolidationItemsAxis_019f1f39-6454-7207-973b-cc0b6b9ae2f9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019f1f39-6454-7207-973b-cc0b6b9ae2f9_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_019f1f39-6454-7207-973b-cc0b6b9ae2f9" xlink:to="loc_srt_ConsolidationItemsDomain_019f1f39-6454-7207-973b-cc0b6b9ae2f9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019f1f39-6454-75ec-a8cf-158a58fbad58" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_019f1f39-6454-7207-973b-cc0b6b9ae2f9" xlink:to="loc_srt_ConsolidationItemsDomain_019f1f39-6454-75ec-a8cf-158a58fbad58" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_019f1f39-6454-76a9-bf30-f85503c02116" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_019f1f39-6454-75ec-a8cf-158a58fbad58" xlink:to="loc_us-gaap_OperatingSegmentsMember_019f1f39-6454-76a9-bf30-f85503c02116" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementOfFinancialPositionLocationBalanceAxis_019f5eaa-2fc8-7ced-8e31-a0fee671395b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementOfFinancialPositionLocationBalanceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_019f1f39-6454-7b79-b729-5f6ada4fa318" xlink:to="loc_us-gaap_StatementOfFinancialPositionLocationBalanceAxis_019f5eaa-2fc8-7ced-8e31-a0fee671395b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCosts_019f5e9e-6d9a-7f37-b129-1210a47d4198" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestructuringCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_019f1f39-6454-7382-affd-3e14ad2a4a83" xlink:to="loc_us-gaap_RestructuringCosts_019f5e9e-6d9a-7f37-b129-1210a47d4198" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringReserve_019f1f39-6454-7d2a-b691-31f9f8fd6937" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestructuringReserve"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_019f1f39-6454-7382-affd-3e14ad2a4a83" xlink:to="loc_us-gaap_RestructuringReserve_019f1f39-6454-7d2a-b691-31f9f8fd6937" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.donaldson.com/role/RestructuringandOtherChargesDetails_3" xlink:type="simple" xlink:href="dci-20260731.xsd#RestructuringandOtherChargesDetails_3"/>
  <link:definitionLink xlink:role="http://www.donaldson.com/role/RestructuringandOtherChargesDetails_3" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_019f1f39-6454-7382-affd-3e14ad2a4a83" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestructuringCostAndReserveLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_019f1f39-6454-7b79-b729-5f6ada4fa318" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_019f1f39-6454-7382-affd-3e14ad2a4a83" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_019f1f39-6454-7b79-b729-5f6ada4fa318" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_019f1f39-6454-7207-973b-cc0b6b9ae2f9" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_019f1f39-6454-7b79-b729-5f6ada4fa318" xlink:to="loc_srt_ConsolidationItemsAxis_019f1f39-6454-7207-973b-cc0b6b9ae2f9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019f1f39-6454-7207-973b-cc0b6b9ae2f9_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_019f1f39-6454-7207-973b-cc0b6b9ae2f9" xlink:to="loc_srt_ConsolidationItemsDomain_019f1f39-6454-7207-973b-cc0b6b9ae2f9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019f1f39-6454-75ec-a8cf-158a58fbad58" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_019f1f39-6454-7207-973b-cc0b6b9ae2f9" xlink:to="loc_srt_ConsolidationItemsDomain_019f1f39-6454-75ec-a8cf-158a58fbad58" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_019f1f39-6454-76a9-bf30-f85503c02116" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_019f1f39-6454-75ec-a8cf-158a58fbad58" xlink:to="loc_us-gaap_OperatingSegmentsMember_019f1f39-6454-76a9-bf30-f85503c02116" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementOfIncomeLocationBalanceAxis_019f1f39-6454-7781-90df-361d333fcade" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementOfIncomeLocationBalanceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_019f1f39-6454-7b79-b729-5f6ada4fa318" xlink:to="loc_us-gaap_StatementOfIncomeLocationBalanceAxis_019f1f39-6454-7781-90df-361d333fcade" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCosts_019f5e9e-6d9a-7f37-b129-1210a47d4198" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestructuringCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_019f1f39-6454-7382-affd-3e14ad2a4a83" xlink:to="loc_us-gaap_RestructuringCosts_019f5e9e-6d9a-7f37-b129-1210a47d4198" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringReserve_019f1f39-6454-7d2a-b691-31f9f8fd6937" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestructuringReserve"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_019f1f39-6454-7382-affd-3e14ad2a4a83" xlink:to="loc_us-gaap_RestructuringReserve_019f1f39-6454-7d2a-b691-31f9f8fd6937" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fasb.org/srt/role/srt-eedm/ExtensibleEnumerationLists" xlink:type="simple" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-roles-2026.xsd#eedm1"/>
  <link:definitionLink xlink:role="http://fasb.org/srt/role/srt-eedm/ExtensibleEnumerationLists" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AssetsAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract" xlink:to="loc_us-gaap_OtherAssetsNoncurrent" xlink:type="arc" order="101"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeStatementAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementAbstract" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:type="arc" order="691"/>
  </link:definitionLink>
</link:linkbase>
