
How to Report Stock Sales on Your Tax Return
Selling stock can create a tax obligation even when the money never leaves your brokerage account. Knowing how to report stock sales starts with one core rule: every sale in a taxable brokerage account must be accounted for on your federal income tax return, whether it produced a gain or a loss.
The process is manageable when your records match your tax forms. The challenge is that a brokerage statement may show dozens of transactions, adjusted cost basis figures, wash-sale amounts, and securities acquired at different times. Reporting them correctly helps you stay compliant, avoid IRS notices, and claim every allowable loss that can reduce your tax burden.
Start With the Forms Your Broker Sends
Most investors receive Form 1099-B from their brokerage firm, usually as part of a consolidated Form 1099 package. This form reports the proceeds from your stock sales to you and the IRS. Depending on the sale, it may also report your cost basis, acquisition date, sale date, whether the transaction was short-term or long-term, and any wash-sale adjustment.
Do not assume the information on Form 1099-B is automatically complete or correct for tax purposes. Brokers generally report basis for covered securities, but older holdings, transferred shares, employee stock compensation, inherited stock, and certain corporate actions can require your own documentation or adjustment.
You will generally use two tax forms to report taxable stock sales:
Form 8949, Sales and Other Dispositions of Capital Assets, where you list or summarize sales and make needed adjustments.
Schedule D, Capital Gains and Losses, where you total short-term and long-term results from Form 8949 and calculate your overall capital gain or loss.
Your tax software may transfer this information electronically from a brokerage import, but the responsibility for accuracy remains yours. Review every imported transaction before filing.
How to Report Stock Sales on Form 8949
Form 8949 separates transactions by holding period and by whether the IRS received a basis report from the broker. That creates six possible sections, though many investors use only one or two.
A stock sale is short-term if you held the shares for one year or less before selling them. It is long-term if you held them for more than one year. The distinction matters because short-term gains are generally taxed at ordinary income tax rates, while long-term gains may qualify for lower capital gains tax rates.
For each transaction, Form 8949 asks for the stock description, date acquired, date sold, proceeds, cost or other basis, adjustment amount if applicable, and gain or loss. If your brokerage reports both proceeds and basis to the IRS with no adjustments required, you may be able to summarize the transactions rather than enter every sale individually. Keep the detailed brokerage statement with your records even if you use a summary.
For example, suppose you bought 20 shares for $1,000 and later sold them for $1,400. Your gain is generally $400, before considering commissions or adjustments. If you held the shares for 14 months, the transaction is long-term. If you sold them after six months, it is short-term.
The key is to report the sale based on actual tax basis, not just the cash you received. Reporting the full $1,400 as taxable income would overstate your gain by $1,000.
Confirm Your Cost Basis Before Filing
Cost basis is usually what you paid for the stock, plus qualifying purchase costs. It can change after stock splits, mergers, return-of-capital distributions, reinvested dividends, and other corporate actions. If you bought the same stock in several lots at different prices, your gain depends on which shares were sold.
Many brokerage firms use the first-in, first-out method, known as FIFO, unless you specifically identified shares at the time of sale. Specific share identification can sometimes produce a more favorable tax result, such as selling higher-basis shares to limit a gain. However, the designation must be made properly and supported by broker records. It is not something to reconstruct casually after the sale.
If shares were transferred from another broker, compare the receiving broker's basis information with your original purchase records. Missing basis is a common reason tax returns report incorrect gains.
Move the Totals to Schedule D
After completing Form 8949, transfer the appropriate subtotals to Schedule D. This form combines your short-term and long-term transactions, including capital gain distributions reported on Form 1099-DIV.
Short-term gains and losses are netted against one another. Long-term gains and losses are also netted separately. Then the two results are combined. A short-term loss can offset a long-term gain, and vice versa.
If your total result is a net capital loss, you can generally use up to $3,000 of that loss to offset other income in the current tax year, or up to $1,500 if married filing separately. Any unused loss carries forward to future returns. This is one reason reporting losing positions matters just as much as reporting profitable sales.
A net capital gain may be taxed at different rates depending on your taxable income, filing status, and the type of gain. Higher-income taxpayers may also owe the 3.8% Net Investment Income Tax. Your total tax picture matters, especially if a large sale occurs in the same year as a bonus, business income, retirement distribution, or property sale.
Watch for Wash Sales
A wash sale occurs when you sell stock or another security at a loss and buy the same or a substantially identical security within 30 days before or after the sale. The loss is generally not currently deductible. Instead, the disallowed loss is added to the basis of the replacement shares, potentially reducing a future taxable gain.
Your broker may identify wash sales within the same account, but its reporting may not capture transactions across multiple accounts, between spouses, or in an IRA. For example, selling shares at a loss in a taxable account and repurchasing them in an IRA can create a particularly unfavorable outcome because the loss may be permanently disallowed.
Do not treat a wash-sale code on Form 1099-B as a reason to ignore the sale. You still report it on Form 8949 and apply the appropriate adjustment. Accurate dates and account records are essential here.
Special Situations That Need Extra Care
Not every stock sale follows the simple purchase-price-minus-sale-price formula. Employee stock transactions deserve particular attention. With restricted stock units, the value of shares at vesting is generally included in wages, and that amount usually becomes your basis. If you report only the broker's basis without accounting for wage income already included on your Form W-2, you could be taxed twice on the same value.
Employee stock purchase plans and incentive stock options also have separate holding-period and compensation-income rules. The Form 1099-B basis may not reflect all required adjustments. Gather your plan documents, Form W-2, and broker supplement before preparing the return.
Inherited stock is another area where the basis may differ from the original owner's purchase price. In many cases, the basis is adjusted to the asset's fair market value at the date of death. Gifts can involve the donor's basis and separate holding-period rules. If the sale is significant, professional guidance can protect you from a costly reporting mistake.
Stock sales inside a traditional IRA, Roth IRA, 401(k), or similar qualified retirement plan generally are not reported as individual capital gains and losses on your annual return. Those accounts have their own tax rules. The taxable event normally occurs when money is distributed from a tax-deferred account, not when investments are traded inside it.
Keep Records That Support Your Return
Save your Form 1099-B, year-end brokerage statements, trade confirmations, records of transfers, and documentation for any basis adjustment. Keep records long enough to substantiate the basis of an investment and the reporting on your return. For assets held many years, that may mean retaining purchase records until well after the shares are sold.
Before you file, reconcile your tax return to the consolidated 1099 from every brokerage account. Check that proceeds match, that short-term and long-term classifications are correct, and that losses subject to wash-sale rules are handled properly. If your broker issues a corrected 1099 after you have filed, review the correction promptly to determine whether an amended return is needed.
For investors with a few straightforward sales, careful tax software review may be sufficient. For active traders, business owners, employees with stock compensation, or families planning major investment sales near retirement, the details can affect both this year's liability and future tax strategy. SkyVillage Financial can help you organize reporting, identify overlooked adjustments, and coordinate investment decisions with your broader tax and retirement plan.
A well-prepared return does more than report last year's activity. It gives you a clearer basis for deciding when to sell, how to manage losses, and how to protect more of your investment gains in the years ahead.



