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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2023 Workiva-->
<!--r:9e797170-39b3-48ca-98ae-d67a262215a9,g:a084d117-0825-4331-b864-a5f72f02a638-->
<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/CONDENSEDCONSOLIDATEDSTATEMENTOFSHAREDHOLDERSEQUITYCONDENSEDCONSOLIDATEDSTATEMENTOFSHAREDHOLDERSEQUITY" xlink:type="simple" xlink:href="gww-20230930.xsd#CONDENSEDCONSOLIDATEDSTATEMENTOFSHAREDHOLDERSEQUITYCONDENSEDCONSOLIDATEDSTATEMENTOFSHAREDHOLDERSEQUITY"/>
  <link:definitionLink xlink:role="http://www.grainger.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFSHAREDHOLDERSEQUITYCONDENSEDCONSOLIDATEDSTATEMENTOFSHAREDHOLDERSEQUITY" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_60f10b9c-f10c-4e64-8215-3e35ccbeabcd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_07f7d7b4-5275-4919-9f78-2d7807237e41" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_60f10b9c-f10c-4e64-8215-3e35ccbeabcd" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_07f7d7b4-5275-4919-9f78-2d7807237e41" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_e9b64b36-da3e-47b7-b695-f80546ca8485" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_07f7d7b4-5275-4919-9f78-2d7807237e41" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_e9b64b36-da3e-47b7-b695-f80546ca8485" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationEmployeeStockPurchaseProgramRequisiteServicePeriodRecognition_e34ec8e1-1e7a-49bf-9042-ac45e023d88e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationEmployeeStockPurchaseProgramRequisiteServicePeriodRecognition"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_07f7d7b4-5275-4919-9f78-2d7807237e41" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationEmployeeStockPurchaseProgramRequisiteServicePeriodRecognition_e34ec8e1-1e7a-49bf-9042-ac45e023d88e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedDuringPeriodValue_49239a66-a53b-497e-99c6-7aa29f80d4f1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockRepurchasedDuringPeriodValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_07f7d7b4-5275-4919-9f78-2d7807237e41" xlink:to="loc_us-gaap_StockRepurchasedDuringPeriodValue_49239a66-a53b-497e-99c6-7aa29f80d4f1" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_3fae26ac-b889-4caf-97a5-a0fbbc8c0482" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProfitLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_07f7d7b4-5275-4919-9f78-2d7807237e41" xlink:to="loc_us-gaap_ProfitLoss_3fae26ac-b889-4caf-97a5-a0fbbc8c0482" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_d3979a9a-4067-4861-b1e5-0df9b2cee881" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_07f7d7b4-5275-4919-9f78-2d7807237e41" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_d3979a9a-4067-4861-b1e5-0df9b2cee881" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncontrollingInterestIncreaseFromSubsidiaryEquityIssuance_54fefddc-a6c1-4e90-b9e4-9543b166036a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NoncontrollingInterestIncreaseFromSubsidiaryEquityIssuance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_07f7d7b4-5275-4919-9f78-2d7807237e41" xlink:to="loc_us-gaap_NoncontrollingInterestIncreaseFromSubsidiaryEquityIssuance_54fefddc-a6c1-4e90-b9e4-9543b166036a" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsCommonStockCash_717533ee-bfe5-42ba-99b9-4663667d2940" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DividendsCommonStockCash"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_07f7d7b4-5275-4919-9f78-2d7807237e41" xlink:to="loc_us-gaap_DividendsCommonStockCash_717533ee-bfe5-42ba-99b9-4663667d2940" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_f7fc4ea1-6040-4e5b-9435-d96d486d2801" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_a8585672-91b2-48b1-abb7-c9c3446dd615" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_60f10b9c-f10c-4e64-8215-3e35ccbeabcd" xlink:to="loc_us-gaap_StatementTable_a8585672-91b2-48b1-abb7-c9c3446dd615" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_1b757c8e-f46f-4d97-b48d-3eaec1816ce4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_a8585672-91b2-48b1-abb7-c9c3446dd615" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_1b757c8e-f46f-4d97-b48d-3eaec1816ce4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_1b757c8e-f46f-4d97-b48d-3eaec1816ce4_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_1b757c8e-f46f-4d97-b48d-3eaec1816ce4" xlink:to="loc_us-gaap_EquityComponentDomain_1b757c8e-f46f-4d97-b48d-3eaec1816ce4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_eb7c761d-099d-4104-bced-5785347e1033" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_1b757c8e-f46f-4d97-b48d-3eaec1816ce4" xlink:to="loc_us-gaap_EquityComponentDomain_eb7c761d-099d-4104-bced-5785347e1033" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_b2d6ed07-d439-4f4b-844f-daa878ab8b3c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_eb7c761d-099d-4104-bced-5785347e1033" xlink:to="loc_us-gaap_CommonStockMember_b2d6ed07-d439-4f4b-844f-daa878ab8b3c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_dcd906d8-62dc-4a73-aec9-b749dd875d09" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_eb7c761d-099d-4104-bced-5785347e1033" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_dcd906d8-62dc-4a73-aec9-b749dd875d09" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_63d5a95d-5164-445d-8335-ca5d1ebe48ff" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_eb7c761d-099d-4104-bced-5785347e1033" xlink:to="loc_us-gaap_RetainedEarningsMember_63d5a95d-5164-445d-8335-ca5d1ebe48ff" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_a78d64ce-cfb2-4c16-b8fd-fe36e6fff2d5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_eb7c761d-099d-4104-bced-5785347e1033" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_a78d64ce-cfb2-4c16-b8fd-fe36e6fff2d5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonMember_b2c75c3c-7725-4ebd-8a40-6166ca99c6e1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TreasuryStockCommonMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_eb7c761d-099d-4104-bced-5785347e1033" xlink:to="loc_us-gaap_TreasuryStockCommonMember_b2c75c3c-7725-4ebd-8a40-6166ca99c6e1" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncontrollingInterestMember_6973b609-9fd1-4bc8-af74-3cfaa4e22c37" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NoncontrollingInterestMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_eb7c761d-099d-4104-bced-5785347e1033" xlink:to="loc_us-gaap_NoncontrollingInterestMember_6973b609-9fd1-4bc8-af74-3cfaa4e22c37" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.grainger.com/role/REVENUEDisaggregationofRevenuesDetails" xlink:type="simple" xlink:href="gww-20230930.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_fc37410f-6d3b-436e-9a7e-1a6b850d37be" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_RevenueFromContractWithCustomerExcludingAssessedTaxPercentage_6b6190f9-d0e6-43a1-8e07-fc2cca76e64a" xlink:href="gww-20230930.xsd#gww_RevenueFromContractWithCustomerExcludingAssessedTaxPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_fc37410f-6d3b-436e-9a7e-1a6b850d37be" xlink:to="loc_gww_RevenueFromContractWithCustomerExcludingAssessedTaxPercentage_6b6190f9-d0e6-43a1-8e07-fc2cca76e64a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_RevenueFromContractWithCustomerExcludingAssessedTaxPercentageOfCompanyWideRevenue_d6496432-9fb7-4d28-82cb-a1675041b615" xlink:href="gww-20230930.xsd#gww_RevenueFromContractWithCustomerExcludingAssessedTaxPercentageOfCompanyWideRevenue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_fc37410f-6d3b-436e-9a7e-1a6b850d37be" xlink:to="loc_gww_RevenueFromContractWithCustomerExcludingAssessedTaxPercentageOfCompanyWideRevenue_d6496432-9fb7-4d28-82cb-a1675041b615" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_PercentageOfCompanyWideRevenue_43c5dc14-e3e1-4f8e-9db7-16488e342a4d" xlink:href="gww-20230930.xsd#gww_PercentageOfCompanyWideRevenue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_fc37410f-6d3b-436e-9a7e-1a6b850d37be" xlink:to="loc_gww_PercentageOfCompanyWideRevenue_43c5dc14-e3e1-4f8e-9db7-16488e342a4d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_93b89958-8291-4a9d-8256-9fda2593cd87" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_fc37410f-6d3b-436e-9a7e-1a6b850d37be" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_93b89958-8291-4a9d-8256-9fda2593cd87" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_e2871c2d-b23d-47bf-857e-bae9539f463a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_93b89958-8291-4a9d-8256-9fda2593cd87" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_e2871c2d-b23d-47bf-857e-bae9539f463a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_e2871c2d-b23d-47bf-857e-bae9539f463a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_e2871c2d-b23d-47bf-857e-bae9539f463a" xlink:to="loc_us-gaap_SegmentDomain_e2871c2d-b23d-47bf-857e-bae9539f463a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_39c81831-b2c5-46d5-9184-7bcfb8f563b7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_e2871c2d-b23d-47bf-857e-bae9539f463a" xlink:to="loc_us-gaap_SegmentDomain_39c81831-b2c5-46d5-9184-7bcfb8f563b7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_HighTouchSolutionsNAMember_cedd8456-f85d-472c-8067-14860fb36bef" xlink:href="gww-20230930.xsd#gww_HighTouchSolutionsNAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_39c81831-b2c5-46d5-9184-7bcfb8f563b7" xlink:to="loc_gww_HighTouchSolutionsNAMember_cedd8456-f85d-472c-8067-14860fb36bef" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_EndlessAssortmentMember_96303871-e97b-4cca-b1f4-e44dd2c1da2c" xlink:href="gww-20230930.xsd#gww_EndlessAssortmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_39c81831-b2c5-46d5-9184-7bcfb8f563b7" xlink:to="loc_gww_EndlessAssortmentMember_96303871-e97b-4cca-b1f4-e44dd2c1da2c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MajorCustomersAxis_b91c5d18-be56-4c18-a38e-359a6b8d88c9" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_MajorCustomersAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_93b89958-8291-4a9d-8256-9fda2593cd87" xlink:to="loc_srt_MajorCustomersAxis_b91c5d18-be56-4c18-a38e-359a6b8d88c9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_b91c5d18-be56-4c18-a38e-359a6b8d88c9_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_MajorCustomersAxis_b91c5d18-be56-4c18-a38e-359a6b8d88c9" xlink:to="loc_srt_NameOfMajorCustomerDomain_b91c5d18-be56-4c18-a38e-359a6b8d88c9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_cbfbffea-5d8a-4495-acc6-67622d5c4787" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_MajorCustomersAxis_b91c5d18-be56-4c18-a38e-359a6b8d88c9" xlink:to="loc_srt_NameOfMajorCustomerDomain_cbfbffea-5d8a-4495-acc6-67622d5c4787" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_ContractorsMember_79faec7e-0b5b-4eba-abed-68482c4b1768" xlink:href="gww-20230930.xsd#gww_ContractorsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_cbfbffea-5d8a-4495-acc6-67622d5c4787" xlink:to="loc_gww_ContractorsMember_79faec7e-0b5b-4eba-abed-68482c4b1768" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_CommercialMember_7a36ff24-cf09-47dc-8fb9-9cc8f64bdf21" xlink:href="gww-20230930.xsd#gww_CommercialMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_cbfbffea-5d8a-4495-acc6-67622d5c4787" xlink:to="loc_gww_CommercialMember_7a36ff24-cf09-47dc-8fb9-9cc8f64bdf21" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_GovernmentCustomerMember_84920a17-c16d-4856-b5b1-44112bc9ab4a" xlink:href="gww-20230930.xsd#gww_GovernmentCustomerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_cbfbffea-5d8a-4495-acc6-67622d5c4787" xlink:to="loc_gww_GovernmentCustomerMember_84920a17-c16d-4856-b5b1-44112bc9ab4a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_HealthcareCustomerMember_9f94b493-64f7-419a-bc59-1f601dbaf45d" xlink:href="gww-20230930.xsd#gww_HealthcareCustomerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_cbfbffea-5d8a-4495-acc6-67622d5c4787" xlink:to="loc_gww_HealthcareCustomerMember_9f94b493-64f7-419a-bc59-1f601dbaf45d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_ManufacturingMember_e3bfb9b4-c9dc-4f18-aaa5-5d50abc6a522" xlink:href="gww-20230930.xsd#gww_ManufacturingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_cbfbffea-5d8a-4495-acc6-67622d5c4787" xlink:to="loc_gww_ManufacturingMember_e3bfb9b4-c9dc-4f18-aaa5-5d50abc6a522" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_RetailWholesaleMember_238b8f74-5e3d-47ec-9efb-e8e77a47b357" xlink:href="gww-20230930.xsd#gww_RetailWholesaleMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_cbfbffea-5d8a-4495-acc6-67622d5c4787" xlink:to="loc_gww_RetailWholesaleMember_238b8f74-5e3d-47ec-9efb-e8e77a47b357" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_TransportationMember_6e459f07-41b4-45dc-8824-7bad92d06b2d" xlink:href="gww-20230930.xsd#gww_TransportationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_cbfbffea-5d8a-4495-acc6-67622d5c4787" xlink:to="loc_gww_TransportationMember_6e459f07-41b4-45dc-8824-7bad92d06b2d" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_UtilitiesMember_95f8fe40-4350-4249-b63a-3728350896d3" xlink:href="gww-20230930.xsd#gww_UtilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_cbfbffea-5d8a-4495-acc6-67622d5c4787" xlink:to="loc_gww_UtilitiesMember_95f8fe40-4350-4249-b63a-3728350896d3" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_WarehousingMember_be5146e4-504c-485f-91c0-884296c45447" xlink:href="gww-20230930.xsd#gww_WarehousingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_cbfbffea-5d8a-4495-acc6-67622d5c4787" xlink:to="loc_gww_WarehousingMember_be5146e4-504c-485f-91c0-884296c45447" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_WholesaleMember_f73c6f4f-51c7-4cb1-8d11-4821c3522972" xlink:href="gww-20230930.xsd#gww_WholesaleMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_cbfbffea-5d8a-4495-acc6-67622d5c4787" xlink:to="loc_gww_WholesaleMember_f73c6f4f-51c7-4cb1-8d11-4821c3522972" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_OtherMember_ff0a017a-df49-4623-9f89-69def9cf65d4" xlink:href="gww-20230930.xsd#gww_OtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_cbfbffea-5d8a-4495-acc6-67622d5c4787" xlink:to="loc_gww_OtherMember_ff0a017a-df49-4623-9f89-69def9cf65d4" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_699e6329-c231-4ecd-bd67-c009a23c18b8" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_93b89958-8291-4a9d-8256-9fda2593cd87" xlink:to="loc_srt_ConsolidationItemsAxis_699e6329-c231-4ecd-bd67-c009a23c18b8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_699e6329-c231-4ecd-bd67-c009a23c18b8_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_699e6329-c231-4ecd-bd67-c009a23c18b8" xlink:to="loc_srt_ConsolidationItemsDomain_699e6329-c231-4ecd-bd67-c009a23c18b8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_a61fafd2-e739-4be3-883b-77b5baf39fd1" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_699e6329-c231-4ecd-bd67-c009a23c18b8" xlink:to="loc_srt_ConsolidationItemsDomain_a61fafd2-e739-4be3-883b-77b5baf39fd1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateNonSegmentMember_6fba3c8c-00cb-4c50-8191-ab6a300dfc33" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CorporateNonSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_a61fafd2-e739-4be3-883b-77b5baf39fd1" xlink:to="loc_us-gaap_CorporateNonSegmentMember_6fba3c8c-00cb-4c50-8191-ab6a300dfc33" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.grainger.com/role/PROPERTYBUILDINGSANDEQUIPMENTDetails" xlink:type="simple" xlink:href="gww-20230930.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_b336c830-a2b6-416b-a69a-8a942586eb8f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_def26aca-0f81-4c11-835f-7b5a5011abe2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_b336c830-a2b6-416b-a69a-8a942586eb8f" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_def26aca-0f81-4c11-835f-7b5a5011abe2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_57833e6c-e2dd-42a5-8c6a-a33263c7a431" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_b336c830-a2b6-416b-a69a-8a942586eb8f" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_57833e6c-e2dd-42a5-8c6a-a33263c7a431" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_b7db53d0-b6c7-44e5-99ac-d554d5c361c9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_b336c830-a2b6-416b-a69a-8a942586eb8f" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_b7db53d0-b6c7-44e5-99ac-d554d5c361c9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_16a0172d-009f-4a56-ab96-bc884f382804" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_b336c830-a2b6-416b-a69a-8a942586eb8f" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_16a0172d-009f-4a56-ab96-bc884f382804" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_24c9b76f-f6a4-4406-acd7-14925edf6fca" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_16a0172d-009f-4a56-ab96-bc884f382804" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_24c9b76f-f6a4-4406-acd7-14925edf6fca" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_24c9b76f-f6a4-4406-acd7-14925edf6fca_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_24c9b76f-f6a4-4406-acd7-14925edf6fca" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_24c9b76f-f6a4-4406-acd7-14925edf6fca_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_fcf7d812-5e3d-40f2-835e-9138bc1bbf58" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_24c9b76f-f6a4-4406-acd7-14925edf6fca" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_fcf7d812-5e3d-40f2-835e-9138bc1bbf58" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LandMember_8f202c7d-f0bf-4d4f-abec-5ef18ae4ae42" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LandMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_fcf7d812-5e3d-40f2-835e-9138bc1bbf58" xlink:to="loc_us-gaap_LandMember_8f202c7d-f0bf-4d4f-abec-5ef18ae4ae42" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BuildingAndBuildingImprovementsMember_084c2e8c-b201-4ff0-a0dd-28a9367671e2" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BuildingAndBuildingImprovementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_fcf7d812-5e3d-40f2-835e-9138bc1bbf58" xlink:to="loc_us-gaap_BuildingAndBuildingImprovementsMember_084c2e8c-b201-4ff0-a0dd-28a9367671e2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_FurnitureFixturesMachineryandEquipmentMember_3de18102-c49a-4b38-a09d-7f44007bdd17" xlink:href="gww-20230930.xsd#gww_FurnitureFixturesMachineryandEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_fcf7d812-5e3d-40f2-835e-9138bc1bbf58" xlink:to="loc_gww_FurnitureFixturesMachineryandEquipmentMember_3de18102-c49a-4b38-a09d-7f44007bdd17" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.grainger.com/role/GOODWILLANDOTHERINTANGIBLEASSETSBalancesandChangesinCarryingAmountsofGoodwillDetails" xlink:type="simple" xlink:href="gww-20230930.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_dde566ca-bf2f-46b5-8f86-b87f98e53f54" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GoodwillLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillRollForward_5349d84b-194c-46be-bb71-ed459c2fb803" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GoodwillRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillLineItems_dde566ca-bf2f-46b5-8f86-b87f98e53f54" xlink:to="loc_us-gaap_GoodwillRollForward_5349d84b-194c-46be-bb71-ed459c2fb803" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_c334530d-d631-47e6-9242-5459546b4eb4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Goodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_5349d84b-194c-46be-bb71-ed459c2fb803" xlink:to="loc_us-gaap_Goodwill_c334530d-d631-47e6-9242-5459546b4eb4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillForeignCurrencyTranslationGainLoss_831f55ae-2642-4383-84de-6ef8566781c4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GoodwillForeignCurrencyTranslationGainLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GoodwillRollForward_5349d84b-194c-46be-bb71-ed459c2fb803" xlink:to="loc_us-gaap_GoodwillForeignCurrencyTranslationGainLoss_831f55ae-2642-4383-84de-6ef8566781c4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_5d074e69-228c-492e-a363-80ccfe5721d5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Goodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfGoodwillTable_faeeac11-3984-4164-97e8-7cfb47613106" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfGoodwillTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GoodwillLineItems_dde566ca-bf2f-46b5-8f86-b87f98e53f54" xlink:to="loc_us-gaap_ScheduleOfGoodwillTable_faeeac11-3984-4164-97e8-7cfb47613106" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_7dda7efd-11ef-439e-a6c4-0422a61e42d7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_faeeac11-3984-4164-97e8-7cfb47613106" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_7dda7efd-11ef-439e-a6c4-0422a61e42d7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_7dda7efd-11ef-439e-a6c4-0422a61e42d7_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_7dda7efd-11ef-439e-a6c4-0422a61e42d7" xlink:to="loc_us-gaap_SegmentDomain_7dda7efd-11ef-439e-a6c4-0422a61e42d7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_11747aef-4c2f-4fe0-8925-dc4f7a6afacc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_7dda7efd-11ef-439e-a6c4-0422a61e42d7" xlink:to="loc_us-gaap_SegmentDomain_11747aef-4c2f-4fe0-8925-dc4f7a6afacc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_HighTouchSolutionsNAMember_82410000-7f30-4619-acaa-284644f33aeb" xlink:href="gww-20230930.xsd#gww_HighTouchSolutionsNAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_11747aef-4c2f-4fe0-8925-dc4f7a6afacc" xlink:to="loc_gww_HighTouchSolutionsNAMember_82410000-7f30-4619-acaa-284644f33aeb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_EndlessAssortmentMember_db644a91-d249-4ccf-b84b-1297722af4d7" xlink:href="gww-20230930.xsd#gww_EndlessAssortmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_11747aef-4c2f-4fe0-8925-dc4f7a6afacc" xlink:to="loc_gww_EndlessAssortmentMember_db644a91-d249-4ccf-b84b-1297722af4d7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_3bff1412-5806-4eb2-a6e4-e7c2bb3c77bd" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGoodwillTable_faeeac11-3984-4164-97e8-7cfb47613106" xlink:to="loc_srt_ConsolidationItemsAxis_3bff1412-5806-4eb2-a6e4-e7c2bb3c77bd" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_3bff1412-5806-4eb2-a6e4-e7c2bb3c77bd_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_3bff1412-5806-4eb2-a6e4-e7c2bb3c77bd" xlink:to="loc_srt_ConsolidationItemsDomain_3bff1412-5806-4eb2-a6e4-e7c2bb3c77bd_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_94dfc26e-b8a9-40ac-a96f-cff2043820a9" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_3bff1412-5806-4eb2-a6e4-e7c2bb3c77bd" xlink:to="loc_srt_ConsolidationItemsDomain_94dfc26e-b8a9-40ac-a96f-cff2043820a9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_af8d501d-069b-4170-bf02-c97bd2392d98" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_94dfc26e-b8a9-40ac-a96f-cff2043820a9" xlink:to="loc_us-gaap_OperatingSegmentsMember_af8d501d-069b-4170-bf02-c97bd2392d98" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MaterialReconcilingItemsMember_661ff702-5758-4dbf-82d6-3fbe8f20c5b1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MaterialReconcilingItemsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_94dfc26e-b8a9-40ac-a96f-cff2043820a9" xlink:to="loc_us-gaap_MaterialReconcilingItemsMember_661ff702-5758-4dbf-82d6-3fbe8f20c5b1" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.grainger.com/role/GOODWILLANDOTHERINTANGIBLEASSETSNarrativeDetails" xlink:type="simple" xlink:href="gww-20230930.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_42f0e055-5d0e-40d0-876f-8bfaba6f488b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillAndIntangibleAssetImpairment_af5bcce5-e6f3-4cb5-a7e3-691b1433113a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GoodwillAndIntangibleAssetImpairment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_42f0e055-5d0e-40d0-876f-8bfaba6f488b" xlink:to="loc_us-gaap_GoodwillAndIntangibleAssetImpairment_af5bcce5-e6f3-4cb5-a7e3-691b1433113a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillForeignCurrencyTranslationGainLoss_876f24c4-4d95-49ec-bf0c-2ab4752cb826" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GoodwillForeignCurrencyTranslationGainLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_42f0e055-5d0e-40d0-876f-8bfaba6f488b" xlink:to="loc_us-gaap_GoodwillForeignCurrencyTranslationGainLoss_876f24c4-4d95-49ec-bf0c-2ab4752cb826" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_1bae2f17-6495-41e5-8ba2-f5aa17d376e8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_42f0e055-5d0e-40d0-876f-8bfaba6f488b" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_1bae2f17-6495-41e5-8ba2-f5aa17d376e8" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_38f7a4f3-4c2e-483e-9ddc-e37bdae32e78" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_1bae2f17-6495-41e5-8ba2-f5aa17d376e8" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_38f7a4f3-4c2e-483e-9ddc-e37bdae32e78" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_38f7a4f3-4c2e-483e-9ddc-e37bdae32e78_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_38f7a4f3-4c2e-483e-9ddc-e37bdae32e78" xlink:to="loc_us-gaap_SegmentDomain_38f7a4f3-4c2e-483e-9ddc-e37bdae32e78_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_9ec7db07-5146-4d97-b9d5-ca4d37e5ccd8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_38f7a4f3-4c2e-483e-9ddc-e37bdae32e78" xlink:to="loc_us-gaap_SegmentDomain_9ec7db07-5146-4d97-b9d5-ca4d37e5ccd8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_HighTouchSolutionsNAMember_5411e6c2-76fb-48b8-85b4-f24f9be78e58" xlink:href="gww-20230930.xsd#gww_HighTouchSolutionsNAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_9ec7db07-5146-4d97-b9d5-ca4d37e5ccd8" xlink:to="loc_gww_HighTouchSolutionsNAMember_5411e6c2-76fb-48b8-85b4-f24f9be78e58" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_1dfc3429-f594-4dda-8b08-dbc041abc96c" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_1bae2f17-6495-41e5-8ba2-f5aa17d376e8" xlink:to="loc_srt_ConsolidationItemsAxis_1dfc3429-f594-4dda-8b08-dbc041abc96c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_1dfc3429-f594-4dda-8b08-dbc041abc96c_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_1dfc3429-f594-4dda-8b08-dbc041abc96c" xlink:to="loc_srt_ConsolidationItemsDomain_1dfc3429-f594-4dda-8b08-dbc041abc96c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_056b2836-19cf-4777-93cd-b3813e766c05" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_1dfc3429-f594-4dda-8b08-dbc041abc96c" xlink:to="loc_srt_ConsolidationItemsDomain_056b2836-19cf-4777-93cd-b3813e766c05" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_48e349d4-19c6-44fa-8c5e-b662164b683f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_056b2836-19cf-4777-93cd-b3813e766c05" xlink:to="loc_us-gaap_OperatingSegmentsMember_48e349d4-19c6-44fa-8c5e-b662164b683f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MaterialReconcilingItemsMember_0497112b-3146-4db7-bfa0-dc2402990ffb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MaterialReconcilingItemsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_056b2836-19cf-4777-93cd-b3813e766c05" xlink:to="loc_us-gaap_MaterialReconcilingItemsMember_0497112b-3146-4db7-bfa0-dc2402990ffb" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.grainger.com/role/GOODWILLANDOTHERINTANGIBLEASSETSBalanceinIntangibleAssetsNetDetails" xlink:type="simple" xlink:href="gww-20230930.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_StatementLineItems_de7717a0-aa58-48ca-8ba5-62ac34ee35cb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_113c9f6e-89ca-4f6e-95e5-4d1477739bc8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_de7717a0-aa58-48ca-8ba5-62ac34ee35cb" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_113c9f6e-89ca-4f6e-95e5-4d1477739bc8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_a7f390ec-e831-4c80-b394-ebaaf1bc1644" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_de7717a0-aa58-48ca-8ba5-62ac34ee35cb" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_a7f390ec-e831-4c80-b394-ebaaf1bc1644" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_4ac70d19-b35e-4b95-b8ff-825e2918a2cd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_de7717a0-aa58-48ca-8ba5-62ac34ee35cb" xlink:to="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_4ac70d19-b35e-4b95-b8ff-825e2918a2cd" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_a3e5809d-c20b-4cd4-82b4-5deb1c61a207" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_de7717a0-aa58-48ca-8ba5-62ac34ee35cb" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_a3e5809d-c20b-4cd4-82b4-5deb1c61a207" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_a8758647-c658-43b2-a12f-3443a101ce58" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_de7717a0-aa58-48ca-8ba5-62ac34ee35cb" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_a8758647-c658-43b2-a12f-3443a101ce58" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_16d85ce0-8b08-4e76-930a-5ffd12d7481f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_de7717a0-aa58-48ca-8ba5-62ac34ee35cb" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_16d85ce0-8b08-4e76-930a-5ffd12d7481f" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_025baf36-fa34-4ed3-9884-af8250cda92e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_de7717a0-aa58-48ca-8ba5-62ac34ee35cb" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_025baf36-fa34-4ed3-9884-af8250cda92e" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_30c36cea-f09e-464f-affa-273f4113ae66" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_de7717a0-aa58-48ca-8ba5-62ac34ee35cb" xlink:to="loc_us-gaap_StatementTable_30c36cea-f09e-464f-affa-273f4113ae66" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByAssetClassAxis_4342f279-1050-4b3f-b616-51b3f3032e9d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueByAssetClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_30c36cea-f09e-464f-affa-273f4113ae66" xlink:to="loc_us-gaap_FairValueByAssetClassAxis_4342f279-1050-4b3f-b616-51b3f3032e9d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_4342f279-1050-4b3f-b616-51b3f3032e9d_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_4342f279-1050-4b3f-b616-51b3f3032e9d" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_4342f279-1050-4b3f-b616-51b3f3032e9d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_08920b5c-da0f-49c6-866c-b1f9b3af6433" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_4342f279-1050-4b3f-b616-51b3f3032e9d" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_08920b5c-da0f-49c6-866c-b1f9b3af6433" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerRelatedIntangibleAssetsMember_88243307-5ee6-4913-beff-dc677ab44dcd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CustomerRelatedIntangibleAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_08920b5c-da0f-49c6-866c-b1f9b3af6433" xlink:to="loc_us-gaap_CustomerRelatedIntangibleAssetsMember_88243307-5ee6-4913-beff-dc677ab44dcd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TrademarksAndTradeNamesMember_8c21dd7a-7400-4a84-b79f-fc2d5662869f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_TrademarksAndTradeNamesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_08920b5c-da0f-49c6-866c-b1f9b3af6433" xlink:to="loc_us-gaap_TrademarksAndTradeNamesMember_8c21dd7a-7400-4a84-b79f-fc2d5662869f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefinitelivedIntangibleAssetsMember_af5fb6c8-902b-4041-b3fc-366c0344a39a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IndefinitelivedIntangibleAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_08920b5c-da0f-49c6-866c-b1f9b3af6433" xlink:to="loc_us-gaap_IndefinitelivedIntangibleAssetsMember_af5fb6c8-902b-4041-b3fc-366c0344a39a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_2f261be3-1341-4f1e-b7f3-2cd5da98db85" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SoftwareAndSoftwareDevelopmentCostsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_08920b5c-da0f-49c6-866c-b1f9b3af6433" xlink:to="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_2f261be3-1341-4f1e-b7f3-2cd5da98db85" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_8a7db542-5a5f-4c50-8a09-5bc0c9ffeefc" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_30c36cea-f09e-464f-affa-273f4113ae66" xlink:to="loc_srt_RangeAxis_8a7db542-5a5f-4c50-8a09-5bc0c9ffeefc" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_8a7db542-5a5f-4c50-8a09-5bc0c9ffeefc_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_8a7db542-5a5f-4c50-8a09-5bc0c9ffeefc" xlink:to="loc_srt_RangeMember_8a7db542-5a5f-4c50-8a09-5bc0c9ffeefc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_14b0a31d-1c99-4c3f-bdb6-9546f2acd418" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_8a7db542-5a5f-4c50-8a09-5bc0c9ffeefc" xlink:to="loc_srt_RangeMember_14b0a31d-1c99-4c3f-bdb6-9546f2acd418" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_WeightedAverageMember_51be17c7-58f3-42d4-a5a0-72944249fc4c" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_WeightedAverageMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_14b0a31d-1c99-4c3f-bdb6-9546f2acd418" xlink:to="loc_srt_WeightedAverageMember_51be17c7-58f3-42d4-a5a0-72944249fc4c" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.grainger.com/role/DEBTLongTermDebtInstrumentsDetails" xlink:type="simple" xlink:href="gww-20230930.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_255379c5-2e5a-44c4-9ccd-fbd0ac1e282f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_f3a24c1f-dedf-4fff-839c-7bf9335abd6e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_255379c5-2e5a-44c4-9ccd-fbd0ac1e282f" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_f3a24c1f-dedf-4fff-839c-7bf9335abd6e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLongTermDebt_938bd9bd-b7bf-4a1d-a1cb-73e1f3888710" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherLongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_255379c5-2e5a-44c4-9ccd-fbd0ac1e282f" xlink:to="loc_us-gaap_OtherLongTermDebt_938bd9bd-b7bf-4a1d-a1cb-73e1f3888710" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_7810f30f-545f-4bb6-ba9a-8d95cd7eed6c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_255379c5-2e5a-44c4-9ccd-fbd0ac1e282f" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_7810f30f-545f-4bb6-ba9a-8d95cd7eed6c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_1662b4de-6915-495a-af40-347f28832631" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_255379c5-2e5a-44c4-9ccd-fbd0ac1e282f" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_1662b4de-6915-495a-af40-347f28832631" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtFairValue_b6c48fad-d1e2-493f-b961-0b3f7e4e5b00" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_255379c5-2e5a-44c4-9ccd-fbd0ac1e282f" xlink:to="loc_us-gaap_LongTermDebtFairValue_b6c48fad-d1e2-493f-b961-0b3f7e4e5b00" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_OtherLongTermDebtFairValueDisclosure_f488a87c-c3a3-4eb7-ab7c-1fe3c48f0026" xlink:href="gww-20230930.xsd#gww_OtherLongTermDebtFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_255379c5-2e5a-44c4-9ccd-fbd0ac1e282f" xlink:to="loc_gww_OtherLongTermDebtFairValueDisclosure_f488a87c-c3a3-4eb7-ab7c-1fe3c48f0026" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_LongTermDebtGrossFairValueDisclosure_846252eb-3929-4bdb-a980-b85a3f80c95f" xlink:href="gww-20230930.xsd#gww_LongTermDebtGrossFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_255379c5-2e5a-44c4-9ccd-fbd0ac1e282f" xlink:to="loc_gww_LongTermDebtGrossFairValueDisclosure_846252eb-3929-4bdb-a980-b85a3f80c95f" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtCurrent_c3558cbf-ecac-442e-88fb-16d0496f63e4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_255379c5-2e5a-44c4-9ccd-fbd0ac1e282f" xlink:to="loc_us-gaap_LongTermDebtCurrent_c3558cbf-ecac-442e-88fb-16d0496f63e4" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_LongTermDebtCurrentMaturitiesFairValueDisclosure_b4a94910-8e02-41fc-839d-81237786d0b3" xlink:href="gww-20230930.xsd#gww_LongTermDebtCurrentMaturitiesFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_255379c5-2e5a-44c4-9ccd-fbd0ac1e282f" xlink:to="loc_gww_LongTermDebtCurrentMaturitiesFairValueDisclosure_b4a94910-8e02-41fc-839d-81237786d0b3" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNetFairValue_ca12b6bc-628a-4f4b-be32-3000246fb18d" xlink:href="gww-20230930.xsd#gww_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNetFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_255379c5-2e5a-44c4-9ccd-fbd0ac1e282f" xlink:to="loc_gww_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNetFairValue_ca12b6bc-628a-4f4b-be32-3000246fb18d" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_LongTermDebtExcludingCurrentMaturitiesFairValueDisclosure_82c9061c-0108-423a-8645-8d131c543c0b" xlink:href="gww-20230930.xsd#gww_LongTermDebtExcludingCurrentMaturitiesFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_255379c5-2e5a-44c4-9ccd-fbd0ac1e282f" xlink:to="loc_gww_LongTermDebtExcludingCurrentMaturitiesFairValueDisclosure_82c9061c-0108-423a-8645-8d131c543c0b" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_3d7ec609-9074-4850-8e5d-85bcfb6818bd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_255379c5-2e5a-44c4-9ccd-fbd0ac1e282f" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_3d7ec609-9074-4850-8e5d-85bcfb6818bd" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_fae7a575-e4eb-4031-85c2-284155fe09bf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_255379c5-2e5a-44c4-9ccd-fbd0ac1e282f" xlink:to="loc_us-gaap_DebtInstrumentTable_fae7a575-e4eb-4031-85c2-284155fe09bf" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_11852de1-fd8f-43e0-803f-71ce38832b16" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_fae7a575-e4eb-4031-85c2-284155fe09bf" xlink:to="loc_us-gaap_DebtInstrumentAxis_11852de1-fd8f-43e0-803f-71ce38832b16" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_11852de1-fd8f-43e0-803f-71ce38832b16_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_11852de1-fd8f-43e0-803f-71ce38832b16" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_11852de1-fd8f-43e0-803f-71ce38832b16_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_6e562c0b-78b5-4747-b9cf-b5b7be44a1cc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_11852de1-fd8f-43e0-803f-71ce38832b16" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_6e562c0b-78b5-4747-b9cf-b5b7be44a1cc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_UnsecuredSeniorNotes4.60Member_a13f1807-c041-4218-b8f6-ff3b3094aad1" xlink:href="gww-20230930.xsd#gww_UnsecuredSeniorNotes4.60Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_6e562c0b-78b5-4747-b9cf-b5b7be44a1cc" xlink:to="loc_gww_UnsecuredSeniorNotes4.60Member_a13f1807-c041-4218-b8f6-ff3b3094aad1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_UnsecuredSeniorNotes185Member_42b41844-49d4-4879-b4d2-2889d31642ea" xlink:href="gww-20230930.xsd#gww_UnsecuredSeniorNotes185Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_6e562c0b-78b5-4747-b9cf-b5b7be44a1cc" xlink:to="loc_gww_UnsecuredSeniorNotes185Member_42b41844-49d4-4879-b4d2-2889d31642ea" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_UnsecuredSeniorNotes4.20Member_edb5a8bd-bfa4-443e-bd34-ac4a1bf273cb" xlink:href="gww-20230930.xsd#gww_UnsecuredSeniorNotes4.20Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_6e562c0b-78b5-4747-b9cf-b5b7be44a1cc" xlink:to="loc_gww_UnsecuredSeniorNotes4.20Member_edb5a8bd-bfa4-443e-bd34-ac4a1bf273cb" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_UnsecuredSeniorNotes3.75Member_29969252-dc86-422a-8800-a4eb66809df5" xlink:href="gww-20230930.xsd#gww_UnsecuredSeniorNotes3.75Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_6e562c0b-78b5-4747-b9cf-b5b7be44a1cc" xlink:to="loc_gww_UnsecuredSeniorNotes3.75Member_29969252-dc86-422a-8800-a4eb66809df5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_4a4c1735-8686-460d-8c8a-73a7f9ee2a3e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_fae7a575-e4eb-4031-85c2-284155fe09bf" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_4a4c1735-8686-460d-8c8a-73a7f9ee2a3e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_4a4c1735-8686-460d-8c8a-73a7f9ee2a3e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_4a4c1735-8686-460d-8c8a-73a7f9ee2a3e" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_4a4c1735-8686-460d-8c8a-73a7f9ee2a3e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_914c6665-07f2-42a6-867b-b5472eb6d088" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_4a4c1735-8686-460d-8c8a-73a7f9ee2a3e" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_914c6665-07f2-42a6-867b-b5472eb6d088" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotesMember_93c41be9-6071-47cc-9f90-36bca597545b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_914c6665-07f2-42a6-867b-b5472eb6d088" xlink:to="loc_us-gaap_SeniorNotesMember_93c41be9-6071-47cc-9f90-36bca597545b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_YenDenominatedBankTermLoanMember_6512f265-619e-4cdb-859d-bb257abf2fd5" xlink:href="gww-20230930.xsd#gww_YenDenominatedBankTermLoanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_914c6665-07f2-42a6-867b-b5472eb6d088" xlink:to="loc_gww_YenDenominatedBankTermLoanMember_6512f265-619e-4cdb-859d-bb257abf2fd5" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.grainger.com/role/DEBTNarrativeDetails" xlink:type="simple" xlink:href="gww-20230930.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_9cbeddb8-e6b0-4712-a148-e4b8f668e078" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_daa75e4e-6be3-40c0-9f6b-3f362de2b68e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentFaceAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9cbeddb8-e6b0-4712-a148-e4b8f668e078" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_daa75e4e-6be3-40c0-9f6b-3f362de2b68e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsGross_9e08ec8b-8129-494a-bf3d-1061eb96408e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DeferredFinanceCostsGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9cbeddb8-e6b0-4712-a148-e4b8f668e078" xlink:to="loc_us-gaap_DeferredFinanceCostsGross_9e08ec8b-8129-494a-bf3d-1061eb96408e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_ed0389cc-245f-4ecb-ad72-fc447921aedf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9cbeddb8-e6b0-4712-a148-e4b8f668e078" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_ed0389cc-245f-4ecb-ad72-fc447921aedf" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_6c2de84c-af9f-400f-bf03-67d0f96856e8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9cbeddb8-e6b0-4712-a148-e4b8f668e078" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_6c2de84c-af9f-400f-bf03-67d0f96856e8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_DebtInstrumentNumberOfSemiAnnualPrincipalPayments_3fcbe27f-f2cb-458b-ad91-432cdf1128c3" xlink:href="gww-20230930.xsd#gww_DebtInstrumentNumberOfSemiAnnualPrincipalPayments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9cbeddb8-e6b0-4712-a148-e4b8f668e078" xlink:to="loc_gww_DebtInstrumentNumberOfSemiAnnualPrincipalPayments_3fcbe27f-f2cb-458b-ad91-432cdf1128c3" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtWeightedAverageInterestRateOverTime_6baf1a4d-8d3c-48bc-a572-aebe649700e9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtWeightedAverageInterestRateOverTime"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9cbeddb8-e6b0-4712-a148-e4b8f668e078" xlink:to="loc_us-gaap_LongTermDebtWeightedAverageInterestRateOverTime_6baf1a4d-8d3c-48bc-a572-aebe649700e9" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_dbfc9d96-0095-4a1c-8c53-0067aa3da339" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_9cbeddb8-e6b0-4712-a148-e4b8f668e078" xlink:to="loc_us-gaap_DebtInstrumentTable_dbfc9d96-0095-4a1c-8c53-0067aa3da339" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_158e10cb-f132-44e1-a1fe-66e948118508" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_dbfc9d96-0095-4a1c-8c53-0067aa3da339" xlink:to="loc_us-gaap_DebtInstrumentAxis_158e10cb-f132-44e1-a1fe-66e948118508" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_158e10cb-f132-44e1-a1fe-66e948118508_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_158e10cb-f132-44e1-a1fe-66e948118508" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_158e10cb-f132-44e1-a1fe-66e948118508_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_50f424e5-20d2-4ce8-9288-deb360333961" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_158e10cb-f132-44e1-a1fe-66e948118508" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_50f424e5-20d2-4ce8-9288-deb360333961" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_UnsecuredSeniorNotes185Member_ff6b41b7-21a6-4d74-994a-0ebdec222e1a" xlink:href="gww-20230930.xsd#gww_UnsecuredSeniorNotes185Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_50f424e5-20d2-4ce8-9288-deb360333961" xlink:to="loc_gww_UnsecuredSeniorNotes185Member_ff6b41b7-21a6-4d74-994a-0ebdec222e1a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_TermLoanAgreement005Member_db7bd0d4-f6dd-4773-bb68-ff02d911db57" xlink:href="gww-20230930.xsd#gww_TermLoanAgreement005Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_50f424e5-20d2-4ce8-9288-deb360333961" xlink:to="loc_gww_TermLoanAgreement005Member_db7bd0d4-f6dd-4773-bb68-ff02d911db57" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_45cfe0e0-a277-4fd3-b73b-58edb73a195b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_dbfc9d96-0095-4a1c-8c53-0067aa3da339" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_45cfe0e0-a277-4fd3-b73b-58edb73a195b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_45cfe0e0-a277-4fd3-b73b-58edb73a195b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_45cfe0e0-a277-4fd3-b73b-58edb73a195b" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_45cfe0e0-a277-4fd3-b73b-58edb73a195b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_4d8ba4b5-588e-4e9c-8f54-35303ef83b5d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_45cfe0e0-a277-4fd3-b73b-58edb73a195b" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_4d8ba4b5-588e-4e9c-8f54-35303ef83b5d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotesMember_87ba22bd-eecb-4736-95c6-e2f9b734b2ed" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_4d8ba4b5-588e-4e9c-8f54-35303ef83b5d" xlink:to="loc_us-gaap_SeniorNotesMember_87ba22bd-eecb-4736-95c6-e2f9b734b2ed" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_YenDenominatedBankTermLoanMember_05fb7fab-218e-4ab3-894a-8e1804002b71" xlink:href="gww-20230930.xsd#gww_YenDenominatedBankTermLoanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_4d8ba4b5-588e-4e9c-8f54-35303ef83b5d" xlink:to="loc_gww_YenDenominatedBankTermLoanMember_05fb7fab-218e-4ab3-894a-8e1804002b71" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.grainger.com/role/DERIVATIVEINSTRUMENTSNarrativeDetails" xlink:type="simple" xlink:href="gww-20230930.xsd#DERIVATIVEINSTRUMENTSNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.grainger.com/role/DERIVATIVEINSTRUMENTSNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLineItems_302cf725-37aa-4a5a-9df2-06b64eb52b1b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeNotionalAmount_1d73dd50-722d-487b-a4a9-4bc59bd0b3ac" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeNotionalAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_302cf725-37aa-4a5a-9df2-06b64eb52b1b" xlink:to="loc_us-gaap_DerivativeNotionalAmount_1d73dd50-722d-487b-a4a9-4bc59bd0b3ac" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsAndHedgesLiabilities_8f4944f9-376e-4f25-a5d1-4755b151c02b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeInstrumentsAndHedgesLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_302cf725-37aa-4a5a-9df2-06b64eb52b1b" xlink:to="loc_us-gaap_DerivativeInstrumentsAndHedgesLiabilities_8f4944f9-376e-4f25-a5d1-4755b151c02b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeTable_75dd5514-d5c5-4945-82fe-b6128675eb62" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_302cf725-37aa-4a5a-9df2-06b64eb52b1b" xlink:to="loc_us-gaap_DerivativeTable_75dd5514-d5c5-4945-82fe-b6128675eb62" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationAxis_27664404-d0aa-4295-9a96-a00ac71ec2df" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_HedgingDesignationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_75dd5514-d5c5-4945-82fe-b6128675eb62" xlink:to="loc_us-gaap_HedgingDesignationAxis_27664404-d0aa-4295-9a96-a00ac71ec2df" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationDomain_27664404-d0aa-4295-9a96-a00ac71ec2df_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_HedgingDesignationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_HedgingDesignationAxis_27664404-d0aa-4295-9a96-a00ac71ec2df" xlink:to="loc_us-gaap_HedgingDesignationDomain_27664404-d0aa-4295-9a96-a00ac71ec2df_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationDomain_40098852-07ab-4df8-b53c-90bd41c60316" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_HedgingDesignationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_HedgingDesignationAxis_27664404-d0aa-4295-9a96-a00ac71ec2df" xlink:to="loc_us-gaap_HedgingDesignationDomain_40098852-07ab-4df8-b53c-90bd41c60316" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DesignatedAsHedgingInstrumentMember_5825e1c8-e67e-4345-932e-1cb1eb69ecb4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DesignatedAsHedgingInstrumentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_40098852-07ab-4df8-b53c-90bd41c60316" xlink:to="loc_us-gaap_DesignatedAsHedgingInstrumentMember_5825e1c8-e67e-4345-932e-1cb1eb69ecb4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_ac4f25c7-a1a4-4403-9d9b-000743b07e42" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_75dd5514-d5c5-4945-82fe-b6128675eb62" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_ac4f25c7-a1a4-4403-9d9b-000743b07e42" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingRelationshipDomain_ac4f25c7-a1a4-4403-9d9b-000743b07e42_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_HedgingRelationshipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_ac4f25c7-a1a4-4403-9d9b-000743b07e42" xlink:to="loc_us-gaap_HedgingRelationshipDomain_ac4f25c7-a1a4-4403-9d9b-000743b07e42_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingRelationshipDomain_ae730cbd-a1c0-4f02-a1ba-33f70b0e3f91" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_HedgingRelationshipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_ac4f25c7-a1a4-4403-9d9b-000743b07e42" xlink:to="loc_us-gaap_HedgingRelationshipDomain_ae730cbd-a1c0-4f02-a1ba-33f70b0e3f91" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueHedgingMember_93e9854c-7065-4534-a1c5-26a5251671fc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueHedgingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingRelationshipDomain_ae730cbd-a1c0-4f02-a1ba-33f70b0e3f91" xlink:to="loc_us-gaap_FairValueHedgingMember_93e9854c-7065-4534-a1c5-26a5251671fc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_33ff414b-0065-4c6f-a53c-977470733c05" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_75dd5514-d5c5-4945-82fe-b6128675eb62" xlink:to="loc_us-gaap_DebtInstrumentAxis_33ff414b-0065-4c6f-a53c-977470733c05" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_33ff414b-0065-4c6f-a53c-977470733c05_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_33ff414b-0065-4c6f-a53c-977470733c05" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_33ff414b-0065-4c6f-a53c-977470733c05_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_8e85409b-9fce-445a-9acb-3af6b0b33843" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_33ff414b-0065-4c6f-a53c-977470733c05" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_8e85409b-9fce-445a-9acb-3af6b0b33843" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_UnsecuredSeniorNotes185Member_ba4baee4-2e08-4d57-ae55-ef4351570eb2" xlink:href="gww-20230930.xsd#gww_UnsecuredSeniorNotes185Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_8e85409b-9fce-445a-9acb-3af6b0b33843" xlink:to="loc_gww_UnsecuredSeniorNotes185Member_ba4baee4-2e08-4d57-ae55-ef4351570eb2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_5881b125-b42a-4f00-89d6-4c97706d72b1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_75dd5514-d5c5-4945-82fe-b6128675eb62" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_5881b125-b42a-4f00-89d6-4c97706d72b1" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_5881b125-b42a-4f00-89d6-4c97706d72b1_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_5881b125-b42a-4f00-89d6-4c97706d72b1" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_5881b125-b42a-4f00-89d6-4c97706d72b1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_eca35a50-fbaf-42d9-9dfd-1021d98cfbe4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_5881b125-b42a-4f00-89d6-4c97706d72b1" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_eca35a50-fbaf-42d9-9dfd-1021d98cfbe4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeniorNotesMember_aec798c2-f222-4064-828d-5b1ecbe87090" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SeniorNotesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_eca35a50-fbaf-42d9-9dfd-1021d98cfbe4" xlink:to="loc_us-gaap_SeniorNotesMember_aec798c2-f222-4064-828d-5b1ecbe87090" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.grainger.com/role/DERIVATIVEINSTRUMENTSEffectofFairValueHedgesinInterestExpenseNetDetails" xlink:type="simple" xlink:href="gww-20230930.xsd#DERIVATIVEINSTRUMENTSEffectofFairValueHedgesinInterestExpenseNetDetails"/>
  <link:definitionLink xlink:role="http://www.grainger.com/role/DERIVATIVEINSTRUMENTSEffectofFairValueHedgesinInterestExpenseNetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_65b4847f-a9b2-4981-abf7-7ac56b96ba19" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeInstrumentsGainLossLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_14b22fee-f833-4acc-a2ed-08ead8c8e435" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_65b4847f-a9b2-4981-abf7-7ac56b96ba19" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_14b22fee-f833-4acc-a2ed-08ead8c8e435" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_eb10d61d-26fa-4d71-89e4-4714519fb544" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_65b4847f-a9b2-4981-abf7-7ac56b96ba19" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_eb10d61d-26fa-4d71-89e4-4714519fb544" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_80ceefd0-51fe-4f8d-8a93-1da78beb27a0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_eb10d61d-26fa-4d71-89e4-4714519fb544" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_80ceefd0-51fe-4f8d-8a93-1da78beb27a0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_80ceefd0-51fe-4f8d-8a93-1da78beb27a0_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_80ceefd0-51fe-4f8d-8a93-1da78beb27a0" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_80ceefd0-51fe-4f8d-8a93-1da78beb27a0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_2f42eb8d-e6e4-4b88-8370-8929839fe320" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_80ceefd0-51fe-4f8d-8a93-1da78beb27a0" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_2f42eb8d-e6e4-4b88-8370-8929839fe320" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherContractMember_e3b251da-46c3-4513-8d85-3fb2ca04f0c0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherContractMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_2f42eb8d-e6e4-4b88-8370-8929839fe320" xlink:to="loc_us-gaap_OtherContractMember_e3b251da-46c3-4513-8d85-3fb2ca04f0c0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateSwapMember_6900390f-68fa-4a85-9414-11935ab95b30" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestRateSwapMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_2f42eb8d-e6e4-4b88-8370-8929839fe320" xlink:to="loc_us-gaap_InterestRateSwapMember_6900390f-68fa-4a85-9414-11935ab95b30" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_3aacdbf3-0e54-4cae-808a-21eb566d3fbf" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_eb10d61d-26fa-4d71-89e4-4714519fb544" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_3aacdbf3-0e54-4cae-808a-21eb566d3fbf" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingRelationshipDomain_3aacdbf3-0e54-4cae-808a-21eb566d3fbf_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_HedgingRelationshipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_3aacdbf3-0e54-4cae-808a-21eb566d3fbf" xlink:to="loc_us-gaap_HedgingRelationshipDomain_3aacdbf3-0e54-4cae-808a-21eb566d3fbf_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingRelationshipDomain_d3267639-60db-4cfd-a3fb-51ffb94d6bfb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_HedgingRelationshipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_3aacdbf3-0e54-4cae-808a-21eb566d3fbf" xlink:to="loc_us-gaap_HedgingRelationshipDomain_d3267639-60db-4cfd-a3fb-51ffb94d6bfb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueHedgingMember_1d3a1fa9-cae0-4d50-96c1-ad277db0dc74" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueHedgingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingRelationshipDomain_d3267639-60db-4cfd-a3fb-51ffb94d6bfb" xlink:to="loc_us-gaap_FairValueHedgingMember_1d3a1fa9-cae0-4d50-96c1-ad277db0dc74" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationAxis_d2d939e6-41f2-417a-a968-35365c4c074f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_HedgingDesignationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_eb10d61d-26fa-4d71-89e4-4714519fb544" xlink:to="loc_us-gaap_HedgingDesignationAxis_d2d939e6-41f2-417a-a968-35365c4c074f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationDomain_d2d939e6-41f2-417a-a968-35365c4c074f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_HedgingDesignationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_HedgingDesignationAxis_d2d939e6-41f2-417a-a968-35365c4c074f" xlink:to="loc_us-gaap_HedgingDesignationDomain_d2d939e6-41f2-417a-a968-35365c4c074f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationDomain_a98fc01c-5de2-4b36-8608-c32406d65c2f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_HedgingDesignationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_HedgingDesignationAxis_d2d939e6-41f2-417a-a968-35365c4c074f" xlink:to="loc_us-gaap_HedgingDesignationDomain_a98fc01c-5de2-4b36-8608-c32406d65c2f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DesignatedAsHedgingInstrumentMember_52bbb096-c794-4ed0-be7d-31015a3b5585" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DesignatedAsHedgingInstrumentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_a98fc01c-5de2-4b36-8608-c32406d65c2f" xlink:to="loc_us-gaap_DesignatedAsHedgingInstrumentMember_52bbb096-c794-4ed0-be7d-31015a3b5585" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.grainger.com/role/DERIVATIVEINSTRUMENTSFairValueandCarryingAmountsofOutstandingDerivativeInstrumentsDetails" xlink:type="simple" xlink:href="gww-20230930.xsd#DERIVATIVEINSTRUMENTSFairValueandCarryingAmountsofOutstandingDerivativeInstrumentsDetails"/>
  <link:definitionLink xlink:role="http://www.grainger.com/role/DERIVATIVEINSTRUMENTSFairValueandCarryingAmountsofOutstandingDerivativeInstrumentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLineItems_51e81a85-bba6-4cfb-879a-059859f6f75e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueGrossLiability_4f332652-7df7-4d90-9800-8140009808f1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeAssetFairValueGrossLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_51e81a85-bba6-4cfb-879a-059859f6f75e" xlink:to="loc_us-gaap_DerivativeAssetFairValueGrossLiability_4f332652-7df7-4d90-9800-8140009808f1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeTable_ff54e40e-2e2f-4722-9fb8-99e544153a12" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_51e81a85-bba6-4cfb-879a-059859f6f75e" xlink:to="loc_us-gaap_DerivativeTable_ff54e40e-2e2f-4722-9fb8-99e544153a12" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_9aa5ba5a-8a71-4437-aae3-d5a5efb5a35e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_ff54e40e-2e2f-4722-9fb8-99e544153a12" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_9aa5ba5a-8a71-4437-aae3-d5a5efb5a35e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_9aa5ba5a-8a71-4437-aae3-d5a5efb5a35e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_9aa5ba5a-8a71-4437-aae3-d5a5efb5a35e" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_9aa5ba5a-8a71-4437-aae3-d5a5efb5a35e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_80d93fea-2635-4303-8fb3-171065a3af6d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_9aa5ba5a-8a71-4437-aae3-d5a5efb5a35e" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_80d93fea-2635-4303-8fb3-171065a3af6d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateSwapMember_59927ec2-cf0d-45ba-9df7-6062f458f572" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestRateSwapMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_80d93fea-2635-4303-8fb3-171065a3af6d" xlink:to="loc_us-gaap_InterestRateSwapMember_59927ec2-cf0d-45ba-9df7-6062f458f572" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationAxis_53696738-2865-4cc1-bf2a-c4d247a2c214" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_HedgingDesignationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_ff54e40e-2e2f-4722-9fb8-99e544153a12" xlink:to="loc_us-gaap_HedgingDesignationAxis_53696738-2865-4cc1-bf2a-c4d247a2c214" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationDomain_53696738-2865-4cc1-bf2a-c4d247a2c214_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_HedgingDesignationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_HedgingDesignationAxis_53696738-2865-4cc1-bf2a-c4d247a2c214" xlink:to="loc_us-gaap_HedgingDesignationDomain_53696738-2865-4cc1-bf2a-c4d247a2c214_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationDomain_09132686-fbe1-46a1-abd7-18c76f5c5e17" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_HedgingDesignationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_HedgingDesignationAxis_53696738-2865-4cc1-bf2a-c4d247a2c214" xlink:to="loc_us-gaap_HedgingDesignationDomain_09132686-fbe1-46a1-abd7-18c76f5c5e17" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DesignatedAsHedgingInstrumentMember_46e6b5d9-000e-4bd4-ad8e-a2409f644b7a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DesignatedAsHedgingInstrumentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_09132686-fbe1-46a1-abd7-18c76f5c5e17" xlink:to="loc_us-gaap_DesignatedAsHedgingInstrumentMember_46e6b5d9-000e-4bd4-ad8e-a2409f644b7a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_48de5b60-a730-45aa-a503-4d173ac03f86" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BalanceSheetLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_ff54e40e-2e2f-4722-9fb8-99e544153a12" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_48de5b60-a730-45aa-a503-4d173ac03f86" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_48de5b60-a730-45aa-a503-4d173ac03f86_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_48de5b60-a730-45aa-a503-4d173ac03f86" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_48de5b60-a730-45aa-a503-4d173ac03f86_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_72d69508-680c-45b2-add6-ab15329f35c6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_BalanceSheetLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_48de5b60-a730-45aa-a503-4d173ac03f86" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_72d69508-680c-45b2-add6-ab15329f35c6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncurrentLiabilitiesMember_46a5c072-de16-4b20-a66d-9cbbe17c0282" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherNoncurrentLiabilitiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_72d69508-680c-45b2-add6-ab15329f35c6" xlink:to="loc_us-gaap_OtherNoncurrentLiabilitiesMember_46a5c072-de16-4b20-a66d-9cbbe17c0282" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.grainger.com/role/SEGMENTINFORMATIONSummaryofSegmentResultsDetails" xlink:type="simple" xlink:href="gww-20230930.xsd#SEGMENTINFORMATIONSummaryofSegmentResultsDetails"/>
  <link:definitionLink xlink:role="http://www.grainger.com/role/SEGMENTINFORMATIONSummaryofSegmentResultsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_b547ace4-0506-4fec-8dff-531ed811cb72" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_1138dd86-c16a-4a17-b901-fd8c10392913" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_b547ace4-0506-4fec-8dff-531ed811cb72" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_1138dd86-c16a-4a17-b901-fd8c10392913" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_c0a38fcc-7826-415d-92fc-acb717991c66" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_b547ace4-0506-4fec-8dff-531ed811cb72" xlink:to="loc_us-gaap_OperatingIncomeLoss_c0a38fcc-7826-415d-92fc-acb717991c66" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_560dc7e2-a8e0-4e31-8398-b8461348a5ed" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_b547ace4-0506-4fec-8dff-531ed811cb72" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_560dc7e2-a8e0-4e31-8398-b8461348a5ed" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_ee8e0868-9a7f-41cb-998f-bded31165bc1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_560dc7e2-a8e0-4e31-8398-b8461348a5ed" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_ee8e0868-9a7f-41cb-998f-bded31165bc1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_ee8e0868-9a7f-41cb-998f-bded31165bc1_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_ee8e0868-9a7f-41cb-998f-bded31165bc1" xlink:to="loc_us-gaap_SegmentDomain_ee8e0868-9a7f-41cb-998f-bded31165bc1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_356ffe61-a103-4765-9eb1-ea025ff6a968" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_ee8e0868-9a7f-41cb-998f-bded31165bc1" xlink:to="loc_us-gaap_SegmentDomain_356ffe61-a103-4765-9eb1-ea025ff6a968" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_HighTouchSolutionsNAMember_44cbc5ac-17cd-4980-afae-28f593e8e12c" xlink:href="gww-20230930.xsd#gww_HighTouchSolutionsNAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_356ffe61-a103-4765-9eb1-ea025ff6a968" xlink:to="loc_gww_HighTouchSolutionsNAMember_44cbc5ac-17cd-4980-afae-28f593e8e12c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_EndlessAssortmentMember_f16a7c56-01de-45bf-95dd-623302f87cbb" xlink:href="gww-20230930.xsd#gww_EndlessAssortmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_356ffe61-a103-4765-9eb1-ea025ff6a968" xlink:to="loc_gww_EndlessAssortmentMember_f16a7c56-01de-45bf-95dd-623302f87cbb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_1e6ffcec-7257-43ff-b7c7-c3a53e441619" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_560dc7e2-a8e0-4e31-8398-b8461348a5ed" xlink:to="loc_srt_ConsolidationItemsAxis_1e6ffcec-7257-43ff-b7c7-c3a53e441619" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_1e6ffcec-7257-43ff-b7c7-c3a53e441619_default" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_1e6ffcec-7257-43ff-b7c7-c3a53e441619" xlink:to="loc_srt_ConsolidationItemsDomain_1e6ffcec-7257-43ff-b7c7-c3a53e441619_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_fc15b100-d567-4c84-8eea-81c5442a8992" xlink:href="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_1e6ffcec-7257-43ff-b7c7-c3a53e441619" xlink:to="loc_srt_ConsolidationItemsDomain_fc15b100-d567-4c84-8eea-81c5442a8992" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_987c79e9-2620-4f8b-a64b-2778265f27b0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_fc15b100-d567-4c84-8eea-81c5442a8992" xlink:to="loc_us-gaap_OperatingSegmentsMember_987c79e9-2620-4f8b-a64b-2778265f27b0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MaterialReconcilingItemsMember_6de00ed2-c9a3-45be-bacd-65e87167d316" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MaterialReconcilingItemsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_fc15b100-d567-4c84-8eea-81c5442a8992" xlink:to="loc_us-gaap_MaterialReconcilingItemsMember_6de00ed2-c9a3-45be-bacd-65e87167d316" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.grainger.com/role/SUBSEQUENTEVENTSDetails" xlink:type="simple" xlink:href="gww-20230930.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_f9974472-c188-4201-b204-874856798d3e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsequentEventLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityExpirationPeriod_76375d95-111e-4dc2-b732-80e8a0cbc21e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityExpirationPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_f9974472-c188-4201-b204-874856798d3e" xlink:to="loc_us-gaap_LineOfCreditFacilityExpirationPeriod_76375d95-111e-4dc2-b732-80e8a0cbc21e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_bbbce048-a335-4a48-9abb-3cd1d9eead1f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_f9974472-c188-4201-b204-874856798d3e" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_bbbce048-a335-4a48-9abb-3cd1d9eead1f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_LineOfCreditFacilityNumberOfExtension_4222c4fe-8b0f-44c2-baa7-8b2413ccfb13" xlink:href="gww-20230930.xsd#gww_LineOfCreditFacilityNumberOfExtension"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_f9974472-c188-4201-b204-874856798d3e" xlink:to="loc_gww_LineOfCreditFacilityNumberOfExtension_4222c4fe-8b0f-44c2-baa7-8b2413ccfb13" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_LineOfCreditFacilityExtensionPeriod_ace2c36a-0864-4612-a2f4-0f43c6815dc9" xlink:href="gww-20230930.xsd#gww_LineOfCreditFacilityExtensionPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_f9974472-c188-4201-b204-874856798d3e" xlink:to="loc_gww_LineOfCreditFacilityExtensionPeriod_ace2c36a-0864-4612-a2f4-0f43c6815dc9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsPayableAmountPerShare_3bfe641e-1e58-4052-970c-08aace330a4c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DividendsPayableAmountPerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_f9974472-c188-4201-b204-874856798d3e" xlink:to="loc_us-gaap_DividendsPayableAmountPerShare_3bfe641e-1e58-4052-970c-08aace330a4c" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTable_07236a22-93d1-4411-867b-58887d37d8c0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsequentEventTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SubsequentEventLineItems_f9974472-c188-4201-b204-874856798d3e" xlink:to="loc_us-gaap_SubsequentEventTable_07236a22-93d1-4411-867b-58887d37d8c0" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_63971b68-92f6-429f-ad1b-cee258bdab08" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsequentEventTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_07236a22-93d1-4411-867b-58887d37d8c0" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_63971b68-92f6-429f-ad1b-cee258bdab08" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_63971b68-92f6-429f-ad1b-cee258bdab08_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_63971b68-92f6-429f-ad1b-cee258bdab08" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_63971b68-92f6-429f-ad1b-cee258bdab08_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_c64ede3c-dbc8-43af-8184-4d4dbfbdc408" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_63971b68-92f6-429f-ad1b-cee258bdab08" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_c64ede3c-dbc8-43af-8184-4d4dbfbdc408" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventMember_496c795c-66bd-49d1-b367-ae94646b6373" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_SubsequentEventMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_c64ede3c-dbc8-43af-8184-4d4dbfbdc408" xlink:to="loc_us-gaap_SubsequentEventMember_496c795c-66bd-49d1-b367-ae94646b6373" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_8f2f79a8-1590-4cb4-8ba7-d42157a0bb16" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_07236a22-93d1-4411-867b-58887d37d8c0" xlink:to="loc_us-gaap_CreditFacilityAxis_8f2f79a8-1590-4cb4-8ba7-d42157a0bb16" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_8f2f79a8-1590-4cb4-8ba7-d42157a0bb16_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_8f2f79a8-1590-4cb4-8ba7-d42157a0bb16" xlink:to="loc_us-gaap_CreditFacilityDomain_8f2f79a8-1590-4cb4-8ba7-d42157a0bb16_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_10f10652-cad9-4022-b91b-acd7c9f642c9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_8f2f79a8-1590-4cb4-8ba7-d42157a0bb16" xlink:to="loc_us-gaap_CreditFacilityDomain_10f10652-cad9-4022-b91b-acd7c9f642c9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_6512b248-a560-4bc0-8415-85f997ec9b7e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_10f10652-cad9-4022-b91b-acd7c9f642c9" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_6512b248-a560-4bc0-8415-85f997ec9b7e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_4cd6df6f-a609-4a73-8636-cf7056535bfa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_07236a22-93d1-4411-867b-58887d37d8c0" xlink:to="loc_us-gaap_DebtInstrumentAxis_4cd6df6f-a609-4a73-8636-cf7056535bfa" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_4cd6df6f-a609-4a73-8636-cf7056535bfa_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_4cd6df6f-a609-4a73-8636-cf7056535bfa" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_4cd6df6f-a609-4a73-8636-cf7056535bfa_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_28c3cc53-6fac-4fec-9116-bd526d994722" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_4cd6df6f-a609-4a73-8636-cf7056535bfa" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_28c3cc53-6fac-4fec-9116-bd526d994722" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_A2023CreditFacilityMember_2d98b463-1f19-4b2f-a058-9d209017f7b5" xlink:href="gww-20230930.xsd#gww_A2023CreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_28c3cc53-6fac-4fec-9116-bd526d994722" xlink:to="loc_gww_A2023CreditFacilityMember_2d98b463-1f19-4b2f-a058-9d209017f7b5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_e6c22cc0-46bb-48ca-aec3-525040e039c9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_07236a22-93d1-4411-867b-58887d37d8c0" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_e6c22cc0-46bb-48ca-aec3-525040e039c9" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_e6c22cc0-46bb-48ca-aec3-525040e039c9_default" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_e6c22cc0-46bb-48ca-aec3-525040e039c9" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_e6c22cc0-46bb-48ca-aec3-525040e039c9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_69a3cf11-8df4-492b-bb07-6ae0ba9e9b64" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_e6c22cc0-46bb-48ca-aec3-525040e039c9" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_69a3cf11-8df4-492b-bb07-6ae0ba9e9b64" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_2bb44d64-2161-4dd7-a2d1-6e4bd51f327c" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_69a3cf11-8df4-492b-bb07-6ae0ba9e9b64" xlink:to="loc_us-gaap_LineOfCreditMember_2bb44d64-2161-4dd7-a2d1-6e4bd51f327c" 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/2023/ecd-2023.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/2023/ecd-2023.xsd#ecd_AllIndividualsMember"/>
    <link:loc xlink:type="locator" xlink:label="loc_gww_DGMacphersonMember_f72a78eb-4f6c-4571-b816-d26fbc755265" xlink:href="gww-20230930.xsd#gww_DGMacphersonMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ecd_AllIndividualsMember" xlink:to="loc_gww_DGMacphersonMember_f72a78eb-4f6c-4571-b816-d26fbc755265" xlink:type="arc" order="2"/>
  </link:definitionLink>
</link:linkbase>
