Explore Nortune

Choose a hub
01 / FLOW Money Manage cash flow, build resilience, prepare for large decisions, and turn income into usable options. 02 / CAPITAL Investing Build portfolios around goals, time, risk capacity, implementation costs, and the behavior required to stay invested. 03 / LEVERAGE Credit Understand reports, scores, cards, loans, repayment, financing costs, and the protections available to consumers. 04 / SIGNALS Macro Understand monetary policy, inflation, rates, labor, fiscal choices, currencies, trade, and the data behind economic narratives. 05 / CONTROL Strategy Use financial theory, behavioral insight, risk analysis, and scenario planning to make choices that remain useful as conditions change. 06 / INFLOW Earn Compare careers, remote work, freelancing, business, online income, work abroad, relocation, and portable earning paths.
Tools Company Search
Earn USGLOBAL

RSU and ESPP Cost Basis: How to Avoid Paying Tax Twice

Reconcile U.S. RSU and ESPP compensation, payroll records, plan statements, and Form 1099-B to calculate stock-sale basis without double counting.

An equity-compensation reconciliation line matches payroll, vesting, purchase, withholding, and brokerage-sale records

Employer stock is often reported through systems that see only part of the transaction. Payroll records compensation and withholding. The plan administrator records vesting or purchase events. The broker records shares and sales. A tax form can therefore show sale proceeds with a missing or incomplete basis even though income was already included elsewhere.

The solution is not to add every number indiscriminately. Build one event ledger that connects the same shares from grant or offering through acquisition and sale. Use the tax-lot guide to preserve share quantities and dates, then apply the compensation rules for the specific plan.

RSUs: separate vesting income from later price movement

A restricted stock unit is generally a promise to deliver stock or cash after conditions are met. For a typical U.S. employee RSU arrangement, the fair market value delivered at vest is commonly treated as wage compensation and appears through payroll, subject to the plan and tax rules. That compensation is not the same as the later capital gain or loss.

Suppose 100 shares vest when the plan’s applicable fair market value is 20 per share. The simplified compensation amount is 2,000. If 30 shares are sold or withheld to fund payroll taxes, 70 remain, but the gross vest and tax payment must both be recorded. If the 70 remaining shares are later sold for 26 each, simplified proceeds are 1,820. Using a 20 per-share starting basis, the later capital gain is 420 before sale costs and other adjustments.

If Form 1099-B reports zero basis or only an unadjusted number, copying it without reconciliation could show too much capital gain in addition to the 2,000 wage compensation. Conversely, entering the full vest income as basis for shares that were sold to cover taxes and again for retained shares could overstate basis. Match exact quantities.

The sale-to-cover itself can be a securities sale. Compare the shares sold, proceeds, acquisition value, and any small price movement between vest and sale. Tax withholding is a payment credited toward tax; it does not establish the final liability or make a transaction disappear.

ESPPs: identify the plan and disposition first

An employee stock purchase plan can let employees buy shares through payroll deductions, sometimes at a discount and with a lookback. U.S. tax treatment differs between a plan intended to qualify under Internal Revenue Code Section 423 and a nonqualified arrangement. For a qualified plan, whether the sale is a qualifying or disqualifying disposition affects ordinary compensation and basis.

Before calculating, record the offering date, purchase date, sale date, shares, payroll deductions, purchase price, discount formula, market value at offering and purchase under the plan’s convention, sale proceeds, and compensation reported by the employer. Confirm the required holding periods from authoritative guidance for the exact plan and disposition.

A common online shortcut says ESPP basis equals purchase cost plus income on Form W-2. That can be a useful reconciliation clue, but it is not a universal rule. Compensation may be limited or measured differently for qualifying and disqualifying dispositions, the employer may not have reported the expected amount, and the broker’s supplemental statement may use a different presentation. The plan document and tax records control the analysis.

Documents and what each contributes

ScenarioBest forUpsideMain trade-offNext step
Payroll recordWage income and withholdingShows compensation handled through the employerMay not identify every sold lotMatch pay-period and year-to-date totals
Plan statementVest, purchase, discount, and share historyConnects the benefit event to specific sharesMay not be the tax return figureExport before changing employers
Broker tax formReported proceeds and covered basisSupports sale reportingBasis adjustment may be missingCompare with the supplemental equity statement

Build a lot-level reconciliation

Create one row per acquisition lot. Recommended fields are employer, plan, grant or offering date, vest or purchase date, sale date, shares acquired, shares withheld or sold for tax, shares remaining, market value used for compensation, purchase cost, wage income reported, broker basis, adjusted basis, sale proceeds, capital gain or loss, holding-period status, and supporting document.

The simplified relationship is:

Capital gain or loss = net sale proceeds − adjusted basis of the shares sold.

For many equity-compensation transactions, the reconciliation concept is:

Potential adjusted basis = employee purchase cost + compensation attributable to those same shares + other required basis adjustments.

Do not use that as a substitute for plan-specific rules. It is a control equation: amounts already treated as compensation should be traced to the correct shares, neither omitted nor counted twice.

When a broker basis differs, Form 8949 reporting can allow an adjustment using the applicable code and records. The exact return treatment depends on whether basis was reported to the IRS, the form category, and current instructions. Preserve the employer stock-plan supplement, because access can disappear after a job change or vendor migration.

Portfolio risk remains after the tax calculation

Tax correctness does not answer whether to hold employer shares. Employment income, unvested grants, and existing shares can all depend on the same company. Use the income-concentration risk guide and a written diversification rule. A tax cost can be real, but indefinite concentration can create a larger uncompensated household risk.

Automatic ESPP purchases or new RSU vesting can also interact with a loss sale. Before harvesting a loss in employer stock, check the wash-sale timeline across accounts.

Turn the page into action

Reconcile employer shares

  • Download the plan document and complete transaction history.
  • Match every vest or purchase to payroll and year-end wage reporting.
  • Separate gross shares, tax-withheld or sold shares, and retained shares.
  • For ESPP, classify the plan and disposition before calculating basis.
  • Compare broker basis with purchase cost and compensation for the same lot.
  • Calculate sale gain or loss with exact shares and net proceeds.
  • Review Form 8949 adjustment instructions instead of overwriting evidence.
  • Save the completed ledger and documents outside the employer portal.

Boundaries

This guide discusses general U.S. federal treatment. State, local, Puerto Rico, and non-U.S. systems may recognize compensation, source income, withholding, currency, and capital gains differently. Options, restricted stock awards, Section 83(b) elections, private-company shares, tender offers, expatriation, and cross-border work require separate analysis. Consult the plan administrator and a qualified tax professional when the amount or uncertainty is material.

Evidence to action

Methods and evidence

Methods used

  • Equity-compensation basisbasis = amount paid + compensation income included, subject to the plan and transaction rules
  • Taxable gain by lotgain or loss = net proceeds − adjusted basis of the shares sold

Next actions

Structured datasources.jsonformulas.jsonsystems.json

Evidence

Sources

  1. Publication 525: Taxable and Nontaxable Incomeirs-pub-525

    Internal Revenue ServiceAccessedSeptember 1, 2026

  2. Publication 551: Basis of Assetsirs-pub-551

    Internal Revenue ServiceAccessedSeptember 1, 2026

  3. Instructions for Form 8949irs-form-8949-instructions

    Internal Revenue ServiceAccessedSeptember 1, 2026

Common questions

Frequently asked questions

Why can the Form 1099-B basis for RSU shares look too low?

Broker reporting may omit compensation that was already recognized through payroll or may report basis as unavailable. Reconcile the vest confirmation and payroll records with the broker statement rather than assuming either document is complete by itself.

Is the RSU vest value the same as sale proceeds?

No. Value generally recognized at vest and sale proceeds are separate events. Later price movement can create capital gain or loss, and shares withheld or sold for taxes also need to be reconciled.

Is ESPP basis always purchase price plus the discount on the W-2?

That shortcut is not reliable for every ESPP sale. Qualified-plan rules, qualifying or disqualifying disposition, holding periods, offering-date value, purchase-date value, and compensation actually reported can affect the result.

Do shares withheld for taxes eliminate the need for tax reporting?

No. Withholding is a payment mechanism, not the final tax calculation. A sale-to-cover can also be a reportable securities sale and should be matched to the related compensation and tax records.

Search the operating manual

Find a decision, topic, or tool.

Exchange index · Current language edition
Esc
Start with a topic, decision, country, or tool name.