<?xml version='1.0' encoding='UTF-8'?>
<FilingSummary>
  <Version>3.7.0.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>310</ContextCount>
  <ElementCount>358</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>90</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>7</UnitCount>
  <MyReports>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0001000 - Document - Document And Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/DocumentAndEntityInformation</Role>
      <ShortName>Document And Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1001000 - Statement - Consolidated Statements of Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/ConsolidatedStatementsOfIncome</Role>
      <ShortName>Consolidated Statements of Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1002000 - Statement - Consolidated Statements of Comprehensive Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/ConsolidatedStatementsOfComprehensiveIncome</Role>
      <ShortName>Consolidated Statements of Comprehensive Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1003000 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/ConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1004000 - Statement - Consolidated Statement Of Shareholders' Equity and Redeemable Noncontrolling Interest</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/ConsolidatedStatementOfShareholdersEquityAndRedeemableNoncontrollingInterest</Role>
      <ShortName>Consolidated Statement Of Shareholders' Equity and Redeemable Noncontrolling Interest</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1004501 - Statement - Consolidated Statement Of Shareholders' Equity and Redeemable Noncontrolling Interest (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/ConsolidatedStatementOfShareholdersEquityAndRedeemableNoncontrollingInterestParenthetical</Role>
      <ShortName>Consolidated Statement Of Shareholders' Equity and Redeemable Noncontrolling Interest (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>1005000 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/ConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>2101100 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/SummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>2103100 - Disclosure - Net Income Per Common Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/NetIncomePerCommonShare</Role>
      <ShortName>Net Income Per Common Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2104100 - Disclosure - Shareholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/ShareholdersEquity</Role>
      <ShortName>Shareholders' Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2105100 - Disclosure - Accumulated Other Comprehensive Income (Loss)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/AccumulatedOtherComprehensiveIncomeLoss</Role>
      <ShortName>Accumulated Other Comprehensive Income (Loss)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2107100 - Disclosure - Accrued Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/AccruedLiabilities</Role>
      <ShortName>Accrued Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2108100 - Disclosure - Short-term Borrowings and Long-term Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/ShortTermBorrowingsAndLongTermDebt</Role>
      <ShortName>Short-term Borrowings and Long-term Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2109100 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/FairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2110100 - Disclosure - Derivative Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/DerivativeFinancialInstruments</Role>
      <ShortName>Derivative Financial Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2111100 - Disclosure - Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/Taxes</Role>
      <ShortName>Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2112100 - Disclosure - Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/Contingencies</Role>
      <ShortName>Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2114100 - Disclosure - Commitments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/Commitments</Role>
      <ShortName>Commitments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2115100 - Disclosure - Retirement-Related Benefits</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/RetirementRelatedBenefits</Role>
      <ShortName>Retirement-Related Benefits</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2116100 - Disclosure - Acquisitions, Disposals, and Related Items</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/AcquisitionsDisposalsAndRelatedItems</Role>
      <ShortName>Acquisitions, Disposals, and Related Items</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2117100 - Disclosure - Segments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/Segments</Role>
      <ShortName>Segments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2118100 - Disclosure - Subsequent Event</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/SubsequentEvent</Role>
      <ShortName>Subsequent Event</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2119100 - Disclosure - Quarterly Financial Data (unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/QuarterlyFinancialDataUnaudited</Role>
      <ShortName>Quarterly Financial Data (unaudited)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2201201 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/SummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.walmart.com/role/SummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2301302 - Disclosure - Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/SummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.walmart.com/role/SummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2303301 - Disclosure - Net Income Per Common Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/NetIncomePerCommonShareTables</Role>
      <ShortName>Net Income Per Common Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.walmart.com/role/NetIncomePerCommonShare</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2304301 - Disclosure - Shareholders' Equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/ShareholdersEquityTables</Role>
      <ShortName>Shareholders' Equity (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.walmart.com/role/ShareholdersEquity</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2305301 - Disclosure - Accumulated Other Comprehensive Income (Loss) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/AccumulatedOtherComprehensiveIncomeLossTables</Role>
      <ShortName>Accumulated Other Comprehensive Income (Loss) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.walmart.com/role/AccumulatedOtherComprehensiveIncomeLoss</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2307301 - Disclosure - Accrued Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/AccruedLiabilitiesTables</Role>
      <ShortName>Accrued Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.walmart.com/role/AccruedLiabilities</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2308301 - Disclosure - Short-term Borrowings and Long-term Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/ShortTermBorrowingsAndLongTermDebtTables</Role>
      <ShortName>Short-term Borrowings and Long-term Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.walmart.com/role/ShortTermBorrowingsAndLongTermDebt</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2309301 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/FairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.walmart.com/role/FairValueMeasurements</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2310301 - Disclosure - Derivative Financial Instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/DerivativeFinancialInstrumentsTables</Role>
      <ShortName>Derivative Financial Instruments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.walmart.com/role/DerivativeFinancialInstruments</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2311301 - Disclosure - Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/TaxesTables</Role>
      <ShortName>Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.walmart.com/role/Taxes</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2312301 - Disclosure - Contingencies Schedule of FCPA Expenses (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/ContingenciesScheduleOfFcpaExpensesTables</Role>
      <ShortName>Contingencies Schedule of FCPA Expenses (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2314301 - Disclosure - Commitments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/CommitmentsTables</Role>
      <ShortName>Commitments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.walmart.com/role/Commitments</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2315301 - Disclosure - Retirement-Related Benefits (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/RetirementRelatedBenefitsTables</Role>
      <ShortName>Retirement-Related Benefits (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.walmart.com/role/RetirementRelatedBenefits</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2317301 - Disclosure - Segments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/SegmentsTables</Role>
      <ShortName>Segments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.walmart.com/role/Segments</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2318301 - Disclosure - Subsequent Event (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/SubsequentEventTables</Role>
      <ShortName>Subsequent Event (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.walmart.com/role/SubsequentEvent</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2319301 - Disclosure - Quarterly Financial Data (unaudited) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/QuarterlyFinancialDataUnauditedTables</Role>
      <ShortName>Quarterly Financial Data (unaudited) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.walmart.com/role/QuarterlyFinancialDataUnaudited</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2401403 - Disclosure - Summary of Significant Accounting Policies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/SummaryOfSignificantAccountingPoliciesDetails</Role>
      <ShortName>Summary of Significant Accounting Policies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.walmart.com/role/SummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2401404 - Disclosure - Summary of Significant Accounting Policies (Schedule of Property, Plant and Equipment) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/SummaryOfSignificantAccountingPoliciesScheduleOfPropertyPlantAndEquipmentDetails</Role>
      <ShortName>Summary of Significant Accounting Policies (Schedule of Property, Plant and Equipment) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.walmart.com/role/SummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2401405 - Disclosure - Summary of Significant Accounting Policies (Schedule of Goodwill) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/SummaryOfSignificantAccountingPoliciesScheduleOfGoodwillDetails</Role>
      <ShortName>Summary of Significant Accounting Policies (Schedule of Goodwill) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.walmart.com/role/SummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2401406 - Disclosure - Significant Accounting Policies (Schedule of Deferred Membership Fee) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/SignificantAccountingPoliciesScheduleOfDeferredMembershipFeeDetails</Role>
      <ShortName>Significant Accounting Policies (Schedule of Deferred Membership Fee) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2403402 - Disclosure - Net Income Per Common Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/NetIncomePerCommonShareDetails</Role>
      <ShortName>Net Income Per Common Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.walmart.com/role/NetIncomePerCommonShareTables</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2404402 - Disclosure - Shareholders' Equity (Narrative)(Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/ShareholdersEquityNarrativedetails</Role>
      <ShortName>Shareholders' Equity (Narrative)(Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.walmart.com/role/ShareholdersEquityTables</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2404403 - Disclosure - Shareholders' Equity (Schedule of share-based compensation expense) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/ShareholdersEquityScheduleOfShareBasedCompensationExpenseDetails</Role>
      <ShortName>Shareholders' Equity (Schedule of share-based compensation expense) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.walmart.com/role/ShareholdersEquityTables</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2404404 - Disclosure - Shareholders' Equity (Schedule of Activity) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/ShareholdersEquityScheduleOfActivityDetails</Role>
      <ShortName>Shareholders' Equity (Schedule of Activity) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.walmart.com/role/ShareholdersEquityTables</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2404405 - Disclosure - Shareholders' Equity (Schedule of Fair Value of Restricted Stock) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/ShareholdersEquityScheduleOfFairValueOfRestrictedStockDetails</Role>
      <ShortName>Shareholders' Equity (Schedule of Fair Value of Restricted Stock) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.walmart.com/role/ShareholdersEquityTables</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2404406 - Disclosure - Shareholders' Equity (Schedule of share repurchases) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/ShareholdersEquityScheduleOfShareRepurchasesDetails</Role>
      <ShortName>Shareholders' Equity (Schedule of share repurchases) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.walmart.com/role/ShareholdersEquityTables</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2405402 - Disclosure - Accumulated Other Comprehensive Income (Loss) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/AccumulatedOtherComprehensiveIncomeLossDetails</Role>
      <ShortName>Accumulated Other Comprehensive Income (Loss) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.walmart.com/role/AccumulatedOtherComprehensiveIncomeLossTables</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2407402 - Disclosure - Accrued Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/AccruedLiabilitiesDetails</Role>
      <ShortName>Accrued Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.walmart.com/role/AccruedLiabilitiesTables</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>2408402 - Disclosure - Short-term Borrowings and Long-term Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/ShortTermBorrowingsAndLongTermDebtDetails</Role>
      <ShortName>Short-term Borrowings and Long-term Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.walmart.com/role/ShortTermBorrowingsAndLongTermDebtTables</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>2408403 - Disclosure - Schedule of Lines of Credit (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/ScheduleOfLinesOfCreditDetails</Role>
      <ShortName>Schedule of Lines of Credit (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>2408404 - Disclosure - Schedule of Long-Term Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/ScheduleOfLongTermDebtDetails</Role>
      <ShortName>Schedule of Long-Term Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>2408405 - Disclosure - Schedule of Debt Maturities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/ScheduleOfDebtMaturitiesDetails</Role>
      <ShortName>Schedule of Debt Maturities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>2408406 - Disclosure - Schedule of Fiscal Year 2017 and 2016 Debt Maturities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/ScheduleOfFiscalYear2017And2016DebtMaturitiesDetails</Role>
      <ShortName>Schedule of Fiscal Year 2017 and 2016 Debt Maturities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>2409402 - Disclosure - Fair Value Measurements (Notional Amounts And Fair Values Of Interest Rate Swaps) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/FairValueMeasurementsNotionalAmountsAndFairValuesOfInterestRateSwapsDetails</Role>
      <ShortName>Fair Value Measurements (Notional Amounts And Fair Values Of Interest Rate Swaps) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.walmart.com/role/FairValueMeasurementsTables</ParentRole>
      <Position>57</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>2409403 - Disclosure - Fair Value Measurements (Carrying Value And Fair Value Of Long-Term Debt) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/FairValueMeasurementsCarryingValueAndFairValueOfLongTermDebtDetails</Role>
      <ShortName>Fair Value Measurements (Carrying Value And Fair Value Of Long-Term Debt) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.walmart.com/role/FairValueMeasurementsTables</ParentRole>
      <Position>58</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>2410402 - Disclosure - Derivative Financial Instruments (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/DerivativeFinancialInstrumentsNarrativeDetails</Role>
      <ShortName>Derivative Financial Instruments (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.walmart.com/role/DerivativeFinancialInstrumentsTables</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>2410403 - Disclosure - Derivative Financial Instruments (Balance Sheet Classification Of Financial Instruments) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/DerivativeFinancialInstrumentsBalanceSheetClassificationOfFinancialInstrumentsDetails</Role>
      <ShortName>Derivative Financial Instruments (Balance Sheet Classification Of Financial Instruments) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.walmart.com/role/DerivativeFinancialInstrumentsTables</ParentRole>
      <Position>60</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>2411402 - Disclosure - Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/TaxesDetails</Role>
      <ShortName>Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.walmart.com/role/TaxesTables</ParentRole>
      <Position>61</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>2411403 - Disclosure - Taxes Schedule of Income from Continuing Operations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/TaxesScheduleOfIncomeFromContinuingOperationsDetails</Role>
      <ShortName>Taxes Schedule of Income from Continuing Operations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>2411404 - Disclosure - Taxes Schedule of Income Tax Provision (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/TaxesScheduleOfIncomeTaxProvisionDetails</Role>
      <ShortName>Taxes Schedule of Income Tax Provision (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>2411405 - Disclosure - Taxes Schedule of Income Tax Rate (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/TaxesScheduleOfIncomeTaxRateDetails</Role>
      <ShortName>Taxes Schedule of Income Tax Rate (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>2411406 - Disclosure - Taxes Schedule of Deferred Tax Balances (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/TaxesScheduleOfDeferredTaxBalancesDetails</Role>
      <ShortName>Taxes Schedule of Deferred Tax Balances (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>2411407 - Disclosure - Taxes Schedule of Deferred Taxes in the Balance Sheet (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/TaxesScheduleOfDeferredTaxesInBalanceSheetDetails</Role>
      <ShortName>Taxes Schedule of Deferred Taxes in the Balance Sheet (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>2411408 - Disclosure - Taxes Schedule of Tax Reconciliation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/TaxesScheduleOfTaxReconciliationDetails</Role>
      <ShortName>Taxes Schedule of Tax Reconciliation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>2412402 - Disclosure - Contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/ContingenciesDetails</Role>
      <ShortName>Contingencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.walmart.com/role/ContingenciesScheduleOfFcpaExpensesTables</ParentRole>
      <Position>68</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>2412403 - Disclosure - Contingencies Schedule of FCPA Expenses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/ContingenciesScheduleOfFcpaExpensesDetails</Role>
      <ShortName>Contingencies Schedule of FCPA Expenses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.walmart.com/role/ContingenciesScheduleOfFcpaExpensesTables</ParentRole>
      <Position>69</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>2414402 - Disclosure - Commitments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/CommitmentsDetails</Role>
      <ShortName>Commitments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.walmart.com/role/CommitmentsTables</ParentRole>
      <Position>70</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>2414403 - Disclosure - Commitments Aggregate minimum rentals under non-cancelable leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/CommitmentsAggregateMinimumRentalsUnderNonCancelableLeasesDetails</Role>
      <ShortName>Commitments Aggregate minimum rentals under non-cancelable leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>2415402 - Disclosure - Retirement-Related Benefits (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/RetirementRelatedBenefitsDetails</Role>
      <ShortName>Retirement-Related Benefits (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.walmart.com/role/RetirementRelatedBenefitsTables</ParentRole>
      <Position>72</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>2415403 - Disclosure - Retirement-Related Benefits Schedule of Compensation Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/RetirementRelatedBenefitsScheduleOfCompensationExpenseDetails</Role>
      <ShortName>Retirement-Related Benefits Schedule of Compensation Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>2416401 - Disclosure - Acquisitions, Disposals, and Related Items Acquisitions, Disposals, and Related Items (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/AcquisitionsDisposalsAndRelatedItemsAcquisitionsDisposalsAndRelatedItemsDetails</Role>
      <ShortName>Acquisitions, Disposals, and Related Items Acquisitions, Disposals, and Related Items (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>2417402 - Disclosure - Segment Reconciliation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/SegmentReconciliationDetails</Role>
      <ShortName>Segment Reconciliation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>2417403 - Disclosure - Segment Revenues and Long-Lived Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/SegmentRevenuesAndLongLivedAssetsDetails</Role>
      <ShortName>Segment Revenues and Long-Lived Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>2418402 - Disclosure - Subsequent Event (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/SubsequentEventDetails</Role>
      <ShortName>Subsequent Event (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.walmart.com/role/SubsequentEventTables</ParentRole>
      <Position>77</Position>
    </Report>
    <Report instance="wmt-20170131.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>2419402 - Disclosure - Quarterly Financial Data (unaudited) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.walmart.com/role/QuarterlyFinancialDataUnauditedDetails</Role>
      <ShortName>Quarterly Financial Data (unaudited) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.walmart.com/role/QuarterlyFinancialDataUnauditedTables</ParentRole>
      <Position>78</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>wmt-20170131.xml</File>
    <File>wmt-20170131.xsd</File>
    <File>wmt-20170131_cal.xml</File>
    <File>wmt-20170131_def.xml</File>
    <File>wmt-20170131_lab.xml</File>
    <File>wmt-20170131_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies/>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
