To claim back overpaid capital gains tax, file Form 1040-X (Amended U.S. Individual Income Tax Return) with the IRS, attaching a corrected Schedule D and Form 8949 that show the accurate figures. You have three years from the date you filed the original return, or two years from the date you paid the tax, whichever is later.1Office of the Law Revision Counsel. 26 USC 6511 – Limitations on Credit or Refund The IRS pays interest on what it owes you, and refunds from a valid amendment typically arrive within a few months of filing.
Check Whether You Actually Overpaid
Before filing anything, confirm the overpayment. A handful of errors account for most capital gains refund claims, and one of them probably explains yours.
The most common cause is a cost basis that was too low. Your basis is what you paid for the asset, plus purchase costs like commissions and transfer fees, and for real estate, the price of improvements that added value.2Internal Revenue Service. Topic No. 703, Basis of Assets Leaving those out inflates your reported gain and the tax on it. For stocks, reinvested dividends are the usual culprit: each reinvestment buys more shares and raises your basis, and ignoring that when you sell means paying tax twice on the same income.3Internal Revenue Service. Stocks (Options, Splits, Traders) 1
Home Sale Exclusion
If you sold your main home, you can exclude up to $250,000 of gain ($500,000 for married couples filing jointly), provided you owned and lived in it for at least two of the five years before the sale.4Office of the Law Revision Counsel. 26 US Code 121 – Exclusion of Gain From Sale of Principal Residence A partial exclusion can apply if you sold early because of a job move, health issue, or other qualifying circumstance.5Internal Revenue Service. Publication 523 – Selling Your Home Missing this exclusion can mean paying tens of thousands you never owed.
Inherited Property
Inherited assets get a basis reset to fair market value on the date of the prior owner’s death.6Office of the Law Revision Counsel. 26 USC 1014 – Basis of Property Acquired From a Decedent If a parent bought a house for $80,000 and it was worth $400,000 when they died, your basis is $400,000, not $80,000. Using the original purchase price by mistake produces one of the largest overpayments you can make.
Capital Loss Carryforwards
Losses from prior years reduce current gains if you carry them forward. When losses exceed gains in a year, you can deduct up to $3,000 of the excess against ordinary income ($1,500 if married filing separately),7Office of the Law Revision Counsel. 26 USC 1211 – Limitation on Capital Losses and anything beyond that rolls into the next year, keeping its short-term or long-term character.8Office of the Law Revision Counsel. 26 USC 1212 – Capital Loss Carrybacks and Carryovers Carryovers are easy to forget after a profitable year erases the memory of a bad one.
Wash Sales
If you sold a security at a loss and bought a substantially identical one within 30 days before or after, the loss is disallowed under the wash sale rule.9Office of the Law Revision Counsel. 26 USC 1091 – Loss From Wash Sales of Stock or Securities The disallowed amount adds to the basis of the replacement shares, so when you eventually sell those, your gain should be smaller. Brokers don’t always track this correctly on Form 1099-B. When they miss it, the adjustment goes on Form 8949.
Wrong Rate or Wrong Share
Long-term capital gains, on assets held more than a year, are taxed at 0%, 15%, or 20% depending on total taxable income.10Internal Revenue Service. Topic No. 409, Capital Gains and Losses If your income put you in the 0% bracket but tax was paid at 15%, you’re owed a refund. Co-owners sometimes make the opposite mistake: reporting the full proceeds instead of only their share, which doubles the bill on jointly held property.
Gather Your Records
Amendments stall when the paperwork isn’t there. The IRS expects you to keep records that establish the basis of every capital asset.3Internal Revenue Service. Stocks (Options, Splits, Traders) 1 Before you start the forms, pull together:
- Purchase records showing the acquisition date, price paid, and any commissions or transfer fees.
- For real estate, receipts for improvements that added value. Routine maintenance doesn’t count; a new roof or kitchen remodel does.2Internal Revenue Service. Topic No. 703, Basis of Assets
- The closing statement or trade confirmation for the sale, including selling expenses.
- Form 1099-B from your broker. Check the reported basis against your own records. If it’s wrong, you correct it on Form 8949, not by asking the broker to reissue the 1099-B.
- Prior-year Schedule D and the Capital Loss Carryover Worksheet if you’re claiming a carryforward.
- A copy of the original return, since its figures go into Column A of Form 1040-X.
Complete Form 1040-X, Schedule D, and Form 8949
Three forms work together. You attach the corrected Schedule D and Form 8949 to Form 1040-X as supporting schedules.11Internal Revenue Service. About Form 1040-X, Amended U.S. Individual Income Tax Return
Form 8949 and Schedule D First
Form 8949 is where each corrected sale gets reported: description, dates acquired and sold, proceeds, cost basis, and any adjustments.12Internal Revenue Service. Instructions for Form 8949 Those totals flow into Schedule D, which sorts short-term (held one year or less) from long-term (more than one year). Carryforwards from prior years go in the carryover section.
Then Form 1040-X
Form 1040-X has three columns.13Internal Revenue Service. Form 1040-X – Amended U.S. Individual Income Tax Return Column A carries the amounts from your original return (or the last IRS-adjusted figure). Column B shows the change. Column C shows the corrected number. So if you originally reported a $50,000 gain and the correct figure is $30,000, Column A is $50,000, Column B is −$20,000, and Column C is $30,000. The change ripples through adjusted gross income, taxable income, and tax liability, and the bottom of the form calculates the refund.
Part II asks why you’re amending. Be specific. “Corrected cost basis on Schedule D to include $15,000 in documented home improvements not reported on original return” reads better than “adjusted capital gains” and cuts down on follow-up correspondence.
File the Amendment and Track It
You can e-file Form 1040-X through tax software for the current year and the two prior tax years.11Internal Revenue Service. About Form 1040-X, Amended U.S. Individual Income Tax Return Older years go by paper. Direct deposit of a refund is only available when you e-file; paper-filed amendments come back as a paper check.14Internal Revenue Service. Instructions for Form 1040-X If you mail it, use certified mail with a return receipt so the postmark date is documented. The processing center for your state is listed in the Form 1040-X instructions.
Processing usually takes 8 to 12 weeks and can run to 16.15Internal Revenue Service. Where’s My Amended Return The “Where’s My Amended Return?” tool on IRS.gov shows status about three weeks after filing. You’ll need your Social Security number, date of birth, and ZIP code.
Watch the Deadline
The refund window is set by statute. You must file Form 1040-X within three years from the date you filed the original return, or within two years from the date you paid the tax, whichever is later.1Office of the Law Revision Counsel. 26 USC 6511 – Limitations on Credit or Refund A return filed before the due date counts as filed on the due date, so the three-year clock runs from the April deadline, not from the day you actually sent it.16Internal Revenue Service. Topic No. 308, Amended Returns
Miss the window and the IRS is not required to refund anything, however clear the overpayment. The amount you can recover also depends on which rule you file under: the three-year rule caps the refund at tax paid in the three years (plus extensions) before you filed the claim, while the two-year rule caps it at tax paid in the two years before filing.1Office of the Law Revision Counsel. 26 USC 6511 – Limitations on Credit or Refund
Check the Net Investment Income Tax
Reducing your capital gains often reduces your Net Investment Income Tax as well. NIIT is a 3.8% surtax on the lesser of net investment income or the amount by which modified adjusted gross income exceeds $200,000 for single filers, $250,000 for joint filers, and $125,000 for married filing separately.17Office of the Law Revision Counsel. 26 USC 1411 – Imposition of Tax Those thresholds aren’t indexed for inflation and have been the same since 2013.
Because capital gains feed into net investment income, a basis correction can drop your investment income or push your modified AGI below the threshold. If so, attach a corrected Form 8960 to your Form 1040-X to claim the NIIT refund.18Internal Revenue Service. About Form 8960, Net Investment Income Tax Individuals, Estates, and Trusts It doesn’t recalculate automatically when you change Schedule D.
Interest You’ll Receive, Penalty You Want to Avoid
The IRS pays interest on overpayments, accruing from the original return’s due date (or the payment date, if later). The overpayment rate for individuals was 7% per year, compounded daily, in the first quarter of 202619Internal Revenue Service. Interest Rates Remain the Same for the First Quarter of 2026 and dropped to 6% for the second quarter.20Internal Revenue Service. Quarterly Interest Rates Rates reset quarterly at the federal short-term rate plus three percentage points. On a sizable overpayment that sat with the IRS for two or three years, the interest is meaningful.
Going the other direction, claiming a refund that turns out to be too large triggers a 20% penalty on the excess portion.21Office of the Law Revision Counsel. 26 US Code 6676 – Erroneous Claim for Refund or Credit Reasonable cause is a defense, which in practice means your figures should trace to receipts, broker statements, or other documents. A basis correction backed by paperwork is safe even if a math error creeps in. A number pulled out of the air is not.
Amend Your State Return Too
A federal change usually flows through to your state return, because most states with an income tax start from federal AGI or federal taxable income. Most states require an amended state return or a notification to the state revenue department once the federal change is final, and reporting windows commonly run 90 to 180 days from that point. Some states impose penalties for not reporting the federal change at all, even when the state result is a refund in your favor. The specific form and deadline are on your state’s revenue department website; handle it once the federal amendment has been processed.