Do you owe capital gains tax when you sell your home in San Luis Obispo County?
Only on gain above your exclusion. The IRS lets you exclude up to $250,000 of capital gain on your main home, or up to $500,000 on a joint return. You qualify when you owned and lived in the home for at least 24 months of the 5 years before the sale. The California Franchise Tax Board follows the same rules and taxes any gain above your limit as ordinary income.
Sellers in San Luis Obispo County are asking this constantly right now. A home bought 15 or 20 years ago can carry a large gain. The exclusion decides how much of it you keep.
The rules don’t change from one town to the next. They come from federal and California tax law, not the county. So a seller in Paso Robles, Arroyo Grande, or Morro Bay works from the same limits and tests.
I work with sellers across San Luis Obispo County and North Santa Barbara County. This is one of the first things we look at together.
Here’s what I tell every seller who asks. The rules for your main home are more generous than most people expect, but they come with conditions.
I’m a Realtor, not a tax professional, so use this to ask better questions of your CPA. Tax rules and forms change, so verify current requirements with the IRS and the Franchise Tax Board.
How the capital gains exclusion works on a home sale
IRS Topic 701 says you may be able to exclude up to $250,000 of the gain on your main home. On a joint return with your spouse, the limit is up to $500,000.
To qualify, you pass two tests, both measured over the 5 years ending on the sale date:
- Ownership: you owned the home for at least 24 months.
- Use: you lived in it as your main home for at least 24 months.
The Franchise Tax Board notes that ownership and use can happen at different times. For example, a home you’ve owned for 4 years still qualifies if you lived there 2 of the last 5.
On a joint return, only one spouse has to meet the ownership test. However, each spouse has to meet the use test to get the full $500,000, according to IRS Publication 523.
There’s also a timing limit. You generally can’t take the exclusion if you used it on another home in the prior 2 years.
California follows the same rules. The Franchise Tax Board says it conforms to the IRS rules, and any gain over your limit is taxable income.
The state rate matters too. According to the Franchise Tax Board, California has no lower rate for capital gains. All capital gains are taxed as ordinary income.
How your gain is figured on a home sale
Your gain isn’t just the sale price minus what you paid. Instead, IRS Publication 523 figures it as your amount realized minus your adjusted basis.
Your amount realized is the sale price minus your selling expenses. The IRS lists real estate commissions, advertising fees, and legal fees as examples. Loan charges you paid that would normally be the buyer’s count too.
Your basis starts with what you paid for the home. Certain settlement costs from your purchase are added to it. Examples include legal fees for the title search and deed, plus your owner’s title insurance.
Improvements count as well. The IRS describes them as work that adds value, prolongs your home’s useful life, or adapts it to new uses. Routine repairs and maintenance generally don’t count, unless they’re part of an extensive remodel.
A capital gains example for a San Luis Obispo County seller
Here’s a simple illustration for a seller in Arroyo Grande and surrounding areas. Say you bought your home for $400,000 and later added a $60,000 kitchen remodel. That puts your adjusted basis at $460,000.
Next, you sell for $1,100,000 and pay $66,000 in selling expenses. Your amount realized is $1,034,000. Subtract your $460,000 basis, and your gain is $574,000.
- Married couple filing jointly, both qualify: $500,000 is excluded, and $74,000 is taxable gain.
- Single owner who qualifies: $250,000 is excluded, and $324,000 is taxable gain.
Those numbers are an illustration, not your tax bill. Your purchase price, improvements, and selling expenses will be different, and so will your result.
That’s also why records matter. Publication 523 says to keep records that document your home’s adjusted basis. Keep them until 3 years after the due date of your return for the year you sell.
I tell sellers to find their closing statement from the day they bought. Then gather receipts for major projects before we talk numbers.
When the capital gains rules change on a home sale
Some sellers don’t fit the standard pattern. For those cases, IRS Publication 523 has specific rules.
- A care facility stay: you became physically or mentally unable to care for yourself. Time in a licensed care facility then counts toward the 2-year residence requirement. You must have used the home as your main home for at least 12 months of the 5 years before the sale.
- A surviving spouse: you can still use the $500,000 limit if you sell within 2 years of your spouse’s death. You also can’t have remarried, neither of you can have used the exclusion in the prior 2 years, and you meet the ownership and residence requirements.
- Less than 2 years: you may qualify for a reduced exclusion. The main reason for the sale has to be a change in workplace location, a health issue, or an unforeseeable event.
- A home office or rental use: you can’t exclude the part of your gain equal to depreciation allowed or allowable after May 6, 1997.
For the reduced exclusion, the IRS starts with the shortest of three periods. Those are your residence time, your ownership time, and the time since you last excluded gain. It divides that by 730 days (or 24 months) and multiplies the result by $250,000.
Reporting has its own rule. IRS Topic 701 says to report the sale if you receive Form 1099-S, even when the gain is excludable. You use Form 8949 and Schedule D.
The Franchise Tax Board adds one more step for state returns. You file California Schedule D (540) when your federal and state taxable amounts differ.
California withholding at closing
California also checks at closing. Your escrow officer handles real estate withholding. The Franchise Tax Board’s 2026 Form 593 instructions set it at 3 1/3 percent of the sales price, unless an exemption applies.
As the seller, you certify an exemption in Part III of Form 593. A principal residence qualifies when you lived in it as your main home for 2 of the last 5 years. A sale of $100,000 or less is exempt as well.
You sign the form under penalty of perjury, and it has to be in before the transaction closes. The Franchise Tax Board also notes that an exemption doesn’t relieve you of filing a California return.
What to line up before you list your home
The capital gains exclusion is one piece of your net proceeds. Selling here also means the county’s documentary transfer tax. I explain it in what the transfer tax is when you sell in San Luis Obispo County.
Buying again? Your property tax on the next home is a separate question.
Homeowners who qualify can carry their tax base to a replacement home under Prop 19. I cover the timing in buy first or sell first under Prop 19 in San Luis Obispo County.
Here’s the short list I walk sellers through before we price the home:
- Your closing statement from the purchase and receipts for major improvements
- Your months of ownership and use in the last 5 years
- Any other home sale in the last 2 years
- Your CPA’s estimate of the gain at a few sale prices
- Form 593 from your escrow officer, so you can certify your exemption early
- Your timing, since a sale before or after a 2-year mark can change the result
Every situation is different, and the only way to know for sure is to run the numbers with your CPA and someone who knows this market. This is exactly the kind of question I walk my clients through before we even list.
Selling in Arroyo Grande? The Arroyo Grande community page has the area’s live market snapshot.
Frequently Asked Questions
How long do you have to live in a house to avoid capital gains tax?
At least 24 months out of the 5 years before the sale. IRS Topic 701 requires 24 months of ownership and 24 months of use in that window. Selling sooner because of a job change, a health issue, or an unforeseeable event may still earn a reduced exclusion, according to IRS Publication 523.
Is there a capital gains break for seniors selling a home?
Not a separate one. IRS Publication 523 sets no exclusion based on age, so the same limits and 2-year tests apply. Its care facility rule can help, though. Time in a licensed care facility can count toward the residence test once you’ve lived in the home 12 months of the prior 5 years.
Does California tax capital gains on a home sale?
Yes, on any gain above your exclusion. The Franchise Tax Board follows the IRS exclusion rules. It also says California has no lower rate for capital gains, so all capital gains are taxed as ordinary income.
What is Form 593 real estate withholding?
It’s California’s withholding at closing. Escrow withholds 3 1/3 percent of the sales price unless you certify an exemption in Part III of Form 593. A main home you lived in for 2 of the last 5 years is one exemption, and the form must be in before closing.
Do home improvements reduce capital gains on a home sale?
Yes. IRS Publication 523 adds improvements to your basis, which lowers your gain. Improvements add value, prolong your home’s useful life, or adapt it to new uses. Routine repairs and maintenance generally don’t count, so keep receipts for the projects that do.
Your equity goes further when you know your exclusion, your basis, and your closing paperwork before you list. Whether you’re a few months out or still sorting through options, you don’t need to be ready to sell to ask. Tell me what you’re weighing, and I’ll help you map out the timing and the numbers for your CPA.
About Wina Gill
Wina Gill is a Realtor and Certified Negotiation Expert with Century 21 Masters, based in Arroyo Grande and serving San Luis Obispo County and North Santa Barbara County. With more than 10 years in real estate, she has completed more than 100 sales totaling over $90 million in sales volume. Wina works as a solo agent, so clients work directly with her from the first conversation through closing. She writes about Central Coast communities, neighborhood differences, local market conditions, and the property-specific factors that can affect buying, owning, and selling a home, helping people understand their options before making a move. Reach her at 805-550-0161 or winagillhomes.com. DRE #02006343
Buying or selling in San Luis Obispo County or North Santa Barbara County? Call or text Wina Gill for clear answers about your property, from your first question through closing. 805-550-0161 | Century 21 Masters Luxury | DRE #02006343