Can a corporation do a 1031 exchange — trying to figure out the tax side of a property sale
We're a small S-corp and we sold a commercial building last spring. The accountant who handled our returns for years retired right before we closed on the sale, so we've been scrambling. Someone at our title company mentioned 1031 exchanges and said we might have been able to defer the gain if we'd set it up beforehand. Now I'm wondering whether that ship has sailed entirely or if there's something we can still do, and also whether the IRS has any say in how we handle the proceeds at this point. I know enough to know I should talk to a tax professional about the specifics of our situation, but I'm also trying to understand the landscape before that conversation. The IRS side of this — the forms, what gets reported, what the rules are — that's what I'm trying to get a handle on first.
74 comments

Fatima Al-Farsi
The balance owed for 2025 on my S-corp's account wasn't matching what our return showed, so I had to reach out to the IRS directly. Claimyr (claimyr.com) sat on hold with the IRS line so I didn't have to, and once the agent picked up I asked about the discrepancy. The agent pulled up the account and told me the payment we'd sent in September hadn't posted yet — it was still pending. She gave me the exact dollar amount the IRS currently showed as outstanding for the 2025 tax year and said to watch the account in the next few days. Video on reaching a live person at the IRS: https://youtu.be/_kiP6q8DX5c
0 coins
Dylan Cooper
The pending payment situation is exactly what I was nervous about with our own quarterly payments. We e-filed but the online account was still showing a balance for a week. How long did it take for it to actually clear on your end?
0 coins
Fatima Al-Farsi
Cleared about four days after the agent flagged it. The IRS Online Account updated and the balance dropped to zero once it posted. If yours is a few days old and still showing, worth watching for another few days before worrying.
0 coins
Sofia Perez
Accounts receivable timing on IRS payments is wild. We had a similar situation and the agent told us the balance on file, which matched what we'd filed, so the issue turned out to be on our bank's end, not the IRS.
0 coins
Dmitry Smirnov
To answer your actual question about S-corps and 1031 exchanges: an S-corp can do one. The rule isn't limited to individual taxpayers — it applies to corporations, partnerships, LLCs and trusts too, as long as the property qualifies. The tricky part for an S-corp is that the gain or loss from a property sale flows through to the shareholders on their individual returns, so the exchange has to be set up at the entity level before the sale closes. If the sale already closed and the proceeds weren't put into a qualified intermediary before that happened, the deferral window is gone for that transaction. That's the part to bring to your new tax professional with the closing documents in hand.
0 coins
Giovanni Moretti
AuthorThe closing already happened, so it sounds like the 1031 option is off the table for this sale. I'll ask the new accountant whether there's anything else that applies to the gain, but I figured as much.
0 coins
ElectricDreamer
Your new accountant will want to look at how the gain is characterized too — whether any portion is ordinary income from depreciation recapture versus capital gain — but that's genuinely a conversation for them, not a forum.
0 coins
Ava Johnson
The qualified intermediary piece is what a lot of small business owners miss. By the time someone mentions a 1031, the sale has closed and the exchange can't happen. It has to be arranged before you receive the proceeds, full stop.
0 coins
Miguel Diaz
What gets reported to the IRS on a property sale through an S-corp is on Form 4797 for the sale of business property, and any depreciation recapture gets reported there too. The gain then flows through on a Schedule K-1 to each shareholder. The IRS gets the whole picture through the S-corp's Form 1120-S and the K-1s. If a 1031 had been completed, there would have been a Form 8824 to report the like-kind exchange — but since the sale closed without one, that form isn't in the picture now.
0 coins
Giovanni Moretti
AuthorForm 4797 is the one I kept seeing mentioned and wasn't sure if it applied to us. So the K-1 piece flows to the individual shareholders' 1040s from the 1120-S — that makes sense now.
0 coins
Zainab Ahmed
The 8824 is the one that trips people up because they hear '1031 exchange' and assume there's always a form to file even if it's after the fact. There isn't — if the exchange didn't happen, the 8824 doesn't happen either.
0 coins
Connor Byrne
Whoever files the 1120-S needs to make sure the basis on the property is correct, especially if there were any improvements made over the years. Depreciation recapture is calculated off that accumulated depreciation figure and it matters a lot for what flows to the shareholders.
0 coins
Yara Abboud
The 45-day identification window and the 180-day exchange period are the two clocks people always miss on a 1031. If you're doing one correctly, the moment the first property closes, those clocks start. You have 45 days to identify the replacement property in writing, and 180 days to close on it. For an S-corp or any other entity, those deadlines are the same. A lot of people think they can sell, wait a few months, and then decide to exchange — but by then both windows have usually closed.
0 coins
PixelPioneer
The 45-day window is the brutal one. I've seen situations where someone identified a replacement property in time but then the deal fell through and they couldn't find another within the window. At that point the whole exchange collapses and the gain becomes taxable.
0 coins
Giovanni Moretti
AuthorBoth of those clocks are news to me. The title company only mentioned the exchange concept in passing and didn't walk me through the mechanics at all. This is why I should have had a tax person at the closing table.
0 coins
Keisha Williams
Worth knowing too that the replacement property has to be like-kind, which for real estate is fairly broad — commercial for commercial, land for land, that kind of thing — but the qualified intermediary still has to be in place before the first closing.
0 coins
Paolo Rizzo
My payment plan's terms on a balance from a prior year weren't showing correctly in the IRS Online Account, so I needed to verify what the IRS actually had on file. Claimyr held the line on 800-829-1040 for me, and once the representative came on I asked specifically about the monthly amount and next due date for the installment agreement. The agent confirmed the monthly figure and the date it was set to draft, which matched my records — the online account just hadn't refreshed yet.
0 coins
Amina Sy
The IRS Online Account lag for payment plan updates is a known frustration. Sometimes the amount shown is off by a few days from what's actually scheduled. Good to know a representative can confirm what's actually on the books.
0 coins
Paolo Rizzo
Exactly — the representative had the right figure and the right date even when the account screen was still showing old information. It cleared up online a couple of days later.
0 coins
Dylan Cooper
Did you have to do anything special to get to a representative about installment agreements specifically, or just the main line?
0 coins
Paolo Rizzo
Main line, 800-829-1040. I had the agreement number and the tax year ready, and the agent pulled it right up.
0 coins
Oliver Fischer
C-corps versus S-corps matters here too, in case anyone's reading this for a different situation. Both can do a 1031 exchange on property held for business or investment use, but the tax treatment is different on the other end. With an S-corp the gain passes through to shareholders; with a C-corp it stays at the corporate level. Either way, the exchange has to be structured before the sale closes. The IRS doesn't offer any after-the-fact 1031 election.
0 coins
Natasha Ivanova
The pass-through difference is significant. For an S-corp, each shareholder's pro-rata share of the gain ends up on their personal 1040, which is why the K-1 matters so much. A C-corp eats the gain itself at corporate rates.
0 coins
NebulaNomad
Pass-through taxation is the main reason most small businesses choose S-corp status in the first place. But it also means a property sale with a large gain can hit individual shareholders hard in a year they weren't expecting it.
0 coins
Javier Garcia
The 'like-kind' rule for real estate is actually pretty generous compared to what most people expect. Almost any real property held for business or investment use qualifies as like-kind to any other real property held for the same purpose — a warehouse can be exchanged for a strip mall, raw land for an apartment building, and so on. The property just can't be inventory or a primary residence. For a corporation that owns business property, the qualifying use is usually met. The challenge is the timing and the qualified intermediary, as others have said.
0 coins
Giovanni Moretti
AuthorThe 'inventory' exception is interesting — so a property developer who buys and flips properties can't use a 1031 the way a company that holds property for investment can?
0 coins
Javier Garcia
Exactly. If the property is held primarily for sale rather than for use in a trade or business or as an investment, it doesn't qualify. How the IRS looks at that depends on the facts of the specific situation, which is exactly the kind of question to put in front of a tax professional with your records.
0 coins
Zainab Ahmed
Primary residences don't qualify for a 1031 either, though there's a separate exclusion for home sale gain that sometimes gets confused with it. They're different rules entirely.
0 coins
Emma Taylor
Regardless of whether the 1031 happened, make sure the basis is right on the property that was sold. I had a situation where our S-corp's depreciation schedule hadn't been updated correctly after a renovation, and it affected how the gain was calculated on Form 4797. The IRS didn't flag it right away, but when we went back to reconcile, the numbers were off. A tax professional working backward from the closing disclosure and the depreciation schedule can usually get it sorted out.
0 coins
Giovanni Moretti
AuthorWe did a roof replacement about three years ago that I don't think was ever properly capitalized versus expensed. That's going on the list of things to sort out with the new accountant.
0 coins
Miguel Diaz
Capitalized improvements add to the building's basis, which can reduce the gain on sale. But they also affect what gets depreciated going forward. The distinction between a repair and a capital improvement has its own set of rules, and the IRS has guidance on that — your accountant will know where to look.
0 coins
Malik Robinson
The wages and withholding the IRS had on file for 2025 didn't match our payroll records, so I called to sort it out. Claimyr stayed on hold on the IRS business line while I waited, and when the representative answered I asked what the IRS showed for our EIN for the 2025 tax year. The agent read back the wage and withholding figures in their system, and they were lower than our records — turned out the fourth-quarter filing hadn't matched up. The representative said to wait for the notice the IRS would mail and then respond to it with the corrected payroll documentation.
0 coins
Sofia Perez
Payroll reconciliation discrepancies are a headache. The IRS seeing lower withholding than you actually remitted is the more stressful direction to have the mismatch go.
0 coins
Malik Robinson
Right — the fourth quarter is usually the one that causes issues because the annual reconciliation forms cross with the quarterly returns and sometimes the numbers don't line up until the IRS processes everything. The notice came and we responded with the corrected 941 documentation.
0 coins
Oliver Fischer
Keeping the EIN handy when you call is key. The business line agents pull everything by the EIN, and having the quarterly period in question ready speeds things up considerably.
0 coins
PixelPioneer
The qualified intermediary requirement is worth emphasizing once more because it trips up even experienced people. The intermediary has to hold the proceeds from the sale — the seller can't touch them. If the funds ever come to the S-corp's account between the sale and the purchase of the replacement property, the exchange fails. The IRS is very specific about what counts as constructive receipt, and any control over the funds before the exchange is complete can disqualify it.
0 coins
NebulaNomad
Constructive receipt is the technical piece that catches people off guard. Even having the right to demand the funds, even if you don't actually take them, can be enough to blow the exchange.
0 coins
Dmitry Smirnov
The intermediary also can't be someone who's acted as your agent in the past two years — your accountant, your attorney, anyone like that. It has to be an independent party whose only role is to hold the proceeds.
0 coins
Giovanni Moretti
AuthorEvery answer in this thread is making me more glad we didn't try to do this ourselves. The moving parts are significant and I didn't even know the qualified intermediary couldn't be our own attorney.
0 coins
Keisha Williams
The IRS Online Account was showing my 2025 S-corp return as still being processed for longer than I expected, and I wasn't sure if there was something wrong. Claimyr held the line on 800-829-1040 and once I had the representative on, I asked about the return's status. She told me the return had been received and was in process, that no notice had been generated, and that the account showed no outstanding items. That was enough to know nothing was stuck.
0 coins
Amina Sy
Knowing there's nothing flagged on the account is usually the best outcome you can get from a call like that. The processing timeframe is what it is, but at least you know nothing's holding it up on their end.
0 coins
Keisha Williams
Exactly. The representative confirmed the received date matched what our preparer had, so we just waited. The account updated a few weeks later.
0 coins
Zainab Ahmed
S-corp returns do tend to take a bit longer than individual returns. As long as there's no notice pending and the return shows as received, the waiting is usually just normal processing time.
0 coins
Natasha Ivanova
For anyone who's already past the 1031 window the way you are, the installment sale rules under Section 453 are sometimes what a tax professional looks at next. That's a completely different concept — it's about spreading recognition of a gain over multiple years if the buyer is paying over time — and it has its own requirements. It's not a deferral like a 1031, but depending on how the sale was structured, it might be worth asking about. That said, it's genuinely a question for a CPA or tax attorney with your purchase agreement in front of them.
0 coins
Giovanni Moretti
AuthorThe buyer paid in full at closing, so an installment arrangement wasn't part of how the deal was structured. But that's a concept I'd never heard of and I'll at least understand what my accountant is referring to if it comes up.
0 coins
Connor Byrne
Installment sales are specifically for cases where you receive at least one payment after the tax year of the sale. If everything came in at closing, you're right that it doesn't apply — but good to have the vocabulary.
0 coins
NebulaNomad
State tax rules on 1031 exchanges are their own matter separate from the federal side, and some states don't follow the federal exchange rules at all. The IRS handles the federal piece, but whatever state the property was in has its own treatment of the gain. Worth a specific question to your accountant about the state side, since that can sometimes produce a tax bill even when the federal exchange works perfectly.
0 coins
Dmitry Smirnov
The state conformity issue is real and varies a lot by state. Some states automatically follow the federal deferral, some require their own forms, and some don't recognize the exchange at all. It's not safe to assume the federal and state outcomes will match.
0 coins
Ava Johnson
For an S-corp with shareholders in multiple states, the state question gets even more complicated because each shareholder might have tax obligations in their own state on the gain flowing through the K-1. Another reason to have a preparer who understands multi-state pass-through taxation.
0 coins
Dylan Cooper
The IRS's basis rules for property acquired through a 1031 exchange are also worth understanding even now, because if the company does a future exchange and completes it correctly, the basis of the replacement property carries over from the relinquished property rather than being reset to the purchase price. That means less depreciation going forward, and a higher gain if the replacement property is eventually sold. It's one of the deferred parts of the tax that people sometimes don't think about.
0 coins
Oliver Fischer
The deferred gain doesn't disappear — it just follows the replacement property until it's eventually sold in a taxable transaction. Some businesses keep exchanging indefinitely and the original deferred gain just keeps rolling forward.
0 coins
ElectricDreamer
Or until the owner passes and the heirs get a stepped-up basis, which is a whole other planning consideration that's genuinely outside what a forum should be advising on. Worth raising with your estate attorney if that's relevant.
0 coins
Ava Johnson
The reporting on Form 8824 when an exchange does happen is detailed — you report both properties, the exchange dates, the fair market values, the adjusted bases, any boot received. 'Boot' is the term for cash or non-like-kind property received in the exchange, and that portion is immediately taxable even when the rest of the gain is deferred. If a business does complete a 1031 in the future, the 8824 is due with the return for the tax year the first property was sold, not the year the replacement was acquired, even if those span two different tax years.
0 coins
Miguel Diaz
The boot taxation piece catches people. They think because they did a 1031, nothing is taxable, but if they took any cash out of the exchange or the replacement property is worth less than the one they sold, there's immediate gain to report.
0 coins
Giovanni Moretti
AuthorThe two-tax-year filing timing is something I would have gotten wrong for sure. If you sell in December and don't close on the replacement until February, you'd need to file the 8824 with the December year's return?
0 coins
Ava Johnson
That's right. The return for the year you sold the first property is where the 8824 goes, even if the exchange isn't complete at filing time. There are specific lines on the form for an exchange that extends into the next year.
0 coins
Amina Sy
If the new accountant determines that a tax amount is owed from the sale and there's no way to defer it, the IRS does have payment options. A short-term plan lets an individual pay within 180 days if they owe under a certain threshold; a long-term installment agreement is available for lower balance amounts too. For a business it's slightly different — the online application thresholds are different for businesses than for individuals. If the amount owed is above those thresholds, it goes by phone or by Form 9465 by mail.
0 coins
Fatima Al-Farsi
The business payment plan route was something we looked into. The thresholds for online application are lower for businesses than for individuals, so calling 800-829-4933 was the more practical route for us.
0 coins
Amina Sy
The 800-829-4933 line is the business and specialty line. Good to have that number separate from the individual line because getting to someone who handles business accounts is a different path.
0 coins
Giovanni Moretti
AuthorKnowing that option exists is helpful even if we don't end up needing it. The accountant will give us a better picture of what's actually owed once we sort out the basis and depreciation questions.
0 coins
Connor Byrne
The Form 1120-S itself has to be filed on time regardless of whether the exchange happened or not, and the sale has to be reported accurately. If there was an extension to file, that's an extension of time to file the form — not an extension of time to pay any tax owed. Those are separate. If the company owed tax on the gain and didn't pay it by the original April deadline, interest has been accruing from that date.
0 coins
Yara Abboud
The extension-to-file versus extension-to-pay distinction trips up S-corp owners constantly. Filing an extension only buys time to submit the paperwork; any tax due was still owed on the original deadline.
0 coins
Giovanni Moretti
AuthorWe did file an extension for the 1120-S this year. If there's a balance due on the sale we didn't anticipate, that interest piece is going to be a conversation with the accountant. I didn't realize the interest clock starts at April regardless.
0 coins
Emma Taylor
The penalties for filing late and for paying late are separate from each other and from interest, and they can add up. If there's a reasonable cause argument, that's something to bring up with the IRS, but no one can promise a penalty gets reduced. Getting the return and any payment in as soon as possible limits how much accumulates.
0 coins
ElectricDreamer
The Taxpayer Advocate Service is worth knowing about if the situation becomes complicated and the IRS isn't resolving something within normal timeframes. TAS is independent within the IRS and free to use. They typically step in when someone's dealing with a tax problem that's caused financial hardship or when the IRS has gone past the normal processing window without resolution. You'd contact them through Form 911 or at 1-877-777-4778, though they don't take every case.
0 coins
PixelPioneer
TAS was the path a friend's business took after a payroll deposit dispute sat unresolved for months. No promises, but having an advocate in your corner when the IRS isn't moving can help.
0 coins
Giovanni Moretti
AuthorHopefully we don't end up needing TAS, but good to know it exists. At the moment we just need to get the right professional looking at the actual numbers from the sale.
0 coins
Sofia Perez
The IRS can also be reached in person at a Taxpayer Assistance Center if something can't get sorted out by phone or online. Appointments are made through 844-545-5640, and the IRS has an office finder on its site at https://www.irs.gov/ to locate the nearest one. You'd need a photo ID, your taxpayer identification number, and whatever tax documents relate to the question. For a business property sale, bringing the closing disclosure and the most recent 1120-S would be the starting point.
0 coins
Natasha Ivanova
TAC appointments for business questions can be hit or miss depending on what the specific question is — they're stronger on individual return issues, but for a straight 'what does my account show' question, they can pull it up.
0 coins
Sofia Perez
Agreed. For something with the complexity of a property sale and a potential basis question, the TAC appointment is probably step two after the tax professional has had a chance to review everything and identifies a specific IRS account issue to resolve.
0 coins
Isabella Silva
To put a bow on the core question: yes, a corporation can do a 1031 exchange, the entity type doesn't block it. What blocks it is missing the timing, missing the qualified intermediary, or having the proceeds pass through the company's own hands before the exchange is set up. Since the sale is done, the focus now is on making sure the 2025 1120-S reports the sale correctly and that the K-1s reflect the right gain for each shareholder. The 1031 is a future planning tool at this point, not a 2025 fix.
0 coins
Giovanni Moretti
AuthorAppreciate the summary. The 1031 is off the table for this transaction, the 1120-S needs to be right, and future property plans need to start with a qualified intermediary conversation before closing day. That's the takeaway.
0 coins
Dmitry Smirnov
Future transaction planning is exactly the right frame. Many S-corps that miss the first exchange then set up a standing relationship with a qualified intermediary so the next time a property comes up for sale, the structure is already in place before the listing goes out.
0 coins
Yara Abboud
And getting the basis and depreciation schedule fully reconciled now means the accountant has clean numbers to work from on future transactions. A lot of the complexity in these situations comes from prior years where the depreciation schedule drifted from the actual property records.
0 coins