<?xml version="1.0" encoding="UTF-8"?><edgarSubmission xmlns="http://www.sec.gov/edgar/ownership" xmlns:com="http://www.sec.gov/edgar/common">
  <headerData>
    <submissionType>144</submissionType>
    <filerInfo>
      <filer>
        <filerCredentials>
          <cik>0001186580</cik>
          <ccc>XXXXXXXX</ccc>
        </filerCredentials>
      </filer>
      <liveTestFlag>LIVE</liveTestFlag>



    </filerInfo>
  </headerData>
  <formData>
    <issuerInfo>
      <issuerCik>0000277135</issuerCik>
      <issuerName>W.W. GRAINGER, INC.</issuerName>
      <secFileNumber>001-05684</secFileNumber>
      <issuerAddress>
        <com:street1>100 GRAINGER PARKWAY</com:street1>
        <com:city>LAKE FOREST</com:city>
        <com:stateOrCountry>IL</com:stateOrCountry>
        <com:zipCode>60045-5201</com:zipCode>
      </issuerAddress>
      <issuerContactPhone>847-535-1000</issuerContactPhone>
      <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>HAILEY V ANN</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
      <relationshipsToIssuer>
        <relationshipToIssuer>Director</relationshipToIssuer>
      </relationshipsToIssuer>
    </issuerInfo>
    <securitiesInformation>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <brokerOrMarketmakerDetails>
        <name>Charles Schwab Corporation</name>
        <address>
          <com:street1>3000 Schwab Way</com:street1>
          <com:city>Westlake</com:city>
          <com:stateOrCountry>TX</com:stateOrCountry>
          <com:zipCode>76262</com:zipCode>
        </address>
      </brokerOrMarketmakerDetails>
      <noOfUnitsSold>5031</noOfUnitsSold>
      <aggregateMarketValue>4823119.00</aggregateMarketValue>
      <noOfUnitsOutstanding>49068805</noOfUnitsOutstanding>
      <approxSaleDate>05/13/2024</approxSaleDate>
      <securitiesExchangeName>NYSE</securitiesExchangeName>
    </securitiesInformation>
    <securitiesToBeSold>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <acquiredDate>04/26/2024</acquiredDate>
      <natureOfAcquisitionTransaction>Board Equity Compensation</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>5031</amountOfSecuritiesAcquired>
      <paymentDate>04/26/2024</paymentDate>
      <natureOfPayment>Board Equity Compensation</natureOfPayment>
    </securitiesToBeSold>
    <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
    <noticeSignature>
      <noticeDate>05/13/2024</noticeDate>
      <signature>V Ann Hailey</signature>
    </noticeSignature>
  </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 2727}]
144
0001186580
XXXXXXXX
LIVE
0000277135
W.W. GRAINGER, INC.
001-05684
100 GRAINGER PARKWAY
LAKE FOREST
IL
60045-5201
847-535-1000
HAILEY V ANN
Director
Common
Charles Schwab Corporation
3000 Schwab Way
Westlake
TX
76262
5031
4823119.00
49068805
05/13/2024
NYSE
Common
04/26/2024
Board Equity Compensation
Issuer
N
5031
04/26/2024
Board Equity Compensation
Y
05/13/2024
V Ann Hailey