When you sell a Sacramento rental, you pay federal capital gains tax at 0%, 15% or 20% in 2026, up to 25% on the part of the gain that came from depreciation, possibly the 3.8% net investment income tax, and California income tax on the whole gain at ordinary rates up to 13.3%. On a rental bought for $260,000 in 2014 and sold for $470,000 in 2026, the example below comes to about $76,600 in total tax on a $264,400 gain, and escrow's 3⅓% withholding covers only part of the California share.
You own a rental house in or around Sacramento, you're thinking about selling it, and you want to know what the tax on the sale will look like before you talk to a CPA.
Capital gains tax on a California rental at a glance (2026)
| Federal long-term capital gains rates, 2026 | 0%, 15% or 20% depending on taxable income (IRS, Rev. Proc. 2025-32) |
|---|---|
| Depreciation part of the gain | Unrecaptured section 1250 gain, taxed at your ordinary rate up to 25% |
| Net investment income tax | 3.8% above $250,000 MAGI (married filing jointly) or $200,000 (single) |
| California rate on the gain | Ordinary income: 1% to 12.3%, plus 1% on taxable income over $1 million |
| California withholding at closing | 3⅓% of the sale price on Form 593, unless an exemption applies |
| Ways to defer or reduce it | 1031 exchange, installment sale, section 121 for a former home, step-up at death, losses |
How capital gains on a rental property are figured
The tax starts with one subtraction: what you sold for, less your adjusted basis. Everything else on this page is about how that gain gets split up and which rate hits each piece.
Adjusted basis on a rental property
Your basis starts as what you paid for the house plus the buying costs you didn't deduct (title, recording, transfer tax you paid as buyer). Add capital improvements such as a new roof, an addition or a replaced HVAC system. Then subtract every dollar of depreciation you took, or were allowed to take, over the years you rented it. IRS Publication 551 says that if you didn't claim depreciation, you still reduce the basis by the full amount you could have taken.
Amount realized and the capital gain
The amount realized is the sale price less your selling expenses: commission, escrow and title charges you pay, transfer tax and legal fees. Gain is the amount realized minus the adjusted basis. If you held the house more than a year, the gain is long-term. The line items that come off the price are covered in the Sacramento rental selling costs guide.
Why depreciation makes the capital gain bigger
Depreciation cut your taxable rent every year, and it also lowered your basis. So a house you sell for exactly what you paid still shows a gain equal to the depreciation. That part is taxed differently, which is the next section.
Federal capital gains rates on rental property in 2026
For tax years beginning in 2026, the IRS set these long-term capital gains breakpoints in Rev. Proc. 2025-32. They apply to taxable income, with the gain stacked on top of your other income.
| Filing status (2026) | 0% rate up to | 15% rate up to | 20% rate above |
|---|---|---|---|
| Married filing jointly | $98,900 | $613,700 | $613,700 |
| Single | $49,450 | $545,500 | $545,500 |
| Head of household | $66,200 | $579,600 | $579,600 |
| Married filing separately | $49,450 | $306,850 | $306,850 |
Unrecaptured section 1250 gain at up to 25%
The part of the gain that equals the depreciation on the house is unrecaptured section 1250 gain. IRS Topic 409 caps its rate at 25%, and it's taxed at your ordinary rate if that's lower. A couple in the 22% bracket pays 22% on it, which is what happens in the Sacramento example below. The full recapture math, including appliances and carpet, is in the depreciation recapture guide.
Net investment income tax (NIIT) of 3.8%
IRS Topic 559 adds 3.8% on the smaller of your net investment income or the amount your modified adjusted gross income exceeds $250,000 (married filing jointly), $125,000 (married filing separately) or $200,000 (single or head of household). Gain on a rental counts as investment income for most landlords. A one-time sale is often what pushes an otherwise ordinary household over the line, so check it even if you've never paid it. It's figured on Form 8960.
California capital gains tax on a rental: taxed as ordinary income
The Franchise Tax Board says it plainly: California has no lower rate for capital gains, and all capital gains are taxed as ordinary income. The depreciation part, the rest of the gain and your wages all go through the same brackets.
California brackets that apply to the capital gain
FTB had posted its 2025 rate schedules but not the 2026 ones as of October 2026, so the example here uses 2025. For a married couple filing jointly, 2025 taxable income from $145,448 to $742,958 is taxed at 9.3%, then 10.3%, 11.3% and 12.3% at the top. For single filers, 9.3% starts at $72,724 and 12.3% starts at $742,953. Most Sacramento landlords selling one house land in the 9.3% band for most of the gain.
Behavioral Health Services Tax over $1 million
The state adds 1% on taxable income over $1,000,000. FTB's 2026 estimated tax instructions now call it the Behavioral Health Services Tax (it was the Mental Health Services Tax). With the 12.3% top bracket, that makes 13.3% the highest rate on a very large gain.
FTB Form 593 withholding is a prepayment
At closing, escrow usually withholds 3⅓% of the sale price and sends it to the FTB on Form 593. It's a credit on your California return, so it counts toward the tax, and you get back anything that's more than you owe. You can elect an alternative amount figured on your estimated gain (12.3% of the gain for an individual), which only helps when the gain is small. A rental that was last your main home, a sale at a loss and a 1031 exchange can be exempt.
Capital gains on a Sacramento rental property: a full example
These are assumptions, labelled, so you can swap in your own. A married couple bought a Sacramento rental in 2014 for $260,000 plus $4,000 of buying costs and allocated 25% to the land. They sell it in 2026 for $470,000, about the city's typical value of $470,552 in Zillow's September 2026 figures. They file jointly and have $120,000 of other federal taxable income and $140,000 of California taxable income.
| Line | Amount |
|---|---|
| Sale price | $470,000 |
| Selling costs (assumed) | -$28,000 |
| Amount realized | $442,000 |
| Purchase price plus buying costs | $264,000 |
| Depreciation, 12 years at $7,200 ($198,000 building / 27.5) | -$86,400 |
| Adjusted basis | $177,600 |
| Total gain | $264,400 |
| Unrecaptured section 1250 gain (the depreciation) | $86,400 |
| Rest of the long-term capital gain | $178,000 |
Federal tax on the Sacramento capital gain
The $86,400 of depreciation stacks on their $120,000 of other income and sits entirely in the 22% bracket, so it costs $19,008 (22% is below the 25% cap). The remaining $178,000 lands between $206,400 and $384,400 of taxable income, all inside the 15% band, for $26,700. Federal income tax on the sale: $45,708.
NIIT on the Sacramento capital gain
Their modified AGI rises from about $152,200 to $416,600. The excess over $250,000 is $166,600, which is less than the gain, so the NIIT is 3.8% of $166,600: $6,331.
California tax on the Sacramento capital gain
Adding $264,400 to $140,000 takes California taxable income to $404,400. On the 2025 joint schedule, tax rises from $5,968 to $30,486: $24,518, or 9.3% on almost every dollar of the gain.
Total capital gains bill and the Form 593 credit
All in, about $76,557, or 29% of the gain. The state's share is about 54% of the federal income tax figure. Escrow withholds 3⅓% of $470,000, which is $15,651, so roughly $8,867 more is due to the FTB with the return or through estimated payments. That gap surprises people who assumed the withholding was the state tax.
Run your own version before you list with the rental property capital gains calculator. The rent vs sell calculator compares the after-tax sale with keeping the house.
How to avoid or defer capital gains tax on rental property
Nothing legal makes the gain vanish while you're alive and cashing out. These tools defer it, shrink it or move it, and each has a catch.
1031 exchange to defer the capital gain
Sell the rental and buy another investment property through a qualified intermediary within the 45-day and 180-day deadlines, and the federal and California tax are deferred into the new property. The catch is that you stay a landlord. The rules and California's out-of-state reporting are in the 1031 exchange California guide.
Installment sale to spread the capital gain
If you carry the buyer's loan, you report the gain as payments come in (IRS Publication 537). Depreciation recapture taxed as ordinary income must be reported in the year of sale, and the FTB withholds on each later principal payment unless you elect out. The risk is a buyer who stops paying.
Section 121 for a rental that used to be your home
If you lived in the house as your main home for two of the five years before the sale, up to $250,000 of gain ($500,000 for most couples) can be excluded. Depreciation after May 6, 1997 is still taxed, and under the nonqualified use rule in IRS Publication 523, gain tied to rental years after 2008 can't be excluded, except rental time after you moved out within the five-year window. If you're deciding whether to rent out your old home, read rent or sell your house first.
Step-up in basis: no capital gain for heirs
Under IRS Publication 551, heirs generally take a basis equal to the value at death, which wipes out the built-up gain and the depreciation. In California, a married couple's community property can get a new basis on the whole house when one spouse dies. Selling an inherited Sacramento rental soon after often produces little or no gain.
Offsetting the capital gain with losses
Capital losses from stocks or other sales offset the gain. Passive losses the rental couldn't use in earlier years are generally released in full when you sell your entire interest to an unrelated buyer (IRS Publication 925). Ask your CPA for that carryforward figure; it can be large on a house that ran at a paper loss for years.
If the replacement is in another state, read exchanging a California rental into another state. A house acquired through an exchange has its own five-year rule, covered in converting a 1031 rental to a primary residence.
Selling a rental property at a loss: no capital gains tax
If the amount realized is below your adjusted basis, there's no gain to tax. Because rental property is section 1231 property, a net section 1231 loss is an ordinary loss under IRS Publication 544, which is more useful than a capital loss capped at $3,000 a year. You can also certify a loss on Form 593 and avoid the 3⅓% withholding, but the FTB won't accept a loss claimed because you got no cash or think the price is low. In Sacramento, where the typical value is still about 9% below its July 2022 peak, owners who bought near that peak should run this math.
Capital gains checklist before you sell your Sacramento rental
This is general information, not tax advice, and your numbers will differ. Ask a CPA to run your actual return before you list. Bring these:
- The closing statement from when you bought, and receipts for improvements.
- Depreciation schedules from your past returns (federal and California can differ).
- An estimate of the sale price and selling costs.
- Any passive loss carryforward on the rental.
- Your expected 2026 income without the sale, for the NIIT and bracket math.
- Whether you want another rental (1031) or to be done (sale).
For a sale price built from recent comparable sales, Justin can value the house, and the site's guide to selling a Sacramento rental covers the rest of the decision.
Capital gains on rental property: questions Sacramento owners ask
How much capital gains tax will I pay when I sell my rental property?
It depends on your gain, your depreciation and your other income. In 2026, the federal rate on the gain is 0%, 15% or 20%, the depreciation part is taxed at up to 25%, and the 3.8% NIIT may apply. The state then taxes the whole gain as ordinary income. In this page's Sacramento example, a $264,400 gain produced about $76,557 of total tax, roughly 29%.
How do I avoid capital gains tax on a rental property?
You can't make it disappear while you're alive and cashing out, but you can defer or reduce it. A 1031 exchange defers it if you buy another investment property. An installment sale spreads it out. Section 121 can exclude part of the gain on a house that used to be your home. Heirs who inherit get a stepped-up basis. Losses elsewhere can offset it.
How do I avoid capital gains tax on investment property in California?
The same federal tools work for California: a 1031 exchange, an installment sale and the step-up at death. What California doesn't have is a lower rate, since the FTB taxes all capital gains as ordinary income. If you exchange into property outside California, you must file FTB Form 3840 every year until the deferred California gain is taxed.
How much capital gains tax do I pay on $100,000?
For a married couple with $120,000 of other 2026 taxable income, $100,000 of long-term gain is taxed at 15% federally, which is $15,000, plus about $84 of NIIT. California adds about $9,229 at 9.3% if their California taxable income starts at $140,000. If part of the $100,000 is depreciation, that part is taxed at their ordinary rate, up to 25%.
Does California tax capital gains on rental property differently?
Yes. California has no special capital gains rate. The FTB taxes the gain, including the depreciation part, as ordinary income at rates from 1% to 12.3%, plus 1% on taxable income over $1 million. For most single-house sellers in Sacramento, the gain is taxed at 9.3%. The 3.8% NIIT is federal only; there's no state version.
Is the 3⅓% withheld at closing my California capital gains tax?
No. Form 593 withholding is a prepayment toward your California income tax, claimed as a credit on your return. If your actual tax is higher, you pay the difference; if it's lower, the FTB refunds the excess. In the Sacramento example, withholding was $15,651 against $24,518 of California tax on the gain, leaving about $8,867 to pay.
Do I pay capital gains on a rental I used to live in?
Possibly less. If you lived there as your main home for two of the five years before the sale, section 121 can exclude up to $250,000 of gain, or $500,000 for most couples. The depreciation you took while renting is still taxed, and gain tied to rental years after 2008 before you moved in can't be excluded.
Sources
- IRS Rev. Proc. 2025-32: 2026 inflation-adjusted items, including capital gains rate amounts
- IRS Topic 409: Capital gains and losses
- IRS Topic 559: Net investment income tax
- IRS Publication 527: Residential rental property
- IRS Publication 544: Sales and other dispositions of assets
- IRS Publication 551: Basis of assets
- IRS Publication 523: Selling your home (nonqualified use)
- IRS Publication 537: Installment sales
- IRS Publication 925: Passive activity and at-risk rules
- FTB: Capital gains and losses
- FTB: 2025 California tax rate schedules
- FTB: Tax calculator, tables, rates
- FTB: 2026 Form 540-ES instructions (Behavioral Health Services Tax)
- FTB: 2026 Form 593 instructions, real estate withholding
