content: <?xml version="1.0" encoding="UTF-8"?><edgarSubmission xmlns="http://www.sec.gov/edgar/ownership" xmlns:com="http://www.sec.gov/edgar/common">
    <!-- Generated by Workiva -->
    <headerData>
      <submissionType>144</submissionType>
      <filerInfo>
        <filer>
          <filerCredentials>
            <cik>0001335782</cik>
            <ccc>XXXXXXXX</ccc>
          </filerCredentials>
        </filer>
        <liveTestFlag>LIVE</liveTestFlag>
  
  
  
      </filerInfo>
    </headerData>
    <formData>
      <issuerInfo>
        <issuerCik>0000104169</issuerCik>
        <issuerName>Walmart Inc.</issuerName>
        <secFileNumber>001-06991</secFileNumber>
        <issuerAddress>
          <com:street1>702 S.W.8th Street</com:street1>
          <com:city>Bentonville</com:city>
          <com:stateOrCountry>AR</com:stateOrCountry>
          <com:zipCode>72716-0215</com:zipCode>
        </issuerAddress>
        <issuerContactPhone>479-273-4000</issuerContactPhone>
        <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>C. Douglas McMillon</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
        <relationshipsToIssuer>
          <relationshipToIssuer>Executive Officer</relationshipToIssuer>
        </relationshipsToIssuer>
      </issuerInfo>
      <securitiesInformation>
        <securitiesClassTitle>Common Stock</securitiesClassTitle>
        <brokerOrMarketmakerDetails>
          <name>Arvest Wealth Management</name>
          <address>
            <com:street1>405 S. Walton Blvd.</com:street1>
            <com:city>Bentonville</com:city>
            <com:stateOrCountry>AR</com:stateOrCountry>
            <com:zipCode>72712</com:zipCode>
          </address>
        </brokerOrMarketmakerDetails>
        <noOfUnitsSold>87372</noOfUnitsSold>
        <aggregateMarketValue>7018592.76</aggregateMarketValue>
        <noOfUnitsOutstanding>8038251174</noOfUnitsOutstanding>
        <approxSaleDate>09/26/2024</approxSaleDate>
        <securitiesExchangeName>NYSE</securitiesExchangeName>
      </securitiesInformation>
      <securitiesToBeSold>
        <securitiesClassTitle>Common Stock</securitiesClassTitle>
        <acquiredDate>03/17/2021</acquiredDate>
        <natureOfAcquisitionTransaction>Equity grants pursuant to the issuers equity compensation plans</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Walmart Inc.</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>87372</amountOfSecuritiesAcquired>
        <paymentDate>01/31/2023</paymentDate>
        <natureOfPayment>All paid in full.</natureOfPayment>
      </securitiesToBeSold>
      <nothingToReportFlagOnSecuritiesSoldInPast3Months>N</nothingToReportFlagOnSecuritiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>C. Douglas McMillon</name>
          <address>
            <com:street1>702 S.W. 8th Street</com:street1>
            <com:city>Bentonville</com:city>
            <com:stateOrCountry>AR</com:stateOrCountry>
            <com:zipCode>72716</com:zipCode>
          </address>
        </sellerDetails>
        <securitiesClassTitle>Common Stock</securitiesClassTitle>
        <saleDate>06/27/2024</saleDate>
        <amountOfSecuritiesSold>29124</amountOfSecuritiesSold>
        <grossProceeds>1991648</grossProceeds>
      </securitiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>C. Douglas McMillon</name>
          <address>
            <com:street1>702 S.W. 8th Street</com:street1>
            <com:city>Bentonville</com:city>
            <com:stateOrCountry>AR</com:stateOrCountry>
            <com:zipCode>72716</com:zipCode>
          </address>
        </sellerDetails>
        <securitiesClassTitle>Common Stock</securitiesClassTitle>
        <saleDate>07/25/2024</saleDate>
        <amountOfSecuritiesSold>29124</amountOfSecuritiesSold>
        <grossProceeds>2056521</grossProceeds>
      </securitiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>C. Douglas McMillon</name>
          <address>
            <com:street1>702 S.W. 8th Street</com:street1>
            <com:city>Bentonville</com:city>
            <com:stateOrCountry>AR</com:stateOrCountry>
            <com:zipCode>72716</com:zipCode>
          </address>
        </sellerDetails>
        <securitiesClassTitle>Common Stock</securitiesClassTitle>
        <saleDate>08/22/2024</saleDate>
        <amountOfSecuritiesSold>29124</amountOfSecuritiesSold>
        <grossProceeds>2203799</grossProceeds>
      </securitiesSoldInPast3Months>
      <noticeSignature>
        <noticeDate>09/24/2024</noticeDate>
        <signature>Geoff Edwards by power of attorney</signature>
      </noticeSignature>
    </formData>
  </edgarSubmission>
metadata_documents: [{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 4636}]
text: 144
  0001335782
  XXXXXXXX
  LIVE
  0000104169
  Walmart Inc.
  001-06991
  702 S.W.8th Street
  Bentonville
  AR
  72716-0215
  479-273-4000
  C. Douglas McMillon
  Executive Officer
  Common Stock
  Arvest Wealth Management
  405 S. Walton Blvd.
  Bentonville
  AR
  72712
  87372
  7018592.76
  8038251174
  09/26/2024
  NYSE
  Common Stock
  03/17/2021
  Equity grants pursuant to the issuers equity compensation plans
  Walmart Inc.
  N
  87372
  01/31/2023
  All paid in full.
  N
  C. Douglas McMillon
  702 S.W. 8th Street
  Bentonville
  AR
  72716
  Common Stock
  06/27/2024
  29124
  1991648
  C. Douglas McMillon
  702 S.W. 8th Street
  Bentonville
  AR
  72716
  Common Stock
  07/25/2024
  29124
  2056521
  C. Douglas McMillon
  702 S.W. 8th Street
  Bentonville
  AR
  72716
  Common Stock
  08/22/2024
  29124
  2203799
  09/24/2024
  Geoff Edwards by power of attorney