Capital gains tax in a divorce works through a two-step rule that trips up a lot of people: the transfer of property between spouses is tax-free at the time of the divorce, but the spouse who ends up with the asset inherits the original cost basis and owes the full capital gains tax whenever the asset is eventually sold. The tax bill isn’t erased. It moves with the asset.
That’s why two assets worth $500,000 on paper can leave you with very different amounts of cash. What matters is what the asset originally cost, what depreciation has been claimed against it, and what you’ll owe the IRS when you sell.
The Tax-Free Transfer Rule
Federal law shields property transfers between spouses or former spouses from any immediate capital gains tax, as long as the transfer is “incident to the divorce.” The transferring spouse recognizes no gain or loss, and the IRS treats the transaction as a gift for income tax purposes.1Office of the Law Revision Counsel. 26 USC 1041 – Transfers of Property Between Spouses or Incident to Divorce This covers every kind of property — stocks, real estate, business interests, vehicles, collectibles.
A transfer qualifies as “incident to the divorce” under two timing rules. Any transfer within one year after the marriage ends automatically qualifies. A transfer made more than a year but within six years after the marriage ends also qualifies, provided it’s made under a divorce or separation instrument such as a court decree or written settlement agreement.2eCFR. 26 CFR 1.1041-1T – Treatment of Transfer of Property Between Spouses or Incident to Divorce Transfers that happen more than six years after the divorce, or that aren’t connected to a divorce instrument, are presumed taxable. The burden to rebut that presumption falls on the transferor.
For direct transfers between spouses, the tax-free rule applies even when the mortgage or other debt on the property exceeds the basis.2eCFR. 26 CFR 1.1041-1T – Treatment of Transfer of Property Between Spouses or Incident to Divorce
Carryover Basis: The Tax Bill Follows the Asset
Tax-free doesn’t mean forgiven. The IRS defers the gain, and the receiving spouse inherits the transferring spouse’s original cost basis and holding period.1Office of the Law Revision Counsel. 26 USC 1041 – Transfers of Property Between Spouses or Incident to Divorce This is called carryover basis. The entire built-up gain from the original purchase gets taxed when the receiving spouse eventually sells to someone else.
Cost basis starts with the original purchase price. It’s adjusted upward for capital improvements and downward for depreciation deductions.3Internal Revenue Service. Topic No. 703, Basis of Assets You need the original purchase records, not just the current market value, to figure out your future tax liability.
Consider stock bought for $50,000 and transferred to you when it’s worth $150,000. You inherit the $50,000 basis. Sell at $160,000 and you owe capital gains tax on $110,000, not the $10,000 that accrued after the transfer. The holding period carries over too, so if your spouse held the stock more than a year, the gain qualifies for long-term rates no matter how quickly you sell.4Internal Revenue Service. Topic No. 409, Capital Gains and Losses
Why Equal Market Value Isn’t Equal
A spouse who receives $500,000 in assets with a $100,000 basis is getting something fundamentally different from a spouse who receives $500,000 in assets with a $450,000 basis. The first spouse faces a potential $400,000 taxable gain. The second faces $50,000. A genuinely equal split compares assets on an after-tax basis, not just by sticker value.
This is the single most common mistake in dividing marital property. The parties focus on fair market value and ignore what the IRS will treat as taxable gain when the asset is sold.
Your Filing Status Changes Your Rate
Divorce almost always changes your tax bracket, and the shift usually works against you. The IRS determines your filing status based on whether you are married or unmarried on December 31 of the tax year.5Internal Revenue Service. Publication 504, Divorced or Separated Individuals If your divorce is final by that date, you file as single (or head of household if you qualify) for the entire year — even if you were married for 11 months of it. If you’re separated but not yet legally divorced on December 31, you’re still considered married and can file jointly or separately.
This matters for capital gains because the income thresholds at each rate are significantly lower for single filers. For 2026, the long-term capital gains brackets are:6Internal Revenue Service. Revenue Procedure 2025-32
- 0% rate: Taxable income up to $98,900 (married filing jointly) or $49,450 (single)
- 15% rate: Taxable income from $98,900 to $613,700 (joint) or $49,450 to $545,500 (single)
- 20% rate: Taxable income above $613,700 (joint) or $545,500 (single)
For couples still married but filing separately during lengthy divorce proceedings, the brackets are even less favorable. The 20% rate kicks in at $306,850 for married filing separately, roughly half the joint threshold.6Internal Revenue Service. Revenue Procedure 2025-32
Timing matters. Selling a major asset while still married and filing jointly gives you access to broader rate brackets. Selling as a newly single filer the following year can push more of the gain into a higher bracket.
The 3.8% Net Investment Income Tax
A separate 3.8% surtax applies to net investment income — including capital gains — when your modified adjusted gross income exceeds certain thresholds. Those thresholds are $250,000 for married filing jointly, $125,000 for married filing separately, and $200,000 for single or head of household filers.7Internal Revenue Service. Topic No. 559, Net Investment Income Tax These thresholds are not adjusted for inflation and have not changed since the tax was introduced.
The surtax applies to the lesser of your net investment income or the amount by which your income exceeds the threshold. For a recently divorced person selling a rental property with a large embedded gain, the combined rate can reach 23.8% (20% long-term rate plus 3.8% surtax). Spouses still married but filing separately face the lowest trigger point at $125,000, which is easy to hit in any year that includes a major asset sale.
Selling the Marital Home
The home gets its own set of rules. Federal law allows you to exclude up to $250,000 of gain on the sale of your primary residence, or up to $500,000 if you’re married filing jointly, as long as you owned and used the home as your principal residence for at least two of the five years before the sale.8Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence
Selling Before the Divorce Is Final
The simplest approach is selling the home while you’re still married and filing a joint return for that year. Both spouses claim the $500,000 exclusion, which shelters a much larger gain than either could exclude individually. For a home purchased decades ago at a low price, this doubled exclusion can mean the difference between a tax-free sale and a five-figure tax bill.
To claim the full $500,000, at least one spouse must meet the ownership test, both must meet the two-year use test, and neither can have used the exclusion on another home sale within the prior two years.8Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence
When One Spouse Keeps the Home
If one spouse retains the home and sells it later, that spouse is limited to the $250,000 individual exclusion. The receiving spouse gets credit for the transferring spouse’s ownership period, so the ownership test is rarely a problem.8Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence The use test requires that the selling spouse actually lived in the home for two of the five years before the sale. For a spouse who stayed, that’s usually straightforward.
The trickier scenario involves the spouse who moved out. A special rule treats the non-occupying spouse as using the home as a principal residence during any period when the other spouse is granted use of the property under a divorce or separation instrument.8Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence A spouse who moves out but keeps an ownership interest, with the divorce decree granting the other spouse the right to live there, is still treated as meeting the use requirement.
Any gain above the exclusion is taxed at long-term capital gains rates. The gain is calculated from the carryover basis (the original purchase price plus improvements), not from the home’s value at the time of the divorce transfer. For homes that have appreciated significantly over decades, the gain above the exclusion can be substantial.
Rental Property and Depreciation Recapture
Rental properties and other investment real estate don’t qualify for the home sale exclusion. The entire gain from the carryover basis is taxable. And there’s an added layer that catches many people off guard: depreciation recapture.
If the transferring spouse claimed depreciation deductions on a rental property over the years, those deductions reduced the property’s adjusted basis. The receiving spouse inherits that lower basis.9Internal Revenue Service. Publication 551, Basis of Assets When the property is eventually sold, the gain attributable to those prior depreciation deductions is “recaptured” and taxed at a maximum rate of 25%, higher than the 15% rate that applies to most long-term capital gains. Only the remaining gain above the recaptured depreciation qualifies for the standard long-term rates.
Here’s the problem specific to divorce. The receiving spouse owes the recapture tax on depreciation deductions they never personally took. If your ex-spouse claimed $80,000 in depreciation over the years, that $80,000 becomes your recapture liability when you sell, taxed at up to 25%. If neither party accounted for this during negotiations, the receiving spouse effectively got shortchanged.
Tracking the transferring spouse’s depreciation history requires access to past tax returns or depreciation schedules. Getting these records should be part of divorce discovery, not an afterthought.
Business Interests, Stock Options, and RSUs
Interests in closely held businesses present the hardest valuation and tax issues. The transfer is tax-free, but the carryover basis for a business interest depends on original capital contributions, adjusted for accumulated profits, losses, and distributions over the life of the business. Pinning down that number often requires a forensic accounting review.
When the receiving spouse eventually sells the business interest, a portion of the sale price may be allocated to items like inventory or accounts receivable. Those components are taxed as ordinary income at rates up to 37%, not as capital gains. How the sale is structured, including which items are allocated to goodwill versus receivables, can significantly affect the total tax bill.
Stock options and restricted stock units add another wrinkle. These assets often have both an ordinary income component and a capital gains component. When an employee exercises a stock option, the spread between the exercise price and the market price is taxed as ordinary income at the time of exercise. Capital gains treatment only begins after that point, based on the fair market value at exercise. If these rights are transferred to a spouse during a divorce, the recipient inherits the full tax complexity, including the future ordinary income hit when the option is exercised or the RSU vests.
Retirement Accounts
Retirement accounts aren’t capital gains assets in the traditional sense — distributions are taxed as ordinary income — but they’re often the second-largest asset in a divorce after the home, and getting the transfer wrong creates immediate tax consequences.
Employer Plans: The QDRO Requirement
Dividing a 401(k), 403(b), or pension plan requires a Qualified Domestic Relations Order, or QDRO. This is a court order that directs the plan administrator to pay a portion of the participant’s benefits to the other spouse (the “alternate payee”).10Internal Revenue Service. Retirement Topics – QDRO: Qualified Domestic Relations Order Done correctly, the alternate payee can roll the funds into their own IRA or retirement account tax-free.
A QDRO distribution also carries a unique advantage. If the alternate payee takes a cash distribution from the plan rather than rolling it over, the 10% early withdrawal penalty that normally applies before age 59½ does not apply.11Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions The distribution is still taxed as ordinary income, but avoiding the 10% penalty is meaningful if you need immediate access to funds. This exception applies only to distributions taken directly from the qualified plan. Once the money is rolled into an IRA, the exception no longer applies.
IRAs
IRAs follow a separate process. QDROs do not apply. An IRA can be transferred tax-free to a spouse or former spouse if the transfer is made under a divorce or separation instrument and is processed as a direct transfer between accounts of the same type (traditional to traditional, Roth to Roth).12Office of the Law Revision Counsel. 26 USC 408 – Individual Retirement Accounts After the transfer, the receiving spouse’s account is treated as if it had always been theirs.
The divorce decree must specifically direct the transfer. Vague language like “awarded to” without specifying a transfer has caused problems with custodians who refuse to process the transaction. And unlike qualified plan distributions under a QDRO, IRA withdrawals taken before age 59½ are subject to the 10% early withdrawal penalty even if they stem from a divorce. There is no QDRO-equivalent exception for IRAs.11Internal Revenue Service. Retirement Topics – Exceptions to Tax on Early Distributions
If Your Spouse Is a Non-Resident Alien
The tax-free transfer rule does not apply if the receiving spouse or former spouse is a nonresident alien.1Office of the Law Revision Counsel. 26 USC 1041 – Transfers of Property Between Spouses or Incident to Divorce Transferring appreciated property triggers an immediate taxable event for the transferring spouse, who must recognize the capital gain at the time of the transfer.
The transferring spouse may also face gift tax obligations. The annual exclusion for gifts to a non-citizen spouse is $194,000 for 2026, more generous than the standard $19,000 gift exclusion but potentially insufficient for a large property transfer.13Internal Revenue Service. Frequently Asked Questions on Gift Taxes for Nonresidents Not Citizens of the United States Transfers above that threshold require filing a gift tax return.
Negotiating With Taxes in Mind
A brokerage account worth $400,000 with a $350,000 basis will net close to its full value after taxes. A rental property worth $400,000 with a $100,000 adjusted basis after depreciation could generate a tax bill of $50,000 or more when sold. Splitting those two assets 50/50 by market value gives one spouse a significantly worse deal.
- Compare assets on an after-tax basis. For each one, estimate the capital gains tax that would be owed on a hypothetical sale. Subtract that from market value. Divide based on those adjusted numbers.
- Get the basis documentation during discovery. Purchase records, depreciation schedules, brokerage cost basis statements, and business capital account records are all necessary. Reconstructing this information later is far harder and sometimes impossible.
- Consider filing status timing. Selling a major asset while still married and filing jointly provides access to higher exclusion amounts and wider tax brackets. Once divorced, you lose those advantages for that tax year.
- Don’t ignore depreciation recapture on rental properties. It’s taxed at up to 25% and often represents a larger share of the total tax bill than people expect.
- Retirement account dollars are pre-tax. A $300,000 401(k) is not equivalent to $300,000 in a taxable brokerage account. Every dollar withdrawn from the 401(k) will be taxed as ordinary income.