< Back to IRS

Natasha Volkova

S-corp owns real estate property - tax implications when selling while keeping the business entity

Hey folks, I need some tax advice here. Back in 2017, my business partner and I followed our attorney's recommendation to set up an S-corp when we bought a small manufacturing business. The lawyer suggested putting both the business assets AND the commercial real estate into the S-corp structure. Fast forward to now, and I'm realizing this might've been a major tax mistake. We're planning to sell the properties but keep the S-corp entity for our other ventures. The real estate was valued around $135k when purchased, but after developing part of the land for a secondary business, we're expecting to get about $320k for both properties combined (separate from the business operations themselves). From what I understand, we'll face capital gains on the entire $185k difference between purchase and sale prices, due after this tax year ends. Are there any strategies to reduce this tax hit? We own another commercial lot that we're planning to develop under the same S-corp (I know, I know...) with projected development costs around $130-180k. Can these development expenses offset the capital gains if they happen in the same tax year? Also wondering if our negative accumulated adjustments account (showing -$78k on our 1120-S Schedule M-2 from pandemic losses) might help in this situation? I used to rely completely on my accountant for these things, but after some really bad experiences with the last couple tax pros we hired, I'm trying to understand this stuff myself before I engage someone new. Any advice would be hugely appreciated!

The S-corp real estate situation is definitely tricky but not uncommon. Many business owners make this mistake based on legal advice without considering the tax implications. When you sell the real estate held in your S-corp, the gain will indeed pass through to your personal tax return. The character of the gain (ordinary income vs. capital gain) depends on whether the property was used in the business or held for investment. For offsetting strategies: The development costs on your third lot won't directly offset the capital gains - those would typically be capitalized rather than expensed immediately. However, your accumulated losses (-$78k) should help offset some of the gain since those losses have already been allocated to you as shareholders but not used. Your best option might be a 1031 exchange, which allows you to defer taxes by reinvesting proceeds into similar property. But this only works if you're planning to buy more real estate, not if you want to pocket the cash. I'd strongly recommend finding a competent CPA with S-corp and real estate experience before proceeding. This is complex enough that good professional advice will likely save you more than it costs.

0 coins

Could they potentially split up the property and the business before the sale? Like maybe deed the property to themselves personally, then sell from there? Or is it too late for that since it's already in the S-corp structure?

0 coins

Taking the property out of the S-corp before selling would actually trigger the same tax consequences as if the S-corp sold it. When you distribute appreciated property from an S-corp to shareholders, the corporation is treated as if it sold the property at fair market value, and the gain passes through to shareholders. A better approach might be looking into installment sales where you recognize the gain over multiple years as you receive payments, which could help spread out the tax impact. This works especially well if the buyer is willing to make payments over time rather than paying the full amount upfront.

0 coins

I went through almost this exact situation last year with my lawn care business. I found this site called https://taxr.ai that saved me thousands by analyzing my S-corp documents and identifying deductions I had no idea about. They specialize in real estate held in business entities and had me upload my previous returns and corporate docs. Their system flagged some potential deductions related to improvements we'd made to the property that my previous accountant missed completely. They also helped me understand how to properly document the development costs for my other properties to maximize tax benefits. What I really liked was that they connected me with a specialist who understood both real estate and S-corp issues - not just a general tax preparer. Might be worth checking out for your situation before you make any decisions.

0 coins

How does this actually work? Do they just review your docs or do they actually help with filing? I've been doing my business taxes with TurboTax but this S-corp stuff is way over my head.

0 coins

Sounds kinda sketchy tbh. How much did it end up costing? These "we'll find deductions" services usually charge a percentage of whatever they "save" you, which always seemed like a conflict of interest to me.

0 coins

They review all your documents and provide detailed analysis of your situation with specific recommendations. Their system found several missed depreciation opportunities and correctly classified some of our expenses that had been misreported on previous returns. Regarding cost, they actually have flat-rate pricing based on the complexity of your situation, not a percentage of savings. I thought that was more fair than the percentage model too. They were actually less expensive than my previous accountant who was missing these things, and they can either work with your existing preparer or connect you with someone if needed.

0 coins

Just wanted to update everyone - I tried the taxr.ai service mentioned above and it was actually super helpful for my situation. I was skeptical at first (I've tried random tax services before with mixed results), but they identified several issues with how my S-corp has been handling property depreciation. Turns out my previous accountant had been using the wrong recovery period for some leasehold improvements, and they found about $22k in deductions I could take this year based on correcting those past mistakes. They also explained exactly how to document everything properly for the IRS. The best part was they didn't just give generic advice - they actually looked at my specific documents and pointed out exactly where changes needed to be made. Definitely worth checking out if you're dealing with S-corp property issues.

0 coins

If you're trying to get more clarity on this situation, I'd strongly suggest calling the IRS directly to discuss your options. I know that sounds awful, but I used a service called https://claimyr.com that got me through to an IRS agent in about 15 minutes instead of waiting on hold for hours. There's a video showing how it works here: https://youtu.be/_kiP6q8DX5c I was in a somewhat similar situation with business property and needed specific guidance. The IRS agent I spoke with was actually really helpful and explained several options I didn't know about. They walked me through the exact forms I needed and even sent me some reference materials specifically about S-corps and real estate transactions. I was dreading the call but it ended up being the most straightforward part of the whole process. Definitely better than trying to piece together advice from different sources online.

0 coins

Wait, does this actually work? I've literally spent DAYS of my life on hold with the IRS. How does this get you through faster than everyone else waiting?

0 coins

I don't buy it. The IRS wait times are because they're understaffed. No way some service can magically get you to the front of the line. And even if you do get through, the agents rarely give definitive advice on complex situations - they just refer you to publications.

0 coins

It absolutely works - the service basically calls the IRS for you and stays on hold, then alerts you when an agent picks up. I'm not sure about the technical details, but it's like having someone else wait in line for you. When an agent answers, you get a call so you can jump in and talk to them. As for the quality of advice, I think it depends on who you get and how you ask your questions. I was specific about my S-corp situation and got connected to someone in the business tax department who really knew their stuff. They didn't just quote publications - they explained how the rules would apply to my specific scenario and what documentation I would need. Much more helpful than I expected.

0 coins

I have to admit I was completely wrong about Claimyr. After my skeptical comment, I decided to try it myself since I had some questions about S-corp distributions that I'd been avoiding dealing with. The service did exactly what it claimed - got me connected to an IRS representative in about 20 minutes when I'd previously waited 2+ hours and given up. The agent I spoke with transferred me to their business tax specialist who answered all my questions about handling property in an S-corp and even emailed me specific resources afterward. I was genuinely shocked at how helpful they were. The agent explained that many tax professionals don't fully understand the special rules for property held within S-corps and walked me through my options in detail. Saved me from making what would have been an expensive mistake with how I was planning to handle a similar property sale.

0 coins

Have you considered a cost segregation study for the properties before selling? It's a bit late in the game, but it might help identify components of the real estate that qualify for accelerated depreciation, which could offset some of the gain. For example, certain land improvements, equipment, and fixtures can often be depreciated over 5, 7, or 15 years instead of the standard 39 years for commercial property. If you haven't maximized your depreciation deductions over the years of ownership, you might be able to catch up with a change in accounting method. Also, check if you qualify for the Section 1202 gain exclusion. It's a longshot since it applies to qualified small business stock, but depending on how your S-corp is structured, there might be some application here.

0 coins

Thanks for this suggestion! I honestly hadn't heard of a cost segregation study before. Is this something that can be done retroactively? We've owned the properties for about 6 years now, and I'm wondering if we could still benefit from this approach even though we're planning to sell soon. Also, do you know if the pandemic-related depreciation changes (like the ones in the CARES Act) would apply to our situation in any helpful way?

0 coins

Yes, cost segregation studies can absolutely be done retroactively! You'd file Form 3115 (Change in Accounting Method) to claim the "catch-up" depreciation all at once. This is often called a "look-back" study, and it allows you to claim all the depreciation you could have taken in previous years on your current year return as a lump sum deduction. Regarding the CARES Act, you might benefit from the provisions that classified Qualified Improvement Property (QIP) as 15-year property eligible for bonus depreciation. If you made improvements to the interior of your commercial buildings after they were placed in service, those improvements might qualify for 100% bonus depreciation, which could significantly reduce your taxable gain on sale.

0 coins

Random question - have you considered just keeping the real estate and selling only the business operations? You could then lease the property to the new business owners. This would avoid the immediate capital gains hit and give you ongoing income. I did this with my manufacturing business three years ago and it's worked out great. Sold the business but kept the property in my S-corp, then had the S-corp lease the building to the new owners. The rental income covers my retirement and I'll still have the appreciating asset.

0 coins

This is actually brilliant advice. My parents did something similar with their retail business. They've been collecting rent for 12 years now from the people who bought their store and it's been a much better deal than if they'd sold everything at once.

0 coins

This is really interesting - I hadn't considered separating the business sale from the real estate. I'm curious about how this would work tax-wise though. Would we still face potential issues with having the real estate in the S-corp, just at a later date? And would this approach change how we should handle the development of that third lot? With the right lease terms, this could provide consistent income while avoiding the immediate tax hit. Definitely something to think about!

0 coins

The lease-back approach @Diego mentioned is worth seriously considering, especially given your situation. You'd avoid the immediate capital gains hit and create a steady income stream. From a tax perspective, rental income from the S-corp would still pass through to your personal return, but it's generally taxed more favorably than capital gains in many situations. One key consideration: if you go this route, make sure the lease terms are at fair market value to avoid any related-party transaction issues with the IRS. You'll also want to ensure the new business owners are financially stable enough to handle long-term lease obligations. For your third lot development, keeping the real estate separate from operations might actually make more sense going forward. You could potentially move that development into a different entity structure that's more tax-efficient for real estate activities. The timing works well too - you can negotiate the lease as part of the business sale, which gives you leverage to secure favorable long-term terms. Just make sure your attorney structures everything properly to maintain the separation between the business sale and the real estate lease.

0 coins

This lease-back strategy sounds really appealing, especially for avoiding that immediate tax hit. I'm wondering though - if we structure it this way, would we need to get a formal appraisal to establish fair market rent? And how often can lease rates be adjusted to keep up with market changes without triggering IRS scrutiny? Also, @Diego, when you did this with your manufacturing business, did you have any issues with the new owners wanting to modify the property or make improvements? I'm trying to think through all the potential complications before we get too far down this path.

0 coins

One thing that hasn't been mentioned yet is the potential for a Section 453 installment sale combined with some of the other strategies discussed here. If you do decide to sell the properties, you could structure the sale to receive payments over multiple years, which spreads the tax impact and might keep you in lower tax brackets. The installment method works particularly well when combined with your accumulated losses (-$78k) since you can use those losses to offset gains in the first year, then spread the remaining gain over subsequent years. Also, regarding the development costs on your third property - while those won't directly offset capital gains as mentioned earlier, proper timing could be crucial. If you're doing a cost segregation study (great suggestion from @Chloe), you might be able to accelerate depreciation on improvements you've already made, plus any new development costs could potentially be structured to maximize current-year deductions depending on the type of improvements. The lease-back approach is really smart too - it gives you more control over timing. You could potentially sell the business now, lease back for a few years while developing the third lot, then reassess your overall tax situation when market conditions or your personal tax picture might be more favorable for a property sale.

0 coins

This is really comprehensive advice! The installment sale approach combined with the accumulated losses makes a lot of sense strategically. I'm particularly interested in the timing aspect you mentioned - being able to control when we recognize gains could be huge for tax planning. One question on the installment method: are there any restrictions on how we structure the payment terms? For example, could we negotiate something like 30% down and then annual payments over 4-5 years, or does the IRS have specific requirements about minimum down payments or maximum payment periods for this to qualify? Also, @Melina, when you mention "reassessing when market conditions might be more favorable" - are you thinking about potential changes to capital gains tax rates, or more about our personal income situation changing over time?

0 coins

The installment sale method has pretty flexible terms - there's no IRS-mandated minimum down payment or maximum payment period. You could absolutely structure 30% down with payments over 4-5 years, or even longer if that works better for your situation. The key is that each payment you receive triggers recognition of a proportional amount of gain. For example, if your total gain is $185k and you receive payments totaling $320k, then about 58% of each payment would be taxable gain (185k/320k). This spreads both the income recognition and the tax liability over multiple years. One important consideration though: if the buyer defaults on future payments and you have to repossess the property, there are specific rules about how to handle the tax consequences. Make sure you have solid buyers with good financial backing. Regarding timing and market conditions, I was thinking about both potential tax law changes AND your personal situation. Capital gains rates could change depending on political developments, but more practically, you might have years with lower overall income that would be better for recognizing large gains. Plus, if you're doing significant development work on that third lot, you might have years with large deductible expenses that could offset gain recognition. The flexibility of controlling the timing is really the biggest advantage here - you're not locked into recognizing everything in one tax year when it might not be optimal.

0 coins

This installment sale approach sounds really promising for our situation. The flexibility to structure payments over multiple years while using our accumulated losses strategically could work perfectly. @Aurora, one follow-up question on the repossession risk you mentioned - are there ways to structure the sale agreement to minimize this risk? For example, could we require the buyers to secure the installment payments with additional collateral or insurance? Also, given that we're planning to keep developing that third lot under the same S-corp, would it make sense to separate that development activity into a different entity to avoid complicating the installment sale reporting? I'm wondering if mixing ongoing business development with installment sale income recognition could create accounting headaches down the road. The timing control aspect is exactly what we need - being able to optimize when we recognize gains based on our overall tax picture each year sounds like it could save us significant money over the long term.

0 coins

Great question about protecting against buyer default in an installment sale! Yes, there are several ways to secure the payments. You can require the buyer to provide additional collateral (like other real estate or business assets), get a personal guarantee if they're buying through an entity, or even require them to obtain credit life insurance to cover the remaining balance. Another option is to retain a security interest in the property itself - essentially keeping a lien until all payments are made. This way, if they default, you have a clear path to recover the property, though as @Aurora mentioned, there are specific tax rules about how to handle that situation. Regarding separating the third lot development, that's actually a really smart idea. Keeping ongoing development activities in a separate entity (maybe an LLC) would simplify your S-corp's books and make the installment sale reporting much cleaner. It would also give you more flexibility in how you handle the development costs and any future disposition of that property. The separate entity approach also helps if you later decide to bring in partners for the development project or want different tax treatment for that activity. Much easier to set up the right structure from the beginning than to try to unwind things later. You're absolutely right about the timing control being valuable - having that flexibility to optimize recognition based on your annual tax situation could easily save you tens of thousands over the payment period.

0 coins

This is exactly the kind of strategic thinking I need! The security interest approach makes a lot of sense - keeping a lien on the property until payments are complete gives us protection while still allowing the installment treatment. I'm definitely going to explore requiring additional collateral or guarantees as well. The separate LLC for the third lot development is brilliant advice. It would keep things clean for the installment sale reporting and give us more options down the road. Plus, if we do bring in partners for that development, having it in a separate entity from day one would make that much simpler. One more question - if we set up the LLC for the development project, can we still take advantage of any accumulated losses from the S-corp to offset gains from that activity, or would those losses be stuck in the S-corp? I'm wondering if there are any ways to efficiently use those losses across different entities or if they have to stay where they originated. Thank you everyone for all this incredibly helpful advice! This thread has given me so many more options to consider than I knew existed.

0 coins

Unfortunately, accumulated losses in your S-corp generally can't be used to offset gains from activities in a separate LLC. Those losses are "trapped" in the S-corp and can only offset income generated by that same S-corp entity. However, there are still some strategic ways to work with this. If you keep some income-generating activity in the S-corp (like the installment sale payments), those accumulated losses can offset that income over time. You could also potentially have the S-corp provide services or financing to the LLC development project, creating income in the S-corp that could utilize those losses. Another approach is to consider whether any of the development activity could reasonably stay in the S-corp structure. If the third lot development is related to your existing business activities, you might be able to justify keeping it in the same entity while still separating the accounting for the installment sale. The key is finding the right balance between keeping things simple for tax reporting while maximizing the use of your existing tax benefits. A good tax professional can help you model different scenarios to see which approach gives you the best overall result. One final thought - don't let the perfect be the enemy of the good here. Even if you can't perfectly optimize every aspect, the installment sale approach combined with proper structuring of future activities will likely save you substantial taxes compared to recognizing all the gains in one year.

0 coins

IRS AI

Expert Assistant
Secure

Powered by Claimyr AI

T
I
+
20,087 users helped today