<?xml version="1.0" encoding="UTF-8"?><edgarSubmission xmlns="http://www.sec.gov/edgar/ownership" xmlns:ns2="http://www.sec.gov/edgar/common">
    <headerData>
        <submissionType>144</submissionType>
        <filerInfo>
            <filer>
                <filerCredentials>
                    <cik>0001451437</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>
                <ns2:street1>100 Grainger Parkway</ns2:street1>
                <ns2:city>Lake Forest</ns2:city>
                <ns2:stateOrCountry>IL</ns2:stateOrCountry>
                <ns2:zipCode>60045-5201</ns2:zipCode>
            </issuerAddress>
            <issuerContactPhone>8475351000</issuerContactPhone>
            <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>DONALD MACPHERSON</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
            <relationshipsToIssuer>
                <relationshipToIssuer>Officer</relationshipToIssuer>
            </relationshipsToIssuer>
        </issuerInfo>
        <securitiesInformation>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <brokerOrMarketmakerDetails>
                <name>Morgan Stanley Smith Barney LLC Executive Financial Services</name>
                <address>
                    <ns2:street1>1 New York Plaza</ns2:street1>
                    <ns2:street2>38th Fl.</ns2:street2>
                    <ns2:city>New York</ns2:city>
                    <ns2:stateOrCountry>NY</ns2:stateOrCountry>
                    <ns2:zipCode>10004</ns2:zipCode>
                </address>
            </brokerOrMarketmakerDetails>
            <noOfUnitsSold>4955</noOfUnitsSold>
            <aggregateMarketValue>4015333.80</aggregateMarketValue>
            <noOfUnitsOutstanding>49634000</noOfUnitsOutstanding>
            <approxSaleDate>11/28/2023</approxSaleDate>
            <securitiesExchangeName>NYSE</securitiesExchangeName>
        </securitiesInformation>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>10/01/2023</acquiredDate>
            <natureOfAcquisitionTransaction>Performance Stock Units</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>4955</amountOfSecuritiesAcquired>
            <paymentDate>10/01/2023</paymentDate>
            <natureOfPayment>N/A</natureOfPayment>
        </securitiesToBeSold>
        <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
        <noticeSignature>
            <noticeDate>11/28/2023</noticeDate>
            <planAdoptionDates>
                <planAdoptionDate>08/29/2023</planAdoptionDate>
            </planAdoptionDates>
            <signature>/s/ Donald Macpherson</signature>
        </noticeSignature>
    </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 3307}]
144
0001451437
XXXXXXXX
LIVE
0000277135
W W GRAINGER INC
001-05684
100 Grainger Parkway
Lake Forest
IL
60045-5201
8475351000
DONALD MACPHERSON
Officer
Common
Morgan Stanley Smith Barney LLC Executive Financial Services
1 New York Plaza
38th Fl.
New York
NY
10004
4955
4015333.80
49634000
11/28/2023
NYSE
Common
10/01/2023
Performance Stock Units
Issuer
N
4955
10/01/2023
N/A
Y
11/28/2023
08/29/2023
/s/ Donald Macpherson