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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2024 Workiva-->
<!--r:40ac10ca-afd2-4686-9c79-0e7d65ad7790,g:747f2f39-293f-4f95-8253-206fc4176a2a-->
<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.graco.com/role/ConsolidatedStatementsofShareholdersEquityUnaudited" xlink:type="simple" xlink:href="ggg-20240628.xsd#ConsolidatedStatementsofShareholdersEquityUnaudited"/>
  <link:definitionLink xlink:role="http://www.graco.com/role/ConsolidatedStatementsofShareholdersEquityUnaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_0efe8cae-60ca-4105-a7fa-87b48b82d127" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_af7095da-e965-4bf4-aebe-bf0e7ab1a63f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_0efe8cae-60ca-4105-a7fa-87b48b82d127" xlink:to="loc_us-gaap_StatementTable_af7095da-e965-4bf4-aebe-bf0e7ab1a63f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_f52b8ca3-cc2d-441c-b338-00b48bf7b885" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_af7095da-e965-4bf4-aebe-bf0e7ab1a63f" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_f52b8ca3-cc2d-441c-b338-00b48bf7b885" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_f52b8ca3-cc2d-441c-b338-00b48bf7b885_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_f52b8ca3-cc2d-441c-b338-00b48bf7b885" xlink:to="loc_us-gaap_EquityComponentDomain_f52b8ca3-cc2d-441c-b338-00b48bf7b885_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_c09fb05a-d379-4a2e-89da-661218367d53" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_f52b8ca3-cc2d-441c-b338-00b48bf7b885" xlink:to="loc_us-gaap_EquityComponentDomain_c09fb05a-d379-4a2e-89da-661218367d53" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_fdb45df3-b05f-406d-a163-1da1e6f9edb4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_c09fb05a-d379-4a2e-89da-661218367d53" xlink:to="loc_us-gaap_CommonStockMember_fdb45df3-b05f-406d-a163-1da1e6f9edb4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_f232e0b9-f0b6-46e1-b901-de29f2e2d24e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_c09fb05a-d379-4a2e-89da-661218367d53" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_f232e0b9-f0b6-46e1-b901-de29f2e2d24e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_a0cbff93-69de-4c5f-8461-bf655562fb67" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_c09fb05a-d379-4a2e-89da-661218367d53" xlink:to="loc_us-gaap_RetainedEarningsMember_a0cbff93-69de-4c5f-8461-bf655562fb67" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_92b85644-1453-4b99-a1c4-bda64b5830a9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_c09fb05a-d379-4a2e-89da-661218367d53" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_92b85644-1453-4b99-a1c4-bda64b5830a9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_5647e8a6-b857-4a7b-9594-c1d40be44dfd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_0efe8cae-60ca-4105-a7fa-87b48b82d127" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_5647e8a6-b857-4a7b-9594-c1d40be44dfd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_e734b4c5-c4ed-46bd-a108-e7413b0a9640" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_5647e8a6-b857-4a7b-9594-c1d40be44dfd" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_e734b4c5-c4ed-46bd-a108-e7413b0a9640" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_05b85f20-3e06-4e19-9bd3-eb60cdf5c7d9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockIssuedDuringPeriodValueNewIssues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_5647e8a6-b857-4a7b-9594-c1d40be44dfd" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_05b85f20-3e06-4e19-9bd3-eb60cdf5c7d9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedDuringPeriodValue_5e4baaf8-3661-4df9-9c87-4375c65d4a9e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockRepurchasedDuringPeriodValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_5647e8a6-b857-4a7b-9594-c1d40be44dfd" xlink:to="loc_us-gaap_StockRepurchasedDuringPeriodValue_5e4baaf8-3661-4df9-9c87-4375c65d4a9e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_601051da-ac2a-48bd-9480-a4e9439ecb58" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_5647e8a6-b857-4a7b-9594-c1d40be44dfd" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_601051da-ac2a-48bd-9480-a4e9439ecb58" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_c63c74f8-44a0-412a-aee4-a2c7a3c4802a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_5647e8a6-b857-4a7b-9594-c1d40be44dfd" xlink:to="loc_us-gaap_NetIncomeLoss_c63c74f8-44a0-412a-aee4-a2c7a3c4802a" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsCommonStockCash_8ef011a7-4622-4dd3-b38e-3ad0933729d8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DividendsCommonStockCash"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_5647e8a6-b857-4a7b-9594-c1d40be44dfd" xlink:to="loc_us-gaap_DividendsCommonStockCash_8ef011a7-4622-4dd3-b38e-3ad0933729d8" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_2192e3a8-2185-4d9f-8a9a-f1151707c3d4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_5647e8a6-b857-4a7b-9594-c1d40be44dfd" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_2192e3a8-2185-4d9f-8a9a-f1151707c3d4" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_bc8b6915-11e8-4bef-9275-62d50403738d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.graco.com/role/SegmentReportingInformationOperationsandAssetsDetails" xlink:type="simple" xlink:href="ggg-20240628.xsd#SegmentReportingInformationOperationsandAssetsDetails"/>
  <link:definitionLink xlink:role="http://www.graco.com/role/SegmentReportingInformationOperationsandAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_60dec46d-3520-476e-a76e-ee7d2bc006b0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_b32ad6e1-bfa4-42fe-b8b0-967691488f9c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_60dec46d-3520-476e-a76e-ee7d2bc006b0" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_b32ad6e1-bfa4-42fe-b8b0-967691488f9c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_1358908d-c753-4e27-88b3-d462632ee597" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_b32ad6e1-bfa4-42fe-b8b0-967691488f9c" xlink:to="loc_srt_ConsolidationItemsAxis_1358908d-c753-4e27-88b3-d462632ee597" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_1358908d-c753-4e27-88b3-d462632ee597_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_1358908d-c753-4e27-88b3-d462632ee597" xlink:to="loc_srt_ConsolidationItemsDomain_1358908d-c753-4e27-88b3-d462632ee597_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_506369f5-b979-464f-88fe-b2a52adf7deb" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_1358908d-c753-4e27-88b3-d462632ee597" xlink:to="loc_srt_ConsolidationItemsDomain_506369f5-b979-464f-88fe-b2a52adf7deb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_d7b26b1b-fecb-4bc9-91a6-1cf638b0677e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_506369f5-b979-464f-88fe-b2a52adf7deb" xlink:to="loc_us-gaap_OperatingSegmentsMember_d7b26b1b-fecb-4bc9-91a6-1cf638b0677e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateNonSegmentMember_b8e64782-32a9-496d-94a4-3270993ee01a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CorporateNonSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_506369f5-b979-464f-88fe-b2a52adf7deb" xlink:to="loc_us-gaap_CorporateNonSegmentMember_b8e64782-32a9-496d-94a4-3270993ee01a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_8f8f8940-050a-4144-8cd3-01d41df5e9ef" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_b32ad6e1-bfa4-42fe-b8b0-967691488f9c" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_8f8f8940-050a-4144-8cd3-01d41df5e9ef" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_8f8f8940-050a-4144-8cd3-01d41df5e9ef_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_8f8f8940-050a-4144-8cd3-01d41df5e9ef" xlink:to="loc_us-gaap_SegmentDomain_8f8f8940-050a-4144-8cd3-01d41df5e9ef_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_19ec6227-4c54-4cff-b2c1-a34a01d70ba6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_8f8f8940-050a-4144-8cd3-01d41df5e9ef" xlink:to="loc_us-gaap_SegmentDomain_19ec6227-4c54-4cff-b2c1-a34a01d70ba6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ggg_ContractorMember_80cffa47-8580-43c7-8766-f5c7a88b7222" xlink:href="ggg-20240628.xsd#ggg_ContractorMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_19ec6227-4c54-4cff-b2c1-a34a01d70ba6" xlink:to="loc_ggg_ContractorMember_80cffa47-8580-43c7-8766-f5c7a88b7222" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ggg_IndustrialMember_70e15a59-89d2-4780-8c8e-5b3bd82f86bd" xlink:href="ggg-20240628.xsd#ggg_IndustrialMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_19ec6227-4c54-4cff-b2c1-a34a01d70ba6" xlink:to="loc_ggg_IndustrialMember_70e15a59-89d2-4780-8c8e-5b3bd82f86bd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ggg_ProcessMember_dbe56bfd-8b20-4ec0-8a18-90cc28cc5f86" xlink:href="ggg-20240628.xsd#ggg_ProcessMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_19ec6227-4c54-4cff-b2c1-a34a01d70ba6" xlink:to="loc_ggg_ProcessMember_dbe56bfd-8b20-4ec0-8a18-90cc28cc5f86" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NumberOfReportableSegments_742aa45c-7f88-4b67-a513-847ab644d54b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NumberOfReportableSegments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_60dec46d-3520-476e-a76e-ee7d2bc006b0" xlink:to="loc_us-gaap_NumberOfReportableSegments_742aa45c-7f88-4b67-a513-847ab644d54b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_d25d7ef5-6794-4823-83ee-14ee5f62574b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Revenues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_60dec46d-3520-476e-a76e-ee7d2bc006b0" xlink:to="loc_us-gaap_Revenues_d25d7ef5-6794-4823-83ee-14ee5f62574b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_41f7058f-077b-48cf-b39b-b6c22e5946da" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_60dec46d-3520-476e-a76e-ee7d2bc006b0" xlink:to="loc_us-gaap_OperatingIncomeLoss_41f7058f-077b-48cf-b39b-b6c22e5946da" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_7e1ef9e4-239f-4d26-b88c-efd5323a4513" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Assets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_60dec46d-3520-476e-a76e-ee7d2bc006b0" xlink:to="loc_us-gaap_Assets_7e1ef9e4-239f-4d26-b88c-efd5323a4513" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.graco.com/role/SegmentReportingInformationGeographicDetails" xlink:type="simple" xlink:href="ggg-20240628.xsd#SegmentReportingInformationGeographicDetails"/>
  <link:definitionLink xlink:role="http://www.graco.com/role/SegmentReportingInformationGeographicDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_a3f28c30-15da-48f9-bb9e-13857d1f8fd1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_bb73739e-2779-4abb-b427-5dad06c092e3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_a3f28c30-15da-48f9-bb9e-13857d1f8fd1" xlink:to="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_bb73739e-2779-4abb-b427-5dad06c092e3" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementGeographicalAxis_1dc846b5-2802-4988-9e98-6a1e50705607" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_StatementGeographicalAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_bb73739e-2779-4abb-b427-5dad06c092e3" xlink:to="loc_srt_StatementGeographicalAxis_1dc846b5-2802-4988-9e98-6a1e50705607" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_1dc846b5-2802-4988-9e98-6a1e50705607_default" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_1dc846b5-2802-4988-9e98-6a1e50705607" xlink:to="loc_srt_SegmentGeographicalDomain_1dc846b5-2802-4988-9e98-6a1e50705607_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_854552a0-1160-4a50-bc60-f76331f3ba10" xlink:href="https://xbrl.fasb.org/srt/2024/elts/srt-2024.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_1dc846b5-2802-4988-9e98-6a1e50705607" xlink:to="loc_srt_SegmentGeographicalDomain_854552a0-1160-4a50-bc60-f76331f3ba10" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_US_8901e164-60be-4098-90eb-fcbfc15088c1" xlink:href="https://xbrl.sec.gov/country/2024/country-2024.xsd#country_US"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_854552a0-1160-4a50-bc60-f76331f3ba10" xlink:to="loc_country_US_8901e164-60be-4098-90eb-fcbfc15088c1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonUsMember_f6b5b55f-8924-4601-a15c-d369460c5ea3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NonUsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_854552a0-1160-4a50-bc60-f76331f3ba10" xlink:to="loc_us-gaap_NonUsMember_f6b5b55f-8924-4601-a15c-d369460c5ea3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_5b19a4a4-9dcc-4835-ba2a-7c116ed6c19c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Revenues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_a3f28c30-15da-48f9-bb9e-13857d1f8fd1" xlink:to="loc_us-gaap_Revenues_5b19a4a4-9dcc-4835-ba2a-7c116ed6c19c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncurrentAssets_5a297518-3601-416b-9d51-6c64439d28db" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NoncurrentAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_a3f28c30-15da-48f9-bb9e-13857d1f8fd1" xlink:to="loc_us-gaap_NoncurrentAssets_5a297518-3601-416b-9d51-6c64439d28db" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.graco.com/role/ShareBasedAwardsNarrativeDetails" xlink:type="simple" xlink:href="ggg-20240628.xsd#ShareBasedAwardsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.graco.com/role/ShareBasedAwardsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3bfe2d75-3c01-490e-bc7d-559334e41396" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_2675f1fc-a762-404a-98f5-f1886be7199b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3bfe2d75-3c01-490e-bc7d-559334e41396" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_2675f1fc-a762-404a-98f5-f1886be7199b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_bf32a1fd-e3df-4b7f-ae06-6457aa64b5b4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_2675f1fc-a762-404a-98f5-f1886be7199b" xlink:to="loc_us-gaap_AwardTypeAxis_bf32a1fd-e3df-4b7f-ae06-6457aa64b5b4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_bf32a1fd-e3df-4b7f-ae06-6457aa64b5b4_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_bf32a1fd-e3df-4b7f-ae06-6457aa64b5b4" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_bf32a1fd-e3df-4b7f-ae06-6457aa64b5b4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9b94f20d-cd88-4d42-b688-43dee2b67b26" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_bf32a1fd-e3df-4b7f-ae06-6457aa64b5b4" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9b94f20d-cd88-4d42-b688-43dee2b67b26" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockMember_6f4740f2-f34b-4b5a-b881-81ff44c603a2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EmployeeStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9b94f20d-cd88-4d42-b688-43dee2b67b26" xlink:to="loc_us-gaap_EmployeeStockMember_6f4740f2-f34b-4b5a-b881-81ff44c603a2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_8018cdb5-f8c5-4f72-ac18-4d4fc2511425" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3bfe2d75-3c01-490e-bc7d-559334e41396" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_8018cdb5-f8c5-4f72-ac18-4d4fc2511425" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardDiscountFromMarketPriceOfferingDate_9f27307c-25e9-4551-aec6-610b2452b6fd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardDiscountFromMarketPriceOfferingDate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_3bfe2d75-3c01-490e-bc7d-559334e41396" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardDiscountFromMarketPriceOfferingDate_9f27307c-25e9-4551-aec6-610b2452b6fd" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.graco.com/role/ShareBasedAwardsOptionsFairValueInputsDetails" xlink:type="simple" xlink:href="ggg-20240628.xsd#ShareBasedAwardsOptionsFairValueInputsDetails"/>
  <link:definitionLink xlink:role="http://www.graco.com/role/ShareBasedAwardsOptionsFairValueInputsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_fd976bf3-b698-43de-b292-c255372a17c0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_e4e222b2-a6a3-482c-87c0-3e0055f119bd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_fd976bf3-b698-43de-b292-c255372a17c0" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_e4e222b2-a6a3-482c-87c0-3e0055f119bd" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_66ab4e0a-f63e-468f-a8bc-7549eb542b2d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_e4e222b2-a6a3-482c-87c0-3e0055f119bd" xlink:to="loc_us-gaap_AwardTypeAxis_66ab4e0a-f63e-468f-a8bc-7549eb542b2d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_66ab4e0a-f63e-468f-a8bc-7549eb542b2d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_66ab4e0a-f63e-468f-a8bc-7549eb542b2d" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_66ab4e0a-f63e-468f-a8bc-7549eb542b2d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_e5adb11f-1e1f-4993-86ba-2d1bc1fd50aa" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_66ab4e0a-f63e-468f-a8bc-7549eb542b2d" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_e5adb11f-1e1f-4993-86ba-2d1bc1fd50aa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_fc8cd11a-ebf5-4cde-b1c0-31fd19a52597" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_e5adb11f-1e1f-4993-86ba-2d1bc1fd50aa" xlink:to="loc_us-gaap_EmployeeStockOptionMember_fc8cd11a-ebf5-4cde-b1c0-31fd19a52597" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract_fe4f52f7-d2bf-4bdb-be3e-512ffacc2e37" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_fd976bf3-b698-43de-b292-c255372a17c0" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract_fe4f52f7-d2bf-4bdb-be3e-512ffacc2e37" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_7e614c82-1dfb-4382-bb73-8a5553d78ec7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract_fe4f52f7-d2bf-4bdb-be3e-512ffacc2e37" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_7e614c82-1dfb-4382-bb73-8a5553d78ec7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_272a33cf-7e0c-4b85-b6fd-c2c0946949fd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract_fe4f52f7-d2bf-4bdb-be3e-512ffacc2e37" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_272a33cf-7e0c-4b85-b6fd-c2c0946949fd" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_49102bde-af1c-4b04-8c3e-13e9f02f07b6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract_fe4f52f7-d2bf-4bdb-be3e-512ffacc2e37" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_49102bde-af1c-4b04-8c3e-13e9f02f07b6" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_e628bf68-5db8-43e4-807f-6d55b70f7c94" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract_fe4f52f7-d2bf-4bdb-be3e-512ffacc2e37" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_e628bf68-5db8-43e4-807f-6d55b70f7c94" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_2c4dc6da-2522-4eb4-bd2f-47b547c51636" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract_fe4f52f7-d2bf-4bdb-be3e-512ffacc2e37" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_2c4dc6da-2522-4eb4-bd2f-47b547c51636" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.graco.com/role/ShareBasedAwardsESPPFairValueInputsDetails" xlink:type="simple" xlink:href="ggg-20240628.xsd#ShareBasedAwardsESPPFairValueInputsDetails"/>
  <link:definitionLink xlink:role="http://www.graco.com/role/ShareBasedAwardsESPPFairValueInputsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_a36fb81f-94f7-46ea-aca7-e3356d1a551d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_26d40b7c-3786-4c09-bcc1-1ba9d772672e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_a36fb81f-94f7-46ea-aca7-e3356d1a551d" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_26d40b7c-3786-4c09-bcc1-1ba9d772672e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_735d3286-0968-4463-9ebb-a2cd20d72b90" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_26d40b7c-3786-4c09-bcc1-1ba9d772672e" xlink:to="loc_us-gaap_AwardTypeAxis_735d3286-0968-4463-9ebb-a2cd20d72b90" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_735d3286-0968-4463-9ebb-a2cd20d72b90_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_735d3286-0968-4463-9ebb-a2cd20d72b90" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_735d3286-0968-4463-9ebb-a2cd20d72b90_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_dd3c1d3d-f670-41df-8721-dbfb54a24f45" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_735d3286-0968-4463-9ebb-a2cd20d72b90" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_dd3c1d3d-f670-41df-8721-dbfb54a24f45" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockMember_7d8ea07c-1b76-4be0-92db-f8dccbbf2830" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EmployeeStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_dd3c1d3d-f670-41df-8721-dbfb54a24f45" xlink:to="loc_us-gaap_EmployeeStockMember_7d8ea07c-1b76-4be0-92db-f8dccbbf2830" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_f1f4029a-5f02-44b4-8186-69ee1b78087f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_a36fb81f-94f7-46ea-aca7-e3356d1a551d" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_f1f4029a-5f02-44b4-8186-69ee1b78087f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_90881fe1-e709-4fa1-aa32-0b8686add668" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_a36fb81f-94f7-46ea-aca7-e3356d1a551d" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_90881fe1-e709-4fa1-aa32-0b8686add668" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_3e5f9a88-018e-46c6-b8b1-5bf22a935ad9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_a36fb81f-94f7-46ea-aca7-e3356d1a551d" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_3e5f9a88-018e-46c6-b8b1-5bf22a935ad9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_d43358d5-7d0a-4ead-b9c7-e1dbbd95f99a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_a36fb81f-94f7-46ea-aca7-e3356d1a551d" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_d43358d5-7d0a-4ead-b9c7-e1dbbd95f99a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_a4d08e1b-0f92-4e4e-bab5-4679915937c6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_a36fb81f-94f7-46ea-aca7-e3356d1a551d" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_a4d08e1b-0f92-4e4e-bab5-4679915937c6" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.graco.com/role/RetirementBenefitsDetails" xlink:type="simple" xlink:href="ggg-20240628.xsd#RetirementBenefitsDetails"/>
  <link:definitionLink xlink:role="http://www.graco.com/role/RetirementBenefitsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_b9138fa9-33c4-49f0-b00f-eb54b73d70ee" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_66db428a-5b16-46aa-bb33-ae80a40f4f83" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_b9138fa9-33c4-49f0-b00f-eb54b73d70ee" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_66db428a-5b16-46aa-bb33-ae80a40f4f83" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_ffefaf38-d818-4122-92bc-04a6d8c967ed" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetirementPlanTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_66db428a-5b16-46aa-bb33-ae80a40f4f83" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_ffefaf38-d818-4122-92bc-04a6d8c967ed" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_ffefaf38-d818-4122-92bc-04a6d8c967ed_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_ffefaf38-d818-4122-92bc-04a6d8c967ed" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_ffefaf38-d818-4122-92bc-04a6d8c967ed_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_2f0c5b21-b5a1-4067-a24b-6477cb99fa36" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_ffefaf38-d818-4122-92bc-04a6d8c967ed" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_2f0c5b21-b5a1-4067-a24b-6477cb99fa36" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_70387970-8fbd-44d8-a3a0-aaaa8b13408d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PensionPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_2f0c5b21-b5a1-4067-a24b-6477cb99fa36" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_70387970-8fbd-44d8-a3a0-aaaa8b13408d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_c5601b72-c61a-4db8-bd27-136b8dc6db70" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_2f0c5b21-b5a1-4067-a24b-6477cb99fa36" xlink:to="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_c5601b72-c61a-4db8-bd27-136b8dc6db70" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_7ab51235-a3ce-47f3-b277-543df904eafd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanServiceCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_b9138fa9-33c4-49f0-b00f-eb54b73d70ee" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_7ab51235-a3ce-47f3-b277-543df904eafd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_473e92f9-72ee-41b3-bcca-4e9c8bc0666f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanInterestCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_b9138fa9-33c4-49f0-b00f-eb54b73d70ee" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_473e92f9-72ee-41b3-bcca-4e9c8bc0666f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_156ba7c4-a560-4352-a36f-79550e9b1ea5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_b9138fa9-33c4-49f0-b00f-eb54b73d70ee" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_156ba7c4-a560-4352-a36f-79550e9b1ea5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ggg_DefinedBenefitPlanAmortizationOfGainsLossesAndOther_02142259-c1ab-4040-8a0c-2bf72d8e9ef3" xlink:href="ggg-20240628.xsd#ggg_DefinedBenefitPlanAmortizationOfGainsLossesAndOther"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_b9138fa9-33c4-49f0-b00f-eb54b73d70ee" xlink:to="loc_ggg_DefinedBenefitPlanAmortizationOfGainsLossesAndOther_02142259-c1ab-4040-8a0c-2bf72d8e9ef3" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_4c4d7b15-4a22-461f-b5d0-11d8fc5052b5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_b9138fa9-33c4-49f0-b00f-eb54b73d70ee" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_4c4d7b15-4a22-461f-b5d0-11d8fc5052b5" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_3740c3b5-7768-4e9d-bbab-87d2c8091ab5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_b9138fa9-33c4-49f0-b00f-eb54b73d70ee" xlink:to="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_3740c3b5-7768-4e9d-bbab-87d2c8091ab5" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.graco.com/role/ShareholdersEquityDetails" xlink:type="simple" xlink:href="ggg-20240628.xsd#ShareholdersEquityDetails"/>
  <link:definitionLink xlink:role="http://www.graco.com/role/ShareholdersEquityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_00f404d0-3f31-4677-9010-d4755ca0efbd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_c99dec4a-83bf-4631-a3c1-374a6d1d8bd2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_00f404d0-3f31-4677-9010-d4755ca0efbd" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_c99dec4a-83bf-4631-a3c1-374a6d1d8bd2" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_bba9a607-b0c7-4fe6-87fb-cbc51031606e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_c99dec4a-83bf-4631-a3c1-374a6d1d8bd2" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_bba9a607-b0c7-4fe6-87fb-cbc51031606e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_bba9a607-b0c7-4fe6-87fb-cbc51031606e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_bba9a607-b0c7-4fe6-87fb-cbc51031606e" xlink:to="loc_us-gaap_EquityComponentDomain_bba9a607-b0c7-4fe6-87fb-cbc51031606e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_837a0fb6-4db8-4f8d-ac8e-5fecc59be2ba" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_bba9a607-b0c7-4fe6-87fb-cbc51031606e" xlink:to="loc_us-gaap_EquityComponentDomain_837a0fb6-4db8-4f8d-ac8e-5fecc59be2ba" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember_0be6337e-fd98-4a21-bbb5-8dc22003ef9a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_837a0fb6-4db8-4f8d-ac8e-5fecc59be2ba" xlink:to="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember_0be6337e-fd98-4a21-bbb5-8dc22003ef9a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedTranslationAdjustmentMember_ea8d6de9-8b45-47f8-a2e1-0964dd845eff" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccumulatedTranslationAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_837a0fb6-4db8-4f8d-ac8e-5fecc59be2ba" xlink:to="loc_us-gaap_AccumulatedTranslationAdjustmentMember_ea8d6de9-8b45-47f8-a2e1-0964dd845eff" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_603ffac4-7de1-4431-af0c-35123aaa6e63" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_837a0fb6-4db8-4f8d-ac8e-5fecc59be2ba" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_603ffac4-7de1-4431-af0c-35123aaa6e63" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_a2109a5a-a3e2-4136-8be1-75955af563d1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AOCIAttributableToParentNetOfTaxRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_00f404d0-3f31-4677-9010-d4755ca0efbd" xlink:to="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_a2109a5a-a3e2-4136-8be1-75955af563d1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_4d3c940b-1051-4bc6-9547-e0e0cacc40f1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_a2109a5a-a3e2-4136-8be1-75955af563d1" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_4d3c940b-1051-4bc6-9547-e0e0cacc40f1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_7df5e880-d191-459b-bf9d-9bbde2059e90" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_a2109a5a-a3e2-4136-8be1-75955af563d1" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_7df5e880-d191-459b-bf9d-9bbde2059e90" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_92fd28e6-69ba-4ca7-b9fc-7c0ba101a249" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_a2109a5a-a3e2-4136-8be1-75955af563d1" xlink:to="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_92fd28e6-69ba-4ca7-b9fc-7c0ba101a249" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_98bb0f59-d85d-41ca-8828-01769fc9dcb8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.graco.com/role/IntangibleAssetsOtherIntangibleAssetsDetails" xlink:type="simple" xlink:href="ggg-20240628.xsd#IntangibleAssetsOtherIntangibleAssetsDetails"/>
  <link:definitionLink xlink:role="http://www.graco.com/role/IntangibleAssetsOtherIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_ac8c25f2-ae77-4094-942c-9f8f0f2a33d5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_05d40198-8710-44e3-bfd1-308a805728fa" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_ac8c25f2-ae77-4094-942c-9f8f0f2a33d5" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_05d40198-8710-44e3-bfd1-308a805728fa" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_7943d6bd-6087-4728-bc4b-718e5ec0b045" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_05d40198-8710-44e3-bfd1-308a805728fa" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_7943d6bd-6087-4728-bc4b-718e5ec0b045" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_7943d6bd-6087-4728-bc4b-718e5ec0b045_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_7943d6bd-6087-4728-bc4b-718e5ec0b045" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_7943d6bd-6087-4728-bc4b-718e5ec0b045_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_f8000c4d-f339-4700-b78d-d77402877492" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_7943d6bd-6087-4728-bc4b-718e5ec0b045" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_f8000c4d-f339-4700-b78d-d77402877492" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerRelationshipsMember_6bb7edb1-ee14-4cf8-b360-536a05332479" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CustomerRelationshipsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_f8000c4d-f339-4700-b78d-d77402877492" xlink:to="loc_us-gaap_CustomerRelationshipsMember_6bb7edb1-ee14-4cf8-b360-536a05332479" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ggg_PatentsProprietaryTechnologyAndProductDocumentationMember_30a00e3e-250b-43d7-803f-400334b33e68" xlink:href="ggg-20240628.xsd#ggg_PatentsProprietaryTechnologyAndProductDocumentationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_f8000c4d-f339-4700-b78d-d77402877492" xlink:to="loc_ggg_PatentsProprietaryTechnologyAndProductDocumentationMember_30a00e3e-250b-43d7-803f-400334b33e68" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TrademarksAndTradeNamesMember_2ea2822e-8927-41a9-b8b1-502bcbe57964" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TrademarksAndTradeNamesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_f8000c4d-f339-4700-b78d-d77402877492" xlink:to="loc_us-gaap_TrademarksAndTradeNamesMember_2ea2822e-8927-41a9-b8b1-502bcbe57964" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_377618f3-d920-463c-a55e-451b7f2d1bcf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_ac8c25f2-ae77-4094-942c-9f8f0f2a33d5" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_377618f3-d920-463c-a55e-451b7f2d1bcf" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_6d111656-37d0-43ca-bfa7-0885a79bef1e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_ac8c25f2-ae77-4094-942c-9f8f0f2a33d5" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_6d111656-37d0-43ca-bfa7-0885a79bef1e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsForeignCurrencyTranslationGainLoss_6f2f6f49-a14d-44eb-b034-f080bdc0c54c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsForeignCurrencyTranslationGainLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_ac8c25f2-ae77-4094-942c-9f8f0f2a33d5" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsForeignCurrencyTranslationGainLoss_6f2f6f49-a14d-44eb-b034-f080bdc0c54c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_96adba23-307a-4611-9f4f-01a1bbec5b38" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_ac8c25f2-ae77-4094-942c-9f8f0f2a33d5" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_96adba23-307a-4611-9f4f-01a1bbec5b38" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_04ef3f1a-bfee-4e5b-92c9-6f4370eafd49" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_ac8c25f2-ae77-4094-942c-9f8f0f2a33d5" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_04ef3f1a-bfee-4e5b-92c9-6f4370eafd49" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassLineItems_a3af7ab7-2fca-48b8-a977-a44dbfa1c012" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfIndefiniteLivedIntangibleAssetsTable_5c2c2ce1-6b76-4558-bb36-9dc9ec8ff1e4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfIndefiniteLivedIntangibleAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassLineItems_a3af7ab7-2fca-48b8-a977-a44dbfa1c012" xlink:to="loc_us-gaap_ScheduleOfIndefiniteLivedIntangibleAssetsTable_5c2c2ce1-6b76-4558-bb36-9dc9ec8ff1e4" xlink:type="arc" order="2" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_46a7dd0a-a922-42ac-9090-eba5a40b69ec" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfIndefiniteLivedIntangibleAssetsTable_5c2c2ce1-6b76-4558-bb36-9dc9ec8ff1e4" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_46a7dd0a-a922-42ac-9090-eba5a40b69ec" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_46a7dd0a-a922-42ac-9090-eba5a40b69ec_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_46a7dd0a-a922-42ac-9090-eba5a40b69ec" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_46a7dd0a-a922-42ac-9090-eba5a40b69ec_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_b47ce21d-1351-4e5e-9e58-783cfe1b4b55" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_46a7dd0a-a922-42ac-9090-eba5a40b69ec" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_b47ce21d-1351-4e5e-9e58-783cfe1b4b55" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradeNamesMember_318f9f0a-7e79-4d02-a7dc-df12410d119c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_TradeNamesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_b47ce21d-1351-4e5e-9e58-783cfe1b4b55" xlink:to="loc_us-gaap_TradeNamesMember_318f9f0a-7e79-4d02-a7dc-df12410d119c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedTradeNames_ef5cfa31-25cf-4d11-9107-8cc6f63f6228" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IndefiniteLivedTradeNames"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassLineItems_a3af7ab7-2fca-48b8-a977-a44dbfa1c012" xlink:to="loc_us-gaap_IndefiniteLivedTradeNames_ef5cfa31-25cf-4d11-9107-8cc6f63f6228" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsForeignCurrencyTranslationGainLoss_47a1369a-fd88-485c-976b-6e396169bd15" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IndefiniteLivedIntangibleAssetsForeignCurrencyTranslationGainLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassLineItems_a3af7ab7-2fca-48b8-a977-a44dbfa1c012" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsForeignCurrencyTranslationGainLoss_47a1369a-fd88-485c-976b-6e396169bd15" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_d85b2043-7ca0-43eb-ad49-c5d4ef585db0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassLineItems_a3af7ab7-2fca-48b8-a977-a44dbfa1c012" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_d85b2043-7ca0-43eb-ad49-c5d4ef585db0" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.graco.com/role/IntangibleAssetsGoodwillRollforwardDetails" xlink:type="simple" xlink:href="ggg-20240628.xsd#IntangibleAssetsGoodwillRollforwardDetails"/>
  <link:definitionLink xlink:role="http://www.graco.com/role/IntangibleAssetsGoodwillRollforwardDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillLineItems_f75d9953-8619-4e7e-860a-599c802a8e40" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GoodwillLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfGoodwillTable_ce29ca56-b2d9-41d9-b85b-34a20de75cf3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ScheduleOfGoodwillTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GoodwillLineItems_f75d9953-8619-4e7e-860a-599c802a8e40" xlink:to="loc_us-gaap_ScheduleOfGoodwillTable_ce29ca56-b2d9-41d9-b85b-34a20de75cf3" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_702824e5-fcdd-4d52-bd86-86eab7cc8d36" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_ce29ca56-b2d9-41d9-b85b-34a20de75cf3" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_702824e5-fcdd-4d52-bd86-86eab7cc8d36" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_702824e5-fcdd-4d52-bd86-86eab7cc8d36_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_702824e5-fcdd-4d52-bd86-86eab7cc8d36" xlink:to="loc_us-gaap_SegmentDomain_702824e5-fcdd-4d52-bd86-86eab7cc8d36_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_e1a436a6-734b-41cb-a872-8695c972378d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_702824e5-fcdd-4d52-bd86-86eab7cc8d36" xlink:to="loc_us-gaap_SegmentDomain_e1a436a6-734b-41cb-a872-8695c972378d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ggg_ContractorMember_4c7dfd6b-147c-4e26-8a4d-0fe11c14215c" xlink:href="ggg-20240628.xsd#ggg_ContractorMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_e1a436a6-734b-41cb-a872-8695c972378d" xlink:to="loc_ggg_ContractorMember_4c7dfd6b-147c-4e26-8a4d-0fe11c14215c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ggg_IndustrialMember_860a1d09-9bc9-49bd-b9da-2e9b72c75e04" xlink:href="ggg-20240628.xsd#ggg_IndustrialMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_e1a436a6-734b-41cb-a872-8695c972378d" xlink:to="loc_ggg_IndustrialMember_860a1d09-9bc9-49bd-b9da-2e9b72c75e04" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ggg_ProcessMember_84046f46-8c40-4a70-9ae9-a2ae06fd97f5" xlink:href="ggg-20240628.xsd#ggg_ProcessMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_e1a436a6-734b-41cb-a872-8695c972378d" xlink:to="loc_ggg_ProcessMember_84046f46-8c40-4a70-9ae9-a2ae06fd97f5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillRollForward_45fa5569-ed0d-478a-9b72-d7576d1fc5c6" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GoodwillRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_f75d9953-8619-4e7e-860a-599c802a8e40" xlink:to="loc_us-gaap_GoodwillRollForward_45fa5569-ed0d-478a-9b72-d7576d1fc5c6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_411e812e-4d3d-4f8b-93c9-a31d12bc8366" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Goodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_45fa5569-ed0d-478a-9b72-d7576d1fc5c6" xlink:to="loc_us-gaap_Goodwill_411e812e-4d3d-4f8b-93c9-a31d12bc8366" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillForeignCurrencyTranslationGainLoss_079689da-1461-4f86-bb7d-444f5c90a863" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GoodwillForeignCurrencyTranslationGainLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_45fa5569-ed0d-478a-9b72-d7576d1fc5c6" xlink:to="loc_us-gaap_GoodwillForeignCurrencyTranslationGainLoss_079689da-1461-4f86-bb7d-444f5c90a863" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_84e52bfe-e583-4995-b60c-e52d7c18cc79" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Goodwill"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.graco.com/role/FairValueDetails" xlink:type="simple" xlink:href="ggg-20240628.xsd#FairValueDetails"/>
  <link:definitionLink xlink:role="http://www.graco.com/role/FairValueDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_11b142be-1dff-45ea-bb0d-3375e539c998" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByBalanceSheetGroupingTable_a828ccef-fb34-49b1-ace4-e90518ec9686" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueByBalanceSheetGroupingTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_11b142be-1dff-45ea-bb0d-3375e539c998" xlink:to="loc_us-gaap_FairValueByBalanceSheetGroupingTable_a828ccef-fb34-49b1-ace4-e90518ec9686" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_e4973fcf-5e4a-47c9-a9e2-2a5525c2332b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_a828ccef-fb34-49b1-ace4-e90518ec9686" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_e4973fcf-5e4a-47c9-a9e2-2a5525c2332b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_e4973fcf-5e4a-47c9-a9e2-2a5525c2332b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_e4973fcf-5e4a-47c9-a9e2-2a5525c2332b" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_e4973fcf-5e4a-47c9-a9e2-2a5525c2332b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_d82b61db-1296-44f0-9961-23eec2a06bbf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_e4973fcf-5e4a-47c9-a9e2-2a5525c2332b" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_d82b61db-1296-44f0-9961-23eec2a06bbf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_92bf34f7-72a6-487b-a994-91bd8337cb24" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_d82b61db-1296-44f0-9961-23eec2a06bbf" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_92bf34f7-72a6-487b-a994-91bd8337cb24" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_8afb5b35-d461-40db-b233-a756839dbef9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_d82b61db-1296-44f0-9961-23eec2a06bbf" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_8afb5b35-d461-40db-b233-a756839dbef9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsAbstract_4039ff45-d012-4076-bdee-08c4e06adb88" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_11b142be-1dff-45ea-bb0d-3375e539c998" xlink:to="loc_us-gaap_AssetsAbstract_4039ff45-d012-4076-bdee-08c4e06adb88" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashSurrenderValueFairValueDisclosure_de5c7748-311f-4e86-9b16-18ea76bca00b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashSurrenderValueFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_4039ff45-d012-4076-bdee-08c4e06adb88" xlink:to="loc_us-gaap_CashSurrenderValueFairValueDisclosure_de5c7748-311f-4e86-9b16-18ea76bca00b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyContractAssetFairValueDisclosure_fc5cdd8c-c4cd-4406-9f69-d2ebc3768487" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ForeignCurrencyContractAssetFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_4039ff45-d012-4076-bdee-08c4e06adb88" xlink:to="loc_us-gaap_ForeignCurrencyContractAssetFairValueDisclosure_fc5cdd8c-c4cd-4406-9f69-d2ebc3768487" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_998ca23d-7d1f-4d33-a5d6-5da4a8357c65" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_4039ff45-d012-4076-bdee-08c4e06adb88" xlink:to="loc_us-gaap_AssetsFairValueDisclosure_998ca23d-7d1f-4d33-a5d6-5da4a8357c65" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAbstract_5922c2bb-7790-4e7d-b082-d3b36624a07d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_11b142be-1dff-45ea-bb0d-3375e539c998" xlink:to="loc_us-gaap_LiabilitiesAbstract_5922c2bb-7790-4e7d-b082-d3b36624a07d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_794951fc-de0d-4de0-83a3-fe079011cbde" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_BusinessCombinationContingentConsiderationLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_5922c2bb-7790-4e7d-b082-d3b36624a07d" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_794951fc-de0d-4de0-83a3-fe079011cbde" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesFairValueDisclosure_5ad8e910-f716-4b1e-9dc2-8a34003935f7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherLiabilitiesFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_5922c2bb-7790-4e7d-b082-d3b36624a07d" xlink:to="loc_us-gaap_OtherLiabilitiesFairValueDisclosure_5ad8e910-f716-4b1e-9dc2-8a34003935f7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure_9fb9bb86-45be-4c9e-88c9-93310486e2a9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_5922c2bb-7790-4e7d-b082-d3b36624a07d" xlink:to="loc_us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure_9fb9bb86-45be-4c9e-88c9-93310486e2a9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_7ae0a72c-ac14-44a5-95fe-74353037e33f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_5922c2bb-7790-4e7d-b082-d3b36624a07d" xlink:to="loc_us-gaap_LiabilitiesFairValueDisclosure_7ae0a72c-ac14-44a5-95fe-74353037e33f" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://xbrl.sec.gov/ecd/AwardTypeOnly" xlink:type="simple" xlink:href="https://xbrl.sec.gov/ecd/2024/ecd-2024.xsd#AwardTypeOnly"/>
  <link:definitionLink xlink:role="http://xbrl.sec.gov/ecd/AwardTypeOnly" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockMember" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_EmployeeStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="loc_us-gaap_EmployeeStockMember" xlink:type="arc" order="3"/>
  </link:definitionLink>
</link:linkbase>
