content: <?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>0001630650</cik>
            <ccc>XXXXXXXX</ccc>
          </filerCredentials>
        </filer>
        <liveTestFlag>LIVE</liveTestFlag>
  
  
      </filerInfo>
    </headerData>
    <formData>
      <issuerInfo>
        <issuerCik>0000049826</issuerCik>
        <issuerName>ILLINOIS TOOL WORKS INC</issuerName>
        <secFileNumber>001-04797</secFileNumber>
        <issuerAddress>
          <com:street1>155 HARLEM AVENUE</com:street1>
          <com:city>GLENVIEW</com:city>
          <com:stateOrCountry>IL</com:stateOrCountry>
          <com:zipCode>60025</com:zipCode>
        </issuerAddress>
        <issuerContactPhone>8477247500</issuerContactPhone>
        <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>Zimmerman Michael R.</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
        <relationshipsToIssuer>
          <relationshipToIssuer>Officer</relationshipToIssuer>
        </relationshipsToIssuer>
      </issuerInfo>
      <securitiesInformation>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <brokerOrMarketmakerDetails>
          <name>Fidelity Brokerage Services LLC</name>
          <address>
            <com:street1>900 Salem Street</com:street1>
            <com:city>Smithfield</com:city>
            <com:stateOrCountry>RI</com:stateOrCountry>
            <com:zipCode>02917</com:zipCode>
          </address>
        </brokerOrMarketmakerDetails>
        <noOfUnitsSold>15657</noOfUnitsSold>
        <aggregateMarketValue>4121576.67</aggregateMarketValue>
        <noOfUnitsOutstanding>295300000</noOfUnitsOutstanding>
        <approxSaleDate>11/01/2024</approxSaleDate>
        <securitiesExchangeName>NYSE</securitiesExchangeName>
      </securitiesInformation>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>02/10/2015</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>817</amountOfSecuritiesAcquired>
        <paymentDate>02/10/2015</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>02/15/2016</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>961</amountOfSecuritiesAcquired>
        <paymentDate>02/15/2016</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>02/14/2017</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>848</amountOfSecuritiesAcquired>
        <paymentDate>02/14/2017</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>02/13/2018</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>1955</amountOfSecuritiesAcquired>
        <paymentDate>02/13/2018</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>02/12/2019</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>2409</amountOfSecuritiesAcquired>
        <paymentDate>02/12/2019</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>02/10/2020</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>2242</amountOfSecuritiesAcquired>
        <paymentDate>02/10/2020</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>02/15/2021</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>1077</amountOfSecuritiesAcquired>
        <paymentDate>02/15/2021</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>02/15/2022</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>1303</amountOfSecuritiesAcquired>
        <paymentDate>02/15/2022</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>02/14/2023</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>1305</amountOfSecuritiesAcquired>
        <paymentDate>02/14/2023</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>02/12/2024</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>2740</amountOfSecuritiesAcquired>
        <paymentDate>02/12/2024</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
      <noticeSignature>
        <noticeDate>11/01/2024</noticeDate>
        <signature>/s/ Ryan Riviere, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for  Michael R. Zimmerman</signature>
      </noticeSignature>
    </formData>
  </edgarSubmission>
metadata_documents: [{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 7682}]
text: 144
  0001630650
  XXXXXXXX
  LIVE
  0000049826
  ILLINOIS TOOL WORKS INC
  001-04797
  155 HARLEM AVENUE
  GLENVIEW
  IL
  60025
  8477247500
  Zimmerman Michael R.
  Officer
  Common
  Fidelity Brokerage Services LLC
  900 Salem Street
  Smithfield
  RI
  02917
  15657
  4121576.67
  295300000
  11/01/2024
  NYSE
  Common
  02/10/2015
  Restricted Stock Vesting
  Issuer
  N
  817
  02/10/2015
  Compensation
  Common
  02/15/2016
  Restricted Stock Vesting
  Issuer
  N
  961
  02/15/2016
  Compensation
  Common
  02/14/2017
  Restricted Stock Vesting
  Issuer
  N
  848
  02/14/2017
  Compensation
  Common
  02/13/2018
  Restricted Stock Vesting
  Issuer
  N
  1955
  02/13/2018
  Compensation
  Common
  02/12/2019
  Restricted Stock Vesting
  Issuer
  N
  2409
  02/12/2019
  Compensation
  Common
  02/10/2020
  Restricted Stock Vesting
  Issuer
  N
  2242
  02/10/2020
  Compensation
  Common
  02/15/2021
  Restricted Stock Vesting
  Issuer
  N
  1077
  02/15/2021
  Compensation
  Common
  02/15/2022
  Restricted Stock Vesting
  Issuer
  N
  1303
  02/15/2022
  Compensation
  Common
  02/14/2023
  Restricted Stock Vesting
  Issuer
  N
  1305
  02/14/2023
  Compensation
  Common
  02/12/2024
  Restricted Stock Vesting
  Issuer
  N
  2740
  02/12/2024
  Compensation
  Y
  11/01/2024
  /s/ Ryan Riviere, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for  Michael R. Zimmerman