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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2023 Workiva-->
<!--r:c6cf9a68-a7ec-4758-81c6-c3d1788e1b4e,g:1cfbd545-15f1-405f-813c-530abbf53948-->
<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/ConsolidatedStatementsofCashFlowsUnaudited" xlink:type="simple" xlink:href="ggg-20230331.xsd#ConsolidatedStatementsofCashFlowsUnaudited"/>
  <link:definitionLink xlink:role="http://www.graco.com/role/ConsolidatedStatementsofCashFlowsUnaudited" xlink:type="extended" id="i4391649e7a9d4fe19f32f5ab23d28462_ConsolidatedStatementsofCashFlowsUnaudited">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_d4b7dba9-147f-4574-9c4c-64d972c930b9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_a17d2a1a-254d-4e3e-9344-da894a5be759" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_d4b7dba9-147f-4574-9c4c-64d972c930b9" xlink:to="loc_us-gaap_StatementTable_a17d2a1a-254d-4e3e-9344-da894a5be759" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementScenarioAxis_d966a245-469d-4473-86e6-e8ed9c344fbe" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_StatementScenarioAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_a17d2a1a-254d-4e3e-9344-da894a5be759" xlink:to="loc_srt_StatementScenarioAxis_d966a245-469d-4473-86e6-e8ed9c344fbe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_d966a245-469d-4473-86e6-e8ed9c344fbe_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementScenarioAxis_d966a245-469d-4473-86e6-e8ed9c344fbe" xlink:to="loc_srt_ScenarioUnspecifiedDomain_d966a245-469d-4473-86e6-e8ed9c344fbe_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_471e259f-1429-4120-8237-bfd4513c501c" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementScenarioAxis_d966a245-469d-4473-86e6-e8ed9c344fbe" xlink:to="loc_srt_ScenarioUnspecifiedDomain_471e259f-1429-4120-8237-bfd4513c501c" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.graco.com/role/ConsolidatedStatementsofShareholdersEquityUnaudited" xlink:type="simple" xlink:href="ggg-20230331.xsd#ConsolidatedStatementsofShareholdersEquityUnaudited"/>
  <link:definitionLink xlink:role="http://www.graco.com/role/ConsolidatedStatementsofShareholdersEquityUnaudited" xlink:type="extended" id="icb7af371e5044bf78b4556eef06ed275_ConsolidatedStatementsofShareholdersEquityUnaudited">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_8b694f25-c1b4-4e9e-b19b-3dcf2a7f22f0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_b919d77a-1a1f-43e8-80f7-0aabb97eb631" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_8b694f25-c1b4-4e9e-b19b-3dcf2a7f22f0" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_b919d77a-1a1f-43e8-80f7-0aabb97eb631" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_ceabb858-822d-4983-a012-b25e49ad9e6f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_8b694f25-c1b4-4e9e-b19b-3dcf2a7f22f0" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_ceabb858-822d-4983-a012-b25e49ad9e6f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_96b06650-8bfc-4845-acff-905fc4b02fb9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockIssuedDuringPeriodValueNewIssues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_8b694f25-c1b4-4e9e-b19b-3dcf2a7f22f0" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_96b06650-8bfc-4845-acff-905fc4b02fb9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedDuringPeriodValue_2fe5bcfd-e700-4e60-8bbc-9624008f6848" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockRepurchasedDuringPeriodValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_8b694f25-c1b4-4e9e-b19b-3dcf2a7f22f0" xlink:to="loc_us-gaap_StockRepurchasedDuringPeriodValue_2fe5bcfd-e700-4e60-8bbc-9624008f6848" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_a4b15e35-4e76-4c2a-98de-7d4435e49b35" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_8b694f25-c1b4-4e9e-b19b-3dcf2a7f22f0" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_a4b15e35-4e76-4c2a-98de-7d4435e49b35" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross_d75ed4f6-e9e0-4a7b-a36e-080cc967f87c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_8b694f25-c1b4-4e9e-b19b-3dcf2a7f22f0" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross_d75ed4f6-e9e0-4a7b-a36e-080cc967f87c" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_887fc0af-c308-47f1-b632-dc95b7c160dc" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_8b694f25-c1b4-4e9e-b19b-3dcf2a7f22f0" xlink:to="loc_us-gaap_NetIncomeLoss_887fc0af-c308-47f1-b632-dc95b7c160dc" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsCommonStockCash_157f3170-0a97-470d-bb36-ca1d3337836e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DividendsCommonStockCash"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_8b694f25-c1b4-4e9e-b19b-3dcf2a7f22f0" xlink:to="loc_us-gaap_DividendsCommonStockCash_157f3170-0a97-470d-bb36-ca1d3337836e" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_23ccd53d-9a49-4ae1-8d48-91a8a1a57d87" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_8b694f25-c1b4-4e9e-b19b-3dcf2a7f22f0" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_23ccd53d-9a49-4ae1-8d48-91a8a1a57d87" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_23b7f5a2-6691-4dc2-9e0c-3684ba95ebc3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_8b694f25-c1b4-4e9e-b19b-3dcf2a7f22f0" xlink:to="loc_us-gaap_StatementTable_23b7f5a2-6691-4dc2-9e0c-3684ba95ebc3" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_348ab863-37a9-40a3-b1e2-0b8b92bfd66b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_23b7f5a2-6691-4dc2-9e0c-3684ba95ebc3" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_348ab863-37a9-40a3-b1e2-0b8b92bfd66b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_348ab863-37a9-40a3-b1e2-0b8b92bfd66b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_348ab863-37a9-40a3-b1e2-0b8b92bfd66b" xlink:to="loc_us-gaap_EquityComponentDomain_348ab863-37a9-40a3-b1e2-0b8b92bfd66b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_8a0fcd62-1cf8-4a4d-a271-64af2455586a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_348ab863-37a9-40a3-b1e2-0b8b92bfd66b" xlink:to="loc_us-gaap_EquityComponentDomain_8a0fcd62-1cf8-4a4d-a271-64af2455586a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_985d44ba-f605-4d06-820e-286b51c22bf0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_8a0fcd62-1cf8-4a4d-a271-64af2455586a" xlink:to="loc_us-gaap_CommonStockMember_985d44ba-f605-4d06-820e-286b51c22bf0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_63454bd3-0e70-4eac-8a31-65ce3cb19d44" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_8a0fcd62-1cf8-4a4d-a271-64af2455586a" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_63454bd3-0e70-4eac-8a31-65ce3cb19d44" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_8320c303-ff2f-4568-9dae-86f13a72b24b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_8a0fcd62-1cf8-4a4d-a271-64af2455586a" xlink:to="loc_us-gaap_RetainedEarningsMember_8320c303-ff2f-4568-9dae-86f13a72b24b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_15e2e811-d3c8-451b-a079-4a0ce0af5f8f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_8a0fcd62-1cf8-4a4d-a271-64af2455586a" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_15e2e811-d3c8-451b-a079-4a0ce0af5f8f" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.graco.com/role/SegmentReportingInformationOperationsandAssetsDetails" xlink:type="simple" xlink:href="ggg-20230331.xsd#SegmentReportingInformationOperationsandAssetsDetails"/>
  <link:definitionLink xlink:role="http://www.graco.com/role/SegmentReportingInformationOperationsandAssetsDetails" xlink:type="extended" id="ib8c4a2ef63e746178adb8fa4d5cb7b19_SegmentReportingInformationOperationsandAssetsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_ff8c1e32-a888-456a-a038-34af984ba3d5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NumberOfReportableSegments_5c02c2c8-ea0f-4ba8-bb85-d20aaebaee73" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NumberOfReportableSegments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_ff8c1e32-a888-456a-a038-34af984ba3d5" xlink:to="loc_us-gaap_NumberOfReportableSegments_5c02c2c8-ea0f-4ba8-bb85-d20aaebaee73" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_3013bb65-114c-4f6a-8462-02fdc6731f06" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Revenues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_ff8c1e32-a888-456a-a038-34af984ba3d5" xlink:to="loc_us-gaap_Revenues_3013bb65-114c-4f6a-8462-02fdc6731f06" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_f214b8a8-04b7-4fc7-b786-ed28e7a39e17" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_ff8c1e32-a888-456a-a038-34af984ba3d5" xlink:to="loc_us-gaap_OperatingIncomeLoss_f214b8a8-04b7-4fc7-b786-ed28e7a39e17" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ggg_ImpairmentSegmentInformation_d6af9092-bbcb-403b-bb2b-0dd8e4e0cf80" xlink:href="ggg-20230331.xsd#ggg_ImpairmentSegmentInformation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_ff8c1e32-a888-456a-a038-34af984ba3d5" xlink:to="loc_ggg_ImpairmentSegmentInformation_d6af9092-bbcb-403b-bb2b-0dd8e4e0cf80" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_077702dd-6a78-44d9-86a0-cc8058c90432" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Assets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_ff8c1e32-a888-456a-a038-34af984ba3d5" xlink:to="loc_us-gaap_Assets_077702dd-6a78-44d9-86a0-cc8058c90432" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_5baffc91-695b-4e1b-86d4-2979f08dd9ef" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_ff8c1e32-a888-456a-a038-34af984ba3d5" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_5baffc91-695b-4e1b-86d4-2979f08dd9ef" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_159ed27a-5aaa-4780-8cbd-5a07a13e14cb" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_5baffc91-695b-4e1b-86d4-2979f08dd9ef" xlink:to="loc_srt_ConsolidationItemsAxis_159ed27a-5aaa-4780-8cbd-5a07a13e14cb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_159ed27a-5aaa-4780-8cbd-5a07a13e14cb_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_159ed27a-5aaa-4780-8cbd-5a07a13e14cb" xlink:to="loc_srt_ConsolidationItemsDomain_159ed27a-5aaa-4780-8cbd-5a07a13e14cb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_354d1088-1918-45dc-bc5a-f66dda36e987" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_159ed27a-5aaa-4780-8cbd-5a07a13e14cb" xlink:to="loc_srt_ConsolidationItemsDomain_354d1088-1918-45dc-bc5a-f66dda36e987" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_22c0ff7d-52b5-47e6-a0e1-e3fd33abf992" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_354d1088-1918-45dc-bc5a-f66dda36e987" xlink:to="loc_us-gaap_OperatingSegmentsMember_22c0ff7d-52b5-47e6-a0e1-e3fd33abf992" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateNonSegmentMember_582e3dd7-9b36-427b-a5a7-b33be404a15f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CorporateNonSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_354d1088-1918-45dc-bc5a-f66dda36e987" xlink:to="loc_us-gaap_CorporateNonSegmentMember_582e3dd7-9b36-427b-a5a7-b33be404a15f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_1e8accfe-553c-4cff-ad5c-c2876effdedf" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_5baffc91-695b-4e1b-86d4-2979f08dd9ef" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_1e8accfe-553c-4cff-ad5c-c2876effdedf" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_1e8accfe-553c-4cff-ad5c-c2876effdedf_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_1e8accfe-553c-4cff-ad5c-c2876effdedf" xlink:to="loc_us-gaap_SegmentDomain_1e8accfe-553c-4cff-ad5c-c2876effdedf_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_82216eea-ab9a-4833-ae5a-f5b519c3b0ae" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_1e8accfe-553c-4cff-ad5c-c2876effdedf" xlink:to="loc_us-gaap_SegmentDomain_82216eea-ab9a-4833-ae5a-f5b519c3b0ae" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ggg_ContractorMember_4dc552e9-0e9b-4b74-b2ca-42b09208f53e" xlink:href="ggg-20230331.xsd#ggg_ContractorMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_82216eea-ab9a-4833-ae5a-f5b519c3b0ae" xlink:to="loc_ggg_ContractorMember_4dc552e9-0e9b-4b74-b2ca-42b09208f53e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ggg_IndustrialMember_534947c5-df99-4b5e-a751-de2739e37071" xlink:href="ggg-20230331.xsd#ggg_IndustrialMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_82216eea-ab9a-4833-ae5a-f5b519c3b0ae" xlink:to="loc_ggg_IndustrialMember_534947c5-df99-4b5e-a751-de2739e37071" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ggg_ProcessMember_d9fbc5e2-da2d-48f8-ba5e-19f67e6c8974" xlink:href="ggg-20230331.xsd#ggg_ProcessMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_82216eea-ab9a-4833-ae5a-f5b519c3b0ae" xlink:to="loc_ggg_ProcessMember_d9fbc5e2-da2d-48f8-ba5e-19f67e6c8974" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.graco.com/role/SegmentReportingInformationGeographicDetails" xlink:type="simple" xlink:href="ggg-20230331.xsd#SegmentReportingInformationGeographicDetails"/>
  <link:definitionLink xlink:role="http://www.graco.com/role/SegmentReportingInformationGeographicDetails" xlink:type="extended" id="i3793ac47c1b74a18a2c022a3d6fcdc95_SegmentReportingInformationGeographicDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_e27c1cda-b8b9-4101-8f59-0c54d825d800" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_72a07baf-3988-4390-a62f-c1fbe469586f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Revenues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_e27c1cda-b8b9-4101-8f59-0c54d825d800" xlink:to="loc_us-gaap_Revenues_72a07baf-3988-4390-a62f-c1fbe469586f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncurrentAssets_f3e361d9-d7d1-4237-8947-8fc24b0f6e98" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NoncurrentAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_e27c1cda-b8b9-4101-8f59-0c54d825d800" xlink:to="loc_us-gaap_NoncurrentAssets_f3e361d9-d7d1-4237-8947-8fc24b0f6e98" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_ec2f1434-0843-4612-8aaf-2824f28f03e0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_e27c1cda-b8b9-4101-8f59-0c54d825d800" xlink:to="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_ec2f1434-0843-4612-8aaf-2824f28f03e0" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementGeographicalAxis_83aad938-e5e8-4dec-97ad-e91fe38a7fd5" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_StatementGeographicalAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_ec2f1434-0843-4612-8aaf-2824f28f03e0" xlink:to="loc_srt_StatementGeographicalAxis_83aad938-e5e8-4dec-97ad-e91fe38a7fd5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_83aad938-e5e8-4dec-97ad-e91fe38a7fd5_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_83aad938-e5e8-4dec-97ad-e91fe38a7fd5" xlink:to="loc_srt_SegmentGeographicalDomain_83aad938-e5e8-4dec-97ad-e91fe38a7fd5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_815cd991-bfa1-4c74-8d5d-56792076bdc0" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_83aad938-e5e8-4dec-97ad-e91fe38a7fd5" xlink:to="loc_srt_SegmentGeographicalDomain_815cd991-bfa1-4c74-8d5d-56792076bdc0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_US_655cdbf9-f518-4a63-a9cf-ac9925ef1fd4" xlink:href="https://xbrl.sec.gov/country/2022/country-2022.xsd#country_US"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_815cd991-bfa1-4c74-8d5d-56792076bdc0" xlink:to="loc_country_US_655cdbf9-f518-4a63-a9cf-ac9925ef1fd4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonUsMember_3b78cf53-98af-4c8c-85e6-e5c3fd389c43" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NonUsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_815cd991-bfa1-4c74-8d5d-56792076bdc0" xlink:to="loc_us-gaap_NonUsMember_3b78cf53-98af-4c8c-85e6-e5c3fd389c43" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.graco.com/role/ShareBasedAwardsOptionsActivityandOutstandingDetails" xlink:type="simple" xlink:href="ggg-20230331.xsd#ShareBasedAwardsOptionsActivityandOutstandingDetails"/>
  <link:definitionLink xlink:role="http://www.graco.com/role/ShareBasedAwardsOptionsActivityandOutstandingDetails" xlink:type="extended" id="idce0ae0deda7471f9aa6df73a20fa108_ShareBasedAwardsOptionsActivityandOutstandingDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_a5014686-0224-44cf-b9a1-4d0c9889f005" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_08e02343-2878-4e60-8832-8e3036346ecb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_a5014686-0224-44cf-b9a1-4d0c9889f005" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_08e02343-2878-4e60-8832-8e3036346ecb" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameAxis_55915272-3472-4848-a377-2643f74098e8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_08e02343-2878-4e60-8832-8e3036346ecb" xlink:to="loc_us-gaap_PlanNameAxis_55915272-3472-4848-a377-2643f74098e8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_55915272-3472-4848-a377-2643f74098e8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_55915272-3472-4848-a377-2643f74098e8" xlink:to="loc_us-gaap_PlanNameDomain_55915272-3472-4848-a377-2643f74098e8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_4e94549d-d951-416f-b947-66d1fc31ee42" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_55915272-3472-4848-a377-2643f74098e8" xlink:to="loc_us-gaap_PlanNameDomain_4e94549d-d951-416f-b947-66d1fc31ee42" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardDateAxis_d58fe4b5-c907-40cf-853c-95f4cd400793" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AwardDateAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_08e02343-2878-4e60-8832-8e3036346ecb" xlink:to="loc_us-gaap_AwardDateAxis_d58fe4b5-c907-40cf-853c-95f4cd400793" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardDateDomain_d58fe4b5-c907-40cf-853c-95f4cd400793_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AwardDateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardDateAxis_d58fe4b5-c907-40cf-853c-95f4cd400793" xlink:to="loc_us-gaap_AwardDateDomain_d58fe4b5-c907-40cf-853c-95f4cd400793_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardDateDomain_ca51b18b-d197-4fa7-9b07-51f925ce7cb6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AwardDateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardDateAxis_d58fe4b5-c907-40cf-853c-95f4cd400793" xlink:to="loc_us-gaap_AwardDateDomain_ca51b18b-d197-4fa7-9b07-51f925ce7cb6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_69228610-6b49-430d-85a2-92361150e044" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_08e02343-2878-4e60-8832-8e3036346ecb" xlink:to="loc_us-gaap_AwardTypeAxis_69228610-6b49-430d-85a2-92361150e044" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_69228610-6b49-430d-85a2-92361150e044_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_69228610-6b49-430d-85a2-92361150e044" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_69228610-6b49-430d-85a2-92361150e044_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_f7eb9c9d-2353-4a77-ba9a-2a6069d349d0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_69228610-6b49-430d-85a2-92361150e044" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_f7eb9c9d-2353-4a77-ba9a-2a6069d349d0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_0a310858-9067-4371-84ba-d3f04dc20082" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_08e02343-2878-4e60-8832-8e3036346ecb" xlink:to="loc_us-gaap_StatementClassOfStockAxis_0a310858-9067-4371-84ba-d3f04dc20082" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_0a310858-9067-4371-84ba-d3f04dc20082_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_0a310858-9067-4371-84ba-d3f04dc20082" xlink:to="loc_us-gaap_ClassOfStockDomain_0a310858-9067-4371-84ba-d3f04dc20082_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_47aab1b6-b716-4df3-8374-84372ffd7fc6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_0a310858-9067-4371-84ba-d3f04dc20082" xlink:to="loc_us-gaap_ClassOfStockDomain_47aab1b6-b716-4df3-8374-84372ffd7fc6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_4857596d-82ab-4558-b235-be2ce5c8c91d" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_08e02343-2878-4e60-8832-8e3036346ecb" xlink:to="loc_srt_RangeAxis_4857596d-82ab-4558-b235-be2ce5c8c91d" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_4857596d-82ab-4558-b235-be2ce5c8c91d_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_4857596d-82ab-4558-b235-be2ce5c8c91d" xlink:to="loc_srt_RangeMember_4857596d-82ab-4558-b235-be2ce5c8c91d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_4bd09c99-0f32-4aa3-8d29-9e32d6d0fc93" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_4857596d-82ab-4558-b235-be2ce5c8c91d" xlink:to="loc_srt_RangeMember_4bd09c99-0f32-4aa3-8d29-9e32d6d0fc93" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VestingAxis_ce812224-ea3d-4ba7-83ef-7a93c9263367" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_VestingAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_08e02343-2878-4e60-8832-8e3036346ecb" xlink:to="loc_us-gaap_VestingAxis_ce812224-ea3d-4ba7-83ef-7a93c9263367" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VestingDomain_ce812224-ea3d-4ba7-83ef-7a93c9263367_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_VestingDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VestingAxis_ce812224-ea3d-4ba7-83ef-7a93c9263367" xlink:to="loc_us-gaap_VestingDomain_ce812224-ea3d-4ba7-83ef-7a93c9263367_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VestingDomain_c9c8dd37-7303-403e-a585-42cbf0e8de58" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_VestingDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VestingAxis_ce812224-ea3d-4ba7-83ef-7a93c9263367" xlink:to="loc_us-gaap_VestingDomain_c9c8dd37-7303-403e-a585-42cbf0e8de58" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.graco.com/role/ShareBasedAwardsOptionsFairValueInputsDetails" xlink:type="simple" xlink:href="ggg-20230331.xsd#ShareBasedAwardsOptionsFairValueInputsDetails"/>
  <link:definitionLink xlink:role="http://www.graco.com/role/ShareBasedAwardsOptionsFairValueInputsDetails" xlink:type="extended" id="i00b801f9c74749e187e39434a1e19fa3_ShareBasedAwardsOptionsFairValueInputsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_85b54d18-c9b7-4e5c-aae9-4810d0507f89" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract_3bab9225-ad5b-4a6c-a6ee-04ee64bbf4c0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_85b54d18-c9b7-4e5c-aae9-4810d0507f89" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract_3bab9225-ad5b-4a6c-a6ee-04ee64bbf4c0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_be3afa9b-6b18-43c7-85a1-b7b99876e9a7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract_3bab9225-ad5b-4a6c-a6ee-04ee64bbf4c0" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_be3afa9b-6b18-43c7-85a1-b7b99876e9a7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_0c7b8f99-831f-45c0-a3d5-1de08726fdf4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract_3bab9225-ad5b-4a6c-a6ee-04ee64bbf4c0" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_0c7b8f99-831f-45c0-a3d5-1de08726fdf4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_d3fdb49e-5141-493d-b8ff-8da5665859f3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract_3bab9225-ad5b-4a6c-a6ee-04ee64bbf4c0" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_d3fdb49e-5141-493d-b8ff-8da5665859f3" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_0c5fd5c0-b96b-4cd0-b7ef-2a7eb5b2bcc1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract_3bab9225-ad5b-4a6c-a6ee-04ee64bbf4c0" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_0c5fd5c0-b96b-4cd0-b7ef-2a7eb5b2bcc1" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_a0d3cd58-fd2c-4381-b8d6-86637e3aeb9a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract_3bab9225-ad5b-4a6c-a6ee-04ee64bbf4c0" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_a0d3cd58-fd2c-4381-b8d6-86637e3aeb9a" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_2fa1718d-cdf9-4625-b525-55ad0ceaaf95" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_85b54d18-c9b7-4e5c-aae9-4810d0507f89" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_2fa1718d-cdf9-4625-b525-55ad0ceaaf95" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_6b6418f3-d9d7-4709-bc07-9aff52063a3b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_2fa1718d-cdf9-4625-b525-55ad0ceaaf95" xlink:to="loc_us-gaap_AwardTypeAxis_6b6418f3-d9d7-4709-bc07-9aff52063a3b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6b6418f3-d9d7-4709-bc07-9aff52063a3b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_6b6418f3-d9d7-4709-bc07-9aff52063a3b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6b6418f3-d9d7-4709-bc07-9aff52063a3b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_d0560722-014f-4f59-89c7-a0bb5a7983e5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_6b6418f3-d9d7-4709-bc07-9aff52063a3b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_d0560722-014f-4f59-89c7-a0bb5a7983e5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_a5c44a00-d578-47e8-8352-db3203231748" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_d0560722-014f-4f59-89c7-a0bb5a7983e5" xlink:to="loc_us-gaap_EmployeeStockOptionMember_a5c44a00-d578-47e8-8352-db3203231748" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.graco.com/role/ShareBasedAwardsESPPFairValueInputsDetails" xlink:type="simple" xlink:href="ggg-20230331.xsd#ShareBasedAwardsESPPFairValueInputsDetails"/>
  <link:definitionLink xlink:role="http://www.graco.com/role/ShareBasedAwardsESPPFairValueInputsDetails" xlink:type="extended" id="i346f67d9a5844f54b67a929be81a5998_ShareBasedAwardsESPPFairValueInputsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019b01e7-304b-4d52-b8b5-8c973fe8edb1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_d522111f-970b-476e-9384-b8c63833e5bf" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019b01e7-304b-4d52-b8b5-8c973fe8edb1" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_d522111f-970b-476e-9384-b8c63833e5bf" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_54146923-74b7-4964-a84d-023a24684948" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019b01e7-304b-4d52-b8b5-8c973fe8edb1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_54146923-74b7-4964-a84d-023a24684948" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_3b13a6a1-49f6-4bb1-839a-3e29d3d484f6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019b01e7-304b-4d52-b8b5-8c973fe8edb1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_3b13a6a1-49f6-4bb1-839a-3e29d3d484f6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_85728846-928e-4f21-9181-3f4c82eca0a5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019b01e7-304b-4d52-b8b5-8c973fe8edb1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_85728846-928e-4f21-9181-3f4c82eca0a5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_f70c810a-7f67-4a4f-88ee-443baaeeafdc" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019b01e7-304b-4d52-b8b5-8c973fe8edb1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_f70c810a-7f67-4a4f-88ee-443baaeeafdc" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_2a141371-c897-4a30-8efe-7668e27b4dcc" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019b01e7-304b-4d52-b8b5-8c973fe8edb1" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_2a141371-c897-4a30-8efe-7668e27b4dcc" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_439d7473-325d-4f61-a129-dfd7341404bc" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_2a141371-c897-4a30-8efe-7668e27b4dcc" xlink:to="loc_us-gaap_AwardTypeAxis_439d7473-325d-4f61-a129-dfd7341404bc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_439d7473-325d-4f61-a129-dfd7341404bc_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_439d7473-325d-4f61-a129-dfd7341404bc" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_439d7473-325d-4f61-a129-dfd7341404bc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_d73554f7-aeb0-4d65-829b-c3f8736ea93c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_439d7473-325d-4f61-a129-dfd7341404bc" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_d73554f7-aeb0-4d65-829b-c3f8736ea93c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockMember_a63f8213-a77c-44df-b52e-2a789fc415d0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EmployeeStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_d73554f7-aeb0-4d65-829b-c3f8736ea93c" xlink:to="loc_us-gaap_EmployeeStockMember_a63f8213-a77c-44df-b52e-2a789fc415d0" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.graco.com/role/ShareBasedAwardsNarrativeDetails" xlink:type="simple" xlink:href="ggg-20230331.xsd#ShareBasedAwardsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.graco.com/role/ShareBasedAwardsNarrativeDetails" xlink:type="extended" id="iad6fadb7fca24bd0a665759a57c2b0e7_ShareBasedAwardsNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_fa998026-a83d-4ff9-a921-9f8463330571" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_e01b02a7-d6a6-4f66-aaa9-a1519a583e39" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_fa998026-a83d-4ff9-a921-9f8463330571" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_e01b02a7-d6a6-4f66-aaa9-a1519a583e39" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardDiscountFromMarketPriceOfferingDate_1cfb356a-3cb8-4025-b6ec-c3fe5bf3264c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardDiscountFromMarketPriceOfferingDate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_fa998026-a83d-4ff9-a921-9f8463330571" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardDiscountFromMarketPriceOfferingDate_1cfb356a-3cb8-4025-b6ec-c3fe5bf3264c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_23759278-ac36-46a4-8f6a-ce05f3328862" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_fa998026-a83d-4ff9-a921-9f8463330571" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_23759278-ac36-46a4-8f6a-ce05f3328862" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_0824d2c4-69a8-400e-a1b3-95ff63afadb2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_23759278-ac36-46a4-8f6a-ce05f3328862" xlink:to="loc_us-gaap_AwardTypeAxis_0824d2c4-69a8-400e-a1b3-95ff63afadb2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0824d2c4-69a8-400e-a1b3-95ff63afadb2_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_0824d2c4-69a8-400e-a1b3-95ff63afadb2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0824d2c4-69a8-400e-a1b3-95ff63afadb2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_11cde265-78e3-49b1-8c65-b284b25be01f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_0824d2c4-69a8-400e-a1b3-95ff63afadb2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_11cde265-78e3-49b1-8c65-b284b25be01f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockMember_2fcb94cb-76a6-4044-8e74-44404faef220" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EmployeeStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_11cde265-78e3-49b1-8c65-b284b25be01f" xlink:to="loc_us-gaap_EmployeeStockMember_2fcb94cb-76a6-4044-8e74-44404faef220" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.graco.com/role/RetirementBenefitsDetails" xlink:type="simple" xlink:href="ggg-20230331.xsd#RetirementBenefitsDetails"/>
  <link:definitionLink xlink:role="http://www.graco.com/role/RetirementBenefitsDetails" xlink:type="extended" id="i443e24c5f6794edea3e5a6a26b509ba6_RetirementBenefitsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_057ac61d-7312-410e-860d-8e5f1d150c6d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_2807da22-6a1f-4f42-a08c-7ed9e4128a85" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanServiceCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_057ac61d-7312-410e-860d-8e5f1d150c6d" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_2807da22-6a1f-4f42-a08c-7ed9e4128a85" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_9526543a-eb80-46b7-aa43-fe08bba9a806" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanInterestCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_057ac61d-7312-410e-860d-8e5f1d150c6d" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_9526543a-eb80-46b7-aa43-fe08bba9a806" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_45593bbc-e3ca-4a6b-8150-a64bf1fcf46b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_057ac61d-7312-410e-860d-8e5f1d150c6d" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_45593bbc-e3ca-4a6b-8150-a64bf1fcf46b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ggg_DefinedBenefitPlanAmortizationOfGainsLossesAndOther_1bf8ad78-1e30-40f9-b542-a0fc577edf4c" xlink:href="ggg-20230331.xsd#ggg_DefinedBenefitPlanAmortizationOfGainsLossesAndOther"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_057ac61d-7312-410e-860d-8e5f1d150c6d" xlink:to="loc_ggg_DefinedBenefitPlanAmortizationOfGainsLossesAndOther_1bf8ad78-1e30-40f9-b542-a0fc577edf4c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_96d3a1ac-fe15-47fa-b019-7c16062ced0e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_057ac61d-7312-410e-860d-8e5f1d150c6d" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_96d3a1ac-fe15-47fa-b019-7c16062ced0e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_7bb4f96f-55a1-45e2-8ca8-2cd61af47906" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_057ac61d-7312-410e-860d-8e5f1d150c6d" xlink:to="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_7bb4f96f-55a1-45e2-8ca8-2cd61af47906" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_75768bdb-2853-4b78-bc1d-1157cb36cda9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_057ac61d-7312-410e-860d-8e5f1d150c6d" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_75768bdb-2853-4b78-bc1d-1157cb36cda9" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_00648c96-d551-42cd-9791-6051caea27c2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RetirementPlanTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_75768bdb-2853-4b78-bc1d-1157cb36cda9" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_00648c96-d551-42cd-9791-6051caea27c2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_00648c96-d551-42cd-9791-6051caea27c2_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_00648c96-d551-42cd-9791-6051caea27c2" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_00648c96-d551-42cd-9791-6051caea27c2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_74068441-90b6-4d32-9b99-9b447cafbe81" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RetirementPlanTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_00648c96-d551-42cd-9791-6051caea27c2" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_74068441-90b6-4d32-9b99-9b447cafbe81" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionPlansDefinedBenefitMember_9d74ab1f-bb57-4018-bc48-6be2df91854e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PensionPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_74068441-90b6-4d32-9b99-9b447cafbe81" xlink:to="loc_us-gaap_PensionPlansDefinedBenefitMember_9d74ab1f-bb57-4018-bc48-6be2df91854e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_f8aa3e3a-d85c-4ebb-8d65-bb609b6c3cc3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_74068441-90b6-4d32-9b99-9b447cafbe81" xlink:to="loc_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember_f8aa3e3a-d85c-4ebb-8d65-bb609b6c3cc3" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.graco.com/role/ShareholdersEquityChangesinAOCIDetails" xlink:type="simple" xlink:href="ggg-20230331.xsd#ShareholdersEquityChangesinAOCIDetails"/>
  <link:definitionLink xlink:role="http://www.graco.com/role/ShareholdersEquityChangesinAOCIDetails" xlink:type="extended" id="ie137e4b7d2b14290a64f5cc87e08b4e0_ShareholdersEquityChangesinAOCIDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_ace0377d-8eda-4901-a83a-4d10567359b3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_67f6e202-bf71-4be8-9282-8712626c6665" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AOCIAttributableToParentNetOfTaxRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_ace0377d-8eda-4901-a83a-4d10567359b3" xlink:to="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_67f6e202-bf71-4be8-9282-8712626c6665" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_11e1a5e7-08fa-45e5-982a-f33f0fd458ff" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_67f6e202-bf71-4be8-9282-8712626c6665" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_11e1a5e7-08fa-45e5-982a-f33f0fd458ff" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_9f6c40c4-cff1-432a-84ef-7fda8ad8e8c6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_67f6e202-bf71-4be8-9282-8712626c6665" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_9f6c40c4-cff1-432a-84ef-7fda8ad8e8c6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_b8d936a3-8b22-4974-a5b0-99ab9b17f7e4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_67f6e202-bf71-4be8-9282-8712626c6665" xlink:to="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_b8d936a3-8b22-4974-a5b0-99ab9b17f7e4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_3d83b54c-f0c8-47ee-b58c-6efdded11448" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_2e995928-3a8f-411f-8236-42b65c1e0c2d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_ace0377d-8eda-4901-a83a-4d10567359b3" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_2e995928-3a8f-411f-8236-42b65c1e0c2d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_5fc7db48-b2cb-49a6-a041-14737433df34" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_2e995928-3a8f-411f-8236-42b65c1e0c2d" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_5fc7db48-b2cb-49a6-a041-14737433df34" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfAdoptionMember_5fc7db48-b2cb-49a6-a041-14737433df34_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TypeOfAdoptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_5fc7db48-b2cb-49a6-a041-14737433df34" xlink:to="loc_us-gaap_TypeOfAdoptionMember_5fc7db48-b2cb-49a6-a041-14737433df34_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfAdoptionMember_203c3e13-b516-4c46-b34f-ee64ed732510" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TypeOfAdoptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_5fc7db48-b2cb-49a6-a041-14737433df34" xlink:to="loc_us-gaap_TypeOfAdoptionMember_203c3e13-b516-4c46-b34f-ee64ed732510" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_e927a01c-9c72-419e-bb78-bbabd3971156" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_2e995928-3a8f-411f-8236-42b65c1e0c2d" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_e927a01c-9c72-419e-bb78-bbabd3971156" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_e927a01c-9c72-419e-bb78-bbabd3971156_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_e927a01c-9c72-419e-bb78-bbabd3971156" xlink:to="loc_us-gaap_EquityComponentDomain_e927a01c-9c72-419e-bb78-bbabd3971156_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_62e64716-09f7-4455-b2e7-29795490dae7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_e927a01c-9c72-419e-bb78-bbabd3971156" xlink:to="loc_us-gaap_EquityComponentDomain_62e64716-09f7-4455-b2e7-29795490dae7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember_6c40ef0d-74e7-492b-af18-fee56a047b1a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_62e64716-09f7-4455-b2e7-29795490dae7" xlink:to="loc_us-gaap_AccumulatedDefinedBenefitPlansAdjustmentMember_6c40ef0d-74e7-492b-af18-fee56a047b1a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedTranslationAdjustmentMember_5e27f34d-a0a3-4a8e-885b-ae85270b87a3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccumulatedTranslationAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_62e64716-09f7-4455-b2e7-29795490dae7" xlink:to="loc_us-gaap_AccumulatedTranslationAdjustmentMember_5e27f34d-a0a3-4a8e-885b-ae85270b87a3" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.graco.com/role/IntangibleAssetsOtherIntangibleAssetsDetails" xlink:type="simple" xlink:href="ggg-20230331.xsd#IntangibleAssetsOtherIntangibleAssetsDetails"/>
  <link:definitionLink xlink:role="http://www.graco.com/role/IntangibleAssetsOtherIntangibleAssetsDetails" xlink:type="extended" id="i62f2d942d6ae47dbb26d1ed8b74c75f1_IntangibleAssetsOtherIntangibleAssetsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_6456b85c-fb25-4674-ad77-602337a71b47" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_6a3eca11-50aa-47a7-9e2e-dea02f491e4f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_6456b85c-fb25-4674-ad77-602337a71b47" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_6a3eca11-50aa-47a7-9e2e-dea02f491e4f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_ac7cebab-bb8e-415d-b84d-222b8b7e604a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_6456b85c-fb25-4674-ad77-602337a71b47" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_ac7cebab-bb8e-415d-b84d-222b8b7e604a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsForeignCurrencyTranslationGainLoss_ea28f406-bb8e-4003-b1b9-67862324d97a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FiniteLivedIntangibleAssetsForeignCurrencyTranslationGainLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_6456b85c-fb25-4674-ad77-602337a71b47" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsForeignCurrencyTranslationGainLoss_ea28f406-bb8e-4003-b1b9-67862324d97a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_b0d28ea2-d127-431d-a04f-e93f052629d1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_6456b85c-fb25-4674-ad77-602337a71b47" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_b0d28ea2-d127-431d-a04f-e93f052629d1" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_ddbcbacf-c800-4d8a-85bf-b3509d1e33f2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_6456b85c-fb25-4674-ad77-602337a71b47" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_ddbcbacf-c800-4d8a-85bf-b3509d1e33f2" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_212f5b3e-fa59-403d-b928-70e931ba529d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_6456b85c-fb25-4674-ad77-602337a71b47" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_212f5b3e-fa59-403d-b928-70e931ba529d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_03e20694-96d0-4edb-b32c-eb3b30906676" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_212f5b3e-fa59-403d-b928-70e931ba529d" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_03e20694-96d0-4edb-b32c-eb3b30906676" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_03e20694-96d0-4edb-b32c-eb3b30906676_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_03e20694-96d0-4edb-b32c-eb3b30906676" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_03e20694-96d0-4edb-b32c-eb3b30906676_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9ba49ebb-4873-4500-a7ef-fd011a4bd673" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_03e20694-96d0-4edb-b32c-eb3b30906676" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9ba49ebb-4873-4500-a7ef-fd011a4bd673" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerRelationshipsMember_d49d7056-cc33-415f-8888-4ce47f1a178a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CustomerRelationshipsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9ba49ebb-4873-4500-a7ef-fd011a4bd673" xlink:to="loc_us-gaap_CustomerRelationshipsMember_d49d7056-cc33-415f-8888-4ce47f1a178a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ggg_PatentsProprietaryTechnologyAndProductDocumentationMember_f1196566-c4ff-4a35-a3a9-a69bd62c90b0" xlink:href="ggg-20230331.xsd#ggg_PatentsProprietaryTechnologyAndProductDocumentationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9ba49ebb-4873-4500-a7ef-fd011a4bd673" xlink:to="loc_ggg_PatentsProprietaryTechnologyAndProductDocumentationMember_f1196566-c4ff-4a35-a3a9-a69bd62c90b0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TrademarksAndTradeNamesMember_686d4256-95a9-4add-9f95-2e87b250724a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TrademarksAndTradeNamesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9ba49ebb-4873-4500-a7ef-fd011a4bd673" xlink:to="loc_us-gaap_TrademarksAndTradeNamesMember_686d4256-95a9-4add-9f95-2e87b250724a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassLineItems_c07c1118-999a-4646-8e16-054c6421219d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedTradeNames_440103ca-06a5-47e0-8bfb-f703c99624f1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IndefiniteLivedTradeNames"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassLineItems_c07c1118-999a-4646-8e16-054c6421219d" xlink:to="loc_us-gaap_IndefiniteLivedTradeNames_440103ca-06a5-47e0-8bfb-f703c99624f1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsForeignCurrencyTranslationGainLoss_8ca830ab-bbb0-4cea-a7af-cc67330ed96f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IndefiniteLivedIntangibleAssetsForeignCurrencyTranslationGainLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassLineItems_c07c1118-999a-4646-8e16-054c6421219d" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsForeignCurrencyTranslationGainLoss_8ca830ab-bbb0-4cea-a7af-cc67330ed96f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_98426169-2bcb-4bed-8e04-16c4ee8e9400" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassLineItems_c07c1118-999a-4646-8e16-054c6421219d" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_98426169-2bcb-4bed-8e04-16c4ee8e9400" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfIndefiniteLivedIntangibleAssetsTable_22cba60c-9afa-4b7b-87d0-72225be04c01" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfIndefiniteLivedIntangibleAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassLineItems_c07c1118-999a-4646-8e16-054c6421219d" xlink:to="loc_us-gaap_ScheduleOfIndefiniteLivedIntangibleAssetsTable_22cba60c-9afa-4b7b-87d0-72225be04c01" xlink:type="arc" order="2" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_75e08e8d-70cf-47cf-bcae-8d1401b6a56d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfIndefiniteLivedIntangibleAssetsTable_22cba60c-9afa-4b7b-87d0-72225be04c01" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_75e08e8d-70cf-47cf-bcae-8d1401b6a56d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_75e08e8d-70cf-47cf-bcae-8d1401b6a56d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_75e08e8d-70cf-47cf-bcae-8d1401b6a56d" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_75e08e8d-70cf-47cf-bcae-8d1401b6a56d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_1ec94591-6b5a-4427-87ec-73ac303ff0dc" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_75e08e8d-70cf-47cf-bcae-8d1401b6a56d" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_1ec94591-6b5a-4427-87ec-73ac303ff0dc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradeNamesMember_a05deb18-49fd-4b49-a72c-502e13be1a21" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_TradeNamesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_1ec94591-6b5a-4427-87ec-73ac303ff0dc" xlink:to="loc_us-gaap_TradeNamesMember_a05deb18-49fd-4b49-a72c-502e13be1a21" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.graco.com/role/IntangibleAssetsGoodwillRollforwardDetails" xlink:type="simple" xlink:href="ggg-20230331.xsd#IntangibleAssetsGoodwillRollforwardDetails"/>
  <link:definitionLink xlink:role="http://www.graco.com/role/IntangibleAssetsGoodwillRollforwardDetails" xlink:type="extended" id="i2330235c055c4a73a3c60aedf4abc120_IntangibleAssetsGoodwillRollforwardDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillLineItems_5090ee4d-31a5-4251-87f0-9c3b6be8a023" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GoodwillLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillRollForward_f19395d4-311b-4263-9a4f-19e47007dea1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GoodwillRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_5090ee4d-31a5-4251-87f0-9c3b6be8a023" xlink:to="loc_us-gaap_GoodwillRollForward_f19395d4-311b-4263-9a4f-19e47007dea1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_13105fdf-d88e-405e-ac98-7f51d4805448" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Goodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_f19395d4-311b-4263-9a4f-19e47007dea1" xlink:to="loc_us-gaap_Goodwill_13105fdf-d88e-405e-ac98-7f51d4805448" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillAcquiredDuringPeriod_e40093da-dd28-45a8-a9bc-c1d3e702f722" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GoodwillAcquiredDuringPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_f19395d4-311b-4263-9a4f-19e47007dea1" xlink:to="loc_us-gaap_GoodwillAcquiredDuringPeriod_e40093da-dd28-45a8-a9bc-c1d3e702f722" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillForeignCurrencyTranslationGainLoss_5fb2834b-542c-4688-9e6b-07a8fa423c8d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GoodwillForeignCurrencyTranslationGainLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_f19395d4-311b-4263-9a4f-19e47007dea1" xlink:to="loc_us-gaap_GoodwillForeignCurrencyTranslationGainLoss_5fb2834b-542c-4688-9e6b-07a8fa423c8d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_7933f0ad-f2f7-48eb-adc0-1f5669583052" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Goodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfGoodwillTable_70e5ce13-4ab5-4b11-89e9-a8246a88b4ac" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ScheduleOfGoodwillTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GoodwillLineItems_5090ee4d-31a5-4251-87f0-9c3b6be8a023" xlink:to="loc_us-gaap_ScheduleOfGoodwillTable_70e5ce13-4ab5-4b11-89e9-a8246a88b4ac" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_91ffd514-2e50-4d3e-b669-2263854abeb4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_70e5ce13-4ab5-4b11-89e9-a8246a88b4ac" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_91ffd514-2e50-4d3e-b669-2263854abeb4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_91ffd514-2e50-4d3e-b669-2263854abeb4_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_91ffd514-2e50-4d3e-b669-2263854abeb4" xlink:to="loc_us-gaap_SegmentDomain_91ffd514-2e50-4d3e-b669-2263854abeb4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_452e4774-65d2-43a8-8f92-7c776806f8a5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_91ffd514-2e50-4d3e-b669-2263854abeb4" xlink:to="loc_us-gaap_SegmentDomain_452e4774-65d2-43a8-8f92-7c776806f8a5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ggg_IndustrialMember_19732d2a-f30a-44b3-80e9-9adc33207d2b" xlink:href="ggg-20230331.xsd#ggg_IndustrialMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_452e4774-65d2-43a8-8f92-7c776806f8a5" xlink:to="loc_ggg_IndustrialMember_19732d2a-f30a-44b3-80e9-9adc33207d2b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ggg_ProcessMember_c8c7dbb6-a3f9-4eb4-a208-4b2a6855a5b8" xlink:href="ggg-20230331.xsd#ggg_ProcessMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_452e4774-65d2-43a8-8f92-7c776806f8a5" xlink:to="loc_ggg_ProcessMember_c8c7dbb6-a3f9-4eb4-a208-4b2a6855a5b8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ggg_ContractorMember_44676b28-da1e-4dec-8635-ad4c7f07a887" xlink:href="ggg-20230331.xsd#ggg_ContractorMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_452e4774-65d2-43a8-8f92-7c776806f8a5" xlink:to="loc_ggg_ContractorMember_44676b28-da1e-4dec-8635-ad4c7f07a887" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.graco.com/role/DebtDetails" xlink:type="simple" xlink:href="ggg-20230331.xsd#DebtDetails"/>
  <link:definitionLink xlink:role="http://www.graco.com/role/DebtDetails" xlink:type="extended" id="i9df1f093f39a46039b993a98cbb8e758_DebtDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_5a34243d-5e26-42b8-ba7b-6b4ff4440ff0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_153d4194-052a-44ff-90ae-c06a2ce82ccc" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_5a34243d-5e26-42b8-ba7b-6b4ff4440ff0" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_153d4194-052a-44ff-90ae-c06a2ce82ccc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity_901d80dc-1e1e-429e-b4e2-73c0dc6dbfef" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_5a34243d-5e26-42b8-ba7b-6b4ff4440ff0" xlink:to="loc_us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity_901d80dc-1e1e-429e-b4e2-73c0dc6dbfef" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityCapacityAvailableForSpecificPurposeOtherThanForTradePurchases_530743d6-f540-4322-b7c5-a603ccdd81dd" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LineOfCreditFacilityCapacityAvailableForSpecificPurposeOtherThanForTradePurchases"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_5a34243d-5e26-42b8-ba7b-6b4ff4440ff0" xlink:to="loc_us-gaap_LineOfCreditFacilityCapacityAvailableForSpecificPurposeOtherThanForTradePurchases_530743d6-f540-4322-b7c5-a603ccdd81dd" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_3485d1b9-7140-4b51-bd49-2bf837b83070" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_5a34243d-5e26-42b8-ba7b-6b4ff4440ff0" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_3485d1b9-7140-4b51-bd49-2bf837b83070" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_a439a589-1d2e-415a-8f69-6d64ba53b69a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_5a34243d-5e26-42b8-ba7b-6b4ff4440ff0" xlink:to="loc_us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage_a439a589-1d2e-415a-8f69-6d64ba53b69a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCovenantCompliance_c3b849d6-017c-46ff-aefc-cd5db32921e9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentCovenantCompliance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_5a34243d-5e26-42b8-ba7b-6b4ff4440ff0" xlink:to="loc_us-gaap_DebtInstrumentCovenantCompliance_c3b849d6-017c-46ff-aefc-cd5db32921e9" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_46faed78-aa5f-416f-b6c9-81265f591c32" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_5a34243d-5e26-42b8-ba7b-6b4ff4440ff0" xlink:to="loc_us-gaap_DebtInstrumentTable_46faed78-aa5f-416f-b6c9-81265f591c32" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_3075a25d-311f-47fa-96d3-2c6edee92762" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_46faed78-aa5f-416f-b6c9-81265f591c32" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_3075a25d-311f-47fa-96d3-2c6edee92762" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_3075a25d-311f-47fa-96d3-2c6edee92762_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_3075a25d-311f-47fa-96d3-2c6edee92762" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_3075a25d-311f-47fa-96d3-2c6edee92762_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_069f22c4-98d7-4660-9cd2-91db7708244e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_3075a25d-311f-47fa-96d3-2c6edee92762" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_069f22c4-98d7-4660-9cd2-91db7708244e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_0f0cb1d7-0ea3-40da-ac32-f3a04630adf4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_069f22c4-98d7-4660-9cd2-91db7708244e" xlink:to="loc_us-gaap_LineOfCreditMember_0f0cb1d7-0ea3-40da-ac32-f3a04630adf4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_f3e8c066-a7ac-43e1-b35d-df151086d497" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_46faed78-aa5f-416f-b6c9-81265f591c32" xlink:to="loc_us-gaap_DebtInstrumentAxis_f3e8c066-a7ac-43e1-b35d-df151086d497" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_f3e8c066-a7ac-43e1-b35d-df151086d497_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_f3e8c066-a7ac-43e1-b35d-df151086d497" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_f3e8c066-a7ac-43e1-b35d-df151086d497_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_86b36ba9-e0a7-4b4e-9244-9f1b173d2230" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_f3e8c066-a7ac-43e1-b35d-df151086d497" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_86b36ba9-e0a7-4b4e-9244-9f1b173d2230" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ggg_ShelfNotesMember_5e4fe2e7-1b3a-494b-9805-61eea96bfa94" xlink:href="ggg-20230331.xsd#ggg_ShelfNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_86b36ba9-e0a7-4b4e-9244-9f1b173d2230" xlink:to="loc_ggg_ShelfNotesMember_5e4fe2e7-1b3a-494b-9805-61eea96bfa94" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ggg_CommittedFacilityMember_d2df8d27-f91e-4b92-83a1-f7823686420a" xlink:href="ggg-20230331.xsd#ggg_CommittedFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_86b36ba9-e0a7-4b4e-9244-9f1b173d2230" xlink:to="loc_ggg_CommittedFacilityMember_d2df8d27-f91e-4b92-83a1-f7823686420a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_50f8699f-c453-49c6-8de3-51fd6f414ea3" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_46faed78-aa5f-416f-b6c9-81265f591c32" xlink:to="loc_srt_RangeAxis_50f8699f-c453-49c6-8de3-51fd6f414ea3" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_50f8699f-c453-49c6-8de3-51fd6f414ea3_default" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_50f8699f-c453-49c6-8de3-51fd6f414ea3" xlink:to="loc_srt_RangeMember_50f8699f-c453-49c6-8de3-51fd6f414ea3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_c5f07131-c7a6-461d-85aa-0336191557b0" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_50f8699f-c453-49c6-8de3-51fd6f414ea3" xlink:to="loc_srt_RangeMember_c5f07131-c7a6-461d-85aa-0336191557b0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_9a04fb60-09d1-423d-9b2a-3d0895f70b38" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_c5f07131-c7a6-461d-85aa-0336191557b0" xlink:to="loc_srt_MinimumMember_9a04fb60-09d1-423d-9b2a-3d0895f70b38" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_e91e584d-7fed-4be6-9bae-c52e18c01e4a" xlink:href="https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_c5f07131-c7a6-461d-85aa-0336191557b0" xlink:to="loc_srt_MaximumMember_e91e584d-7fed-4be6-9bae-c52e18c01e4a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_5e867a19-bc00-4299-b996-a9148c61c65e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_46faed78-aa5f-416f-b6c9-81265f591c32" xlink:to="loc_us-gaap_CreditFacilityAxis_5e867a19-bc00-4299-b996-a9148c61c65e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_5e867a19-bc00-4299-b996-a9148c61c65e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_5e867a19-bc00-4299-b996-a9148c61c65e" xlink:to="loc_us-gaap_CreditFacilityDomain_5e867a19-bc00-4299-b996-a9148c61c65e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_83ff5ab3-361c-4f68-a041-3a85aa525410" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_5e867a19-bc00-4299-b996-a9148c61c65e" xlink:to="loc_us-gaap_CreditFacilityDomain_83ff5ab3-361c-4f68-a041-3a85aa525410" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_41fb4081-42cf-4441-92f7-b39dee1dab3b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_83ff5ab3-361c-4f68-a041-3a85aa525410" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_41fb4081-42cf-4441-92f7-b39dee1dab3b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateAxis_904952bb-673c-4df6-b144-fc53f649325e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_VariableRateAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_46faed78-aa5f-416f-b6c9-81265f591c32" xlink:to="loc_us-gaap_VariableRateAxis_904952bb-673c-4df6-b144-fc53f649325e" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_904952bb-673c-4df6-b144-fc53f649325e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_904952bb-673c-4df6-b144-fc53f649325e" xlink:to="loc_us-gaap_VariableRateDomain_904952bb-673c-4df6-b144-fc53f649325e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_09628bb8-e1ae-40a8-ad96-30330cde3f40" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_904952bb-673c-4df6-b144-fc53f649325e" xlink:to="loc_us-gaap_VariableRateDomain_09628bb8-e1ae-40a8-ad96-30330cde3f40" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalFundsEffectiveSwapRateMember_201a8d06-0f17-46b9-a4f4-8f4704323399" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FederalFundsEffectiveSwapRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_09628bb8-e1ae-40a8-ad96-30330cde3f40" xlink:to="loc_us-gaap_FederalFundsEffectiveSwapRateMember_201a8d06-0f17-46b9-a4f4-8f4704323399" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LondonInterbankOfferedRateLIBORMember_aa0df2f9-c276-4486-b22b-7659c4c5a73b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LondonInterbankOfferedRateLIBORMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_09628bb8-e1ae-40a8-ad96-30330cde3f40" xlink:to="loc_us-gaap_LondonInterbankOfferedRateLIBORMember_aa0df2f9-c276-4486-b22b-7659c4c5a73b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ggg_CovenantRatioAxis_1a565479-07e1-430b-a331-9bdc5cb40e18" xlink:href="ggg-20230331.xsd#ggg_CovenantRatioAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_46faed78-aa5f-416f-b6c9-81265f591c32" xlink:to="loc_ggg_CovenantRatioAxis_1a565479-07e1-430b-a331-9bdc5cb40e18" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_ggg_CovenantRatiosDomain_1a565479-07e1-430b-a331-9bdc5cb40e18_default" xlink:href="ggg-20230331.xsd#ggg_CovenantRatiosDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_ggg_CovenantRatioAxis_1a565479-07e1-430b-a331-9bdc5cb40e18" xlink:to="loc_ggg_CovenantRatiosDomain_1a565479-07e1-430b-a331-9bdc5cb40e18_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ggg_CovenantRatiosDomain_5def36ea-3d9f-495a-b8c3-ba8f59ba8001" xlink:href="ggg-20230331.xsd#ggg_CovenantRatiosDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_ggg_CovenantRatioAxis_1a565479-07e1-430b-a331-9bdc5cb40e18" xlink:to="loc_ggg_CovenantRatiosDomain_5def36ea-3d9f-495a-b8c3-ba8f59ba8001" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ggg_CashFlowLeverageRatioNoAcquisitionMember_a842f5b2-7c71-4263-a9cd-7e97198244e6" xlink:href="ggg-20230331.xsd#ggg_CashFlowLeverageRatioNoAcquisitionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ggg_CovenantRatiosDomain_5def36ea-3d9f-495a-b8c3-ba8f59ba8001" xlink:to="loc_ggg_CashFlowLeverageRatioNoAcquisitionMember_a842f5b2-7c71-4263-a9cd-7e97198244e6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ggg_CashFlowLeverageRatioWithAcquisitionsMember_0272a3e0-6bf0-4326-807a-3b482b989c28" xlink:href="ggg-20230331.xsd#ggg_CashFlowLeverageRatioWithAcquisitionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ggg_CovenantRatiosDomain_5def36ea-3d9f-495a-b8c3-ba8f59ba8001" xlink:to="loc_ggg_CashFlowLeverageRatioWithAcquisitionsMember_0272a3e0-6bf0-4326-807a-3b482b989c28" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ggg_InterestCoverageRatioNoAcquisitionsMember_1ab02cfc-6387-431e-ad26-4a7c969ba0c1" xlink:href="ggg-20230331.xsd#ggg_InterestCoverageRatioNoAcquisitionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ggg_CovenantRatiosDomain_5def36ea-3d9f-495a-b8c3-ba8f59ba8001" xlink:to="loc_ggg_InterestCoverageRatioNoAcquisitionsMember_1ab02cfc-6387-431e-ad26-4a7c969ba0c1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ggg_InterestCoverageRatioWithAcquisitionsMember_36f39c45-aa05-48a3-b350-f6aff0e7a51a" xlink:href="ggg-20230331.xsd#ggg_InterestCoverageRatioWithAcquisitionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ggg_CovenantRatiosDomain_5def36ea-3d9f-495a-b8c3-ba8f59ba8001" xlink:to="loc_ggg_InterestCoverageRatioWithAcquisitionsMember_36f39c45-aa05-48a3-b350-f6aff0e7a51a" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.graco.com/role/FairValueDetails" xlink:type="simple" xlink:href="ggg-20230331.xsd#FairValueDetails"/>
  <link:definitionLink xlink:role="http://www.graco.com/role/FairValueDetails" xlink:type="extended" id="i79fd7f71c4ee47f1a7aa6463daa1abe0_FairValueDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_48700749-84f8-476f-a70c-564efa913556" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsAbstract_6b28592f-d856-4ad3-bc2a-a6aaba95fc0e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AssetsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_48700749-84f8-476f-a70c-564efa913556" xlink:to="loc_us-gaap_AssetsAbstract_6b28592f-d856-4ad3-bc2a-a6aaba95fc0e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashSurrenderValueFairValueDisclosure_1088f272-6224-4f4d-88d5-356ea8029857" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CashSurrenderValueFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_6b28592f-d856-4ad3-bc2a-a6aaba95fc0e" xlink:to="loc_us-gaap_CashSurrenderValueFairValueDisclosure_1088f272-6224-4f4d-88d5-356ea8029857" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyContractAssetFairValueDisclosure_bb6e2f06-6df8-4322-b421-5b8284560a0c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ForeignCurrencyContractAssetFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_6b28592f-d856-4ad3-bc2a-a6aaba95fc0e" xlink:to="loc_us-gaap_ForeignCurrencyContractAssetFairValueDisclosure_bb6e2f06-6df8-4322-b421-5b8284560a0c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_8738f5e0-a3ef-444b-8d66-cb358c691f2b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_6b28592f-d856-4ad3-bc2a-a6aaba95fc0e" xlink:to="loc_us-gaap_AssetsFairValueDisclosure_8738f5e0-a3ef-444b-8d66-cb358c691f2b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAbstract_9b8c6e18-8757-418b-8a6e-4e2c1a4c0ea1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LiabilitiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_48700749-84f8-476f-a70c-564efa913556" xlink:to="loc_us-gaap_LiabilitiesAbstract_9b8c6e18-8757-418b-8a6e-4e2c1a4c0ea1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_ab24a5dd-0d6f-4cda-aa53-48d5d1444d80" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationContingentConsiderationLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_9b8c6e18-8757-418b-8a6e-4e2c1a4c0ea1" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_ab24a5dd-0d6f-4cda-aa53-48d5d1444d80" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesFairValueDisclosure_2ae47da5-fae0-4d6c-81e4-d37a8f345b1a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherLiabilitiesFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_9b8c6e18-8757-418b-8a6e-4e2c1a4c0ea1" xlink:to="loc_us-gaap_OtherLiabilitiesFairValueDisclosure_2ae47da5-fae0-4d6c-81e4-d37a8f345b1a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure_e96e7e09-5b4a-4427-baeb-d17eaf93f2e9" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_9b8c6e18-8757-418b-8a6e-4e2c1a4c0ea1" xlink:to="loc_us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure_e96e7e09-5b4a-4427-baeb-d17eaf93f2e9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_fa5638b0-cf80-41bc-a37f-a890f0ffbe21" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LiabilitiesFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_9b8c6e18-8757-418b-8a6e-4e2c1a4c0ea1" xlink:to="loc_us-gaap_LiabilitiesFairValueDisclosure_fa5638b0-cf80-41bc-a37f-a890f0ffbe21" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByBalanceSheetGroupingTable_906e929a-a344-4aaa-9d32-5007b51eb39a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueByBalanceSheetGroupingTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_48700749-84f8-476f-a70c-564efa913556" xlink:to="loc_us-gaap_FairValueByBalanceSheetGroupingTable_906e929a-a344-4aaa-9d32-5007b51eb39a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_d2bdffd2-ebef-410a-b947-f3aa605ea495" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_906e929a-a344-4aaa-9d32-5007b51eb39a" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_d2bdffd2-ebef-410a-b947-f3aa605ea495" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_d2bdffd2-ebef-410a-b947-f3aa605ea495_default" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_d2bdffd2-ebef-410a-b947-f3aa605ea495" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_d2bdffd2-ebef-410a-b947-f3aa605ea495_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_ec083de0-ac0a-49a7-9b41-46ee9ed8fc1f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_d2bdffd2-ebef-410a-b947-f3aa605ea495" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_ec083de0-ac0a-49a7-9b41-46ee9ed8fc1f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_c72d3f5b-9bfc-492e-b733-f1e5d37758d3" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_ec083de0-ac0a-49a7-9b41-46ee9ed8fc1f" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_c72d3f5b-9bfc-492e-b733-f1e5d37758d3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_80755a11-3d7d-4dc6-8a95-e84fabd3d575" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_ec083de0-ac0a-49a7-9b41-46ee9ed8fc1f" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_80755a11-3d7d-4dc6-8a95-e84fabd3d575" xlink:type="arc" order="1"/>
  </link:definitionLink>
</link:linkbase>
