If you own Walmart stock through your job or a brokerage account, you can expect anywhere from two to five tax forms each year covering that stock. The most common Walmart stock tax forms are Form W-2 (for compensation income from vested shares or exercised options), Form 1099-B (for any shares you sold), and Form 1099-DIV (for quarterly dividends). Employees in stock option or stock purchase plans may also receive Form 3921 or Form 3922, which do not report taxable income by themselves but supply the numbers you’ll need when you eventually sell.
Which forms arrive, and what each one requires you to do, depends on how you got the shares.
RSUs and Nonqualified Stock Options Show Up on Your W-2
Restricted Stock Units are taxed as wages on the day they vest. The fair market value of the shares that vested is added to Box 1 of your Form W-2, alongside your regular salary. Walmart withholds federal income tax, Social Security, and Medicare on that amount, typically by selling enough of the vesting shares to cover the tax through a sell-to-cover transaction. The shares deposited into your account are what’s left after that withholding.
The number to hold onto is the vesting-day value per share, because that becomes your cost basis. When you later sell, the taxable gain is only the appreciation above that vesting-day price. Ignore it and use whatever basis the broker prints, and you will very likely pay tax twice on the same money.
Nonqualified Stock Options work the same way at the form level. When you exercise NSOs, the spread between the exercise price and the market price that day is ordinary income and lands on your W-2. Your cost basis in the shares equals the market price on the exercise date, not the lower exercise price you actually paid. A cashless exercise or sell-to-cover will reduce the share count that hits your account.
Incentive Stock Options and Form 3921
Incentive Stock Options take a different route. Exercising an ISO does not put anything on your W-2 as long as you hold the shares long enough to qualify for favorable treatment. Instead, Walmart files Form 3921 reporting the exercise price and the fair market value on the exercise date, and sends you a copy.1Internal Revenue Service. Instructions for Forms 3921 and 3922
That form feeds two separate calculations. First, the Alternative Minimum Tax. The ISO spread is excluded from regular income but not from AMT, so the difference between fair market value and exercise price is reported on line 2i of Form 6251.2Internal Revenue Service. Instructions for Form 6251 This can produce a real tax bill on shares you haven’t sold.3Office of the Law Revision Counsel. 26 USC 56 – Adjustments in Computing Alternative Minimum Taxable Income
Second, the holding period at sale. Hold ISO shares at least two years after grant and one year after exercise, and the entire gain from exercise price to sale price is taxed at long-term capital gains rates. Sell before either threshold and you have a disqualifying disposition, which turns the spread into ordinary income on your W-2 or Schedule 1.4Internal Revenue Service. Topic No. 427, Stock Options
The Associate Stock Purchase Plan and Form 3922
Walmart’s Associate Stock Purchase Plan is a qualified employee stock purchase plan under Internal Revenue Code Section 423, letting employees buy shares at a discount through payroll deductions. The law caps the discount at 15% off fair market value.5Office of the Law Revision Counsel. 26 USC 423 – Employee Stock Purchase Plans When shares transfer into your brokerage account, you get Form 3922 listing the grant date, purchase date, purchase price, and fair market value on each of those dates.6Internal Revenue Service. Form 3922 – Transfer of Stock Acquired Through an Employee Stock Purchase Plan Under Section 423(c)
Form 3922 doesn’t report taxable income on its own. It’s a data sheet. What matters is how long you hold the shares before selling.
Qualifying Dispositions
For the best tax treatment, hold the shares more than two years after the grant date and more than one year after the purchase date.5Office of the Law Revision Counsel. 26 USC 423 – Employee Stock Purchase Plans Meet both, and only a portion of your profit is ordinary income: the lesser of your actual gain or the discount you received at purchase. Anything above that is a long-term capital gain.
Walmart should include the ordinary income portion on your W-2. If it doesn’t appear there, you report it on Schedule 1 of Form 1040.7Internal Revenue Service. Stocks (Options, Splits, Traders) 5 Either way, add that ordinary income to your purchase price to get your adjusted basis for Form 8949.
Disqualifying Dispositions
Sell before meeting either holding period and the full spread between your discounted purchase price and the fair market value on the purchase date becomes ordinary income on your W-2. Any further movement from that purchase-date value to the sale price is a capital gain or loss, short- or long-term based on how long you held.
Form 1099-B When You Sell
Every sale of Walmart stock produces a Form 1099-B from the brokerage, which reports sale date, proceeds, acquisition date, and cost basis to both you and the IRS.8Internal Revenue Service. About Form 1099-B, Proceeds from Broker and Barter Exchange Transactions Box 2 flags short-term (held one year or less) versus long-term, and Box 1e shows the basis the broker reported.9Internal Revenue Service. Instructions for Form 1099-B (2026)
For shares bought on the open market, the basis is usually right. For anything acquired through employee compensation, the basis is frequently wrong, sometimes drastically. That’s where the expensive mistakes happen.
Fixing the Broker’s Basis
The broker’s system often doesn’t know that RSU vesting or an NSO exercise already generated W-2 income. Your 1099-B may show a basis of zero, or only the grant or exercise price. Copy that onto your return and you will report a much larger capital gain than you actually had, paying tax again on income that already ran through payroll.
You fix this on Form 8949. Enter the broker’s reported basis in Column (e), put adjustment code B in Column (f), and enter the correction as a negative number in Column (g).10Internal Revenue Service. Instructions for Form 8949
An example. Your RSUs vested when Walmart was trading at $50, and that $50 per share went into your W-2. You later sell at $65. The 1099-B might report basis of $0, showing a $65 gain. On Form 8949 you enter $0 in Column (e), code B in Column (f), and –$50 in Column (g). Your real capital gain is $15 per share.
For a qualifying ESPP sale where ordinary income and capital gain need to be split, use code O in Column (f) instead. The ordinary income runs through wages (via W-2 or Schedule 1), and only the remaining long-term gain appears on Form 8949.
The Form 8949 totals then flow to Schedule D.11Internal Revenue Service. Instructions for Form 8949 Box 3 of the 1099-B tells you which reporting category to use: code A or D when the broker reported basis to the IRS, code B or E when it didn’t.
Form 1099-DIV for Dividends
Walmart pays quarterly dividends, and the brokerage totals them on Form 1099-DIV.12Internal Revenue Service. About Form 1099-DIV, Dividends and Distributions Box 1a is total ordinary dividends; Box 1b is the qualified portion, which is taxed at long-term capital gains rates.13Internal Revenue Service. Form 1099-DIV – Dividends and Distributions Both figures move to Form 1040. For long-term Walmart shareholders, essentially all dividends will be qualified; if you received shares just before a dividend payment, some may be taxed as ordinary income instead.14Internal Revenue Service. IRS News Release IR-2004-22
If your dividends totaled under $10 and nothing was withheld, the broker may skip the 1099-DIV. You still owe the tax.
Gifted, Inherited, and Donated Shares
Receiving Walmart stock as a gift doesn’t generate a tax form for you. The giver may need to file Form 709 if the gift exceeds the annual exclusion, which is $19,000 per recipient for 2026.15Internal Revenue Service. About Form 709, United States Gift (and Generation-Skipping Transfer) Tax Return Your basis is generally the giver’s original basis, a carryover rule.16Office of the Law Revision Counsel. 26 U.S. Code 1015 – Basis of Property Acquired by Gifts and Transfers in Trust If the shares were worth less than the giver’s basis on the gift date, your basis for calculating a loss is that lower fair market value. Get the giver’s purchase records; the 1099-B won’t reflect any of this.
Inherited shares are simpler. Basis steps up to the fair market value on the date of death.17Office of the Law Revision Counsel. 26 U.S. Code 1014 – Basis of Property Acquired From a Decedent Prior appreciation is wiped out for tax purposes. Verify the stepped-up basis on your eventual 1099-B against estate records.
Donating appreciated Walmart shares held longer than a year lets you deduct full fair market value and skip capital gains tax on the appreciation. The deduction is capped at 30% of adjusted gross income for appreciated stock given to a public charity, with a five-year carryforward for the excess.18Internal Revenue Service. Publication 526, Charitable Contributions File Form 8283 if the total donated stock deduction exceeds $500, using the more detailed Section B if it exceeds $5,000.19Internal Revenue Service. Instructions for Form 8283 Transfer the shares directly. If you sell first and donate cash, you owe the capital gains tax and lose the main benefit.
Two Extra Tax Hits on Big Stock Years
A large vesting event or a big sale can trigger the 3.8% Net Investment Income Tax if your modified adjusted gross income tops $200,000 single, $250,000 married filing jointly, or $125,000 married filing separately.20Internal Revenue Service. Net Investment Income Tax The surtax hits the lesser of your net investment income or the amount over the threshold.21Office of the Law Revision Counsel. 26 USC 1411 – Imposition of Tax RSU wages count toward that threshold even though they aren’t investment income, so a big vesting year can pull your regular dividends into the surtax.
The other pitfall is estimated tax. Walmart’s payroll withholding covers RSU vesting itself, but nothing is withheld on capital gains when you sell later. If you expect to owe $1,000 or more and your withholding won’t hit 90% of current-year tax or 100% of prior-year tax (110% if prior-year AGI exceeded $150,000), you owe quarterly payments on Form 1040-ES.22Internal Revenue Service. Large Gains, Lump Sum Distributions, Etc. Underpayment can bring an accuracy-related penalty.23Internal Revenue Service.
Keep W-2s, 1099-Bs, Forms 3921 and 3922, and brokerage confirmation statements for at least three years after filing the return that reports the sale.24Internal Revenue Service. How Long Should I Keep Records That’s the standard audit window; understate income by more than 25% and it stretches to six years. For shares you still hold, keep the basis records indefinitely. The vesting confirmation for RSUs, exercise records for options, and Form 3922 for ESPP shares are irreplaceable if the broker’s numbers are wrong when you finally sell. The three-year clock starts when you file the return for the year of sale, not the year of purchase.How Long to Keep the Records