The Tool Desk
Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Tax-loss harvesting can turn an investment loss into a tax item, but it does not erase the economic loss or guarantee an immediate tax saving. You sell an investment for less than its tax basis, report the realized loss, and may use it under federal capital-loss rules. The result depends on your gains, loss limitations, replacement trade, related accounts, records and timing. The rules below are U.S. federal guidance reflected in 2025 IRS publications; state rules and your individual return can differ.
What tax-loss harvesting actually does
A capital loss is unrealized while a security remains in your account. Tax-loss harvesting means intentionally selling that security below its adjusted tax basis so the loss becomes realized for tax reporting. The sale changes your tax records; it does not restore the money lost by the investment.
As an Amazon Associate I earn from qualifying purchases.
For example, suppose shares have a $10,000 adjusted basis and you sell them for $7,000. The transaction creates a $3,000 realized loss before considering wash-sale adjustments or other basis details. Whether that loss reduces tax this year depends on your realized gains, applicable capital-loss limits and the rest of your tax situation. The IRS explains the treatment of investment gains and losses in Publication 550 (2025).
How the federal tax calculation works
1. The sale creates a realized gain or loss
Your gain or loss generally compares the amount realized on the sale with the asset’s adjusted basis. Basis can include the purchase price and acquisition costs, and it may have been changed by reinvested distributions, corporate actions or earlier adjustments. Use the lot-level information supplied by your broker, but retain your own records when the broker does not have the complete history.
#1 Best Overall
2. Losses interact with gains, not with a guaranteed tax bill
Realized losses can offset capital gains under the federal rules. A loss therefore may reduce the amount of gain subject to tax, but it is not automatically a dollar-for-dollar reduction in your tax bill. The IRS notes that individual investors remain subject to capital-loss limitations; the usable amount and timing depend on the facts of the return. IRS Topic No. 429 and Publication 550 describe those limitations without promising a particular current-year saving.
Unused losses may have value in a later year under the applicable rules, but the timing and usefulness depend on your future gains, income and filing circumstances. Do not harvest solely because a position is down; first determine whether the loss can be used and whether the investment still belongs in your portfolio.
The wash-sale rule: the main reason a harvest may not work as expected
The 30-day window
Under the IRS’s 2025 guidance, a wash sale generally occurs when you sell stock or securities at a loss and, within 30 days before or after that sale, you or a specified related party buy or otherwise acquire substantially identical stock or securities. The window is 61 calendar days in practical terms: the 30 days preceding the sale, the sale date, and the 30 days following it. It is a timing rule, not a statement about investment performance. See the 2025 Instructions for Schedule D (Form 1040).
The rule can apply when you acquire the replacement in a fully taxable trade, enter a contract or option to acquire it, or acquire it for an IRA or Roth IRA. Automatic dividend reinvestment and recurring purchases can therefore matter even when you did not place a manual buy order.
Rank #2
What happens to the loss
The IRS generally disallows the wash-sale loss for the current deduction and adds the disallowed amount to the basis of the replacement securities. In a taxable account, that usually postpones recognition until you dispose of the replacement shares. It is not accurate to say every wash-sale loss permanently disappears.
An IRA or Roth IRA replacement has different treatment: the IRS wash-sale discussion does not provide the same basis adjustment for the IRA purchase. Consequently, an investor can lose the expected current deduction without receiving the ordinary taxable-account basis increase. That distinction is one reason a repurchase in a retirement account deserves special review.
“Substantially identical” is a facts-and-circumstances test
The IRS does not publish a universal safe list of replacement funds. Securities of different corporations ordinarily are not substantially identical, but exceptions can arise, including predecessor and successor securities in a reorganization. Two products that track a similar index are not automatically declared safe or prohibited by the IRS material. Evaluate the legal relationship and the actual holdings, not just a ticker symbol or marketing description.
PC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Outdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchPurchases outside the selling account can count
Wash-sale analysis is not limited to the account in which you sold. A spouse’s purchase or a purchase by a corporation you control can trigger the rule under the IRS related-party discussion in Publication 550. Review taxable accounts, workplace plans, automatic investment programs and retirement accounts before and after the sale. Brokers generally cannot see every account held by a household, so a consolidated personal review is necessary.
Rank #3
| Situation | Typical federal treatment described by the IRS | Practical implication |
|---|---|---|
| Loss sale with no substantially identical acquisition in the window | Loss is generally available for the normal capital-gain and capital-loss rules. | Check gains, limitations and basis before assuming a current tax benefit. |
| Taxable-account replacement during the window | Loss is generally disallowed currently and added to replacement basis. | Deduction is usually deferred until the replacement is sold. |
| IRA or Roth IRA replacement during the window | Wash-sale rule applies, with a different basis consequence than the taxable-account case. | Do not assume the disallowed loss will be added to IRA basis. |
| Spouse or controlled corporation buys substantially identical property | Related-party activity can produce wash-sale treatment. | Review household and controlled-entity transactions. |
| Loss omitted from a broker’s Form 1099-B | The taxpayer still cannot deduct a wash-sale loss merely because it was not reported by the broker. | Reconcile statements and maintain independent records. |
Choosing what to do after selling
Tax is only one input. Selling and buying a replacement can change your asset allocation, risk level, diversification, tracking to a benchmark and exposure to a market move while you are out of the original position. Commissions may be zero, yet bid-ask spreads, fund expenses, market impact and the work of maintaining tax lots can still create costs. The IRS sources do not quantify those costs or identify a universally appropriate substitute security.
Use a replacement decision framework rather than a supposedly “safe” ticker list:
- Allocation: Does the candidate preserve the intended exposure to stocks, bonds, sectors, geography or other risk factors?
- Wash-sale risk: Could the candidate be substantially identical under the facts-and-circumstances standard, including through an option or contract?
- Account location: Is the original sale in a taxable account while a substantially identical purchase might occur in an IRA, Roth IRA, spouse’s account or controlled corporation?
- Costs and tracking: What spreads, expenses, tracking differences and operational steps will the switch create?
- Holding period and plan: Can you avoid acquiring substantially identical property throughout the surrounding 30-day period while keeping the portfolio suitable?
Do not let a tax deduction force you into an asset you would not otherwise hold. A replacement that materially changes risk can cost more than the tax benefit you hoped to obtain.
Recommended Free Tools
Reporting the transaction and preserving basis records
Forms and wash-sale code
Sales are generally reported on Form 8949 and Schedule D when those forms apply to your return. The Schedule D instructions direct taxpayers to report a wash sale on Form 8949 with code W and the disallowed amount. The exact form treatment can depend on the type of transaction and return.
Rank #4
- Used Book in Good Condition
The IRS states that a wash-sale loss remains nondeductible even if it is not reported on Form 1099-B or Form 1099-DA. Broker reporting is helpful, not a substitute for your own review. Covered securities with the same CUSIP bought in the same account are among the transactions brokers generally report, but reporting systems may not capture different accounts, spouses, controlled entities or every substantially-identical relationship. Read the Schedule D instructions and Publication 550 together when reconciling a statement.
Identify the lots you are selling
If you want to sell particular shares, the IRS says their basis generally reflects the amount paid plus acquisition costs when you identify the shares and properly identify them with the broker. Give the broker clear instructions at the time of sale and retain confirmation that the instruction was accepted. If you cannot adequately identify the shares, FIFO (first in, first out) generally applies, subject to stated mutual-fund and dividend-reinvestment exceptions. A different lot can turn an intended loss into a smaller loss, a gain or a wash-sale complication.
Keep a complete audit trail
- Record purchase dates, quantities, prices, commissions and adjusted basis for each lot.
- Save confirmations for the loss sale and any replacement purchase or option transaction.
- Track reinvested dividends, transfers between accounts, corporate actions and inherited or gifted shares that affect basis.
- Compare all household and controlled-entity activity with the 30-day window.
- Reconcile Form 1099-B data to your records before preparing Form 8949.
The IRS requires taxpayers to maintain records that establish basis. If a broker’s history is incomplete, request archived statements and reconstruct the lot history before selling.
Do these 3 things before closing this tab:
1Clear out junk files and repair common Windows errors2Fix the driver behind crashes, sound loss and screen glitches3Repair Windows errors before they cause bigger problemsWhen tax-loss harvesting may not help
You have no usable current offset
If you have no gains and capital-loss limitations restrict current use, harvesting may not produce an immediate reduction in tax. A future benefit is possible only if the loss remains usable under the rules and your later tax circumstances support it. Treat the value as uncertain rather than as cash received on the sale date.
A wash sale neutralizes the planned deduction
An automatic purchase, a spouse’s trade, an option, or an IRA/Roth IRA contribution can fall inside the surrounding window. The result may be a deferred taxable-account loss or the different IRA treatment described above. Check activity before selling, not just after.
The portfolio change is unsuitable or costly
A sale can leave you underexposed to a market that rises before you can re-enter, or it can move you into a replacement with a risk profile you did not intend. Spreads, commissions, fund expenses and operational complexity can also consume the benefit. These are investment judgments, not costs quantified by the IRS guidance.
Your basis or lot data is wrong
Missing records, an incorrect lot-selection method or an unrecorded corporate action can misstate the loss. A broker’s form does not correct an error in your underlying basis, and an omitted wash sale remains your responsibility.
Quick wins for a faster PC:
Repair Windows errors before they cause bigger problemsFix Now →Scan for outdated or missing drivers - takes under a minuteDriver Scan →Clear out junk files and repair common Windows errorsFree Scan →You are treating yourself as a trader without meeting the facts
The IRS distinguishes investors from securities traders by examining activity and circumstances; the label you choose is not decisive. Trader rules are specialized, and most retail investors should not assume that frequent trades automatically qualify. Start with the investor rules in Topic No. 429 and obtain professional advice if your activity is unusually intensive.
A practical decision process
- Confirm the investment case. Decide whether the position should be reduced or replaced for portfolio reasons even without a tax benefit.
- Calculate the actual lot basis. Select the intended shares and verify the adjusted basis, proceeds and resulting gain or loss.
- Map the tax year. List realized gains, existing losses and any limitation that could prevent current use.
- Search the full 61-day window. Review the prior 30 days and plan the following 30 days across your accounts, your spouse’s accounts, retirement accounts, automatic reinvestment instructions and controlled corporations.
- Evaluate the replacement. Preserve suitable exposure while considering substantial-identity risk, costs, tracking and the time you can remain out of the original security.
- Execute with lot instructions. Tell the broker which shares to sell and retain the confirmation.
- Reconcile and report. Compare broker data with your records, adjust for any wash sale, and report the sale on the applicable forms, including Form 8949 code W when required.
- Recheck before filing. Verify later purchases and replacement basis so a transaction absent from Form 1099-B is not overlooked.
Illustrative example
An investor owns a taxable-account lot with a $10,000 adjusted basis and a current value of $7,000. The investor sells it, creating a $3,000 realized loss, and buys a genuinely different, suitable exposure outside the substantially-identical category. If the investor has gains that the loss can offset and no related-account purchase occurs, the loss enters the normal reporting and limitation rules.
If the investor instead buys substantially identical shares 10 days after the sale, the $3,000 loss is generally disallowed currently and added to the taxable-account replacement basis. If the purchase occurs in an IRA or Roth IRA, the wash-sale rule still applies but the ordinary taxable-account basis adjustment does not. The example shows why the sale price alone cannot tell you the tax result.
Questions to settle before placing the order
- Which exact tax lot am I selling, and can I prove its adjusted basis?
- What gains and losses have already been realized this year?
- Will any loss be limited or carried to another year under my circumstances?
- Has anyone in my household, a retirement account or a controlled corporation bought substantially identical property in the prior 30 days?
- Could an automatic dividend reinvestment, option or contract create an acquisition?
- Does the replacement preserve the portfolio exposure I actually want?
- How will I document the trade and report any wash-sale adjustment if the broker does not show it?
Federal rules are not the whole tax answer
The guidance cited here is federal U.S. guidance for the 2025 tax year and current instructions. State conformity, later tax-year changes, special asset types and your personal filing facts can change the outcome. A tax professional can help with complex basis histories, related accounts, options, trader classification or large transactions; the decision to sell should still reflect your investment plan rather than a hoped-for deduction.
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.




