Cost basis in a divorce works on a simple but expensive principle: when your spouse transfers property to you as part of the settlement, the IRS treats the transfer as tax-free, but you inherit whatever basis your spouse had in the asset. The equity you see on paper is not the money you keep. An asset shown as $300,000 in the settlement may carry $200,000 of built-in gain that becomes your tax bill the day you sell. Understanding how the carryover rule works, and where the exceptions sit, is what separates a settlement that looks fair from one that actually is.
Transfers Between Spouses Are Tax-Free
Federal law treats a transfer of property to a spouse or former spouse as producing no taxable gain or loss for either side.1Office of the Law Revision Counsel. 26 U.S. Code 1041 – Transfers of Property Between Spouses or Incident to Divorce It doesn’t matter whether the transfer is cash, stock, real estate, a release of marital rights, or the assumption of debt. The IRS treats it as a gift for tax purposes, even when it was negotiated at arm’s length in a settlement.
For the tax-free rule to apply, the transfer has to be “incident to the divorce.” That test is met automatically if the transfer happens within one year after the marriage ends. Transfers occurring between one and six years after the divorce still qualify if they are related to the end of the marriage. Beyond six years, the IRS presumes the transfer is unrelated to the divorce, and you can rebut that presumption only by showing legal or business obstacles delayed the transfer and it happened promptly once those were resolved.2eCFR. 26 CFR 1.1041-1T – Treatment of Transfer of Property Between Spouses or Incident to Divorce If your decree requires a property transfer, get it done inside six years.
One important boundary: the tax-free rule does not apply when the recipient is a non-resident alien.1Office of the Law Revision Counsel. 26 U.S. Code 1041 – Transfers of Property Between Spouses or Incident to Divorce In that situation, the transferor recognizes gain or loss on the transfer as if the property had been sold to a stranger, and the gift tax rules are tighter as well. Tax-free gifts to a non-citizen spouse are capped at $194,000 for 2026 rather than the unlimited marital deduction available for transfers to a U.S. citizen spouse.3Internal Revenue Service. Frequently Asked Questions on Gift Taxes for Nonresidents Not Citizens of the United States
The Carryover Basis Rule
The reason the transfer isn’t taxed is that the tax follows the asset. Your basis in property received from a spouse or former spouse is the same adjusted basis your spouse had.4Internal Revenue Service. Publication 504 – Divorced or Separated Individuals No step-up to current market value happens on the date of transfer. The asset’s tax history moves with it.
A concrete example: your spouse bought stock for $50,000 and it is worth $150,000 when you receive it in the divorce. Your basis is $50,000, not $150,000. You now hold $100,000 of unrealized gain that accumulated during the marriage, and you will pay tax on the full amount when you sell. The rule works the same way whether the carried-over basis is less than, equal to, or greater than fair market value.4Internal Revenue Service. Publication 504 – Divorced or Separated Individuals
Your holding period carries over too. When you receive property with a carryover basis, the time your spouse held the asset counts toward your own holding period.5Office of the Law Revision Counsel. 26 U.S. Code 1223 – Holding Period of Property That matters because long-term capital gains (assets held more than a year) are taxed at lower rates than short-term gains. You don’t restart the clock at zero.
What You Actually Owe When You Sell
The bill comes due at sale. You report the gain or loss by comparing the sale price to the basis you inherited, and every dollar of appreciation that happened during your spouse’s ownership is taxed to you. This is the piece that gets missed at the settlement table: the face value of an asset and its after-tax value can be very different numbers.
Capital Gains Rates
Long-term capital gains are taxed at 0%, 15%, or 20% depending on taxable income and filing status. A newly single filer hits the 15% bracket well below where a married couple filing jointly would, so the same gain can be taxed at a higher rate after the divorce than it would have been during the marriage. Head of household and single filers should model the sale under their post-divorce filing status, not the joint status they used to have.
The 3.8% Surtax on Investment Income
Higher-income sellers owe an additional 3.8% net investment income tax on top of the capital gains rate. The surtax applies when modified adjusted gross income exceeds $200,000 for single filers, $250,000 for married filing jointly, or $125,000 for married filing separately.6Internal Revenue Service. Topic No. 559 – Net Investment Income Tax Those thresholds are not adjusted for inflation. A large gain from selling a home or investment account after the divorce can push you across the line even if your salary alone wouldn’t.
Depreciation Recapture on Rental and Business Property
Rental real estate and business property carry an extra layer of tax. Every dollar of depreciation your spouse claimed reduced the basis, which increases the gain on sale. The portion of the gain attributable to prior depreciation is taxed at a maximum rate of 25%, regardless of your income bracket.7Internal Revenue Service. Topic No. 409 – Capital Gains and Losses This applies even though you never personally claimed any of those deductions. The full depreciation history rides along with the carryover basis.
The Home Gets Special Treatment
The principal residence exclusion lets you exclude up to $250,000 of gain when you sell your primary home ($500,000 for married couples filing jointly), provided you have owned and used the property as your principal residence for at least two of the five years before the sale.8Office of the Law Revision Counsel. 26 U.S. Code 121 – Exclusion of Gain From Sale of Principal Residence
Two divorce-specific rules soften the ownership and use tests. If you receive the home from your spouse in the divorce, your ownership period includes the time your spouse owned it. And if you move out but your former spouse continues to live in the home under the divorce decree, you are treated as using the home as your principal residence during that period.8Office of the Law Revision Counsel. 26 U.S. Code 121 – Exclusion of Gain From Sale of Principal Residence Without that second rule, a parent who moved out while the children stayed in the house could lose the exclusion entirely.
The math shifts sharply at divorce for appreciated homes. A couple who bought a house for $200,000 that is now worth $700,000 has $500,000 of gain. Filing jointly, they can exclude all of it. After divorce, the spouse who keeps the home can only shelter $250,000, leaving $250,000 exposed. Selling before the divorce is final, or adjusting the settlement to reflect the loss of the second exclusion, can save tens of thousands.
Retirement Accounts Play by Different Rules
Retirement accounts don’t fit the standard cost-basis framework because most of the money inside them has never been taxed. What matters is the embedded income tax liability, not a purchase price.
Employer Plans Need a QDRO
Dividing a 401(k), pension, or other employer plan requires a Qualified Domestic Relations Order. The QDRO directs the plan administrator to pay a share of benefits to the former spouse, who then reports those payments as if they were the plan participant. Any after-tax basis in the plan is allocated to the recipient in proportion to the present value of their share.9Internal Revenue Service. Retirement Topics – QDRO: Qualified Domestic Relations Order
The transfer itself is not taxed. But if the receiving spouse takes a distribution rather than rolling it into their own retirement account, ordinary income tax applies. A QDRO distribution paid to a child or other dependent is taxed to the plan participant rather than the child.9Internal Revenue Service. Retirement Topics – QDRO: Qualified Domestic Relations Order
IRAs Don’t
Dividing an IRA does not require a QDRO. Transferring all or part of an IRA to your spouse or former spouse under a divorce decree is not a taxable event.10Office of the Law Revision Counsel. 26 U.S. Code 408 – Individual Retirement Accounts From the date of transfer forward, the IRA belongs to the recipient and future distributions are taxed to the recipient under normal IRA rules.4Internal Revenue Service. Publication 504 – Divorced or Separated Individuals
The most common error with retirement accounts is treating them dollar-for-dollar against taxable assets. A $500,000 brokerage account with a $400,000 basis is not the same as a $500,000 traditional IRA. The brokerage account has $100,000 of gain taxed at capital gains rates. The IRA holds $500,000 that will be taxed as ordinary income at rates up to 37%. Trading them one-for-one in a settlement shortchanges whoever ends up with the pretax account.
Business Interests
The carryover basis rule applies to a business interest the same way it applies to stock or real estate. The basis usually reflects the original investment plus later capital contributions, reduced by distributions and losses, and it rarely resembles the company’s fair market value. The receiving spouse inherits that low basis and the built-in gain that goes with it.
Records to Pull Before the Settlement Is Final
None of these rules help you if you can’t prove the basis. Reconstructing records years later, when you’re trying to sell, is far harder than gathering them while both spouses still have access to shared files.
- Real estate closing documents. For homes purchased before October 2015, the HUD-1 Settlement Statement shows the purchase price and closing costs. Purchases after that date use the Closing Disclosure form.11Consumer Financial Protection Bureau. What Is a HUD-1 Settlement Statement?
- Capital improvement receipts. Renovations, roof replacements, and additions add to basis. Without receipts you’ll be taxed on gain that isn’t real profit.
- Brokerage statements showing purchase dates, prices, and reinvested dividends. Reinvested dividends increase basis because tax was already paid on them.
- Depreciation schedules for any rental or business property. You need the full history to calculate adjusted basis and anticipate the 25% recapture tax.
- Retirement account records showing after-tax contributions, including Form 8606 for nondeductible traditional IRA contributions and records of Roth contributions.
Prior-year tax returns can fill gaps. Schedule E shows rental depreciation, Schedule D shows earlier sales, and Form 8606 tracks nondeductible IRA contributions. Having a tax professional review the basis math before the settlement is signed protects both sides from finding out years later that the deal was not what it appeared.