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>0001547433</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>Care of Walmart Inc</com:street1>
          <com:street2>702 S.W. 8th Street</com:street2>
          <com:city>Bentonville</com:city>
          <com:stateOrCountry>AR</com:stateOrCountry>
          <com:zipCode>72716</com:zipCode>
        </issuerAddress>
        <issuerContactPhone>479-273-4000</issuerContactPhone>
        <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>John D Rainey</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
        <relationshipsToIssuer>
          <relationshipToIssuer>Affiliate</relationshipToIssuer>
        </relationshipsToIssuer>
      </issuerInfo>
      <securitiesInformation>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <brokerOrMarketmakerDetails>
          <name>J.P. Morgan Securities LLC</name>
          <address>
            <com:street1>390 Madison Avenue</com:street1>
            <com:street2>6th Floor</com:street2>
            <com:city>New York</com:city>
            <com:stateOrCountry>NY</com:stateOrCountry>
            <com:zipCode>10013</com:zipCode>
          </address>
        </brokerOrMarketmakerDetails>
        <noOfUnitsSold>3000</noOfUnitsSold>
        <aggregateMarketValue>478770</aggregateMarketValue>
        <noOfUnitsOutstanding>2691563850</noOfUnitsOutstanding>
        <approxSaleDate>10/02/2023</approxSaleDate>
        <securitiesExchangeName>NYSE</securitiesExchangeName>
      </securitiesInformation>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>05/23/2022</acquiredDate>
        <natureOfAcquisitionTransaction>RSU Award</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>3000</amountOfSecuritiesAcquired>
        <paymentDate>05/23/2022</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <nothingToReportFlagOnSecuritiesSoldInPast3Months>N</nothingToReportFlagOnSecuritiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>John D. Rainey</name>
          <address>
            <com:street1>Care of Walmart Inc</com:street1>
            <com:street2>702 S.W. 8th Street</com:street2>
            <com:city>Bentonville</com:city>
            <com:stateOrCountry>AR</com:stateOrCountry>
            <com:zipCode>72716</com:zipCode>
          </address>
        </sellerDetails>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <saleDate>07/03/2023</saleDate>
        <amountOfSecuritiesSold>8526</amountOfSecuritiesSold>
        <grossProceeds>1346821.45</grossProceeds>
      </securitiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>John D. Rainey</name>
          <address>
            <com:street1>Care of Walmart Inc</com:street1>
            <com:street2>702 S.W. 8th Street</com:street2>
            <com:city>Bentonville</com:city>
            <com:stateOrCountry>AR</com:stateOrCountry>
            <com:zipCode>72716</com:zipCode>
          </address>
        </sellerDetails>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <saleDate>08/01/2023</saleDate>
        <amountOfSecuritiesSold>1000</amountOfSecuritiesSold>
        <grossProceeds>159476.22</grossProceeds>
      </securitiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>John D. Rainey</name>
          <address>
            <com:street1>Care of Walmart Inc</com:street1>
            <com:street2>702 S.W. 8th Street</com:street2>
            <com:city>Bentonville</com:city>
            <com:stateOrCountry>AR</com:stateOrCountry>
            <com:zipCode>72716</com:zipCode>
          </address>
        </sellerDetails>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <saleDate>09/01/2023</saleDate>
        <amountOfSecuritiesSold>1000</amountOfSecuritiesSold>
        <grossProceeds>161374.09</grossProceeds>
      </securitiesSoldInPast3Months>
      <remarks>This filing is for shares being sold for John David Rainey Jr. Revocable Trust.  These shares will be sold during the next 90 days.</remarks>
      <noticeSignature>
        <noticeDate>10/02/2023</noticeDate>
        <planAdoptionDates>
          <planAdoptionDate>03/24/2023</planAdoptionDate>
        </planAdoptionDates>
        <signature>/s/ J.P. Morgan Securities LLC as agent and attorney-in-fact for John D Rainey</signature>
      </noticeSignature>
    </formData>
  </edgarSubmission>
metadata_documents: [{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 5084}]
text: 144
  0001547433
  XXXXXXXX
  LIVE
  0000104169
  Walmart Inc
  001-06991
  Care of Walmart Inc
  702 S.W. 8th Street
  Bentonville
  AR
  72716
  479-273-4000
  John D Rainey
  Affiliate
  Common
  J.P. Morgan Securities LLC
  390 Madison Avenue
  6th Floor
  New York
  NY
  10013
  3000
  478770
  2691563850
  10/02/2023
  NYSE
  Common
  05/23/2022
  RSU Award
  Issuer
  N
  3000
  05/23/2022
  Compensation
  N
  John D. Rainey
  Care of Walmart Inc
  702 S.W. 8th Street
  Bentonville
  AR
  72716
  Common
  07/03/2023
  8526
  1346821.45
  John D. Rainey
  Care of Walmart Inc
  702 S.W. 8th Street
  Bentonville
  AR
  72716
  Common
  08/01/2023
  1000
  159476.22
  John D. Rainey
  Care of Walmart Inc
  702 S.W. 8th Street
  Bentonville
  AR
  72716
  Common
  09/01/2023
  1000
  161374.09
  This filing is for shares being sold for John David Rainey Jr. Revocable Trust.  These shares will be sold during the next 90 days.
  10/02/2023
  03/24/2023
  /s/ J.P. Morgan Securities LLC as agent and attorney-in-fact for John D Rainey