Tax-loss harvesting can reduce a federal capital-gains bill by selling an investment for less than its tax basis and using the realized loss to offset realized capital gains. If total capital losses exceed gains, an individual generally may deduct up to $3,000 of the net loss against other income for the year ($1,500 if married filing separately), with eligible losses usually carried forward.
The strategy is not free money or a reason to sell an unsuitable investment. The sale must fit your investment plan, the loss must survive the wash-sale rules, and every transaction must be reported correctly. This guide covers U.S. federal rules for individual investors under IRS Publication 550 (2025) and the 2025 Instructions for Schedule D. State and non-U.S. treatment can differ.
As an Amazon Associate I earn from qualifying purchases.
What tax-loss harvesting does—and what it does not do
A capital loss is not available for tax purposes merely because a brokerage account shows a lower market value. You generally realize the loss by disposing of the stock or security in a taxable transaction. The realized amount is measured against your tax basis, which normally includes what you paid plus or minus applicable adjustments.
The Tool Desk
Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Once realized, the loss enters the capital-loss netting process. Capital losses first work against capital gains under the applicable short-term and long-term rules. A remaining net loss can then reduce other income, subject to the annual limit. The result is a timing and tax-liability benefit—not a guaranteed investment return. A position that falls may continue to fall, and selling can change your portfolio’s risk, diversification, income and future appreciation.
#1 Best Overall
- It can help: a realized loss may offset gains that would otherwise be taxable, and an eligible excess may offset limited other income.
- It cannot do: it cannot turn an economically bad trade into a profitable one, guarantee a tax refund, or authorize a deduction that the wash-sale rule disallows.
- It requires coordination: purchases in other accounts, by a spouse, or by a controlled corporation can affect whether your loss is deductible.
How federal capital-loss netting works
For federal individual returns, keep each transaction’s holding period and tax basis. The IRS distinguishes short-term items (held one year or less) from long-term items (held more than one year). Those categories matter when gains and losses are netted and when losses are carried to a later year.
Step 1: Identify realized gains and losses
List taxable sales for the year, the proceeds, adjusted basis, acquisition and sale dates, and holding period. A loss is generally proceeds below adjusted basis. Do not rely only on an account’s current unrealized gain-and-loss display; the tax lot and basis records control the calculation.
Step 2: Net the capital transactions
Use the capital-transaction information to net losses against gains. The practical objective is to determine whether you have a net capital gain, no net gain or a net capital loss after the relevant short-term and long-term amounts are combined under IRS rules.
Free tools Windows power users keep installed
One-click scans. No signup required.
| Item to track | Why it matters |
|---|---|
| Short-term or long-term status | Loss carryovers retain their character, and holding period affects the netting calculation. |
| Realized capital gains | Available gains can absorb realized losses before the annual deduction against other income is considered. |
| Adjusted basis and proceeds | These figures establish the size of each gain or loss. |
| Wash-sale adjustments | A disallowed loss is removed from the current deduction and generally added to replacement property basis, except in the IRA or Roth IRA situation described below. |
Step 3: Apply the annual deduction limit
If the final result is a net capital loss, an individual generally may use up to $3,000 per year against other income. For a taxpayer filing married filing separately, the general limit is $1,500 per year. The limit applies after gains have been offset; it is not a $3,000 deduction for every losing position.
Step 4: Carry eligible unused losses forward
A net loss that remains after the allowed current-year deduction generally carries to a later year. The IRS says the short-term or long-term character is retained. A short-term loss carryover therefore remains short-term, and a long-term loss carryover remains long-term. Publication 550 includes a worksheet for calculating the carryover. Keep the carryover schedule with your tax records even if you have no investment sales in the next year.
The wash-sale rule: the 30-day window that can disallow a loss
The most common tax-loss-harvesting failure is buying substantially identical stock or securities too close to the loss sale. Under IRS Publication 550, a wash sale generally occurs when you sell or trade stock or securities at a loss and, during the period beginning 30 days before and ending 30 days after the sale, you acquire substantially identical property or take another covered action.
Rank #2
- Ideal for Gifting
- Ideal for a bookworm
- Compact for travelling
Transactions that can trigger the rule
The IRS discussion includes more than a straightforward purchase in the same brokerage account. The relevant window can include:
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
- Buying substantially identical stock or securities.
- Acquiring substantially identical property in a fully taxable trade.
- Entering a contract or option to acquire the property.
- Acquiring the replacement property for an IRA or Roth IRA.
- Purchases by your spouse.
- Purchases by a corporation you control.
The standard is “substantially identical,” and not every pair of similar funds or securities has an automatic answer. The facts of the instruments, the transaction and the account matter. If the replacement-security question is uncertain, obtain advice from a qualified tax professional before claiming the loss.
What happens when a loss is disallowed
For a typical taxable-account wash sale, the disallowed loss is generally added to the basis of the replacement stock or securities. That postpones the deduction until a later disposition that does not itself produce another disallowed loss. The adjustment also affects the replacement lot’s eventual gain or loss calculation.
Publication 550 treats an IRA or Roth IRA acquisition differently: the disallowed loss does not receive the replacement-basis treatment described for replacement stock in a taxable account. Do not assume that an IRA purchase merely postpones the deduction in the same way as a taxable-account purchase.
The IRS states: “You cannot deduct losses from sales or trades of stock or securities in a wash sale unless the loss was incurred in the ordinary course of your business as a dealer in stock or securities.” This rule is separate from whether a replacement investment appears economically similar; the timing and acquisition facts must be examined.
Windows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallCrashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minuteA practical tax-loss-harvesting workflow
- Set the tax-year objective. Review realized gains and losses for the specific tax year, including transactions already settled and any planned year-end sales. Tax rules and limits can change, so use the IRS guidance for the return year being filed.
- Export complete transaction data. Collect trade confirmations, lot-level basis, dates, proceeds, reinvested distributions and corporate-action records from every taxable investment account. Include accounts held jointly or by a spouse when relevant.
- Separate taxable and retirement activity. Flag purchases in traditional IRAs and Roth IRAs. A purchase in a retirement account can fall inside the wash-sale window even though the loss sale occurred in a taxable account.
- Find candidate lots. Identify holdings below adjusted basis and note whether each lot is short-term or long-term. Consider the tax effect alongside your target allocation, risk level, liquidity needs and investment thesis.
- Calculate the available offset. Compare potential losses with realized short-term and long-term gains and any loss carryovers. Harvesting more loss than you can use immediately may still have value because eligible losses generally carry forward, but the $3,000 or $1,500 annual limit can delay the benefit against other income.
- Check the entire wash-sale window. Search the 30 days before and after the proposed sale for purchases, contracts or options involving substantially identical property. Check all relevant accounts, your spouse’s accounts and any controlled corporation activity.
- Choose a replacement only after the check. If maintaining market exposure is important, analyze a replacement that is not substantially identical under the facts. The IRS materials do not establish a universal list of safe substitute funds, so do not treat a generic “similar but different” label as a legal conclusion.
- Place and document the sale. Save the execution date, quantity, proceeds, lot selected, basis, fees if applicable, holding period and your wash-sale review. A trade executed near year-end still has a 30-day period on both sides of the sale.
- Monitor the following 30 days. A replacement purchase after the sale can create a wash sale. Recheck automatic dividend reinvestment, recurring purchases, employee plans and options activity.
- Prepare the tax forms. Reconcile the final records to Form 8949 and Schedule D, enter required wash-sale adjustments and retain the calculations supporting any carryover.
Worked examples
Example 1: Losses offset gains
Assume an investor realizes $8,000 of capital losses and $7,000 of capital gains during the year. After the applicable netting calculation, the investor has a $1,000 net capital loss. Because it is below the general $3,000 annual limit, the $1,000 may generally offset other income, assuming no wash-sale or other disqualifying issue and that the taxpayer’s facts support the deduction.
Rank #3
Example 2: The annual limit leaves a carryover
An investor realizes $10,000 of losses and $3,000 of gains, producing a $7,000 net capital loss after netting. The investor may generally deduct up to $3,000 against other income for the year. The remaining $4,000 generally carries forward, subject to the required computation, and its short-term or long-term character remains important.
Example 3: Married filing separately
A taxpayer filing married filing separately has a $2,000 net capital loss and no gains. The general annual deduction limit for that filing status is $1,500, so the remaining $500 generally carries forward rather than being deducted against other income in the current year.
Example 4: A taxable-account replacement purchase
An investor sells shares for a $3,000 loss and buys substantially identical shares during the 30-day period. The loss is generally disallowed for the current return and added to the basis of the replacement shares. The investor has not eliminated the economic loss, but the tax deduction is postponed until a qualifying later disposition.
Quick wins for a faster PC:
Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Clear out junk files and repair common Windows errorsFree Scan →Scan for outdated or missing drivers - takes under a minuteDriver Scan →Example 5: An IRA purchase
An investor sells a taxable-account position at a loss and acquires substantially identical property in an IRA or Roth IRA inside the window. The IRA case does not receive the replacement-basis treatment described for a taxable replacement. The investor should not claim the loss as if the transaction were an ordinary taxable-account basis adjustment.
Decisions that change the tax result
| Decision factor | Questions to answer before selling | Potential consequence |
|---|---|---|
| Holding period | Is the lot short-term or long-term? | The character affects netting and the character of any carryover. |
| Amount of realized gains | How much gain is already realized for the year? | Losses may offset gains before the annual deduction against other income applies. |
| Filing status | Are you filing jointly, single, head of household or married filing separately? | The general deduction limit is $3,000, but it is $1,500 for married filing separately. |
| Replacement timing | Were substantially identical purchases made 30 days before or after the sale? | The wash-sale rule may disallow the loss. |
| Account location | Did the investor, spouse or controlled corporation buy in a taxable account, IRA or Roth IRA? | Account activity can trigger the rule; an IRA or Roth IRA acquisition has a different basis consequence. |
| Record completeness | Does the broker’s report include every relevant account and lot? | Missing activity can lead to an incorrect Form 8949, Schedule D or basis calculation. |
Reporting on Form 8949 and Schedule D
Federal individual reporting generally uses Form 8949 for capital transactions and Schedule D for the capital-gain and capital-loss summary. Enter the transaction details and any required adjustment rather than reporting only the account’s year-end gain-and-loss total.
A wash-sale adjustment is reported with the applicable code and amount on Form 8949. Follow the instructions for the return year because form fields and codes can change. Keep a worksheet showing the original loss, replacement lot, basis adjustment, account, acquisition date and the date on which the deferred loss is eventually recognized.
Rank #4
Why the broker statement may not be enough
The IRS warns that broker-reported wash-sale amounts may be limited to covered securities with the same CUSIP acquired in the same account. That reporting scope may not capture a purchase in another account, a spouse’s account, an IRA or Roth IRA, or other activity covered by the rule. You remain responsible for reviewing the complete set of transactions and making the required adjustment.
Similarly, a broker’s reported basis may not reflect every transfer, gift, inheritance, reinvestment, corporate action or prior wash-sale adjustment. Reconcile the statement to your own records before filing.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Common mistakes and how to correct them
Claiming an unrealized loss
Seeing a position below its purchase price does not by itself create a deductible capital loss. A taxable disposition is generally required. If you have not sold, there is no realized loss to enter as a capital transaction.
Buying the same security too soon
A sale followed by a purchase within 30 days can create a wash sale. Automatic reinvestment is easy to overlook. Turn off or reschedule recurring purchases when appropriate, and review activity before the sale as well as after it.
Checking only one account
Searching only the account in which the loss sale occurred can miss a spouse’s purchase, an IRA or Roth IRA acquisition, or a controlled-corporation transaction. Build the wash-sale review across all relevant accounts and entities.
Do these 3 things before closing this tab:
1Repair Windows errors before they cause bigger problems2Scan for outdated or missing drivers - takes under a minute3Clear out junk files and repair common Windows errorsTreating all similar funds as identical—or all as different
“Substantially identical” is a fact-specific standard. The available IRS material does not provide a universal safe harbor for every pair of index funds, exchange-traded funds or mutual funds. Document the analysis and seek professional advice when the replacement is not clearly distinct.
Best Value
- It can be a gift option
- Comes with secure packaging
- Helpful in various ways
Assuming every loss produces a current-year deduction
Losses first offset gains, and the general deduction against other income is capped at $3,000, or $1,500 for married filing separately. The balance generally carries forward rather than disappearing, but the benefit may be delayed.
Ignoring loss character on carryovers
Do not combine all carryovers into one undifferentiated number. The IRS says short-term and long-term character is retained, so preserve that information in the carryover worksheet and future netting calculations.
Accepting the broker’s wash-sale field without review
Broker reporting can be narrower than the tax rule. Compare the statement with outside accounts, spouse activity, retirement-account purchases and your own basis records.
When harvesting may be the wrong move
Tax savings should not be the sole reason to sell. Reconsider or delay harvesting when:
- The investment still fits your plan and selling would leave an unwanted sector, asset-class or geographic exposure.
- The transaction costs, bid-ask spread, liquidity impact or market movement could outweigh the expected tax benefit.
- You cannot monitor the 30-day window or verify your basis records.
- You would repurchase a substantially identical security and cannot accept a deferred or disallowed loss.
- You are selling solely to create a tax deduction while ignoring a changed investment thesis or concentration risk.
- You expect the loss to exceed usable gains and have no clear reason to accept a benefit that may be delayed through carryforwards.
The right comparison is not “tax saved versus no tax.” Compare the after-tax result of keeping the position, selling and moving to a suitable non-identical investment, or selling without a replacement. Include the investment risk and the timing of any future tax recognition.
Recordkeeping checklist
- Trade date and settlement information for each sale and purchase.
- Security description, quantity and lot identification.
- Original and adjusted basis, proceeds and holding period.
- Short-term or long-term classification.
- Realized gains, realized losses and prior-year carryovers.
- Purchases during the 30 days before and after each loss sale.
- Activity in taxable accounts, IRAs, Roth IRAs, spouse accounts and controlled corporations where relevant.
- Replacement-lot basis adjustments and the date a deferred loss becomes recognizable.
- Form 1099-B or other broker statements reconciled to Form 8949 and Schedule D.
- The annual loss calculation showing the $3,000 or $1,500 limit and any carryforward.
Federal scope and professional review
This article addresses U.S. federal individual-investor rules reflected in IRS Publication 550 (2025) and the 2025 Schedule D instructions. It does not establish state rules, non-U.S. rules, corporate-investor treatment, or every possible application of “substantially identical.” Tax-year instructions, filing status, account activity, basis history and other facts can change the result.
For a large position, a complex basis history, an IRA-related purchase, spouse or controlled-corporation activity, or an uncertain replacement security, have a qualified tax professional review the transaction before filing. The professional should be given complete account records, not only the broker’s summary.
Bottom line
Tax-loss harvesting can legally reduce current federal capital-gains exposure when a real loss is realized, the loss survives the wash-sale rules, and the transaction is reported accurately. Use losses against gains first, remember the $3,000 annual limit ($1,500 for married filing separately), preserve short-term and long-term character, and track eligible carryforwards. Treat the tax benefit as one input in an investment decision—not as a reason to sell an unsuitable holding.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




