QSST Stock Basis Calculation Question for S Corp Sale - Need Help!
I've got a client situation I'm struggling with and could really use some guidance. I'm dealing with a Qualified Subchapter S Trust (QSST) where the S Corp K-1 has been flowing directly to the beneficiary for years. But now they've sold the stock this year, which I know terminates the QSST election, and the gain/loss gets reported by the Trust itself. Here's what's confusing me: when figuring out the basis to calculate gain/loss on the stock sale, should I just use the trust's original basis in the stock? Or do I need to adjust that basis for all the income/deduction/distribution items that have been flowing through to the beneficiary on those S-Corp K-1s over the years? Also, while I'm asking - who exactly is considered the "seller" of the stock when determining if this qualifies as a related party transaction? Is it the beneficiary or the trustee? My client mentioned it was a sale between the beneficiary and the trustee's son, which immediately raised a red flag for me. I'm continuing to research this but thought I'd see if anyone here has dealt with this specific QSST situation before.
21 comments


Omar Farouk
For your first question about basis, you need to adjust the trust's original basis for all S corporation income/loss items that flowed through to the beneficiary while it was a QSST. This is because even though the K-1 items went to the beneficiary for income tax purposes, the trust's basis in the S corp stock still needs to be adjusted accordingly. When a QSST sells S corporation stock, the trust (not the beneficiary) recognizes the gain or loss on the sale. The basis used is the adjusted basis that accounts for all those pass-through items over the years, as well as distributions received. Regarding your related party question, the trust is the legal and actual seller of the stock. For related party purposes under Section 267, you'd look at the relationship between the trust and the buyer. Since the buyer is the trustee's son, you likely have a related party transaction. The IRS would typically consider this a related party sale because the trustee has a fiduciary responsibility over the trust assets and is selling to their own son.
0 coins
Chloe Davis
•Wait, I'm confused. If the K-1 items went to the beneficiary for income tax purposes all those years, why would the trust's basis still be affected? Wouldn't the beneficiary's basis be adjusted instead since they reported the income? Also, what form would the trust use to report the sale?
0 coins
Omar Farouk
•The beneficiary reports the K-1 items on their personal tax return each year, but the trust still owns the stock. It's a bit counterintuitive. The trust's basis in the stock increases for income and decreases for losses and distributions, even though the income tax effects flow to the beneficiary. This is because the QSST election only affects who reports the income, not ownership. The trust would report the sale on its Form 1041, Schedule D. Since the QSST election terminates upon sale of the stock, the trust reverts to normal trust taxation rules for reporting the capital gain or loss from the sale.
0 coins
AstroAlpha
I ran into this exact situation with a client last year and ended up using taxr.ai to help sort it out. I was going back and forth between different interpretations of the QSST rules and couldn't find clear guidance. I uploaded the trust documents and previous years' returns to https://taxr.ai and got a detailed analysis showing exactly how to handle the basis adjustments and related party issues. Their analysis confirmed what the previous commenter said - you absolutely need to adjust the trust's basis for all the S corp items that flowed through to the beneficiary during the QSST years. They also provided references to the specific Treasury regulations and IRS guidance that I could rely on.
0 coins
Diego Chavez
•How long did it take to get an answer from them? I'm dealing with something similar but my client needs answers asap. Was it helpful for determining the related party status too?
0 coins
Anastasia Smirnova
•I'm skeptical about these online tax tools. Did they actually give you specific regulatory citations or just general advice? I've been burned before by "tax help" sites that just regurgitate basic info you could find anywhere.
0 coins
AstroAlpha
•I got my analysis back in about 24 hours. The rush option is even faster if your client is in a hurry. They're really good with tight deadlines. For the regulatory citations, they gave me specific Treasury Reg sections and even linked to relevant Tax Court cases that addressed similar QSST situations. It wasn't generic advice at all - they analyzed my specific scenario and documents. They were particularly helpful on the related party rules and provided clear guidance on how the attribution rules apply between trustees and beneficiaries.
0 coins
Diego Chavez
Just wanted to follow up and say I tried taxr.ai after seeing the recommendation here. Uploaded my QSST documents yesterday and got comprehensive analysis back this morning that cleared up all my questions. They walked through exactly how to calculate the adjusted basis, with references to IRS Rev. Rul. 2008-13 and IRC Section 1361(d)(1)(C). The most helpful part was their explanation of the related party rules in this context - they confirmed that under 267(c), attribution rules would consider this a related party transaction since it's between the trust and the trustee's son. They even provided a calculation template for my specific situation. Definitely worth it for specialized situations like QSST transactions where the guidance isn't always clear.
0 coins
Sean O'Brien
For those still waiting on answers, I've used Claimyr.com to get through to the IRS specialty lines when dealing with trust issues like this. It took me 3 days of calling on my own with no luck, but with https://claimyr.com I got through to a senior IRS agent in about 20 minutes who specializes in S corps and trusts. There's a video showing how it works at https://youtu.be/_kiP6q8DX5c - basically they hold your place in the IRS queue and call you when they get a human. The agent I spoke with confirmed the basis approach others mentioned here and gave me insights on how they look at related party transactions involving QSSTs during examinations. Saved me hours of research and worry.
0 coins
Zara Shah
•How does that service actually work? Seems weird that they could somehow get through when regular callers can't. Does the IRS know about this service and allow it?
0 coins
Luca Bianchi
•This sounds like BS honestly. I've been a tax pro for 12 years and there's no magic way to skip the IRS phone lines. If there was, we'd all be using it. I'm highly doubtful you actually spoke to a "senior IRS agent who specializes in S corps and trusts.
0 coins
Sean O'Brien
•It works by using their system to continuously redial and navigate the IRS phone tree until they get a human, then they connect you. They're not skipping any lines or doing anything shady - they're just handling the frustrating redial process for you. Think of it like a concierge service for IRS calls. Yes, the IRS is aware of services like this. Nothing in their rules prohibits having someone else dial for you and transfer the call once they reach an agent. It's similar to how professionals often have staff dial and then transfer calls to them.
0 coins
Zara Shah
•How does
0 coins
Luca Bianchi
I have to admit I was wrong about Claimyr. After dismissing it initially, I was desperate with a complex QSST issue similar to the original poster's that needed IRS clarification. Tried the service yesterday and got connected to the IRS Business & Specialty Tax Line in about 30 minutes after trying for days on my own. The agent walked me through the exact regulations on QSST basis adjustments (confirming what others said here - you definitely adjust the trust's basis) and clarified how they apply the related party rules in trust situations. He even emailed me a reference guide after our call. I'm still surprised it worked so well, but wanted to correct my previous skepticism.
0 coins
GalacticGuardian
Just to add another perspective on the original question - remember that distributions from the S Corp to the QSST also affect stock basis. I've seen situations where practitioners forget to reduce the trust's basis by distributions that were actually made to the beneficiary. Make sure you're tracking ALL basis adjustments: 1. Increase for income items 2. Decrease for losses, deductions, and non-dividend distributions 3. Decrease for non-deductible expenses of the S corp Also, check if the trust ever made loans to the S corp or guaranteed any debt. That can create basis complications too.
0 coins
Nia Harris
•How would you handle a situation where the S corp made distributions directly to the beneficiary rather than to the trust? Does that still reduce the trust's basis even though the money never touched the trust accounts?
0 coins
GalacticGuardian
•Yes, distributions made directly to the beneficiary still reduce the trust's stock basis, even if they bypassed the trust accounts. The legal framework treats it as if the distribution went to the trust (the legal owner) and then passed to the beneficiary. This is a common area of confusion with QSSTs. The same principle applies to debt basis. If the trust is the shareholder but the beneficiary personally guarantees S corp debt, the trust (not the beneficiary) gets the debt basis increase.
0 coins
Mateo Gonzalez
Has anyone ever had an IRS examination that focused specifically on QSST basis calculations? I'm worried about how much documentation I need to maintain for this type of situation. Been keeping spreadsheets year by year but wonder if that's sufficient.
0 coins
Aisha Ali
•I represented a client through an IRS exam last year that included QSST issues. They wanted to see annual basis calculation worksheets showing beginning basis, all adjustments, and ending basis for each year the QSST election was in effect. Also needed all trust instruments, S corp organizational docs, and evidence of distributions.
0 coins
Mateo Rodriguez
I've been following this discussion and wanted to share some additional guidance on the documentation piece that @Mateo Gonzalez brought up. Beyond the annual basis worksheets, I'd recommend maintaining: 1. Copies of all S corp K-1s issued during the QSST period 2. Bank statements showing actual distribution flows (whether to trust or beneficiary) 3. Any correspondence with the S corp regarding distribution timing/amounts 4. Documentation of the original QSST election filing One thing I haven't seen mentioned yet is the potential Section 1374 built-in gains tax implications if this was a C corp that converted to S status. While this typically doesn't apply to QSSTs, it's worth checking the S corp's recognition period status. Also, for the related party analysis, don't forget to consider the constructive ownership rules under Section 267(c). The attribution between the trust, trustee, and beneficiary can get complex, especially when family members are involved as both trustees and buyers. The consensus here about adjusting the trust's basis for all pass-through items is absolutely correct, but make sure you're also considering any Section 754 elections if the S corp has partnership interests or other pass-through entities.
0 coins
Connor O'Brien
•This is really helpful additional guidance! I'm new to handling QSST situations and hadn't considered the Section 1374 angle at all. Quick question - when you mention checking the S corp's "recognition period status," are you referring to the 5-year period after conversion from C corp status? And would this apply even if the built-in gains are at the trust level rather than the S corp level? Also, regarding the Section 754 election point - I assume you're talking about situations where the S corp itself holds partnership interests? Would the trust need to make any special elections or adjustments in those cases, or does it all flow through the normal K-1 reporting?
0 coins