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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019f84f8-8056-7d8f-8054-e1426334eb2c,g:c13c416f-ad21-471b-b2f5-743179c0ed88-->
<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.grainger.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFSHAREDHOLDERSEQUITY" xlink:type="simple" xlink:href="gww-20260630.xsd#CONDENSEDCONSOLIDATEDSTATEMENTOFSHAREDHOLDERSEQUITY"/>
  <link:definitionLink xlink:role="http://www.grainger.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFSHAREDHOLDERSEQUITY" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_019f84f8-81c8-7967-877e-5fafb7dd0acd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_019f84f8-81c8-766f-ad6a-67374278f595" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_019f84f8-81c8-7967-877e-5fafb7dd0acd" xlink:to="loc_us-gaap_StatementTable_019f84f8-81c8-766f-ad6a-67374278f595" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_019f84f8-81c8-705a-82b2-c8a7e560c65f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_019f84f8-81c8-766f-ad6a-67374278f595" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_019f84f8-81c8-705a-82b2-c8a7e560c65f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019f84f8-81c8-705a-82b2-c8a7e560c65f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019f84f8-81c8-705a-82b2-c8a7e560c65f" xlink:to="loc_us-gaap_EquityComponentDomain_019f84f8-81c8-705a-82b2-c8a7e560c65f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019f84f8-81c8-78f7-93a2-dfac0b0c1c45" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019f84f8-81c8-705a-82b2-c8a7e560c65f" xlink:to="loc_us-gaap_EquityComponentDomain_019f84f8-81c8-78f7-93a2-dfac0b0c1c45" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_019f84f8-81c8-763f-b98c-fe1c5f3637f9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019f84f8-81c8-78f7-93a2-dfac0b0c1c45" xlink:to="loc_us-gaap_CommonStockMember_019f84f8-81c8-763f-b98c-fe1c5f3637f9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_019f84f8-81c8-76e4-baec-9ca2df7ac907" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019f84f8-81c8-78f7-93a2-dfac0b0c1c45" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_019f84f8-81c8-76e4-baec-9ca2df7ac907" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_019f84f8-81c8-7583-8ec3-e2b05e5dbd4f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019f84f8-81c8-78f7-93a2-dfac0b0c1c45" xlink:to="loc_us-gaap_RetainedEarningsMember_019f84f8-81c8-7583-8ec3-e2b05e5dbd4f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_019f84f8-81c8-7675-8b97-5f9e4b74a1d1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019f84f8-81c8-78f7-93a2-dfac0b0c1c45" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_019f84f8-81c8-7675-8b97-5f9e4b74a1d1" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonMember_019f84f8-81c8-707f-a2bf-84117563ea8f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TreasuryStockCommonMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019f84f8-81c8-78f7-93a2-dfac0b0c1c45" xlink:to="loc_us-gaap_TreasuryStockCommonMember_019f84f8-81c8-707f-a2bf-84117563ea8f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncontrollingInterestMember_019f84f8-81c8-71c3-b6bd-896dbe7168dc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NoncontrollingInterestMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019f84f8-81c8-78f7-93a2-dfac0b0c1c45" xlink:to="loc_us-gaap_NoncontrollingInterestMember_019f84f8-81c8-71c3-b6bd-896dbe7168dc" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019f84f8-81c8-7125-af50-e06226600d74" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019f84f8-81c8-7967-877e-5fafb7dd0acd" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019f84f8-81c8-7125-af50-e06226600d74" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019f84f8-81c8-7d95-b39c-fa6377d46220" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019f84f8-81c8-7125-af50-e06226600d74" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019f84f8-81c8-7d95-b39c-fa6377d46220" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationEmployeeStockPurchaseProgramRequisiteServicePeriodRecognition_019f84f8-81c8-73ed-8581-dda6ef058fe0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationEmployeeStockPurchaseProgramRequisiteServicePeriodRecognition"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019f84f8-81c8-7125-af50-e06226600d74" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationEmployeeStockPurchaseProgramRequisiteServicePeriodRecognition_019f84f8-81c8-73ed-8581-dda6ef058fe0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedDuringPeriodValue_019f84f8-81c8-71a8-a787-d518fbeebfd9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockRepurchasedDuringPeriodValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019f84f8-81c8-7125-af50-e06226600d74" xlink:to="loc_us-gaap_StockRepurchasedDuringPeriodValue_019f84f8-81c8-71a8-a787-d518fbeebfd9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestDecreaseFromRedemptions_019f84f8-81c8-7309-88ae-587c8bde0731" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_MinorityInterestDecreaseFromRedemptions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019f84f8-81c8-7125-af50-e06226600d74" xlink:to="loc_us-gaap_MinorityInterestDecreaseFromRedemptions_019f84f8-81c8-7309-88ae-587c8bde0731" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019f84f8-81c8-7a38-a5b5-83a7f3866dbe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProfitLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019f84f8-81c8-7125-af50-e06226600d74" xlink:to="loc_us-gaap_ProfitLoss_019f84f8-81c8-7a38-a5b5-83a7f3866dbe" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019f84f8-81c8-7b6d-877d-a19abd0acf7c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019f84f8-81c8-7125-af50-e06226600d74" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019f84f8-81c8-7b6d-877d-a19abd0acf7c" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_AdditionalPaidInCapitalCapitalContribution_019f84f8-81c8-795d-a40f-ab9e64081038" xlink:href="gww-20260630.xsd#gww_AdditionalPaidInCapitalCapitalContribution"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019f84f8-81c8-7125-af50-e06226600d74" xlink:to="loc_gww_AdditionalPaidInCapitalCapitalContribution_019f84f8-81c8-795d-a40f-ab9e64081038" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsCommonStockCash_019f84f8-81c8-77b9-86b8-54bc9acc5869" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DividendsCommonStockCash"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019f84f8-81c8-7125-af50-e06226600d74" xlink:to="loc_us-gaap_DividendsCommonStockCash_019f84f8-81c8-77b9-86b8-54bc9acc5869" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019f84f8-81c8-734a-8ffb-f749a1660891" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.grainger.com/role/REVENUEDisaggregationofRevenuesDetails" xlink:type="simple" xlink:href="gww-20260630.xsd#REVENUEDisaggregationofRevenuesDetails"/>
  <link:definitionLink xlink:role="http://www.grainger.com/role/REVENUEDisaggregationofRevenuesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_019f84f8-81c8-7099-8461-939ea4eef785" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_019f84f8-81c8-7efa-9fd6-512cce2a6c39" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_019f84f8-81c8-7099-8461-939ea4eef785" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_019f84f8-81c8-7efa-9fd6-512cce2a6c39" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_019f84f8-81c8-7f3b-b77a-c60abd5014c8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_019f84f8-81c8-7efa-9fd6-512cce2a6c39" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_019f84f8-81c8-7f3b-b77a-c60abd5014c8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019f84f8-81c8-7f3b-b77a-c60abd5014c8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019f84f8-81c8-7f3b-b77a-c60abd5014c8" xlink:to="loc_us-gaap_SegmentDomain_019f84f8-81c8-7f3b-b77a-c60abd5014c8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019f84f8-81c8-70fb-86bf-a792604e2dff" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019f84f8-81c8-7f3b-b77a-c60abd5014c8" xlink:to="loc_us-gaap_SegmentDomain_019f84f8-81c8-70fb-86bf-a792604e2dff" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_HighTouchSolutionsNAMember_019f84f8-81c8-75a9-84af-97124abc3336" xlink:href="gww-20260630.xsd#gww_HighTouchSolutionsNAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019f84f8-81c8-70fb-86bf-a792604e2dff" xlink:to="loc_gww_HighTouchSolutionsNAMember_019f84f8-81c8-75a9-84af-97124abc3336" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_EndlessAssortmentMember_019f84f8-81c8-739a-bf81-23ad981b76c8" xlink:href="gww-20260630.xsd#gww_EndlessAssortmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019f84f8-81c8-70fb-86bf-a792604e2dff" xlink:to="loc_gww_EndlessAssortmentMember_019f84f8-81c8-739a-bf81-23ad981b76c8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MajorCustomersAxis_019f84f8-81c8-70a8-89f3-861af812fe70" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_MajorCustomersAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_019f84f8-81c8-7efa-9fd6-512cce2a6c39" xlink:to="loc_srt_MajorCustomersAxis_019f84f8-81c8-70a8-89f3-861af812fe70" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_019f84f8-81c8-70a8-89f3-861af812fe70_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_MajorCustomersAxis_019f84f8-81c8-70a8-89f3-861af812fe70" xlink:to="loc_srt_NameOfMajorCustomerDomain_019f84f8-81c8-70a8-89f3-861af812fe70_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_019f84f8-81c8-7087-969e-e5133027be66" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_MajorCustomersAxis_019f84f8-81c8-70a8-89f3-861af812fe70" xlink:to="loc_srt_NameOfMajorCustomerDomain_019f84f8-81c8-7087-969e-e5133027be66" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_ManufacturingMember_019f84f8-81c8-73b0-a1ed-7d4a3483a575" xlink:href="gww-20260630.xsd#gww_ManufacturingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_019f84f8-81c8-7087-969e-e5133027be66" xlink:to="loc_gww_ManufacturingMember_019f84f8-81c8-73b0-a1ed-7d4a3483a575" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_GovernmentCustomerMember_019f84f8-81c8-7c37-a3a8-8dcd0f76ff95" xlink:href="gww-20260630.xsd#gww_GovernmentCustomerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_019f84f8-81c8-7087-969e-e5133027be66" xlink:to="loc_gww_GovernmentCustomerMember_019f84f8-81c8-7c37-a3a8-8dcd0f76ff95" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_WholesaleMember_019f84f8-81c8-7c1e-acb2-395741083935" xlink:href="gww-20260630.xsd#gww_WholesaleMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_019f84f8-81c8-7087-969e-e5133027be66" xlink:to="loc_gww_WholesaleMember_019f84f8-81c8-7c1e-acb2-395741083935" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_CommercialServicesMember_019f84f8-81c8-7b45-9710-8e55201c986a" xlink:href="gww-20260630.xsd#gww_CommercialServicesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_019f84f8-81c8-7087-969e-e5133027be66" xlink:to="loc_gww_CommercialServicesMember_019f84f8-81c8-7b45-9710-8e55201c986a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_ContractorsMember_019f84f8-81c8-711c-8ec2-cee69ee81c4c" xlink:href="gww-20260630.xsd#gww_ContractorsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_019f84f8-81c8-7087-969e-e5133027be66" xlink:to="loc_gww_ContractorsMember_019f84f8-81c8-711c-8ec2-cee69ee81c4c" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_HealthcareIndustryMember_019f84f8-81c8-7cb2-b067-91e54489b847" xlink:href="gww-20260630.xsd#gww_HealthcareIndustryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_019f84f8-81c8-7087-969e-e5133027be66" xlink:to="loc_gww_HealthcareIndustryMember_019f84f8-81c8-7cb2-b067-91e54489b847" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_RetailCustomerMember_019f84f8-81c8-7fe3-9627-ec6de9aa4edb" xlink:href="gww-20260630.xsd#gww_RetailCustomerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_019f84f8-81c8-7087-969e-e5133027be66" xlink:to="loc_gww_RetailCustomerMember_019f84f8-81c8-7fe3-9627-ec6de9aa4edb" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_TransportationMember_019f84f8-81c8-7e6f-8157-7e188d1d7dd0" xlink:href="gww-20260630.xsd#gww_TransportationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_019f84f8-81c8-7087-969e-e5133027be66" xlink:to="loc_gww_TransportationMember_019f84f8-81c8-7e6f-8157-7e188d1d7dd0" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_UtilitiesMember_019f84f8-81c8-7f64-9d05-6599e41896c5" xlink:href="gww-20260630.xsd#gww_UtilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_019f84f8-81c8-7087-969e-e5133027be66" xlink:to="loc_gww_UtilitiesMember_019f84f8-81c8-7f64-9d05-6599e41896c5" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_WarehousingMember_019f84f8-81c8-795f-a949-11b5aec3b1d9" xlink:href="gww-20260630.xsd#gww_WarehousingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_019f84f8-81c8-7087-969e-e5133027be66" xlink:to="loc_gww_WarehousingMember_019f84f8-81c8-795f-a949-11b5aec3b1d9" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_OtherMember_019f84f8-81c8-72ee-9ad4-a52ef6ee7024" xlink:href="gww-20260630.xsd#gww_OtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_019f84f8-81c8-7087-969e-e5133027be66" xlink:to="loc_gww_OtherMember_019f84f8-81c8-72ee-9ad4-a52ef6ee7024" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_019f84f8-81c8-7320-b034-cf6c4b8aeb1f" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_019f84f8-81c8-7efa-9fd6-512cce2a6c39" xlink:to="loc_srt_ConsolidationItemsAxis_019f84f8-81c8-7320-b034-cf6c4b8aeb1f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019f84f8-81c8-7320-b034-cf6c4b8aeb1f_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_019f84f8-81c8-7320-b034-cf6c4b8aeb1f" xlink:to="loc_srt_ConsolidationItemsDomain_019f84f8-81c8-7320-b034-cf6c4b8aeb1f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019f84f8-81c8-77d8-8fcf-4f3e86597c39" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_019f84f8-81c8-7320-b034-cf6c4b8aeb1f" xlink:to="loc_srt_ConsolidationItemsDomain_019f84f8-81c8-77d8-8fcf-4f3e86597c39" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateNonSegmentMember_019f84f8-81c8-749d-8922-ae8fdb5d4d46" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CorporateNonSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_019f84f8-81c8-77d8-8fcf-4f3e86597c39" xlink:to="loc_us-gaap_CorporateNonSegmentMember_019f84f8-81c8-749d-8922-ae8fdb5d4d46" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_RevenueFromContractWithCustomerExcludingAssessedTaxPercentage_019f84f8-81c8-7789-b5e6-5f531fb5e164" xlink:href="gww-20260630.xsd#gww_RevenueFromContractWithCustomerExcludingAssessedTaxPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_019f84f8-81c8-7099-8461-939ea4eef785" xlink:to="loc_gww_RevenueFromContractWithCustomerExcludingAssessedTaxPercentage_019f84f8-81c8-7789-b5e6-5f531fb5e164" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_RevenueFromContractWithCustomerExcludingAssessedTaxPercentageOfCompanyWideRevenue_019f84f8-81c8-7413-9279-0b0a14a338c9" xlink:href="gww-20260630.xsd#gww_RevenueFromContractWithCustomerExcludingAssessedTaxPercentageOfCompanyWideRevenue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_019f84f8-81c8-7099-8461-939ea4eef785" xlink:to="loc_gww_RevenueFromContractWithCustomerExcludingAssessedTaxPercentageOfCompanyWideRevenue_019f84f8-81c8-7413-9279-0b0a14a338c9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_PercentageOfCompanyWideRevenue_019f84f8-81c8-72a7-bbb8-5aef3543b68d" xlink:href="gww-20260630.xsd#gww_PercentageOfCompanyWideRevenue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_019f84f8-81c8-7099-8461-939ea4eef785" xlink:to="loc_gww_PercentageOfCompanyWideRevenue_019f84f8-81c8-72a7-bbb8-5aef3543b68d" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.grainger.com/role/PROPERTYBUILDINGSANDEQUIPMENTDetails" xlink:type="simple" xlink:href="gww-20260630.xsd#PROPERTYBUILDINGSANDEQUIPMENTDetails"/>
  <link:definitionLink xlink:role="http://www.grainger.com/role/PROPERTYBUILDINGSANDEQUIPMENTDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_019f84f8-81c8-7b70-acd4-76e6ea71d8da" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_019f84f8-81c8-7071-9858-fb3620c2bae4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_019f84f8-81c8-7b70-acd4-76e6ea71d8da" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_019f84f8-81c8-7071-9858-fb3620c2bae4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019f84f8-81c8-7be7-b56b-34690aedd08f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_019f84f8-81c8-7071-9858-fb3620c2bae4" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019f84f8-81c8-7be7-b56b-34690aedd08f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019f84f8-81c8-7be7-b56b-34690aedd08f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019f84f8-81c8-7be7-b56b-34690aedd08f" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019f84f8-81c8-7be7-b56b-34690aedd08f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019f84f8-81c8-7ec9-a585-451cb83d912c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019f84f8-81c8-7be7-b56b-34690aedd08f" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019f84f8-81c8-7ec9-a585-451cb83d912c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LandMember_019f84f8-81c8-7b23-b5f9-ef781360d1bd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LandMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019f84f8-81c8-7ec9-a585-451cb83d912c" xlink:to="loc_us-gaap_LandMember_019f84f8-81c8-7b23-b5f9-ef781360d1bd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BuildingAndBuildingImprovementsMember_019f84f8-81c8-7911-b9c8-943b29b775b2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_BuildingAndBuildingImprovementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019f84f8-81c8-7ec9-a585-451cb83d912c" xlink:to="loc_us-gaap_BuildingAndBuildingImprovementsMember_019f84f8-81c8-7911-b9c8-943b29b775b2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_FurnitureFixturesMachineryandEquipmentMember_019f84f8-81c8-778f-a580-697ca187685c" xlink:href="gww-20260630.xsd#gww_FurnitureFixturesMachineryandEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019f84f8-81c8-7ec9-a585-451cb83d912c" xlink:to="loc_gww_FurnitureFixturesMachineryandEquipmentMember_019f84f8-81c8-778f-a580-697ca187685c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_019f84f8-81c8-7784-886a-1bf7fe37b120" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_019f84f8-81c8-7b70-acd4-76e6ea71d8da" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_019f84f8-81c8-7784-886a-1bf7fe37b120" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_019f84f8-81c8-7de1-a103-3022a7111265" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_019f84f8-81c8-7b70-acd4-76e6ea71d8da" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_019f84f8-81c8-7de1-a103-3022a7111265" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_019f84f8-81c8-72f4-96e7-c3a47880c516" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_019f84f8-81c8-7b70-acd4-76e6ea71d8da" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_019f84f8-81c8-72f4-96e7-c3a47880c516" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.grainger.com/role/GOODWILLANDOTHERINTANGIBLEASSETSBalancesandChangesinCarryingAmountsofGoodwillDetails" xlink:type="simple" xlink:href="gww-20260630.xsd#GOODWILLANDOTHERINTANGIBLEASSETSBalancesandChangesinCarryingAmountsofGoodwillDetails"/>
  <link:definitionLink xlink:role="http://www.grainger.com/role/GOODWILLANDOTHERINTANGIBLEASSETSBalancesandChangesinCarryingAmountsofGoodwillDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillLineItems_019f84f8-81c8-718a-8ebc-f79a5b3ae205" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GoodwillLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfGoodwillTable_019f84f8-81c8-7108-a12e-b9360214cf81" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfGoodwillTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GoodwillLineItems_019f84f8-81c8-718a-8ebc-f79a5b3ae205" xlink:to="loc_us-gaap_ScheduleOfGoodwillTable_019f84f8-81c8-7108-a12e-b9360214cf81" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_019f84f8-81c8-71fe-97e8-b348a33549bb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_019f84f8-81c8-7108-a12e-b9360214cf81" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_019f84f8-81c8-71fe-97e8-b348a33549bb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019f84f8-81c8-71fe-97e8-b348a33549bb_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019f84f8-81c8-71fe-97e8-b348a33549bb" xlink:to="loc_us-gaap_SegmentDomain_019f84f8-81c8-71fe-97e8-b348a33549bb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019f84f8-81c8-7b25-a6a3-a387c261c748" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019f84f8-81c8-71fe-97e8-b348a33549bb" xlink:to="loc_us-gaap_SegmentDomain_019f84f8-81c8-7b25-a6a3-a387c261c748" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_HighTouchSolutionsNAMember_019f84f8-81c8-7f16-9b87-2346212f991d" xlink:href="gww-20260630.xsd#gww_HighTouchSolutionsNAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019f84f8-81c8-7b25-a6a3-a387c261c748" xlink:to="loc_gww_HighTouchSolutionsNAMember_019f84f8-81c8-7f16-9b87-2346212f991d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_EndlessAssortmentMember_019f84f8-81c8-7e33-81c0-d069af93d54c" xlink:href="gww-20260630.xsd#gww_EndlessAssortmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019f84f8-81c8-7b25-a6a3-a387c261c748" xlink:to="loc_gww_EndlessAssortmentMember_019f84f8-81c8-7e33-81c0-d069af93d54c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_019f84f8-81c8-71b7-9b06-1b26e77e41f6" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_019f84f8-81c8-7108-a12e-b9360214cf81" xlink:to="loc_srt_ConsolidationItemsAxis_019f84f8-81c8-71b7-9b06-1b26e77e41f6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019f84f8-81c8-71b7-9b06-1b26e77e41f6_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_019f84f8-81c8-71b7-9b06-1b26e77e41f6" xlink:to="loc_srt_ConsolidationItemsDomain_019f84f8-81c8-71b7-9b06-1b26e77e41f6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019f84f8-81c8-72bd-9d57-197faeffb20b" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_019f84f8-81c8-71b7-9b06-1b26e77e41f6" xlink:to="loc_srt_ConsolidationItemsDomain_019f84f8-81c8-72bd-9d57-197faeffb20b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_019f84f8-81c8-7477-aea9-f414f1c078da" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_019f84f8-81c8-72bd-9d57-197faeffb20b" xlink:to="loc_us-gaap_OperatingSegmentsMember_019f84f8-81c8-7477-aea9-f414f1c078da" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillRollForward_019f84f8-81c8-7334-8363-042ab8a308bd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GoodwillRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_019f84f8-81c8-718a-8ebc-f79a5b3ae205" xlink:to="loc_us-gaap_GoodwillRollForward_019f84f8-81c8-7334-8363-042ab8a308bd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_019f84f8-81c8-7439-aa53-deb68b2b7243" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Goodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_019f84f8-81c8-7334-8363-042ab8a308bd" xlink:to="loc_us-gaap_Goodwill_019f84f8-81c8-7439-aa53-deb68b2b7243" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillForeignCurrencyTranslationGainLoss_019f84f8-81c8-71e7-8450-6abe7202ec11" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GoodwillForeignCurrencyTranslationGainLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_019f84f8-81c8-7334-8363-042ab8a308bd" xlink:to="loc_us-gaap_GoodwillForeignCurrencyTranslationGainLoss_019f84f8-81c8-71e7-8450-6abe7202ec11" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_019f84f8-81c8-7cc9-9e5e-ccf348e1c672" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Goodwill"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.grainger.com/role/GOODWILLANDOTHERINTANGIBLEASSETSNarrativeDetails" xlink:type="simple" xlink:href="gww-20260630.xsd#GOODWILLANDOTHERINTANGIBLEASSETSNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.grainger.com/role/GOODWILLANDOTHERINTANGIBLEASSETSNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_019f84f8-81c8-7399-8e26-5b841bd682dd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019f84f8-81c8-7e5c-939c-ec1e348b5944" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019f84f8-81c8-7399-8e26-5b841bd682dd" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019f84f8-81c8-7e5c-939c-ec1e348b5944" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_019f84f8-81c8-7451-aa56-805d746759eb" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019f84f8-81c8-7e5c-939c-ec1e348b5944" xlink:to="loc_srt_ConsolidationItemsAxis_019f84f8-81c8-7451-aa56-805d746759eb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019f84f8-81c8-7451-aa56-805d746759eb_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_019f84f8-81c8-7451-aa56-805d746759eb" xlink:to="loc_srt_ConsolidationItemsDomain_019f84f8-81c8-7451-aa56-805d746759eb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019f84f8-81c8-76f0-b6f0-93fc0ed5a7bd" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_019f84f8-81c8-7451-aa56-805d746759eb" xlink:to="loc_srt_ConsolidationItemsDomain_019f84f8-81c8-76f0-b6f0-93fc0ed5a7bd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_019f84f8-81c8-731d-b9ef-eab16c6bfcb1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_019f84f8-81c8-76f0-b6f0-93fc0ed5a7bd" xlink:to="loc_us-gaap_OperatingSegmentsMember_019f84f8-81c8-731d-b9ef-eab16c6bfcb1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillAndIntangibleAssetImpairment_019f84f8-81c8-78fd-ac0f-ded57d2e09aa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GoodwillAndIntangibleAssetImpairment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019f84f8-81c8-7399-8e26-5b841bd682dd" xlink:to="loc_us-gaap_GoodwillAndIntangibleAssetImpairment_019f84f8-81c8-78fd-ac0f-ded57d2e09aa" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.grainger.com/role/GOODWILLANDOTHERINTANGIBLEASSETSBalanceinIntangibleAssetsNetDetails" xlink:type="simple" xlink:href="gww-20260630.xsd#GOODWILLANDOTHERINTANGIBLEASSETSBalanceinIntangibleAssetsNetDetails"/>
  <link:definitionLink xlink:role="http://www.grainger.com/role/GOODWILLANDOTHERINTANGIBLEASSETSBalanceinIntangibleAssetsNetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019f84f8-81c8-75c4-bd26-9099bcba64f0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_019f84f8-81c8-73f5-9db8-b10f19d915cf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019f84f8-81c8-75c4-bd26-9099bcba64f0" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_019f84f8-81c8-73f5-9db8-b10f19d915cf" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByAssetClassAxis_019f84f8-81c8-7427-905b-c89c18360fe6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueByAssetClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_019f84f8-81c8-73f5-9db8-b10f19d915cf" xlink:to="loc_us-gaap_FairValueByAssetClassAxis_019f84f8-81c8-7427-905b-c89c18360fe6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_019f84f8-81c8-7427-905b-c89c18360fe6_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_019f84f8-81c8-7427-905b-c89c18360fe6" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_019f84f8-81c8-7427-905b-c89c18360fe6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_019f84f8-81c8-72f7-a4b9-88b0a134560b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_019f84f8-81c8-7427-905b-c89c18360fe6" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_019f84f8-81c8-72f7-a4b9-88b0a134560b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerRelatedIntangibleAssetsMember_019f84f8-81c8-77e4-a537-a945730a7621" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CustomerRelatedIntangibleAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_019f84f8-81c8-72f7-a4b9-88b0a134560b" xlink:to="loc_us-gaap_CustomerRelatedIntangibleAssetsMember_019f84f8-81c8-77e4-a537-a945730a7621" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TrademarksAndTradeNamesMember_019f84f8-81c8-7f27-9d2c-2ecdf47818fe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_TrademarksAndTradeNamesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_019f84f8-81c8-72f7-a4b9-88b0a134560b" xlink:to="loc_us-gaap_TrademarksAndTradeNamesMember_019f84f8-81c8-7f27-9d2c-2ecdf47818fe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefinitelivedIntangibleAssetsMember_019f84f8-81c8-7fe9-b2f0-c387f3df8353" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IndefinitelivedIntangibleAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_019f84f8-81c8-72f7-a4b9-88b0a134560b" xlink:to="loc_us-gaap_IndefinitelivedIntangibleAssetsMember_019f84f8-81c8-7fe9-b2f0-c387f3df8353" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_019f84f8-81c8-79aa-acb4-41634bad163f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SoftwareAndSoftwareDevelopmentCostsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_019f84f8-81c8-72f7-a4b9-88b0a134560b" xlink:to="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_019f84f8-81c8-79aa-acb4-41634bad163f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_019f84f8-81c8-7f8a-92d9-ccc14350e8d9" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_019f84f8-81c8-73f5-9db8-b10f19d915cf" xlink:to="loc_srt_RangeAxis_019f84f8-81c8-7f8a-92d9-ccc14350e8d9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019f84f8-81c8-7f8a-92d9-ccc14350e8d9_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_019f84f8-81c8-7f8a-92d9-ccc14350e8d9" xlink:to="loc_srt_RangeMember_019f84f8-81c8-7f8a-92d9-ccc14350e8d9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019f84f8-81c8-7e59-85e9-148983094f8a" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_019f84f8-81c8-7f8a-92d9-ccc14350e8d9" xlink:to="loc_srt_RangeMember_019f84f8-81c8-7e59-85e9-148983094f8a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_WeightedAverageMember_019f84f8-81c8-7dd1-ad47-d0e98918440c" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_WeightedAverageMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019f84f8-81c8-7e59-85e9-148983094f8a" xlink:to="loc_srt_WeightedAverageMember_019f84f8-81c8-7dd1-ad47-d0e98918440c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_019f84f8-81c8-745f-9cfb-8f02ef0c2638" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019f84f8-81c8-75c4-bd26-9099bcba64f0" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_019f84f8-81c8-745f-9cfb-8f02ef0c2638" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_019f84f8-81c8-76d1-98fa-d4342a436028" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019f84f8-81c8-75c4-bd26-9099bcba64f0" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_019f84f8-81c8-76d1-98fa-d4342a436028" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_019f84f8-81c8-730a-8686-7a8958dc5298" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019f84f8-81c8-75c4-bd26-9099bcba64f0" xlink:to="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_019f84f8-81c8-730a-8686-7a8958dc5298" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_019f84f8-81c8-7a40-a2ae-c5894111e2a8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019f84f8-81c8-75c4-bd26-9099bcba64f0" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_019f84f8-81c8-7a40-a2ae-c5894111e2a8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019f84f8-81c8-776c-8efb-d71d0d119e37" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019f84f8-81c8-75c4-bd26-9099bcba64f0" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019f84f8-81c8-776c-8efb-d71d0d119e37" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_019f84f8-81c8-7bd0-a6fe-2a7551e5ddfe" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019f84f8-81c8-75c4-bd26-9099bcba64f0" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_019f84f8-81c8-7bd0-a6fe-2a7551e5ddfe" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019f84f8-81c8-77df-9c00-cac0f0c6588d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_019f84f8-81c8-75c4-bd26-9099bcba64f0" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019f84f8-81c8-77df-9c00-cac0f0c6588d" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.grainger.com/role/DEBTLongTermDebtInstrumentsDetails" xlink:type="simple" xlink:href="gww-20260630.xsd#DEBTLongTermDebtInstrumentsDetails"/>
  <link:definitionLink xlink:role="http://www.grainger.com/role/DEBTLongTermDebtInstrumentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_019f84f8-81c8-7e9e-849a-2becbda5a327" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_019f84f8-81c8-762c-8f47-45634443f66d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019f84f8-81c8-7e9e-849a-2becbda5a327" xlink:to="loc_us-gaap_DebtInstrumentTable_019f84f8-81c8-762c-8f47-45634443f66d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_019f84f8-81c8-7552-98fb-0306aaeef038" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019f84f8-81c8-762c-8f47-45634443f66d" xlink:to="loc_us-gaap_DebtInstrumentAxis_019f84f8-81c8-7552-98fb-0306aaeef038" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019f84f8-81c8-7552-98fb-0306aaeef038_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_019f84f8-81c8-7552-98fb-0306aaeef038" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019f84f8-81c8-7552-98fb-0306aaeef038_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019f84f8-81c8-7baf-9a7d-e7c76e7a4189" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_019f84f8-81c8-7552-98fb-0306aaeef038" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019f84f8-81c8-7baf-9a7d-e7c76e7a4189" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_UnsecuredSeniorNotes4.60Member_019f84f8-81c8-7923-be69-05ff38aa2693" xlink:href="gww-20260630.xsd#gww_UnsecuredSeniorNotes4.60Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019f84f8-81c8-7baf-9a7d-e7c76e7a4189" xlink:to="loc_gww_UnsecuredSeniorNotes4.60Member_019f84f8-81c8-7923-be69-05ff38aa2693" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_UnsecuredSeniorNotes4.45Member_019f84f8-81c8-7aee-b4ad-ac260c66de2a" xlink:href="gww-20260630.xsd#gww_UnsecuredSeniorNotes4.45Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019f84f8-81c8-7baf-9a7d-e7c76e7a4189" xlink:to="loc_gww_UnsecuredSeniorNotes4.45Member_019f84f8-81c8-7aee-b4ad-ac260c66de2a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_UnsecuredSeniorNotes3.75Member_019f84f8-81c8-7920-b5a7-d110354b2a3c" xlink:href="gww-20260630.xsd#gww_UnsecuredSeniorNotes3.75Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019f84f8-81c8-7baf-9a7d-e7c76e7a4189" xlink:to="loc_gww_UnsecuredSeniorNotes3.75Member_019f84f8-81c8-7920-b5a7-d110354b2a3c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_UnsecuredSeniorNotes4.20Member_019f84f8-81c8-74ce-95c7-5bcd5d876123" xlink:href="gww-20260630.xsd#gww_UnsecuredSeniorNotes4.20Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019f84f8-81c8-7baf-9a7d-e7c76e7a4189" xlink:to="loc_gww_UnsecuredSeniorNotes4.20Member_019f84f8-81c8-74ce-95c7-5bcd5d876123" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_019f84f8-81c8-70c9-8c29-ecb192237d62" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019f84f8-81c8-762c-8f47-45634443f66d" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_019f84f8-81c8-70c9-8c29-ecb192237d62" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019f84f8-81c8-70c9-8c29-ecb192237d62_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019f84f8-81c8-70c9-8c29-ecb192237d62" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019f84f8-81c8-70c9-8c29-ecb192237d62_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019f84f8-81c8-780d-aa28-7e7d68bdf87f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019f84f8-81c8-70c9-8c29-ecb192237d62" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019f84f8-81c8-780d-aa28-7e7d68bdf87f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotesMember_019f84f8-81c8-72bc-9dba-bbfe9cb5887d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_019f84f8-81c8-780d-aa28-7e7d68bdf87f" xlink:to="loc_us-gaap_SeniorNotesMember_019f84f8-81c8-72bc-9dba-bbfe9cb5887d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_019f84f8-81c8-7f1a-84c0-c21672823dda" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_019f84f8-81c8-780d-aa28-7e7d68bdf87f" xlink:to="loc_us-gaap_LineOfCreditMember_019f84f8-81c8-7f1a-84c0-c21672823dda" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermDebtTypeAxis_019f84f8-81c8-7ce2-a3bf-45825a731836" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019f84f8-81c8-762c-8f47-45634443f66d" xlink:to="loc_us-gaap_ShortTermDebtTypeAxis_019f84f8-81c8-7ce2-a3bf-45825a731836" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermDebtTypeDomain_019f84f8-81c8-7ce2-a3bf-45825a731836_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShortTermDebtTypeAxis_019f84f8-81c8-7ce2-a3bf-45825a731836" xlink:to="loc_us-gaap_ShortTermDebtTypeDomain_019f84f8-81c8-7ce2-a3bf-45825a731836_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermDebtTypeDomain_019f84f8-81c8-74de-9edb-360b31d14c48" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShortTermDebtTypeAxis_019f84f8-81c8-7ce2-a3bf-45825a731836" xlink:to="loc_us-gaap_ShortTermDebtTypeDomain_019f84f8-81c8-74de-9edb-360b31d14c48" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotesMember_019f84f8-81c8-710e-af6c-8e3bb5fc2569" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermDebtTypeDomain_019f84f8-81c8-74de-9edb-360b31d14c48" xlink:to="loc_us-gaap_SeniorNotesMember_019f84f8-81c8-710e-af6c-8e3bb5fc2569" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_OtherShortTermDebtMember_019f84f8-81c8-7c90-b7df-d67b54088930" xlink:href="gww-20260630.xsd#gww_OtherShortTermDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermDebtTypeDomain_019f84f8-81c8-74de-9edb-360b31d14c48" xlink:to="loc_gww_OtherShortTermDebtMember_019f84f8-81c8-7c90-b7df-d67b54088930" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_019f84f8-81c8-7985-98e0-b07ad943f85e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019f84f8-81c8-762c-8f47-45634443f66d" xlink:to="loc_us-gaap_CreditFacilityAxis_019f84f8-81c8-7985-98e0-b07ad943f85e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_019f84f8-81c8-7985-98e0-b07ad943f85e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_019f84f8-81c8-7985-98e0-b07ad943f85e" xlink:to="loc_us-gaap_CreditFacilityDomain_019f84f8-81c8-7985-98e0-b07ad943f85e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_019f84f8-81c8-77f5-966b-11f8a2dabab1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_019f84f8-81c8-7985-98e0-b07ad943f85e" xlink:to="loc_us-gaap_CreditFacilityDomain_019f84f8-81c8-77f5-966b-11f8a2dabab1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredDebtMember_019f84f8-81c8-7e19-9224-f73e8ead1f82" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SecuredDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_019f84f8-81c8-77f5-966b-11f8a2dabab1" xlink:to="loc_us-gaap_SecuredDebtMember_019f84f8-81c8-7e19-9224-f73e8ead1f82" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_019f84f8-81c8-7717-8f75-4885fe0657c4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019f84f8-81c8-7e9e-849a-2becbda5a327" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_019f84f8-81c8-7717-8f75-4885fe0657c4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_019f84f8-81c8-73c4-bbf1-c837bf5d07d0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019f84f8-81c8-7e9e-849a-2becbda5a327" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_019f84f8-81c8-73c4-bbf1-c837bf5d07d0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_019f84f8-81c8-7db1-bd64-32ed6502ee52" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DeferredFinanceCostsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019f84f8-81c8-7e9e-849a-2becbda5a327" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_019f84f8-81c8-7db1-bd64-32ed6502ee52" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_019f84f8-81c8-717d-b032-882f246b2cb4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019f84f8-81c8-7e9e-849a-2becbda5a327" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_019f84f8-81c8-717d-b032-882f246b2cb4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_OtherShortTermDebt_019f84f8-81c8-7127-8826-1ab540a6f1d1" xlink:href="gww-20260630.xsd#gww_OtherShortTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019f84f8-81c8-7e9e-849a-2becbda5a327" xlink:to="loc_gww_OtherShortTermDebt_019f84f8-81c8-7127-8826-1ab540a6f1d1" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtCurrent_019f84f8-81c8-7d83-b3e0-ecab7f5cbce8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019f84f8-81c8-7e9e-849a-2becbda5a327" xlink:to="loc_us-gaap_LongTermDebtCurrent_019f84f8-81c8-7d83-b3e0-ecab7f5cbce8" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_019f84f8-81c8-7ef1-9c27-ab907c2783d0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019f84f8-81c8-7e9e-849a-2becbda5a327" xlink:to="loc_us-gaap_LongTermDebt_019f84f8-81c8-7ef1-9c27-ab907c2783d0" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_LongTermDebtGrossFairValueDisclosure_019f84f8-81c8-706f-8ce6-0acf5a9f85f7" xlink:href="gww-20260630.xsd#gww_LongTermDebtGrossFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019f84f8-81c8-7e9e-849a-2becbda5a327" xlink:to="loc_gww_LongTermDebtGrossFairValueDisclosure_019f84f8-81c8-706f-8ce6-0acf5a9f85f7" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_DebtIssuanceCostNetFairValue_019f84f8-81c8-7c9d-8b76-743d8c313090" xlink:href="gww-20260630.xsd#gww_DebtIssuanceCostNetFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019f84f8-81c8-7e9e-849a-2becbda5a327" xlink:to="loc_gww_DebtIssuanceCostNetFairValue_019f84f8-81c8-7c9d-8b76-743d8c313090" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_LongTermDebtExcludingCurrentMaturitiesFairValueDisclosure_019f84f8-81c8-74d6-99b5-c1ee00308c42" xlink:href="gww-20260630.xsd#gww_LongTermDebtExcludingCurrentMaturitiesFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019f84f8-81c8-7e9e-849a-2becbda5a327" xlink:to="loc_gww_LongTermDebtExcludingCurrentMaturitiesFairValueDisclosure_019f84f8-81c8-74d6-99b5-c1ee00308c42" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_OtherShortTermDebtFairValue_019f84f8-81c8-72c0-9d32-a8f9afe648d0" xlink:href="gww-20260630.xsd#gww_OtherShortTermDebtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019f84f8-81c8-7e9e-849a-2becbda5a327" xlink:to="loc_gww_OtherShortTermDebtFairValue_019f84f8-81c8-72c0-9d32-a8f9afe648d0" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_LongTermDebtCurrentMaturitiesFairValueDisclosure_019f84f8-81c8-775a-8f09-bc715c951d84" xlink:href="gww-20260630.xsd#gww_LongTermDebtCurrentMaturitiesFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019f84f8-81c8-7e9e-849a-2becbda5a327" xlink:to="loc_gww_LongTermDebtCurrentMaturitiesFairValueDisclosure_019f84f8-81c8-775a-8f09-bc715c951d84" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtFairValue_019f84f8-81c8-7b7c-ba97-bcc8ab559620" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019f84f8-81c8-7e9e-849a-2becbda5a327" xlink:to="loc_us-gaap_LongTermDebtFairValue_019f84f8-81c8-7b7c-ba97-bcc8ab559620" xlink:type="arc" order="12"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.grainger.com/role/DEBTNarrativeDetails" xlink:type="simple" xlink:href="gww-20260630.xsd#DEBTNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.grainger.com/role/DEBTNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_019f84f8-81c8-7efd-ad1c-1a0af3c29310" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_019f84f8-81c8-7c81-b075-f1a718e13a74" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019f84f8-81c8-7efd-ad1c-1a0af3c29310" xlink:to="loc_us-gaap_DebtInstrumentTable_019f84f8-81c8-7c81-b075-f1a718e13a74" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_019f84f8-81c8-70ea-b1f2-b7441adb732c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019f84f8-81c8-7c81-b075-f1a718e13a74" xlink:to="loc_us-gaap_DebtInstrumentAxis_019f84f8-81c8-70ea-b1f2-b7441adb732c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019f84f8-81c8-70ea-b1f2-b7441adb732c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_019f84f8-81c8-70ea-b1f2-b7441adb732c" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019f84f8-81c8-70ea-b1f2-b7441adb732c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019f84f8-81c8-75f3-8a6d-1cf3e4de2d96" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_019f84f8-81c8-70ea-b1f2-b7441adb732c" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019f84f8-81c8-75f3-8a6d-1cf3e4de2d96" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_UnsecuredSeniorNotes185Member_019f84f8-81c8-770e-8550-89c8fbaf150e" xlink:href="gww-20260630.xsd#gww_UnsecuredSeniorNotes185Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019f84f8-81c8-75f3-8a6d-1cf3e4de2d96" xlink:to="loc_gww_UnsecuredSeniorNotes185Member_019f84f8-81c8-770e-8550-89c8fbaf150e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_019f84f8-81c8-7b8c-90ae-eddf8a6719d2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019f84f8-81c8-7c81-b075-f1a718e13a74" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_019f84f8-81c8-7b8c-90ae-eddf8a6719d2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019f84f8-81c8-7b8c-90ae-eddf8a6719d2_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019f84f8-81c8-7b8c-90ae-eddf8a6719d2" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019f84f8-81c8-7b8c-90ae-eddf8a6719d2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019f84f8-81c8-7fca-a7e4-c1828984072b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019f84f8-81c8-7b8c-90ae-eddf8a6719d2" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019f84f8-81c8-7fca-a7e4-c1828984072b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotesMember_019f84f8-81c8-735a-bd18-de2b0d0014f0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_019f84f8-81c8-7fca-a7e4-c1828984072b" xlink:to="loc_us-gaap_SeniorNotesMember_019f84f8-81c8-735a-bd18-de2b0d0014f0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_019f84f8-81c8-7424-b51a-aa6ee706f186" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_019f84f8-81c8-7fca-a7e4-c1828984072b" xlink:to="loc_us-gaap_LineOfCreditMember_019f84f8-81c8-7424-b51a-aa6ee706f186" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_019f84f8-81c8-7555-bc33-e95a71bd4838" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019f84f8-81c8-7c81-b075-f1a718e13a74" xlink:to="loc_us-gaap_CreditFacilityAxis_019f84f8-81c8-7555-bc33-e95a71bd4838" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_019f84f8-81c8-7555-bc33-e95a71bd4838_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_019f84f8-81c8-7555-bc33-e95a71bd4838" xlink:to="loc_us-gaap_CreditFacilityDomain_019f84f8-81c8-7555-bc33-e95a71bd4838_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_019f84f8-81c8-703e-a75f-f3e50f1242ea" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_019f84f8-81c8-7555-bc33-e95a71bd4838" xlink:to="loc_us-gaap_CreditFacilityDomain_019f84f8-81c8-703e-a75f-f3e50f1242ea" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredDebtMember_019f84f8-81c8-7137-9660-9ce9ceea1ef3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SecuredDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_019f84f8-81c8-703e-a75f-f3e50f1242ea" xlink:to="loc_us-gaap_SecuredDebtMember_019f84f8-81c8-7137-9660-9ce9ceea1ef3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermDebtTypeAxis_019f84f8-81c8-7e77-a7e6-ed17811e9519" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019f84f8-81c8-7c81-b075-f1a718e13a74" xlink:to="loc_us-gaap_ShortTermDebtTypeAxis_019f84f8-81c8-7e77-a7e6-ed17811e9519" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermDebtTypeDomain_019f84f8-81c8-7e77-a7e6-ed17811e9519_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShortTermDebtTypeAxis_019f84f8-81c8-7e77-a7e6-ed17811e9519" xlink:to="loc_us-gaap_ShortTermDebtTypeDomain_019f84f8-81c8-7e77-a7e6-ed17811e9519_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermDebtTypeDomain_019f84f8-81c8-727e-9f2b-c272cbf8efd7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShortTermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShortTermDebtTypeAxis_019f84f8-81c8-7e77-a7e6-ed17811e9519" xlink:to="loc_us-gaap_ShortTermDebtTypeDomain_019f84f8-81c8-727e-9f2b-c272cbf8efd7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotesMember_019f84f8-81c8-7108-ab11-62e3d17f8825" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermDebtTypeDomain_019f84f8-81c8-727e-9f2b-c272cbf8efd7" xlink:to="loc_us-gaap_SeniorNotesMember_019f84f8-81c8-7108-ab11-62e3d17f8825" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_019f84f8-81c8-76f0-8868-99b7e4876d8c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentFaceAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019f84f8-81c8-7efd-ad1c-1a0af3c29310" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_019f84f8-81c8-76f0-8868-99b7e4876d8c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRepaidPrincipal_019f84f8-81c8-7043-901a-ac757b339a85" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentRepaidPrincipal"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019f84f8-81c8-7efd-ad1c-1a0af3c29310" xlink:to="loc_us-gaap_DebtInstrumentRepaidPrincipal_019f84f8-81c8-7043-901a-ac757b339a85" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_019f84f8-81c8-7abb-be14-952188fddf73" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019f84f8-81c8-7efd-ad1c-1a0af3c29310" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_019f84f8-81c8-7abb-be14-952188fddf73" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_019f84f8-81c8-7197-a379-6d65d96f6acb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019f84f8-81c8-7efd-ad1c-1a0af3c29310" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_019f84f8-81c8-7197-a379-6d65d96f6acb" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtWeightedAverageInterestRate_019f84f8-81c8-7ab9-857f-a2091543dfec" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DebtWeightedAverageInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019f84f8-81c8-7efd-ad1c-1a0af3c29310" xlink:to="loc_us-gaap_DebtWeightedAverageInterestRate_019f84f8-81c8-7ab9-857f-a2091543dfec" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.grainger.com/role/SEGMENTINFORMATIONDetails" xlink:type="simple" xlink:href="gww-20260630.xsd#SEGMENTINFORMATIONDetails"/>
  <link:definitionLink xlink:role="http://www.grainger.com/role/SEGMENTINFORMATIONDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_019f84f8-81c8-72de-99b6-183d647d0001" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019f84f8-81c8-7c85-9d50-cb5e2cfd05d7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019f84f8-81c8-72de-99b6-183d647d0001" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019f84f8-81c8-7c85-9d50-cb5e2cfd05d7" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_019f84f8-81c8-7b01-a085-78bf725ae5aa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019f84f8-81c8-7c85-9d50-cb5e2cfd05d7" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_019f84f8-81c8-7b01-a085-78bf725ae5aa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019f84f8-81c8-7b01-a085-78bf725ae5aa_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019f84f8-81c8-7b01-a085-78bf725ae5aa" xlink:to="loc_us-gaap_SegmentDomain_019f84f8-81c8-7b01-a085-78bf725ae5aa_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_019f84f8-81c8-7324-8d36-cf57946a8514" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_019f84f8-81c8-7b01-a085-78bf725ae5aa" xlink:to="loc_us-gaap_SegmentDomain_019f84f8-81c8-7324-8d36-cf57946a8514" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_HighTouchSolutionsNAMember_019f84f8-81c8-7716-9f2e-0e30b943b884" xlink:href="gww-20260630.xsd#gww_HighTouchSolutionsNAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019f84f8-81c8-7324-8d36-cf57946a8514" xlink:to="loc_gww_HighTouchSolutionsNAMember_019f84f8-81c8-7716-9f2e-0e30b943b884" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_EndlessAssortmentMember_019f84f8-81c8-7167-94e5-1aa51ec2dbcb" xlink:href="gww-20260630.xsd#gww_EndlessAssortmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019f84f8-81c8-7324-8d36-cf57946a8514" xlink:to="loc_gww_EndlessAssortmentMember_019f84f8-81c8-7167-94e5-1aa51ec2dbcb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_OtherMember_019f84f8-81c8-754a-85a1-af5020b1d886" xlink:href="gww-20260630.xsd#gww_OtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_019f84f8-81c8-7324-8d36-cf57946a8514" xlink:to="loc_gww_OtherMember_019f84f8-81c8-754a-85a1-af5020b1d886" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_019f84f8-81c8-7432-acf4-05406fa06ba7" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019f84f8-81c8-7c85-9d50-cb5e2cfd05d7" xlink:to="loc_srt_ConsolidationItemsAxis_019f84f8-81c8-7432-acf4-05406fa06ba7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019f84f8-81c8-7432-acf4-05406fa06ba7_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_019f84f8-81c8-7432-acf4-05406fa06ba7" xlink:to="loc_srt_ConsolidationItemsDomain_019f84f8-81c8-7432-acf4-05406fa06ba7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019f84f8-81c8-7595-8882-a1251b3e51d4" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_019f84f8-81c8-7432-acf4-05406fa06ba7" xlink:to="loc_srt_ConsolidationItemsDomain_019f84f8-81c8-7595-8882-a1251b3e51d4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_019f84f8-81c8-7949-a58f-8b5a98253759" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_019f84f8-81c8-7595-8882-a1251b3e51d4" xlink:to="loc_us-gaap_OperatingSegmentsMember_019f84f8-81c8-7949-a58f-8b5a98253759" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntersegmentEliminationMember_019f84f8-81c8-7a15-8fc4-077253387a38" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IntersegmentEliminationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_019f84f8-81c8-7595-8882-a1251b3e51d4" xlink:to="loc_us-gaap_IntersegmentEliminationMember_019f84f8-81c8-7a15-8fc4-077253387a38" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementGeographicalAxis_019f84f8-81c8-7260-8c02-a6f1578cc7de" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_StatementGeographicalAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_019f84f8-81c8-7c85-9d50-cb5e2cfd05d7" xlink:to="loc_srt_StatementGeographicalAxis_019f84f8-81c8-7260-8c02-a6f1578cc7de" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_019f84f8-81c8-7260-8c02-a6f1578cc7de_default" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_019f84f8-81c8-7260-8c02-a6f1578cc7de" xlink:to="loc_srt_SegmentGeographicalDomain_019f84f8-81c8-7260-8c02-a6f1578cc7de_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_019f84f8-81c8-7d0d-ba8d-d3e9ca1f1ea9" xlink:href="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_019f84f8-81c8-7260-8c02-a6f1578cc7de" xlink:to="loc_srt_SegmentGeographicalDomain_019f84f8-81c8-7d0d-ba8d-d3e9ca1f1ea9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_US_019f84f8-81c8-72e4-bd9e-3d9f22111183" xlink:href="https://xbrl.sec.gov/country/2026/country-2026.xsd#country_US"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_019f84f8-81c8-7d0d-ba8d-d3e9ca1f1ea9" xlink:to="loc_country_US_019f84f8-81c8-72e4-bd9e-3d9f22111183" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_JP_019f84f8-81c8-78e4-bd72-becace48d9e2" xlink:href="https://xbrl.sec.gov/country/2026/country-2026.xsd#country_JP"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_019f84f8-81c8-7d0d-ba8d-d3e9ca1f1ea9" xlink:to="loc_country_JP_019f84f8-81c8-78e4-bd72-becace48d9e2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_CA_019f84f8-81c8-76f8-b379-1d12f554ea3a" xlink:href="https://xbrl.sec.gov/country/2026/country-2026.xsd#country_CA"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_019f84f8-81c8-7d0d-ba8d-d3e9ca1f1ea9" xlink:to="loc_country_CA_019f84f8-81c8-76f8-b379-1d12f554ea3a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_OtherForeignCountriesMember_019f84f8-81c8-77d7-aea2-7fc0a9eea286" xlink:href="gww-20260630.xsd#gww_OtherForeignCountriesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_019f84f8-81c8-7d0d-ba8d-d3e9ca1f1ea9" xlink:to="loc_gww_OtherForeignCountriesMember_019f84f8-81c8-77d7-aea2-7fc0a9eea286" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NumberOfReportableSegments_019f84f8-81c8-7143-aba2-f2784a326ac0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NumberOfReportableSegments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019f84f8-81c8-72de-99b6-183d647d0001" xlink:to="loc_us-gaap_NumberOfReportableSegments_019f84f8-81c8-7143-aba2-f2784a326ac0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_SegmentReportingInformationAssetsAbstract_019f84f8-81c8-7349-9d43-3f78b775263e" xlink:href="gww-20260630.xsd#gww_SegmentReportingInformationAssetsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_019f84f8-81c8-72de-99b6-183d647d0001" xlink:to="loc_gww_SegmentReportingInformationAssetsAbstract_019f84f8-81c8-7349-9d43-3f78b775263e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019f84f8-81c8-78d8-92dc-dcefe8446daa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_gww_SegmentReportingInformationAssetsAbstract_019f84f8-81c8-7349-9d43-3f78b775263e" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019f84f8-81c8-78d8-92dc-dcefe8446daa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_019f84f8-81c8-7ac3-98e8-a1c5b3c3d2fa" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_gww_SegmentReportingInformationAssetsAbstract_019f84f8-81c8-7349-9d43-3f78b775263e" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_019f84f8-81c8-7ac3-98e8-a1c5b3c3d2fa" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_019f84f8-81c8-7819-bda0-494ec7d08640" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_gww_SegmentReportingInformationAssetsAbstract_019f84f8-81c8-7349-9d43-3f78b775263e" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_019f84f8-81c8-7819-bda0-494ec7d08640" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019f84f8-81c8-7bcf-9801-b38c27cbaaf0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_gww_SegmentReportingInformationAssetsAbstract_019f84f8-81c8-7349-9d43-3f78b775263e" xlink:to="loc_us-gaap_OperatingIncomeLoss_019f84f8-81c8-7bcf-9801-b38c27cbaaf0" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_019f84f8-81c8-78bc-bd6e-749b50d18a5e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_gww_SegmentReportingInformationAssetsAbstract_019f84f8-81c8-7349-9d43-3f78b775263e" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_019f84f8-81c8-78bc-bd6e-749b50d18a5e" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.grainger.com/role/SUBSEQUENTEVENTSDetails" xlink:type="simple" xlink:href="gww-20260630.xsd#SUBSEQUENTEVENTSDetails"/>
  <link:definitionLink xlink:role="http://www.grainger.com/role/SUBSEQUENTEVENTSDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventLineItems_019f84f8-81c9-7870-97f4-e3e8fa9c32f0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SubsequentEventLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTable_019f84f8-81c9-7727-87b5-5792b9ed8e37" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SubsequentEventTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SubsequentEventLineItems_019f84f8-81c9-7870-97f4-e3e8fa9c32f0" xlink:to="loc_us-gaap_SubsequentEventTable_019f84f8-81c9-7727-87b5-5792b9ed8e37" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_019f84f8-81c9-73bf-9d4a-bcc44d962f40" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SubsequentEventTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_019f84f8-81c9-7727-87b5-5792b9ed8e37" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_019f84f8-81c9-73bf-9d4a-bcc44d962f40" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_019f84f8-81c9-73bf-9d4a-bcc44d962f40_default" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_019f84f8-81c9-73bf-9d4a-bcc44d962f40" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_019f84f8-81c9-73bf-9d4a-bcc44d962f40_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_019f84f8-81c9-72a0-9c85-345fd2551365" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_019f84f8-81c9-73bf-9d4a-bcc44d962f40" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_019f84f8-81c9-72a0-9c85-345fd2551365" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventMember_019f84f8-81c9-7522-add0-c6c2f726ec8c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_SubsequentEventMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_019f84f8-81c9-72a0-9c85-345fd2551365" xlink:to="loc_us-gaap_SubsequentEventMember_019f84f8-81c9-7522-add0-c6c2f726ec8c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPayableAmountPerShare_019f84f8-81c9-7b9f-8a18-d1492ca9d852" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DividendsPayableAmountPerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_019f84f8-81c9-7870-97f4-e3e8fa9c32f0" xlink:to="loc_us-gaap_DividendsPayableAmountPerShare_019f84f8-81c9-7b9f-8a18-d1492ca9d852" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://xbrl.sec.gov/ecd/role/IndividualsOnly" xlink:type="simple" xlink:href="https://xbrl.sec.gov/ecd/2026/ecd-2026.xsd#IndividualsOnly"/>
  <link:definitionLink xlink:role="http://xbrl.sec.gov/ecd/role/IndividualsOnly" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_ecd_AllIndividualsMember" xlink:href="https://xbrl.sec.gov/ecd/2026/ecd-2026.xsd#ecd_AllIndividualsMember"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_NeilNovichMember_019f9063-a92b-7e6e-b513-2a8306cc82c5" xlink:href="gww-20260630.xsd#gww_NeilNovichMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ecd_AllIndividualsMember" xlink:to="loc_gww_NeilNovichMember_019f9063-a92b-7e6e-b513-2a8306cc82c5" xlink:type="arc" order="2"/>
  </link:definitionLink>
</link:linkbase>
