TTorranceCPA
Back to all articles
Tax Law Updates March 30, 2026

Selling Your Home: How To Minimize the Tax On the Gain

By TorranceCPA·3 min read
Selling Your Home: How To Minimize the Tax On the Gain — Tax Law Updates article from TorranceCPA
Tax Law Updates insight from TorranceCPA

A South Bay home sale can trigger a large taxable gain. Here is how to minimize it — from documenting improvements to qualifying for the exclusion and timing the closing.

In high-appreciation South Bay markets, selling a home often produces a gain that exceeds the capital gains exclusion. Minimizing the tax on that gain is one of the highest-value planning conversations we have with clients in Torrance, Palos Verdes, and Redondo Beach. The strategies below are where we start.

The first lever is your cost basis. Basis is what you paid for the home plus the cost of any capital improvements — not repairs. A new roof, a kitchen remodel, an addition, and major landscaping all increase basis and reduce the taxable gain. The challenge is documentation: improvements made years ago must be substantiated with receipts or invoices. Gather these before you list, not after you close.

The second lever is the primary-residence exclusion. If you owned and used the home as your primary residence for at least two of the five years before the sale, you may exclude up to $250,000 of gain as a single filer or $500,000 as a married couple filing jointly. The exclusion is not automatic — you must meet the ownership and use tests, and certain nonqualified use can reduce it.

A partial exclusion may be available if you sell before meeting the full two-year window due to a change in employment, health, or unforeseen circumstances. The partial exclusion is prorated based on the time you lived in the home, and the qualifying reasons are defined by IRS rules. If your move is job-related or health-driven, ask whether a partial exclusion applies.

The third lever is timing. The two-of-five-year rule means you can move out, rent the home for up to three years, and still qualify for the exclusion — as long as you sell within five years of moving out. If you have already rented the home for three years, the window to sell and claim the exclusion may be closing, and the timing of the closing matters.

For a home that was used as a rental, depreciation you claimed during the rental period is recaptured at sale. Depreciation recapture is taxed at a maximum 25% federal rate, separate from the capital gain. This is a cost of converting a primary residence to a rental and later selling it, and it should be modeled before you decide to rent the home.

The fourth lever is the 1031 exchange, available for investment or rental property but not for a primary residence. If the home was rental property, a 1031 exchange defers the federal gain if you identify a replacement property within 45 days and close within 180 days. California conforms, so the state gain is also deferred. The deadlines are strict and a qualified intermediary is required — engage one before the sale closes.

Finally, consider the interaction with California's tax rates. California taxes capital gains at ordinary income rates, so a large gain can push you into the state's top bracket for the year. In some cases, spreading income across years — for example, through an installment sale — can reduce the effective rate, though this adds complexity and risk. At TorranceCPA, we model the after-tax outcome of each strategy before you commit to a sale date.

Frequently asked questions

How do capital improvements reduce the tax when I sell my home?

Capital improvements — not repairs — increase your cost basis, which reduces the taxable gain. A new roof, kitchen remodel, or addition adds to basis; routine repairs and maintenance do not. Keep receipts and invoices for every improvement, because you must substantiate the higher basis to claim it.

Can I rent out my home and still claim the capital gains exclusion when I sell?

Yes, as long as you lived in the home as your primary residence for at least two of the five years before the sale. You can move out and rent the home for up to three years and still qualify. However, depreciation you claimed during the rental period is recaptured and taxed separately at sale.

Have a tax question of your own?

Get a free 30-minute consultation — no obligation, no judgment.

Subscribe via RSSTorranceCPA — Lomita, CA

Information on this site is general in nature and is not tax, legal or financial advice. Please contact us about your specific situation.