For most eligible employees at a company offering a qualified plan with the standard 15% discount, an ESPP is worth it. Buying stock at $85 that trades at $100 is an immediate paper gain of about 17.6%, and it repeats every purchase period you stay enrolled. The return is hard to match with any conventional investment, even after taxes. The real questions are how to handle the shares once you own them, when to sell, and the handful of situations where the math actually stops working.
Where the Return Comes From
Federal law caps the ESPP discount at 15%. The purchase price cannot be less than 85% of the stock’s fair market value on either the offering date or the purchase date, whichever is lower.1Office of the Law Revision Counsel. 26 USC 423 – Employee Stock Purchase Plans Most large employers set the discount at the full 15%, and many add a lookback provision that turns a good deal into a very good one.
A lookback compares the stock price on the first day of the offering period to the price on the purchase date, then applies the 15% discount to whichever price is lower. If the stock was $100 at the start and $150 by the purchase date, you pay $85 for shares trading at $150. That’s a $65 spread on an $85 investment, roughly a 76% gain before taxes. If the stock dropped to $80 instead, the discount applies to $80, so you pay $68 for shares worth $80 and still lock in the discount. You benefit when the stock rises and stay protected when it falls.
Plans without a lookback simply apply the 15% discount to the purchase-date price. Still an instant return, just without the additional upside during strong stock performance.
When It Isn’t Worth It
A few situations flip the answer. If contributing to the ESPP means you can’t capture your full 401(k) employer match, fund the match first. You’re giving up guaranteed money to chase a smaller guaranteed return. If reduced take-home pay would push you toward high-interest credit card debt, the interest costs will outrun the discount quickly.
The other case is a non-qualified plan with no discount and no lookback. Those exist, and they amount to buying stock through payroll with no particular advantage over doing it yourself in a brokerage account. Non-qualified plans that do offer a discount still tend to make sense mathematically, but the tax bite is front-loaded: the discount is taxed as ordinary income on the purchase date, with Social Security and Medicare payroll taxes on top, rather than deferred until sale.
Everything else in this article assumes a qualified plan under Section 423, which is what most employers offer.
Sell Immediately or Hold
This is the decision that determines whether the plan is a modest perk or a meaningful wealth-builder, and it’s where the real risk lives.
Selling on the purchase date locks in the discount with almost no market risk. You’ll trigger what’s called a disqualifying disposition and pay ordinary income tax on the spread, but the return is still substantial. If the plan has a lookback and the stock has climbed during the offering period, the immediate gain can be far larger than 15%.
Holding longer can shift a portion of the gain from ordinary income to long-term capital gains rates, which top out at 20% for most people.2Internal Revenue Service. Topic No. 409, Capital Gains and Losses To get that treatment, you need a qualifying disposition: at least two years from the offering date and at least one year from the purchase date. In a qualifying disposition, the amount taxed as ordinary income is limited to the lesser of your actual gain or the original discount off the offering-date price. Everything above that is long-term capital gain.1Office of the Law Revision Counsel. 26 USC 423 – Employee Stock Purchase Plans
The tax savings sound appealing until you consider what you’re risking. Holding for a year or two means betting the stock won’t give back the gains you’ve already locked in on paper. A 25% drop while you wait for favorable treatment wipes out the discount entirely. For most participants, selling soon after purchase and moving the proceeds into a diversified portfolio is the lower-risk path. The guaranteed discount is the real prize; the tax bracket arbitrage is a smaller bet with real downside.
The Cost Basis Trap on Your Tax Return
One reporting issue catches more ESPP participants than any other. When you sell, your broker sends a Form 1099-B showing the proceeds and cost basis. That basis is frequently wrong. Brokers often report only the discounted price you paid, without adjusting for the ordinary income already included in your W-2. If you file the 1099-B numbers as-is, you’ll pay tax on the discount twice.
The fix is to adjust the basis on Form 8949 to include any amount already recognized as ordinary income.3Internal Revenue Service. Stocks (Options, Splits, Traders) 5 Your employer files Form 3922 after each purchase with the grant date, purchase date, fair market value on both, and the price you paid.4Internal Revenue Service. About Form 3922, Transfer of Stock Acquired Through an Employee Stock Purchase Plan Under Section 423(c) Keep every copy; those numbers are what you’ll need. Paying a tax professional a few hundred dollars to get this right in the first year is usually money well spent.
Concentration Risk
Your paycheck already depends on your employer. Adding a growing stock position in the same company doubles that exposure. If the company hits trouble, you can face a pay cut or layoff at the same moment your shares are dropping. That scenario played out at companies like Enron and Lehman Brothers.
A common guideline is to keep no more than 10% to 15% of your total investment portfolio in any single stock, counting ESPP shares, restricted stock units, and options together. If purchases are pushing you past that line, selling periodically and rebalancing into diversified funds is the straightforward fix. Capture the discount. Don’t hold concentrated positions indefinitely.
Watch for Wash Sales
If you sell ESPP shares at a loss and your plan automatically purchases new shares of the same stock within 30 days before or after the sale, the wash sale rule kicks in. The loss is disallowed and the disallowed amount is added to the cost basis of the newly purchased shares.5Office of the Law Revision Counsel. 26 USC 1091 – Loss From Wash Sales of Stock or Securities
This is easy to trigger accidentally. Plans buy on a fixed schedule you don’t control, so a loss sale within 30 days of an upcoming purchase date creates the wash. Check your plan’s purchase calendar before selling any shares at a loss, and keep at least a 31-day buffer.
Contribution Limits and Blackout Windows
Your right to purchase stock through your employer’s qualified ESPPs cannot accrue faster than $25,000 in fair market value per calendar year, measured using the stock price on the offering date rather than the discounted price you actually pay.1Office of the Law Revision Counsel. 26 USC 423 – Employee Stock Purchase Plans Employers commonly cap payroll deductions on top of that, often at 10% or 15% of compensation. Unused portions of the $25,000 don’t carry forward; if you only buy $15,000 this year, the other $10,000 disappears.6Internal Revenue Service. Internal Revenue Bulletin 2009-49
Even after shares land in your account, you may not be able to sell them on any given day. Many companies impose trading blackout periods around quarterly earnings, and if you actually have material non-public information you can’t trade until it becomes public, blackout or not.7Securities and Exchange Commission. Insider Trading Policy If you’re planning to sell immediately after each purchase, check whether the purchase date falls right before an earnings blackout.
Withdrawing or Leaving Your Job
Most qualified plans let you withdraw before the purchase date. Accumulated payroll deductions are refunded, no shares are purchased, and you typically have to wait until the next offering period to re-enroll. Specific withdrawal windows vary, so check your plan documents.
If you leave the company before a purchase date, any contributions that haven’t yet bought shares are refunded. Shares already purchased in earlier periods remain yours and stay in your brokerage account regardless of why you left. Departure doesn’t change the tax rules either; the holding period clocks for qualifying disposition treatment keep running from the original offering and purchase dates.
The Bottom Line
For eligible employees at companies offering a qualified plan with a real discount, contributing enough to capture the full discount without straining your budget is one of the simplest wealth-building moves available through an employer. Fund the 401(k) match first, avoid taking on high-interest debt to participate, and don’t let company shares grow into an outsized share of your portfolio. The guaranteed discount is the core value. The lookback bonus and any favorable tax treatment on qualifying dispositions are upside built on top of that foundation, not the reason to sign up.