Selling a California home when the gain is far bigger than the exclusion

The exclusion on a main home sale is $250,000 of gain, or $500,000 for a married couple filing jointly. Congress set those numbers in 1997 and never indexed them. In Marin, on the Peninsula, in the Santa Cruz hills and anywhere else a house bought decades ago is now worth several times what it cost, the exclusion covers a slice of the gain and the rest is taxable. A 1031 exchange does not rescue it, because a 1031 exchange does not apply to a home you live in.

What Section 121 covers, precisely

Internal Revenue Code Section 121 lets you exclude gain on the sale of your main home if you pass two tests and one timing rule:

Pass all three and $250,000 of gain comes off, or $500,000 on a joint return. California conforms to Section 121, so the same amount comes off at state level. What the exclusion does not do is scale. It is a fixed dollar amount subtracted from the gain, not a percentage of it, so the larger the gain the smaller the share of it the exclusion reaches.

The arithmetic that surprises people

Consider a couple who bought a house in 1992 for $450,000, put $150,000 into it over the years, and sell it now at $4,000,000. Their basis is roughly $600,000, so the gain is about $3,400,000. The exclusion removes $500,000 of it. $2,900,000 remains, and that is the number the rate structure below applies to.

The figures are arithmetic on assumed numbers, chosen to show how the exclusion behaves against a large gain. They are not anyone's actual sale and not a projection of your result.

What can apply to the gain above the exclusion

ChargeRateApplies when
Federal long-term capital gains 0, 15 or 20 percent Applies to the gain left after the Section 121 exclusion. Which rate applies depends on taxable income, and a large home sale often pushes the excess into the 20 percent bracket by itself.
Net investment income tax 3.8 percent Gain you exclude under Section 121 is not net investment income. Gain above the exclusion can be, once modified adjusted gross income passes the IRC 1411 thresholds.
California income tax up to 13.3 percent California conforms to the Section 121 exclusion, so the same $250,000 or $500,000 comes off at state level. California has no preferential capital gains rate, so what remains is taxed as ordinary income. The 13.3 percent top rate includes the 1 percent tax on taxable income above $1 million.
Unrecaptured Section 1250 gain up to 25 percent Only if depreciation was claimed, for example during a period the home was rented or a home office was deducted. Section 121(d)(6) says the exclusion does not cover gain equal to depreciation taken after May 6, 1997.

Rates shown are the published statutory rates and are not a projection of any individual outcome. What you actually owe depends on your basis, your improvements, your filing status, any depreciation you claimed, and your other income in the year of sale. Confirm the numbers with your CPA before you plan around them.

Why a 1031 exchange does not apply to your home

Section 1031 defers gain on property held for investment or for productive use in a trade or business. A house you live in is neither. This is not a technicality that a well drafted escrow can work around, and it is the most common wrong assumption a seller arrives with, usually because they have heard an investor friend describe an exchange on a rental.

The provisions are built for different situations. Section 1031 defers the entire gain indefinitely but demands you stay invested in real property. Section 121 asks nothing of you afterward and lets you spend every dollar, but it only reaches the first $250,000 or $500,000.

The one place they meet: Rev. Proc. 2005-14

There is a genuine overlap, and it applies to a property that was your principal residence and then became a rental. Revenue Procedure 2005-14 lets both provisions apply to the same sale, in a set order:

The window is the constraint. The use test looks back 5 years from the sale, so a house rented out for six or seven years has usually aged out of Section 121 entirely, and only the exchange is left. Whether your particular facts sit inside Rev. Proc. 2005-14 is a question for your CPA, and it is worth asking before the listing goes up rather than at closing.

Two rules that catch people in the wrong order

Proposition 19 is a property tax question, not an income tax question

These two get discussed in the same breath and they are unrelated. Proposition 19 does nothing to your capital gain. What it governs is the assessed value you carry into the next house, which is a recurring annual cost rather than a one time bill.

Base year value transfers and the intergenerational exclusion are administered by your county assessor and both carry filing deadlines. Claims under the parent to child exclusion are generally due within 3 years of the transfer, or before a sale to a third party.

Where home sellers usually get stuck

Questions about selling a California home, answered

How much capital gain can I exclude when I sell my home?

Up to $250,000 of gain if you file singly, or up to $500,000 if you file a joint return with your spouse, under Internal Revenue Code Section 121. You must have owned the home for at least 24 months out of the 5 years before the sale, and used it as your residence for at least 24 months of those 5 years. You cannot use the exclusion if you already excluded gain on another home sale in the 2 years before this one.

Has the $500,000 exclusion ever been increased?

No. The $250,000 and $500,000 figures were set by the Taxpayer Relief Act of 1997 and are not indexed to inflation. They are the same today as they were in 1997, while California home values have moved a great deal in that period. This is the single reason a long held California home so often produces a taxable gain even though the owner is selling one house and buying another.

Can I do a 1031 exchange on my primary residence?

No. Section 1031 applies only to property held for investment or for productive use in a trade or business, so a primary residence does not qualify. Section 121 is the provision that applies to a main home, and it excludes a fixed dollar amount rather than deferring the whole gain. The two provisions can meet in one transaction, but only where the property was genuinely converted from a residence to investment use.

What is Rev. Proc. 2005-14?

It is the IRS guidance that allows Section 121 and Section 1031 to be applied to the same property when a principal residence has been converted into a rental. The order matters: Section 121 is applied to the realized gain first, and Section 1031 may then defer what is left. Gain equal to depreciation claimed after May 6, 1997 is outside the Section 121 exclusion under Section 121(d)(6), though Section 1031 may still reach it. Whether your facts fall inside this guidance is a question for your CPA.

If I move out and rent the house before selling, do I lose the exclusion?

Not automatically. Section 121(b)(5) allocates gain to periods of nonqualified use after January 1, 2009, and that allocated share cannot be excluded. But Section 121(b)(5)(C)(ii) expressly carves out the part of the 5 year period ending on the sale date that falls after the last date you used the home as your principal residence. Renting it out after you move out therefore does not normally create nonqualified use inside that window. Buying a house as a rental first and converting it to your home later is the pattern that does.

I acquired this house through a 1031 exchange. Can I still use Section 121?

Not for 5 years. Section 121(d)(10) blocks the exclusion on the sale of property you acquired in a like-kind exchange if the sale happens within the 5 year period beginning on the acquisition date. This catches owners who exchange into a rental, move into it, and then sell sooner than they expected.

Does Proposition 19 reduce my capital gains tax?

No. Proposition 19 is about California property tax, not income tax. It is worth knowing about because it changes what the next house costs to hold every year, but it does nothing to the capital gain on the house you are selling. Those are two separate questions and they are often run together in the same conversation.

What does Proposition 19 actually allow?

If you are 55 or older, severely and permanently disabled, or a victim of a wildfire or a Governor declared disaster, you may transfer the taxable base year value of your home to a replacement primary residence anywhere in California, up to 3 times. Proposition 19 also narrowed the parent to child exclusion: it now applies only where the home was the parent's principal residence and becomes the child's principal residence, and the excluded value is capped at the factored base year value plus $1 million, which is $1,044,586 through February 15, 2027. Your county assessor administers all of this, and there are filing deadlines.

Sources

This page is general information about tax law, not tax advice, and no part of it is a recommendation of any security or investment. Every sale turns on facts specific to the taxpayer. Consult your own CPA or tax attorney before acting.

Learn more

Questions about a 1031 exchange?

Talk through your 1031 exchange and DST questions with Toni Sutherland.

Book a call with Toni

A 30-minute phone call. Pick a time and Toni calls you then.