ESPP contributions are not pre-tax in the way your 401(k) is, but they do get special tax treatment

An Employee Stock Purchase Plan (ESPP) lets you buy company stock through payroll deductions, often at a discount. The money comes out of your paycheck, but it is not deducted from your taxable wages the way a 401(k) contribution is. You pay income tax on the full amount of your salary, then use what remains to buy the stock.

However, the discount itself—the difference between what you pay and what the stock is worth on the day you buy it—may be taxed later when you sell, not when you purchase. This is where ESPP gets its tax advantage. The timing and amount of tax you owe depends on how long you hold the stock and which type of ESPP your employer offers.

Key Takeaways

  • ESPP contributions come from after-tax pay, so you pay income tax on your full salary even though some goes to stock purchases.
  • The discount you receive when buying stock at a reduced price is taxed as income, but the timing depends on when you sell the shares.
  • If you sell shares within two years of the offering date or one year of the purchase date, the discount counts as ordinary income and the gain is short-term capital gain.
  • If you hold shares longer than both waiting periods, only the gain above the discounted price is taxed, and it may be taxed at the lower capital gains rate.
  • Your employer will report ESPP income on your W-2 or Form 3922, and you report the sale on Schedule D when you sell the shares.

Why ESPP is not the same as a 401(k) contribution

A 401(k) contribution reduces your taxable income dollar-for-dollar. If you earn $50,000 and contribute $5,000 to a 401(k), you pay income tax on $45,000. An ESPP contribution does not work this way. The money is deducted from your paycheck after taxes are calculated, so you still owe income tax on the full $50,000.

This is why ESPP is called an after-tax savings plan. The tax benefit comes later, when you sell the stock. If the stock price rises, you may pay capital gains tax instead of ordinary income tax on part of the profit—and capital gains rates are usually lower than income tax rates.

How the discount is taxed when you buy

Most ESPPs offer a discount—commonly 10 to 15 percent off the stock price. If the stock is worth $100 and you buy it for $85, you have received a $15 benefit. That $15 is taxable income, but when it gets taxed depends on how long you hold the stock.

Your employer will track this discount and report it to you. If you sell the stock within two years of the offering date or one year of the purchase date (whichever is later), the entire discount is taxed as ordinary income at your regular tax rate. This is called a disqualifying disposition.

If you hold the stock longer than both waiting periods, the discount is still taxed as ordinary income, but only the gain above the discounted price is taxed as a capital gain. This means part of your profit gets the lower capital gains rate.

Disqualifying disposition versus may have access to disposition

A disqualifying disposition happens when you sell within two years of the offering date or one year of the purchase date. The discount counts as ordinary income, and any gain above the discount is a short-term capital gain (taxed at your ordinary rate). If the stock fell in price, you have a loss, which you can use to offset other gains.

A may have access to disposition happens when you hold the stock longer than both waiting periods. The discount is still ordinary income, but the gain above the discount is a long-term capital gain (taxed at the lower capital gains rate, usually 0, 15, or 20 percent depending on your income). This is the tax advantage that makes ESPP worth considering.

Example: You buy stock for $85 (the discounted price) on January 15. The stock is worth $100 on that day. You sell it on March 1 of the next year—less than one year later. The $15 discount is ordinary income. If the stock is now worth $110, the $25 gain ($110 minus $85) is a short-term capital gain, taxed at your ordinary rate. If you had held it one year or longer, the $25 would be a long-term capital gain at the lower rate.

How ESPP shows up on your tax forms

When you buy stock through an ESPP, your employer will send you Form 3922 (or include the information on your W-2) showing the fair market value of the stock on the purchase date and the amount you paid. This tells you what the discount was.

When you sell the stock, you report the sale on Schedule D (Capital Gains and Losses). You will need to know your cost basis (what you paid for the stock), the sale price, and the date you sold it. The cost basis is what you paid, not the fair market value on the purchase date—this is important because it affects how much gain or loss you report.

If you sold at a disqualifying disposition, the discount shows up as ordinary income (usually on your tax return the year you sell). If you sold at a may have access to disposition, the discount is ordinary income and the gain is long-term capital gain, which gets reported separately on Schedule D.

Common mistakes to avoid with ESPP taxes

One mistake is forgetting that you owe income tax on the discount even if the stock price falls. If you buy at $85 (discounted from $100) and sell at $80, you still owe tax on the $15 discount as ordinary income. You also have a $5 loss on the sale, which you can use to offset other gains, but the discount tax is separate.

Another mistake is not tracking the purchase date and offering date. The two-year and one-year holding periods are strict. If you sell one day too early, you lose the capital gains benefit and the entire gain is taxed at your ordinary rate. Set a calendar reminder for the dates you become may be able to access to sell at the may have access to rate.

A third mistake is not keeping records of your ESPP purchases and sales. Your employer sends Form 3922, but you need to match it to your actual purchase and sale dates. If you buy through multiple offering periods or sell in batches, the records can get complicated. Keep your statements and the Form 3922 for at least three years after you sell.

Whether ESPP makes sense for your situation

ESPP can be a good way to build wealth if you can hold the stock long enough to may have access to for the lower capital gains rate. The discount alone—usually 10 to 15 percent—is a may provide return if you hold long enough. However, this assumes the stock price does not fall sharply after you buy.

If your company stock is volatile or you need the money within a year, the tax advantage shrinks. You will still owe ordinary income tax on the discount, and you may not have time to benefit from the capital gains rate. In that case, ESPP is less attractive than a regular brokerage account where you have more flexibility.

Many people use ESPP as a forced savings plan: the payroll deduction makes it automatic, and the discount is a bonus. If you can afford to hold the stock for the required periods and you believe in the company, it can be worth doing. If you are unsure, talk to a tax professional about your specific situation.

Frequently Asked Questions

Do I pay Social Security and Medicare tax on ESPP contributions?

Yes. ESPP contributions are deducted after income tax but before Social Security and Medicare tax (FICA). You pay FICA on the full amount you earn, including the portion that goes to ESPP. This is different from a 401(k), where contributions reduce both income tax and FICA.

What happens to my ESPP if I leave the company?

Most plans let you keep the shares you have already bought, but you stop making new contributions. The holding period clocks still explore—the two-year and one-year periods are measured from the offering date and purchase date, not from when you leave. Check your plan documents for the exact rules.

Can I lose money on an ESPP?

Yes, if the stock price falls below what you paid. However, you still owe tax on the discount. If you buy at $85 (discounted from $100) and the stock falls to $70, you have a $15 loss on the sale but still owe tax on the $15 discount. The loss can offset other gains, but it does not erase the discount tax.

Is the ESPP discount reported as income on my W-2?

Not always on the W-2 itself. Your employer sends Form 3922 showing the discount. If you sell at a disqualifying disposition, the discount is reported as ordinary income on your tax return. If you sell at a may have access to disposition, it is also ordinary income but reported separately from the capital gain.

What is the difference between the offering date and the purchase date?

The offering date is when the ESPP period begins (often January 1 or the first day of a six-month period). The purchase date is when your shares are actually bought (often the last day of the period). Both dates matter for the two-year and one-year holding periods. You must hold longer than two years from the offering date AND one year from the purchase date to may have access to for the capital gains benefit.