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>0001729667</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>Judith J. McKenna</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
        <relationshipsToIssuer>
          <relationshipToIssuer>Executive Officer</relationshipToIssuer>
        </relationshipsToIssuer>
      </issuerInfo>
      <securitiesInformation>
        <securitiesClassTitle>Common Stock</securitiesClassTitle>
        <brokerOrMarketmakerDetails>
          <name>Fidelity Broker Service 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>54484</noOfUnitsSold>
        <aggregateMarketValue>3320892</aggregateMarketValue>
        <noOfUnitsOutstanding>8052792267</noOfUnitsOutstanding>
        <approxSaleDate>03/14/2024</approxSaleDate>
        <securitiesExchangeName>NYSE</securitiesExchangeName>
      </securitiesInformation>
      <securitiesToBeSold>
        <securitiesClassTitle>Common Stock</securitiesClassTitle>
        <acquiredDate>01/31/2022</acquiredDate>
        <natureOfAcquisitionTransaction>Equity grants pursuant to the issuers equity compensation plans</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Walmart Inc.</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>23181</amountOfSecuritiesAcquired>
        <paymentDate>03/12/2020</paymentDate>
        <natureOfPayment>All paid in full.</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common Stock</securitiesClassTitle>
        <acquiredDate>01/03/2023</acquiredDate>
        <natureOfAcquisitionTransaction>Equity grants pursuant to the issuers equity compensation plans</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Walmart Inc.</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>8300</amountOfSecuritiesAcquired>
        <paymentDate>01/07/2022</paymentDate>
        <natureOfPayment>All paid in full.</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common Stock</securitiesClassTitle>
        <acquiredDate>01/17/2023</acquiredDate>
        <natureOfAcquisitionTransaction>Equity grants pursuant to the issuers equity compensation plans</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Walmart Inc.</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>23003</amountOfSecuritiesAcquired>
        <paymentDate>01/13/2020</paymentDate>
        <natureOfPayment>All paid in full.</natureOfPayment>
      </securitiesToBeSold>
      <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
      <noticeSignature>
        <noticeDate>03/14/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": 4029}]
text: 144
  0001729667
  XXXXXXXX
  LIVE
  0000104169
  Walmart Inc.
  001-06991
  702 S.W. 8th Street
  Bentonville
  AR
  72716-0215
  479-273-4000
  Judith J. McKenna
  Executive Officer
  Common Stock
  Fidelity Broker Service LLC
  900 Salem Street
  Smithfield
  RI
  02917
  54484
  3320892
  8052792267
  03/14/2024
  NYSE
  Common Stock
  01/31/2022
  Equity grants pursuant to the issuers equity compensation plans
  Walmart Inc.
  N
  23181
  03/12/2020
  All paid in full.
  Common Stock
  01/03/2023
  Equity grants pursuant to the issuers equity compensation plans
  Walmart Inc.
  N
  8300
  01/07/2022
  All paid in full.
  Common Stock
  01/17/2023
  Equity grants pursuant to the issuers equity compensation plans
  Walmart Inc.
  N
  23003
  01/13/2020
  All paid in full.
  Y
  03/14/2024
  Geoff Edwards by power of attorney