How to calculate taxable gain and depreciation recapture on sale of rental property in New Jersey

Sold my rental property in New Jersey last month after owning it for 11 years. I've been depreciating it on Schedule E the whole time and now I'm trying to figure out how to calculate taxable gain and depreciation recapture on sale of rental property in New Jersey before I sit down with anyone. I know there's a federal side and a state side to this. I have my original purchase price, closing costs from when I bought it, and the depreciation I've claimed every year on Form 4562. What I can't figure out is how the depreciation recapture actually gets taxed separately from the rest of the gain, and whether New Jersey treats it the same way the IRS does. Already looked at Schedule D instructions but got confused where the 1250 recapture fits in.

39 comments

Sold a rental myself two years ago after nine years of ownership. The federal calculation has three moving parts you have to do in order. First: adjusted basis = original cost + capital improvements + closing costs at purchase - total depreciation allowed or allowable. Even if you skipped a depreciation deduction one year, the IRS still reduces your basis by the amount you could have taken. Second: realized gain = sale price - selling costs - adjusted basis. Third: that gain splits into two buckets. Depreciation recapture under Section 1250 (for residential rental property it's the unrecaptured amount, taxed at a maximum federal rate that the IRS instructions cap) goes on the Unrecaptured Section 1250 Gain worksheet inside Schedule D. The remaining gain is long-term capital gain if you held over a year.

Maya K.

Author

This is the clearest breakdown I've seen. The "allowed or allowable" part is what was tripping me up - I missed a year of depreciation around year 4 and wasn't sure whether to include that. Sounds like I have to.

Yes, exactly that. The IRS uses whichever is greater - what you actually claimed or what you were allowed to claim. That missed year still reduces your basis, so you should go back and claim it now on Form 3115 to at least get the deduction before you sell.

I uploaded all my closing documents and 11 years of Schedule E returns to taxr.ai and it built out my adjusted basis calculation year by year, flagging the depreciation I had claimed each year against what I'd put on Form 4562. Made it much easier to hand to my CPA rather than reconstructing everything from scratch. On the actual mechanics: Form 4797 is where the sale of the rental goes, not just Schedule D. For residential rental under Section 1250, the unrecaptured gain is the depreciation allowed or allowable on the building, limited to your gain. It flows from Form 4797 to the Unrecaptured Section 1250 Gain worksheet on Schedule D, and that worksheet determines what portion is taxed at the recapture rate versus the regular long-term rate. Worth reading the Form 4797 instructions line by line before you fill anything in.

Maya K.

Author

I didn't even know Form 4797 was involved. I thought it was all Schedule D. So the sale goes on 4797 first and then flows into Schedule D?

Yes, that's right. Part III of Form 4797 handles the detail on a depreciable asset sale, then the net gain carries to Part I and from there to Schedule D. The recapture piece stays separate on the Unrecaptured Section 1250 Gain worksheet.

Worth separating what "depreciation recapture" means in everyday language from the technical term. For residential rental (27.5-year property), there is generally no Section 1245 recapture the way there is for equipment. Instead you have Unrecaptured Section 1250 Gain - the cumulative straight-line depreciation allowed or allowable, up to the amount of your gain. The federal tax rate on that bucket is capped by the instructions; check the Schedule D tax worksheet because the actual rate you pay depends on your overall taxable income that year. If you also sold appliances or other personal property that was depreciated separately, those could trigger Section 1245 recapture taxed as ordinary income. That's a different line on Form 4797.

No, wait - is it possible to have both 1245 and 1250 recapture on the same sale if you separated out appliances?

Yes, absolutely. The building itself goes through the 1250 unrecaptured gain calculation. Appliances, carpeting and similar personal property that you depreciated on a shorter schedule each get their own Form 4797 Part III entry and produce 1245 ordinary income recapture up to the amount of depreciation claimed on each one.

New Jersey is what complicates this for a lot of people. NJ does not follow the federal capital gains rate structure. For NJ Gross Income Tax purposes, the entire gain - including what the IRS treats as the unrecaptured 1250 piece - is taxed as ordinary income at regular NJ GIT rates. There's no preferential rate on long-term gains at the state level. Also, NJ calculates depreciation differently. NJ did not conform to bonus depreciation or accelerated methods at various points, so your NJ adjusted basis might be higher than your federal basis if you took bonus depreciation on improvements. That means your NJ gain could actually be lower than your federal gain.

Maya K.

Author

This is exactly what I was worried about - that the NJ calculation would be totally different. So I might have two different gain numbers, one for federal Form 4797 and one for NJ?

Yes, two separate calculations. Federal on Form 4797 and Schedule D, NJ on NJ-1040 Schedule B for income and you'll also need to check NJ's depreciation conformity for whatever improvements you made. If you used bonus depreciation federally, the NJ basis adjustment is real.

My accountant walked me through this last year on a property I sold in Bergen County. The NJ nonresident withholding requirement caught me off guard - there's a withholding on the sale proceeds at closing if the seller doesn't occupy the property as a primary residence. The title company handles it but you need to know it's coming. You file to reconcile it when you do your NJ return. Look up NJ GIT/REP forms on the NJ Division of Taxation site, that's the form series for it.

Maya K.

Author

I'm a NJ resident so I think the withholding situation is different for me, but good to flag for anyone who owns NJ rental as an out-of-state investor.

Yes, resident sellers handle it differently through the regular NJ-1040. The GIT/REP withholding is mainly the out-of-state seller issue. Still worth confirming with your closing attorney either way.

I had Taxr go through my Form 4797 and the Unrecaptured Section 1250 Gain worksheet together after I sold a duplex. It compared what I'd entered on each line against my depreciation schedules and pointed out that I had the wrong basis on one improvement I made in year six - I had used the full cost but hadn't reduced it for the partial year I placed it in service. Caught it before I filed. For the NJ side, the state instructions for Schedule B on the NJ-1040 are worth reading carefully. NJ defines basis and allowable depreciation in a way that can diverge from federal, especially if you ever took a Section 179 deduction on personal property inside the rental.

Maya K.

Author

The partial-year convention is another thing I hadn't thought about for improvements. I put a new roof on in year 3 - that starts its depreciation from mid-month of the month I placed it in service, right?

Yes, residential rental improvements use the mid-month convention. The roof takes a 27.5-year recovery period, same as the building itself under MACRS GDS, and you start with the mid-month of the month it was placed in service. Form 4562 would have shown the deduction each year.

Stepped in here because I made an error on mine that cost me. I initially thought I could use the Section 121 exclusion to shelter some of the gain because I had lived in the property for two years before converting it to a rental. The exclusion is real but it doesn't eliminate the depreciation recapture piece. The depreciation taken during the rental period is still recaptured even if the remaining gain qualifies for the exclusion. IRS Publication 523 covers the interaction if you're in that situation.

Maya K.

Author

I never lived in this property, it was always a rental, so Section 121 doesn't apply to me. But useful to know for others.

The adjusted basis calculation is where I see people go wrong most often. Here's what goes into it: Start: purchase price plus buying-side closing costs (title, attorney, transfer taxes you paid as buyer). Add: capital improvements over the years - not repairs, only improvements that extend life or add value. Subtract: total depreciation allowed or allowable over the entire holding period. That final number is your adjusted basis. Then: amount realized (sale price minus selling costs) minus adjusted basis = your realized gain. It all sounds straightforward until you're trying to reconstruct 11 years of depreciation records.

Maya K.

Author

The repairs vs. improvements distinction caught me too. I replaced a water heater in year 7 - does that go in as an improvement or a repair?

A water heater replacement is generally treated as an improvement under current rules because it's replacing a structural component. As a structural component of the rental it is depreciated over 27.5 years, the same as the building, not on a shorter MACRS schedule as equipment. Check your old Form 4562 - if it's listed there as a separate asset, it has its own basis and depreciation to reconcile on Form 4797.

Don't overlook selling costs when you calculate amount realized. Real estate commissions, attorney fees at closing, title fees you paid as the seller, transfer taxes - all of those reduce your sale price before you subtract basis. I nearly forgot the attorney fee on mine and it was not a small number.

Yes, and NJ has a realty transfer fee that the seller typically pays. That's a selling cost and reduces your NJ amount realized too. It can be a few thousand dollars on a mid-range property.

I gave Taxr my HUD-1 from when I bought and the settlement statement from when I sold, plus all the Form 4562s, and it laid out the full gain calculation step by step - basis in, depreciation out, amount realized, then separated the recapture piece from the remaining long-term gain. Handed the worksheet to my enrolled agent and she said the numbers were right. That part of the process was much less painful than I expected. One thing she added that Taxr hadn't gotten into: the net investment income tax under Section 1411 applies to rental gains for most sellers who aren't real estate professionals. That's another federal layer on top of the capital gains and recapture rates, depending on your MAGI.

Maya K.

Author

I keep hearing about the net investment income tax and always assume it doesn't apply to me. How do I know if it does?

It depends on your MAGI crossing a threshold that the IRS sets - check Form 8960 and its instructions for the exact number and how rental gain factors in. Your tax software or preparer will calculate it, but don't be surprised if it shows up.

Before you see a preparer, request tax return transcripts from the IRS for the years you owned the property. They show your Schedule E line items, including depreciation, but only for the current year and three prior years; for older years, request copies of your filed returns with Form 4506. If your records are incomplete, those are the backup. You can get transcripts through your IRS online account.

Maya K.

Author

I have all my returns but this is a great tip in case anything doesn't match up between my records and what was actually filed.

NJ keeps its own depreciation schedules, and they weren't always updated to match federal MACRS changes. If you placed the property in service in a year when there was a federal depreciation change that NJ didn't adopt, your NJ basis differs from federal from that point forward. You can't just use your federal Form 4797 numbers on your NJ return without checking conformity.

The earlier comment saying the water heater is depreciated on a shorter MACRS schedule as equipment needs a second look. That's true for a standalone water heater treated as personal property under older rules, but under current MACRS guidelines residential water heaters that are part of the building's plumbing system may be treated as structural components and depreciated over 27.5 years. How it was classified when originally placed in service on Form 4562 controls. Don't reclassify it now without checking what was actually filed.

Maya K.

Author

No 1031 on mine, straight purchase. But I know people who have 1031 chains going back multiple properties. That must be a nightmare to unwind for the recapture calculation.

Yes, each exchange adds a layer. The IRS page on Form 8824 at irs.gov/forms-pubs/about-form-8824 has the instructions for the basis carryover. You need every 8824 from every link in the chain to get the starting basis right.

I want to flag something in the earlier comment that said the water heater is depreciated on a shorter MACRS schedule as equipment. That's true for a standalone water heater treated as personal property under older rules, but under current MACRS guidelines residential water heaters that are part of the building's plumbing system may be treated as structural components and depreciated over 27.5 years. How it was classified when originally placed in service on Form 4562 controls. Don't reclassify it now without checking what was actually filed.

Fair correction. The classification on the original Form 4562 is what controls for the sale. If it's on a 5-year or 7-year schedule on that form, it gets its own 4797 Part III entry with 1245 recapture. If it was rolled into the building at 27.5 years, it stays in the 1250 bucket.

Last practical point: if you have suspended passive activity losses from prior years on this property that you couldn't deduct because of the MAGI phase-out rules under Form 8582, the sale releases all of them in the year of sale. Those losses become fully deductible against your other income that year rather than being netted against the gain itself. Pull your Form 8582 from each prior year to find the suspended amount. That can materially change what you actually owe.

Maya K.

Author

I do have some suspended losses from Form 8582 from a couple of years when my income was too high for the $25,000 allowance. Good to know those finally get to work in the sale year.

Yes, the full suspended amount releases in the disposition year. It's deducted through Schedule E against your income for the year - your preparer won't net it against the Schedule D and 4797 numbers. Worth calculating it before you estimate what you'll owe so you're not over-withholding or underpaying estimated tax.