Keep the House or Sell It Before the Decree? How IRC §121, Filing Status, and a $500K 401(k) Split Change a $1M Divorce Settlement by $54K
Your spouse offers you the house: $700,000 value, $200,000 mortgage, $500,000 in equity. They keep the $500,000 pre-tax 401(k). Sounds equal. It isn't, and the gap runs through three tax rules most settlement worksheets skip: the home-sale exclusion, your filing status on December 31, and the tax bill hiding inside the retirement account.
Here is the math on that $1 million estate. Your numbers will differ, which is the point.
This post is educational, not legal or tax advice. Consult your attorney and a tax professional for legal questions.
The setup: what the "equal" offer looks like
| Item | Value | Tax character |
|---|---|---|
| House (fair market value) | $700,000 | Basis: $250,000 (purchase price plus improvements) |
| Mortgage | $200,000 | n/a |
| House equity | $500,000 | Taxable gain when sold, partly excludable |
| 401(k), pre-tax | $500,000 | Ordinary income when withdrawn |
Two rules make the transfer itself painless and the later sale not:
- IRC §1041: Transfers of property between spouses, or between former spouses when incident to divorce, are not taxable. The trap is carryover basis. The spouse who receives the house also receives the original $250,000 basis, so the built-in gain travels with it. (For a deeper look, see the IRC §1041 carryover basis and filing status traps on a $700K settlement.)
- IRC §121: A homeowner who owned and lived in the home for at least two of the last five years can exclude up to $250,000 of gain if single, or $500,000 if married filing jointly and both spouses meet the use test.
Scenario 1: You keep the house, they keep the 401(k)
Say you sell the house a few years later at today's $700,000 value (real prices will move, so treat this as a snapshot). Assume 6% selling costs.
- Sale price: $700,000
- Selling costs (6%): $42,000
- Amount realized: $658,000
- Adjusted basis: $250,000
- Gain: $408,000
- Single §121 exclusion: $250,000
- Taxable gain: $158,000
- Federal tax at an assumed 15% long-term rate: about $23,700
Your after-tax position: $700,000 − $42,000 selling costs − $200,000 mortgage − $23,700 tax = about $434,300.
Your spouse's $500,000 pre-tax 401(k), taxed at an assumed 24% blended rate on withdrawal, nets about $380,000.
The "equal" split leaves you about $54,300 ahead on paper, and your spouse behind. Your spouse is the one who should be alarmed here. If you are the spouse taking the 401(k), you are the one who is behind. Either way, the same gap exists, and it only shows up when you model both sides.
The 401(k) side also has a wrinkle. Money moved by a QDRO to the receiving spouse is not subject to the 10% early-withdrawal penalty (IRC §72(t)(2)(C)). But if the receiving spouse rolls it to their own IRA first and then withdraws before 59½, the penalty applies. See IRA transfer vs. QDRO: the tax rules and penalty traps.
Scenario 2: Sell the house before the decree and split everything
Now suppose you sell the house while the decision is still open, and each spouse takes half of the net proceeds and half of the 401(k) via QDRO.
- Net proceeds after costs and mortgage: $658,000 − $200,000 = $458,000
- Total gain: $408,000
- If the sale closes while you are still married and file jointly, the exclusion is $500,000, so the $408,000 gain is fully excluded.
- If you are already divorced, each former spouse who owned the home and used it as a residence can generally claim their own $250,000 exclusion. Each spouse's share of the gain is about $204,000, so it is also fully excluded.
The result:
| Spouse A | Spouse B | |
|---|---|---|
| Half of house proceeds | $229,000 | $229,000 |
| Half of 401(k), taxed at 24% | $190,000 | $190,000 |
| After-tax total | $419,000 | $419,000 |
Now it's actually equal, because the house gain was excluded and the 401(k) tax was shared. The total after-tax value of the estate is $838,000 in this scenario versus $814,300 in Scenario 1 ($434,300 plus $380,000). The $23,700 difference is the capital gains tax that disappears when both exclusions are used.
The caveat: selling means someone loses the house, and someone may have a reason to stay (children's school, a low mortgage rate). That's a legitimate choice, but it has a price that you can now put a number on.
Scenario 3: Keep the house, but add an equalizer
If you keep the house, the settlement needs to move money to make the after-tax values match:
- Your after-tax value: $434,300 − X
- Your spouse's after-tax value: $380,000 + X
- Solving: X = about $27,150
That means the house-keeper should add roughly $27,000 in after-tax value to the other side, for example by giving up some of the 401(k) share or adding cash. Otherwise, the offer looks equal but isn't.
This is the kind of analysis Sevaryn runs for you, so you don't have to build the spreadsheet yourself.
Compare to the pattern in House vs. 401(k) in a $650K Divorce Settlement: How Today's 7.3% Mortgage Rates and IRC §121 Capital Gains Rules Change the Math, where mortgage rates shift the answer further.
Filing status: the December 31 rule
Your filing status for a tax year is set by your marital status on December 31. That single date can change your bill:
| Status | 2026 standard deduction (approx.) | §121 exclusion |
|---|---|---|
| Married filing jointly | $32,200 | $500,000 |
| Head of household (unmarried, paid more than half the cost of a home for a qualifying child) | $24,150 | $250,000 |
| Single | $16,100 | $250,000 |
Confirm the current figures with a tax professional, because they are indexed for inflation. Three practical points:
- A decree dated December 30 versus January 2 can mean the difference between a joint return and two single or head-of-household returns for the entire year. Ask your attorney whether timing is negotiable.
- Head of household usually goes to the parent with the child living with them more than half the year, and it is worth real money compared with single. Custody time therefore has a tax price, not just a support price.
- Married filing separately is available if you'd rather not sign a joint return, and it matters for the next section.
Alimony: it's not deductible anymore, so the payer's real cost is higher
For divorce instruments executed after December 31, 2018, the TCJA repealed the alimony deduction for the payer and the income inclusion for the recipient. Older agreements may follow the old rules unless modified in a way that expressly adopts the new ones, so check the date on your decree.
Example: $3,000 a month is $36,000 a year.
- Under the old rules, a payer in the 24% bracket would have saved about $8,640 in federal tax annually.
- Under the current rules, the payer gets no deduction, so the after-tax cost is the full $36,000.
- The recipient generally owes no federal income tax on it.
That shifts negotiating math. A payer who assumes a deduction will overstate what they can afford, and a recipient who assumes the payment is taxable will understate what they're getting. For present-value modeling, see Alimony for 7 Years vs. a $185K Lump Sum.
Innocent spouse relief: the tax debt attached to a joint return
If you filed jointly during the marriage, you are jointly and severally liable for that return, including any tax, interest, and penalties the IRS assesses later, even if your spouse understated the income. IRC §6015 offers relief in some circumstances, requested on Form 8857, and it comes with deadlines and eligibility tests. Relief is decided by the IRS, not by your settlement agreement, so an indemnity clause between you and your ex is helpful but does not bind the IRS.
If your spouse handled the taxes or ran a business, ask your attorney and a tax professional early whether a joint return is a risk, and whether filing separately for the current year makes sense. More detail is in Innocent Spouse Relief vs. IRS Offer in Compromise.
What four consumer-finance articles teach a divorcing spouse
The source articles this week aren't about divorce, but each maps onto a settlement decision.
"Should I Switch to a New Bank Just to Earn a Bonus?" (NerdWallet). The article's core point is that bank bonuses take effort, so you weigh the effort against the payoff. Apply the same test to your settlement: an hour or two to model scenarios versus a $27,000 to $54,000 swing is an easy call. A note on the bonus itself: interest and bank bonuses are generally reported as taxable income, so a "free $300" is not quite $300 after tax. And any joint accounts you're separating are a natural moment to open accounts in your own name, which is worth doing on purpose rather than by default.
"Where's Ally? Why Big Names Miss Our Best Savings List" (NerdWallet). NerdWallet notes that Ally has a solid savings account with tools, a decent rate, and no monthly fees, while some other banks offer similar features at better rates. Divorce version: a familiar name isn't automatically the best place for a cash settlement. If you're receiving $250,000 in cash instead of a 401(k), a one-point rate difference is $2,500 a year in pre-tax interest, and that interest is ordinary income to you.
"WATCH: First-Time Home Buyer Myths, DEBUNKED" and "WATCH: 5 Things First-Time Homebuyers Wish They Knew" (NerdWallet). Both are aimed at first-time buyers, and they're a useful reminder for the spouse who wants to keep the house: buying, or in your case keeping, a home means qualifying and budgeting on one income, and the sticker price is not the monthly cost. Before agreeing to keep the house, confirm that you can refinance in your own name at today's rates, and price in taxes, insurance, and maintenance. See how that changes the math in House vs. 401(k) in Your Divorce Settlement at 7% Mortgage Rates.
"FAFSA opens early: Why families should apply for college aid now" (CNBC Personal Finance). CNBC reports that the 2027-28 FAFSA is now open. For divorcing parents with a college-bound child, the aid form is another place where your settlement shows up. The financial-aid formula looks at a parent's income and assets, and the parent who provides more of the child's financial support over the past 12 months is generally the one who reports. Whether alimony, child support, or an asset such as a lump-sum cash payment counts, and how, is worth confirming with the school's financial aid office before you sign. A settlement that moves $250,000 into a cash account can change how a family looks on paper. For college costs in the settlement itself, see Who Pays the $100K College Bill After Divorce?
Why your numbers will differ
The $54,300 gap above depends on assumptions that are probably not yours:
- Basis. A $250,000 basis was my assumption. A house bought in 2005 or one with major renovations changes the gain substantially.
- Time and state. Home appreciation, state income tax, and the state's property division rules (community property versus equitable distribution) all move the answer. For the state layer, see Community Property vs. Equitable Distribution: How State Law Turns the Same $1M Settlement Into a $175K After-Tax Gap.
- Tax brackets. I assumed 24% on the 401(k) and 15% on the gain. Your bracket after divorce, and whether a large withdrawal pushes you into a higher one, could be very different.
- Income and marriage length. These affect alimony, Social Security divorced-spouse eligibility (generally a marriage of at least ten years), and whether either side needs the liquidity of cash more than a retirement account.
A checklist before you agree to anything
- Get the house's tax basis and the date you both moved in.
- Model the sale both ways: keep versus sell before the decree.
- Ask your attorney whether the decree date can be set with December 31 in mind.
- Convert every retirement dollar to an after-tax dollar before comparing it to home equity or cash.
- Confirm the alimony language reflects post-2018 tax treatment, if your decree is after 2018.
- Ask a tax professional whether prior joint returns create exposure.
- Check how the settlement affects the FAFSA picture if you have a college-bound child.
Model your settlement before you sign
A "fair" $1 million split can hide a five-figure gap, and it usually hides in the tax column. The offer in front of you should be tested against at least three versions (keep, sell, keep with an equalizer) using your own basis, bracket, state, and timeline.
You can run those scenarios with your own numbers at Sevaryn, and then bring the results to your attorney and tax professional. They handle the legal questions and the strategy. You bring the math.
Sources
- Should I Switch to a New Bank Just to Earn a Bonus? — NerdWallet
- WATCH: First-Time Home Buyer Myths, DEBUNKED — NerdWallet
- WATCH: 5 Things First-Time Homebuyers Wish They Knew — NerdWallet
- Where’s Ally? Why Big Names Miss Our Best Savings List — NerdWallet
- FAFSA opens early: Why families should apply for college aid now — CNBC Personal Finance