| | | | | | | | | | | | | | | | | | | | | |
<?xml version="1.0" encoding="windows-1252"?> |
<FilingSummary> |
| <Version> 3.23.1 </Version> |
| <ProcessingTime/> |
| <ReportFormat> html </ReportFormat> |
| <ContextCount> 3 </ContextCount> |
| <ElementCount> 22 </ElementCount> |
| <EntityCount> 1 </EntityCount> |
| <FootnotesReported> false </FootnotesReported> |
| <SegmentCount> 2 </SegmentCount> |
| <ScenarioCount> 0 </ScenarioCount> |
| <TuplesReported> false </TuplesReported> |
| <UnitCount> 0 </UnitCount> |
| <MyReports> |
| | <Report instance="wmt-20230531.htm"> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <HtmlFileName> R1.htm </HtmlFileName> |
| | | <LongName> 0000001 - Document - Document and Entity Information Document </LongName> |
| | | <ReportType> Sheet </ReportType> |
| | | <Role> http://www.walmart.com/role/DocumentandEntityInformationDocument </Role> |
| | | <ShortName> Document and Entity Information Document </ShortName> |
| | | <MenuCategory> Cover </MenuCategory> |
| | | <Position> 1 </Position> |
| | | </Report> |
| | <Report> |
| | | <IsDefault> false </IsDefault> |
| | | <HasEmbeddedReports> false </HasEmbeddedReports> |
| | | <LongName> All Reports </LongName> |
| | | <ReportType> Book </ReportType> |
| | | <ShortName> All Reports </ShortName> |
| | | </Report> |
| | </MyReports> |
| <InputFiles> |
| | <File doctype="8-K" original="wmt-20230531.htm"> wmt-20230531.htm </File> |
| | <File> wmt-20230531.xsd </File> |
| | <File> wmt-20230531_def.xml </File> |
| | <File> wmt-20230531_lab.xml </File> |
| | <File> wmt-20230531_pre.xml </File> |
| | </InputFiles> |
| <SupplementalFiles/> |
| <BaseTaxonomies> |
| | <BaseTaxonomy items="25"> http://xbrl.sec.gov/dei/2021q4 </BaseTaxonomy> |
| | </BaseTaxonomies> |
| <HasPresentationLinkbase> true </HasPresentationLinkbase> |
| <HasCalculationLinkbase> false </HasCalculationLinkbase> |
| </FilingSummary> |