Property tax, capital gains, and S-corp: how does the sale of real estate flow through?

Trying to work through a situation and I'm getting lost in the layers. Our S-corp owns a commercial property we bought years ago. We're under contract to sell it now. I know the gain flows through on the K-1 to our individual returns, but I'm unclear on a few things: do the property taxes paid during the year reduce the gain on the sale itself, or are they just a deduction on the corp's books? And does the S-corp's gain get characterized as capital gains on my Schedule D, or does something else happen depending on how long we've held it and the depreciation taken? We've held the property more than a year. I've tried reading Publication 550 but it's aimed at securities and doesn't cover real estate through a passthrough. What's the actual flow here for property tax, capital gains, and S-corp situations?

29 comments

Property taxes paid by the S-corp are an ordinary deduction on the S-corp's books, not a reduction to the gain on sale. The gain is figured separately: sale price minus adjusted basis. The adjusted basis starts at what the S-corp paid for the property, plus improvements, minus accumulated depreciation. Property tax payments don't touch that number at all.

Alex F.

Author

Filing step I'm on now: pulling the depreciation schedule to get the adjusted basis right. That part makes sense. I was confusing two separate calculations.

The holding period question matters a lot here. You said more than one year, so the gain on the land portion will be long-term capital gain. But the portion of gain attributable to depreciation taken (called unrecaptured section 1250 gain) is taxed at a different rate on your individual return. The S-corp's return separates these and they come through on the K-1 in different boxes.

Alex F.

Author

Next step I need to take: asking our accountant which K-1 boxes will show the 1250 recapture vs. the remaining long-term gain. I didn't realize they'd be in separate boxes.

Correct on the 1250 piece. The K-1 will show unrecaptured section 1250 gain separately so your software or preparer can tax it at the right rate. It doesn't just all land on Schedule D as a plain long-term gain.

Worth clarifying: for securities, Publication 550 at irs.gov/publications/p550 is the right place. For real estate in an S-corp, you're really looking at the S-corp's Form 1120-S and the K-1 instructions. The gain flows directly to your Schedule D (line 12 for long-term), not through Form 8949, but the character (capital vs. ordinary) is determined at the entity level before it ever gets to you.

Went through almost this exact setup last year — S-corp sold a building we'd held about nine years. I uploaded our 1120-S draft, the depreciation schedule, and the closing statement to taxr.ai and it flagged that the depreciation recapture amount on the draft return didn't match what the schedule showed, which would have flowed through to our K-1s wrong. Saved a real headache. The ordinary income piece from the recapture is not capital gains; it comes through as a separately stated item.

Alex F.

Author

Next thing I'm doing: comparing our depreciation schedule line by line against what the return shows before the CPA files. Didn't know that mismatch was even possible.

One thing that gets people: if the S-corp took bonus depreciation or section 179 in earlier years, the recapture on section 179 is ordinary income, not capital gain and not 1250 gain. That flows through the K-1 as ordinary business income. The character depends on what kind of depreciation was taken and on which asset.

Good addition. The asset type also matters — personal property inside the building (fixtures, HVAC if treated separately) may have different recapture rules than the building structure itself.

To answer the property tax piece directly: no, property taxes reduce your ordinary income at the S-corp level each year they're paid. They are not part of the basis calculation and do not reduce your gain at sale. The gain is a completely separate computation.

Your Schedule D on your personal return will show what flows from the K-1. For the long-term capital gain portion, that goes in Part II of Schedule D. The unrecaptured 1250 gain feeds the Unrecaptured Section 1250 Gain Worksheet that feeds the tax computation. Your tax software handles this if the K-1 is entered correctly, but it's worth checking the worksheet.

Alex F.

Author

Filing step I'm tracking: making sure our tax software imports the K-1 boxes correctly and that the 1250 worksheet actually populates. I'll check it manually.

Had Taxr go through my K-1 and the 1120-S page by page last year after an S-corp property sale. It listed every box that had an entry and showed me what line on my 1040 each one was supposed to reach. That walkthrough made it clear the unrecaptured 1250 gain wasn't hitting the right worksheet in my software — I caught it before filing. For the holding period, the rule is that your holding period starts the day after you acquired the property; the day of sale counts as part of the period.

The holding period rule you mentioned is confirmed in Publication 550. More than one year from the day after acquisition through the sale date is long-term.

Does the state matter here? Some states don't conform to federal capital gains treatment and might tax the S-corp gain differently or require a separate state return for the entity even if it's a pure passthrough federally.

Yes, state conformity varies a lot. Some states tax S-corp income at the entity level or have their own recapture rules. That's worth a conversation with a CPA who knows your state.

Don't overlook the net investment income tax question on your individual return if your income is above certain thresholds. Passive S-corp activity gain can be subject to it. Whether the S-corp activity is passive or active for you personally affects this. The form is Form 8960 and the instructions spell out what counts.

Alex F.

Author

Next step: asking our CPA whether this S-corp activity is passive or active for us and whether Form 8960 applies. Hadn't thought about that layer.

The adjusted basis calculation is where most people slip. Start with original purchase price, add capital improvements, subtract all depreciation ever claimed (or allowed, whichever is greater — even if you didn't actually take it). That last part bites people who skipped depreciation in early years thinking they were being conservative.

The "allowed or allowable" rule is real and it's in the basis rules. You reduce basis by the larger amount. So not claiming depreciation doesn't protect you from recapture on the amount you should have claimed.

If you used a 1031 exchange to get into this property, your basis carries over from the relinquished property (adjusted for boot and depreciation). That changes both your gain and your holding period in ways that aren't obvious. If that applies, definitely loop in a CPA.

Dealing with a similar sale right now. I gave Taxr all my closing documents and the S-corp's depreciation schedule and had it build out the gain calculation step by step — purchase price, improvements, depreciation taken, then the split between ordinary recapture and long-term capital gain. Helped me walk into the CPA meeting knowing what each number was supposed to be before we ever started on the return.

Alex F.

Author

Filing step I want to do before our CPA call: build out that same calculation myself using the closing statement and depreciation schedule so I actually understand what I'm handing over.

For the Form 8949 side: the long-term capital gain piece from the K-1 doesn't go on Form 8949 at all; it goes directly on Schedule D line 12. Form 8949 is only for sales you made yourself. Check that your software doesn't also put it on an 8949 so nothing gets doubled.

Software routing differs by platform. The K-1 input screen usually handles it, but it's worth looking at Schedule D to make sure the number shows up once, on line 12, and not also on a Form 8949.

Worth saying plainly: an S-corp property sale with depreciation recapture, possible 1250 gain, possible section 179 recapture, and state considerations is exactly the kind of return where a CPA or enrolled agent who handles S-corp real estate transactions is worth the cost. The stakes on getting the K-1 wrong are high because it flows to every shareholder's return.

The IRS instructions for Form 1120-S and the Schedule K-1 instructions break down which box each type of gain goes in. Reading those alongside your draft return before it's filed is the best way to catch a mismatch. The Schedule D instructions also cover how K-1 amounts get reported on your personal return.

Alex F.

Author

Last step I'm noting: pull the K-1 instructions and the 1120-S instructions and check our draft return box by box before anything gets filed. This thread answered the property tax and capital gains S-corp question way better than anything I found on my own.