v3.25.4
Shareholders' Equity - Narrative (Details) - USD ($)
$ / shares in Units, $ in Millions
12 Months Ended
Jan. 31, 2026
Jan. 31, 2025
Jan. 31, 2024
Feb. 28, 2026
Jan. 31, 2023
Nov. 30, 2022
Shareholders' Equity            
Common stock, par (in USD per share) $ 0.10 $ 0.10        
Common stock, shares authorized (in shares) 33,000,000,000.0 33,000,000,000.0        
Preferred stock, par value (in dollars per share) $ 0.10          
Preferred stock, shares authorized (in shares) 100,000,000          
Preferred stock, shares issued (in shares) 0          
Preferred stock, shares outstanding (in shares) 0          
Share-based compensation expense $ 3,603 $ 2,769 $ 2,093      
Purchase of noncontrolling interest     2,443      
Proceeds from issuance or sale of equity 111 362 716      
Tax benefit $ 900 $ 700 500      
Compensation awards (in shares) 215,000,000          
Walmart International            
Shareholders' Equity            
Share-based compensation expense $ 700          
PhonePe            
Shareholders' Equity            
Liability to noncontrolling interest holders     $ 900      
2022 Share Repurchase Program            
Shareholders' Equity            
Repurchase program           $ 20,000
Repurchase amount remaining $ 4,000          
2026 Share Repurchase Program | Subsequent Event            
Shareholders' Equity            
Repurchase program       $ 30,000    
PhonePe            
Shareholders' Equity            
Aggregate ownership, percent 73.00% 84.00% 84.00%   89.00%  
Flipkart            
Shareholders' Equity            
Aggregate ownership, percent     85.00%   75.00%  
Purchase of noncontrolling interest     $ 3,500      
Common Stock            
Shareholders' Equity            
Common shares, outstanding (in shares) 8,000,000,000.0 8,000,000,000.0        
Common shares, issued (in shares) 8,000,000,000.0 8,000,000,000.0        
Restricted Stock Units            
Shareholders' Equity            
Expected dividend rate 1.50% 2.00% 2.20%      
Unrecognized compensation cost $ 2,239 $ 2,243 $ 1,686      
Restricted Stock Units | Grants Made In Fiscal 2023 or Later | Quarterly            
Shareholders' Equity            
Award vesting rights, percentage 8.00%          
Restricted Stock Units | Grants Made In Fiscal 2023 or Later | Annual            
Shareholders' Equity            
Vesting period 3 years          
Restricted Stock Units | Grants Made in Fiscal 2020 Through Fiscal 2022 | Annual            
Shareholders' Equity            
Award vesting rights, percentage 25.00%          
Vesting period 4 years          
Restricted stock units            
Shareholders' Equity            
Share-based compensation expense $ 2,028 $ 1,909 $ 1,258      
Performance-based Restrict Stock Units            
Shareholders' Equity            
Vesting period 2 years          
Expected dividend rate 2.40% 3.20% 3.30%      
Performance period 1 year          
Option            
Shareholders' Equity            
Unrecognized compensation costs, options $ 3,000          
Minimum | Restricted stock units            
Shareholders' Equity            
Vesting period 1 month          
Minimum | Performance-based Restrict Stock Units            
Shareholders' Equity            
Award vesting rights, percentage 0.00%          
Vesting period 1 year          
Maximum | Restricted stock units            
Shareholders' Equity            
Vesting period 3 years          
Maximum | Performance-based Restrict Stock Units            
Shareholders' Equity            
Award vesting rights, percentage 150.00%          
Vesting period 3 years