When a shareholder of an S corporation dies, the shares pass first to the deceased shareholder’s estate and then, under the will or state intestacy law, to the named heirs — unless a buy-sell agreement requires the corporation or surviving owners to buy them out. What happens to S corp shares when a shareholder dies also depends on whether the recipient qualifies as an eligible S corporation shareholder under IRS rules. If the shares land with someone who doesn’t qualify, the company’s S election terminates automatically, and every dollar of income becomes exposed to corporate-level tax.
The executor, the surviving shareholders, and the corporation itself all have work to do in the first weeks after the death. Missing a single election deadline can be expensive to fix and sometimes impossible.
Where the Shares Go First
The stock transfers to the estate the moment the shareholder dies. The estate is automatically an eligible S corporation shareholder for as long as it remains under administration, so the S election is safe during that window. The IRS has not set a fixed length for this period, but it is expected to last only as long as the executor reasonably needs to settle the estate.
Where the shares go next depends on three documents, in this order of importance:
- A buy-sell or shareholder agreement, if one exists, which may require the corporation or surviving owners to buy the shares back.
- The will, which directs the shares to named beneficiaries or to a testamentary trust.
- State intestacy law, which controls if there is no will.
The buy-sell agreement is the first thing the executor should pull. It often overrides everything else about where the shares end up.
Who Can Legally Hold S Corporation Stock
The S election survives only if every shareholder qualifies under IRC Section 1361. Eligible shareholders include U.S. citizens and resident individuals, certain trusts, and estates. No more than 100 shareholders may hold stock at any time, and only one class of stock is permitted.1Office of the Law Revision Counsel. 26 USC 1361 – S Corporation Defined
Death can push shares to people or entities that don’t qualify. A nonresident alien spouse is ineligible. A minor child usually needs a guardianship or trust arrangement. And most ordinary trusts — the everyday revocable and family trusts that show up in typical estate plans — cannot hold S corporation stock at all. If the shares land in an ineligible trust and nobody catches it, the S election terminates on the transfer date, and the company becomes a C corporation retroactive to that day.
When Shares Pass to a Trust
Only a few trust types can hold S corporation shares. A grantor trust qualifies while the grantor is alive, and it can continue holding the stock for up to two years after the grantor’s death.1Office of the Law Revision Counsel. 26 USC 1361 – S Corporation Defined A testamentary trust created by the will gets the same two-year window from the date the stock is transferred into it. After that grace period runs out, the trust must either distribute the stock to an eligible individual or convert into a Qualified Subchapter S Trust (QSST) or an Electing Small Business Trust (ESBT).
Qualified Subchapter S Trust
A QSST fits situations where one person is meant to receive all the trust income. It must have a single income beneficiary who is a U.S. citizen or resident, and all trust income must be distributed to that beneficiary every year.2Legal Information Institute. 26 USC 1361(d)(3) – Qualified Subchapter S Trust Definition The beneficiary files the QSST election with the IRS, not the trustee. The deadline is two months and 16 days after the stock is transferred to the trust. For a testamentary trust converting to a QSST, that clock runs from the end of the two-year grace period, not from the original transfer.
Electing Small Business Trust
An ESBT allows multiple beneficiaries and trustee discretion over distributions. Income can be accumulated rather than paid out annually. The trade-off is that S corporation income flowing to an ESBT is taxed at the top individual marginal rate, 37% for 2026, instead of the beneficiaries’ personal rates.3Internal Revenue Service. IRS Releases Tax Inflation Adjustments for Tax Year 2026 The trustee files the ESBT election, and the same two-months-and-16-days deadline applies.
What Happens If the Election Deadline Slips
A missed QSST or ESBT election turns the trust into an ineligible shareholder and terminates the S election. This is one of the most common reasons S corporations lose their tax status after a shareholder’s death. Revenue Procedure 2013-30 offers simplified relief for late elections filed within three years and 75 days of the intended effective date.4Internal Revenue Service. Rev. Proc. 2013-30 After that, the corporation has to file a private letter ruling request, which is slower, more expensive, and never guaranteed.
How a Buy-Sell Agreement Changes the Outcome
A well-drafted buy-sell agreement can sidestep the trust eligibility problem entirely. These agreements give the corporation or the surviving shareholders the right — or the obligation — to purchase the deceased shareholder’s stock at a predetermined price or formula. If the agreement triggers a mandatory buyback, the shares never reach a trust or an ineligible heir. They go directly to the corporation for redemption or to shareholders who already qualify.
Many buy-sell agreements are funded by life insurance policies on each shareholder, giving the buyer the cash to complete the purchase without draining operating funds. For a closely held S corporation, the absence of a buy-sell agreement is one of the largest preventable risks. Without one, shares follow the will or state intestacy law, and the destinations can include a minor child, a nonresident spouse, or a general-purpose family trust that fails QSST and ESBT tests.
The Basis Step-Up for Heirs
Heirs receive a meaningful tax benefit on inherited S corporation stock. Under IRC Section 1014, the tax basis resets to fair market value on the date of death.5Office of the Law Revision Counsel. 26 USC 1014 – Basis of Property Acquired From a Decedent If the original shareholder bought in at $50,000 and the stock is worth $500,000 at death, the heir’s basis becomes $500,000. Selling immediately would generate little or no capital gain.
One limitation matters for S corporations specifically. The step-up applies only to the shareholder’s basis in the stock itself, not to the corporation’s basis in its underlying assets. Partnerships can elect under Section 754 to step up the inside basis of assets, but S corporations have no equivalent mechanism. The corporation’s depreciation schedules and asset values stay put.
Community Property States
Married shareholders in community property states get a double step-up. When one spouse dies, both halves of community property receive a basis adjustment, not just the deceased spouse’s share. If stock worth $400,000 was community property with an original basis of $100,000, the surviving spouse’s new basis is the full $400,000.6Internal Revenue Service. Publication 555 (12/2024), Community Property Community property states include Arizona, California, Idaho, Louisiana, Nevada, New Mexico, Texas, Washington, and Wisconsin.
Income in Respect of a Decedent
Not everything gets the clean step-up. Income in respect of a decedent (IRD) is income the shareholder had earned but not yet recognized for tax purposes before death. It does not receive a basis adjustment. Common examples include the decedent’s share of accounts receivable, unpaid distributions, and accrued but unreported S corporation income.7Office of the Law Revision Counsel. 26 USC 691 – Recipients of Income in Respect of Decedents Whoever receives IRD reports it as ordinary income when realized, even though the same amounts were counted in the estate’s gross value for estate tax. The recipient can claim a deduction for the portion of federal estate tax attributable to the IRD to soften the double hit, though the deduction does not fully offset it.
Suspended Losses May Die With the Shareholder
S corporation shareholders can only deduct losses up to their basis in stock and any direct loans they’ve made to the corporation. Losses beyond basis suspend and carry forward. Here is the trap: suspended losses caused by insufficient basis are permanently lost at death. The statute treats them as belonging to that specific shareholder, and when the shareholder’s interest ends, the losses vanish.8Office of the Law Revision Counsel. 26 USC 1366 – Pass-Thru of Items to Shareholders They do not transfer to the estate or the heirs.9Internal Revenue Service. S Corporation Stock and Debt Basis
Suspended passive activity losses fare slightly better. Unused passive losses become deductible on the decedent’s final tax return, but only to the extent they exceed the step-up in basis the heir receives. If the heir’s basis rises by $6,000 and the decedent had $8,000 in suspended passive losses, only $2,000 is deductible on the final return. The rest is absorbed by the step-up.10Internal Revenue Service. Publication 925, Passive Activity and At-Risk Rules
Splitting the Year of Death
The corporation has to divide its income, losses, and deductions between the deceased shareholder and the estate (or other successor) for the year of death. The default is a per-share, per-day allocation: the full year’s results get spread evenly across every day, and each day is assigned to whoever owned the stock that day.11Office of the Law Revision Counsel. 26 USC 1377 – Definitions and Special Rule
That default can distort things badly. If most of the year’s income came in after the death, the per-day method still pushes a share of it back to the decedent’s final return. The alternative is a closing-of-the-books election, which treats the tax year as two separate periods split on the date of death and assigns actual results to each. Making the election requires consent from the corporation and all affected shareholders — the estate and anyone who received shares from the decedent during the year.11Office of the Law Revision Counsel. 26 USC 1377 – Definitions and Special Rule
Either way, the corporation issues two Schedules K-1 for the year. One goes on the decedent’s final Form 1040 for the period through the date of death. The other goes to the estate for the rest of the year.12Internal Revenue Service. Shareholders Instructions for Schedule K-1 (Form 1120-S) (2025) – Section: Decedents Schedule K-1 The executor needs to give the corporation the estate’s name and taxpayer identification number so the second K-1 can be issued correctly.
The Executor’s Filing Work
The executor files the decedent’s final Form 1040 for all income through the date of death, including the shareholder’s allocable share of S corporation income for that period.13Internal Revenue Service. File the Final Income Tax Returns of a Deceased Person Standard credits and deductions apply.
If the gross estate exceeds the federal estate tax exemption, which is $15,000,000 for deaths in 2026, the executor also files Form 706.14Internal Revenue Service. Whats New – Estate and Gift Tax Even when no estate tax is due, establishing the stock’s fair market value at death is important because that value sets the heirs’ basis for future capital gains. A formal business appraisal is typically required, looking at net asset value, discounted cash flows, and comparable transactions. Appraisal fees for small S corporations generally run between $2,000 and $10,000.
Section 303 Redemptions When the Estate Needs Cash
Estates holding large blocks of S corporation stock often face a liquidity squeeze: taxes and administration expenses are due, but the stock is illiquid. Section 303 permits the corporation to redeem enough stock to cover death taxes plus funeral and administration expenses, with the redemption treated as a sale rather than a dividend.15Office of the Law Revision Counsel. 26 USC 303 – Distributions in Redemption of Stock to Pay Death Taxes Sale treatment measures the proceeds against the stepped-up basis, usually producing little or no gain, while dividend treatment would make the entire distribution taxable.
To qualify, the value of the corporation’s stock included in the decedent’s gross estate must exceed 35% of the net estate. The redemption can only cover the amount actually needed for taxes and allowable expenses. Distributions generally must occur within the estate tax statute of limitations, and after four years past death, they’re limited to unpaid taxes and expenses at that point.15Office of the Law Revision Counsel. 26 USC 303 – Distributions in Redemption of Stock to Pay Death Taxes
If the S Election Terminates Anyway
When the S election terminates because shares landed with an ineligible shareholder — often a trust that missed its QSST or ESBT election deadline — the corporation can ask the IRS to treat the termination as inadvertent and retroactively restore S status. The corporation files a private letter ruling request explaining the circumstances, when the problem was discovered, and what corrective steps have been taken.16eCFR. 26 CFR 1.1362-4 – Inadvertent Terminations and Inadvertently Invalid Elections
The IRS generally grants relief when the corporation acted in good faith, the cause was truly inadvertent, and the problem has been fixed. The process takes months, costs thousands of dollars in professional fees, and offers no guarantee. It’s a rescue valve, not a plan. Filing the trust elections on time, and steering shares away from ineligible holders in the first place, is by far the cheaper path.