California form 3801 rental sale gain federal form 4797 versus schedule d-1 depreciation difference — why are these numbers split?

Sold a California rental property this year that I've held for about nine years. On the federal side my software put the gain on Form 4797 (ordinary recapture piece) and Schedule D (the remaining long-term capital gain). That part I more or less understand. What's throwing me is the California return. Form 3801 is showing a suspended passive loss carryover being released, and the depreciation figure feeding into it doesn't match what's on the federal 4797. I've been depreciating under MACRS over 27.5 years on both returns, so I expected the numbers to line up. They don't, and I can't tell if it's a California conformity issue, a basis difference, or something my software built in wrong. Anyone else run into this split and figured out why?

32 comments

California generally conforms to federal MACRS depreciation rules for residential rental property, but the two returns can diverge if you ever took bonus depreciation or a Section 179 deduction on personal property inside the rental. California didn't conform to federal bonus depreciation for most years, so if any of your appliances or improvements were expensed federally but had to be capitalized and depreciated on the California return, your California adjusted basis is higher than federal. That means California depreciation taken is lower, California gain on Form 4797 is lower, and the numbers will never match.

Maya H.

Author

This is probably it. I did take some bonus depreciation on appliances back when I first set the place up. I never thought about California not conforming to that. So my California basis would be different from day one basically.

Yes, the basis difference compounds every year because California allowed less depreciation each year on those items. By sale you've got years of divergence baked in. Your software should be tracking a California depreciation schedule separately from the federal one.

The Schedule D-1 piece on California is just the state's continuation sheet for capital gains — it flows to California Schedule D the same way federal Schedule D flows from Form 4797. The real question is whether California Form 3801 is releasing your suspended losses correctly on the year of sale. When you fully dispose of the passive activity, all prior-year suspended losses on Form 3801 should be released and offset your gain. Check that the California suspended loss carryover on Form 3801 line 1b matches what carried in from last year's return.

Had almost this same situation last spring. I uploaded my federal 4797, California 3801, and both depreciation schedules to taxr.ai and asked it to flag every line where the California figure didn't tie to the federal figure. It listed four specific spots including one on the unrecaptured 1250 gain worksheet that I would have completely missed. Worth doing before you finalize anything. The root issue in my case was a California-specific basis adjustment from an improvement I made in 2018 that was treated differently under AB 91 conformity rules. That gap carried forward for five years into the sale.

Maya H.

Author

How did you handle the fix once you found the differences? Did you have to override lines in the software or start the California depreciation schedule from scratch?

I had to rebuild the California depreciation schedule from the year of acquisition. Once I had the correct California accumulated depreciation, the 3801 and the California 4797 equivalent both settled. No line overrides — rebuilding the schedule was cleaner.

Don't overlook the suspended loss release timing. Form 3801 tracks California passive losses the same way Form 8582 tracks federal ones. But the carryover amounts can differ if in a prior year your California loss was a different number than your federal loss — again usually from the depreciation conformity gap. So two separate carryover pools, both releasing in the year of sale, both hitting different gain figures.

Good point. I had a year where my federal passive loss on 8582 was larger than my California 3801 carryover because California's lower depreciation meant a smaller annual loss. By sale year the gap in carryovers was substantial.

One concrete thing to check: pull the California depreciation schedule your software has been generating every year and add up total California depreciation taken over the hold period. Then do the same for the federal schedule. The difference between those two totals is essentially the basis difference driving the gain split between the two returns. If your software never built a separate California schedule, that's the problem right there.

Maya H.

Author

I checked and the software does have separate schedules. The California accumulated depreciation is lower by a noticeable amount, which lines up with what people are saying about bonus depreciation non-conformity.

Something worth clarifying on the federal side: the split between Form 4797 and Schedule D isn't arbitrary. Section 1250 recapture (ordinary income, the amount of depreciation taken on real property beyond straight-line, which is usually zero for most residential rental situations) goes on 4797 Part III. The unrecaptured Section 1250 gain — the portion taxed at a max rate — is figured on the Unrecaptured Section 1250 Gain Worksheet, goes on Schedule D line 19, and is taxed through the Schedule D Tax Worksheet. The long-term gain beyond that hits Schedule D. California generally follows this structure but uses its own gain figures.

Does the California return have its own equivalent of the unrecaptured 1250 gain? I always assumed California taxed everything at ordinary rates so the distinction didn't matter there.

California taxes all capital gains as ordinary income at the state level, so the federal rate distinction for unrecaptured 1250 gain doesn't create a separate California line. But the gain amount itself still has to be computed correctly from the California adjusted basis, which is the whole issue here.

That makes sense. So California doesn't get the preferential rate treatment but still needs the correct basis to compute what gets taxed. Got it.

If you actively participated in the rental, the suspended losses on Form 3801 that are releasing at sale year should fully offset gain regardless of your income level — the passive activity rules allow complete release on a full disposition. The $25,000 special allowance limit that applies during ordinary rental years doesn't cap the release on sale. That's true on both Form 8582 federally and Form 3801 on the California side.

Maya H.

Author

Yes, fully releasing on sale is what I expected. The 3801 does show a full release, I just wasn't sure the amount being released was computed from the right California carryover balance.

I ran into a California 3801 and federal 8582 mismatch two years ago. I gave Taxr my prior-year California return, the 3801 carryover worksheets going back several years, and the federal depreciation schedule, and it traced exactly where the California and federal passive loss pools started diverging and by how much each year. That gave me a clear reconciliation I could actually hand to my CPA to confirm before filing. The CPA said the trace was correct and we used those numbers. The divergence started in the second year of ownership when I added a dishwasher and took federal bonus depreciation on it.

Maya H.

Author

A year-by-year reconciliation is exactly what I need. The carryover gap has to come from somewhere specific and I've been staring at the totals without tracing each year.

Make sure your California sale amount on Form 3885 or the California 4797 equivalent is using California adjusted basis, not federal adjusted basis. The selling price is the same on both returns, but if the basis lines are using the federal accumulated depreciation figure on the California form, every downstream number will be wrong.

Yes, this is a common software error. Some programs populate the California forms by copying the federal 4797 and only adjusting a few fields. If the basis override isn't set, you get the wrong California gain from line one.

My situation was simpler but related — I didn't realize California had a separate passive loss tracking form at all until I sold. I'd been paper filing for years and never thought to check whether my California 3801 carryovers had been building correctly. By sale year the state carryover was completely wrong and I had to file an amended return for the sale year to correct it.

No, that's not ideal but it's fixable. An amended California 540 with a corrected 3801 is straightforward as long as you have the documentation for the correct carryover amounts. Your depreciation schedules from each year are the key supporting document.

Worth naming what California Form 3801 actually is for anyone who lands here: it's California's passive activity loss limitation form, parallel to federal Form 8582 but California-specific. When you have a rental sale in California, the 3801 releases suspended losses, and those losses can offset the California gain. I fed my entire California return and the asset detail pages into Taxr and had it identify every California-federal difference in the asset list. It flagged three assets where California basis and federal basis had diverged, with the exact year the divergence started for each one. That list made the reconciliation manageable instead of a guessing game.

Maya H.

Author

The asset-by-asset approach is what I was missing. I was looking at totals rather than going item by item through the depreciation schedule to find where California and federal split.

One thing that can complicate this further: if any improvements were made after the Tax Cuts and Jobs Act took effect for federal but California didn't conform to the same QIP rules, you may have a 15-year federal recovery period for certain improvements where California used 39 years. That creates another layer of basis divergence beyond just the bonus depreciation issue.

Good catch. QIP conformity is a known gap. Federally QIP is 15-year property eligible for bonus depreciation after the CARES Act correction. California didn't conform, so California would depreciate the same improvement over 39 years. That's a significant per-year difference on a large improvement.

Maya H.

Author

I did put a new roof on in 2020. Roof is a structural component so that should be 27.5 years on both returns — same recovery period as the property itself per Publication 527. But I'll check whether anything else I did around that time is classified differently between the two returns.

Your roof should line up on both returns: Table 2-1 in Publication 527 at irs.gov confirms 27.5 years for residential rental buildings and structural components. That's the federal baseline. California's conformity issues don't affect structural components the same way they affect personal property like appliances and furniture, so your roof should be clean on both sides.

Practically speaking, once you've reconciled the California and federal accumulated depreciation totals, the remaining math is: California selling price minus California adjusted basis equals California total gain. That gain flows to the California equivalent of Form 4797 for the recaptured depreciation piece and to Schedule D via Schedule D-1 for the capital gain piece. The 3801 suspended losses then offset the California gain from both sources in the year of sale.

To answer the original question directly about the depreciation difference: it's almost certainly a cumulative basis difference from California non-conformity to federal bonus depreciation and potentially QIP rules, multiplied across your nine-year hold. The number won't be an error — it's intentional and correct if the California depreciation schedule was built right from day one. The Schedule D-1 versus Form 4797 split on California mirrors the federal split in structure even though the amounts differ.

Maya H.

Author

This thread sorted it out for me. The gap is real and correct, not a software glitch. I need to verify my California cumulative depreciation is built from the right starting point and then the 3801 release and the gain split should all follow from there. Appreciate everyone walking through this.