When an S corporation shareholder dies, the stock passes first to the deceased shareholder’s estate and then on to whoever the will, state intestacy law, or a buy-sell agreement directs. What happens to S corp stock when a shareholder dies depends mostly on who ends up holding it next, because the S election survives only if every shareholder qualifies under the tax code. Heirs get a stepped-up basis equal to the stock’s fair market value on the date of death, but the executor and surviving owners have a narrow window to make sure the shares land with an eligible holder. Miss that window and the company loses its S status, converting to a C corporation and triggering corporate-level tax on all income.
Where the Shares Go First
The estate itself is automatically an eligible S corporation shareholder for as long as it remains under administration.1Office of the Law Revision Counsel. 26 USC 1361 – S Corporation Defined The IRS hasn’t fixed a hard deadline on that period, but it expects administration to last only as long as reasonably necessary for the executor to settle affairs and distribute assets. That gives the family some breathing room, but not indefinite room.
From the estate, the stock moves according to one of three paths. A buy-sell agreement, if one exists, usually controls first. Otherwise, the will directs the distribution. If there’s no will, state intestacy law decides. Each path can route shares to an eligible holder (a U.S. citizen or resident individual, or a qualifying trust) or to an ineligible one. The S election depends on which.
The Trust Problem
Most ordinary trusts cannot hold S corporation stock. If the will directs shares into a general-purpose family trust, that trust is almost certainly ineligible, and the S election terminates on the date of transfer unless the trust qualifies as one of a handful of permitted types.
A grantor trust that held the stock during the decedent’s lifetime can continue holding it for up to two years after the date of 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 starting on the date the stock is actually transferred to it. Before that grace period ends, 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 straightforward situations with a single income beneficiary who is a U.S. citizen or resident. All trust income must be distributed to that beneficiary each year.2Legal Information Institute. 26 USC 1361(d)(3) – Qualified Subchapter S Trust Definition The beneficiary files the QSST election, 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 after the grace period, the deadline runs from the end of the two-year window.
Electing Small Business Trust
An ESBT handles more complicated estate plans with multiple beneficiaries or discretionary distributions. The trust can accumulate income rather than paying it all out. The cost is a flat tax rate on the S corporation income flowing through to the ESBT, set at the highest individual marginal rate, which is 37% for 2026.3Internal Revenue Service. IRS Releases Tax Inflation Adjustments for Tax Year 2026 The trustee makes the ESBT election under the same two-months-and-16-days deadline.
Missing the Deadline
A missed QSST or ESBT election turns the trust into an ineligible shareholder and terminates the S election. The IRS does offer simplified relief for late elections filed within three years and 75 days of the intended effective date under Revenue Procedure 2013-30.4Internal Revenue Service. Rev. Proc. 2013-30 Beyond that, the corporation has to request a private letter ruling, which costs thousands and produces no guaranteed outcome.
Buy-Sell Agreements Change the Picture
A buy-sell agreement can sidestep the trust eligibility problem by taking the stock out of the estate entirely. These shareholder agreements typically give the corporation or the surviving shareholders the right, or sometimes the obligation, to purchase the deceased shareholder’s stock at a predetermined price or formula. When the agreement triggers a mandatory buyback, the shares go directly to the corporation for redemption or to shareholders who already qualify. They never reach a trust.
Many agreements are funded by life insurance policies on each shareholder, so the corporation or surviving owners have cash to complete the purchase without draining operating funds. The buy-sell agreement is the first document the executor should pull after the date of death. It controls where the shares go, often sets the price, and lays out payment terms and timing.
Without one, shares follow the will or state intestacy law, and the outcomes get unpredictable. Shares could land with a minor child requiring a guardianship, a nonresident alien spouse who is an ineligible shareholder, or a general-purpose family trust that fails QSST and ESBT requirements. Each of those outcomes can kill the S election if not corrected quickly.
The Basis Step-Up for Heirs
Heirs who inherit S corporation stock receive a stepped-up tax basis equal to the stock’s fair market value on the date of death, under IRC Section 1014.5Office of the Law Revision Counsel. 26 USC 1014 – Basis of Property Acquired From a Decedent If the shareholder originally bought in at $50,000 and the stock is worth $500,000 at death, the heir’s new basis is $500,000. Selling immediately would produce little or no capital gain.
The executor can elect an alternate valuation date six months after death if the estate qualifies and files Form 706. That can help if the stock value dropped during that period, lowering estate tax, but it also lowers the heir’s stepped-up basis.6Internal Revenue Service. Instructions for Form 706 (09/2025) – Section: Line 1 Alternate Valuation
One important limit: the step-up applies only to the shareholder’s basis in the stock, 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. The company’s depreciation schedules and asset values stay put.
Community Property States
Married shareholders in community property states get a bigger benefit. When one spouse dies, both halves of community property receive a stepped-up basis, not just the deceased spouse’s half. S corporation stock worth $400,000 with an original basis of $100,000 would give the surviving spouse a full $400,000 basis.7Internal Revenue Service. Publication 555 (12/2024), Community Property This rule applies in 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, or IRD, covers income the shareholder earned but hadn’t recognized for tax purposes before dying. The decedent’s share of accounts receivable, unpaid distributions, and accrued but unreported S corporation income all count.8Office of the Law Revision Counsel. 26 USC 691 – Recipients of Income in Respect of Decedents Whoever receives IRD items reports them as ordinary income when realized, with no basis adjustment, even though those same amounts were already included in the estate’s gross value for estate tax purposes. A deduction for the portion of federal estate tax attributable to the IRD items offsets some of the double tax, but not all of it.
Suspended Losses Can Disappear
S corporation shareholders can deduct losses only up to their basis in stock plus any direct loans they made to the corporation. Losses beyond basis carry forward. Here’s where death creates a trap: suspended losses from insufficient basis are permanently lost when the shareholder dies. The statute treats them as belonging to that specific shareholder, and they don’t transfer to the estate or the heirs.9Office of the Law Revision Counsel. 26 USC 1366 – Pass-Thru of Items to Shareholders Families who assumed the carryforwards would survive like other assets are often caught off guard.10Internal Revenue Service. S Corporation Stock and Debt Basis
Suspended passive activity losses fare a little 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 increases 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 basis step-up and disappears.11Internal Revenue Service. Publication 925, Passive Activity and At-Risk Rules
Splitting the Year of Death
The S corporation has to split income, losses, and deductions between the deceased shareholder and the successor (usually the estate) for the year of death. The default is a per-share, per-day allocation: the full year’s results are divided evenly across every day, with each day’s share assigned to whoever owned the stock on that date.12Office of the Law Revision Counsel. 26 USC 1377 – Definitions and Special Rule
That default can distort the picture. If the company earned most of its income after the shareholder died, the per-day method still assigns a proportional slice to the decedent’s final return for the days before death. The alternative is a “closing of the books” election, which treats the tax year as two separate periods with results reported for each. The election requires consent from the corporation and all “affected shareholders,” meaning the estate and anyone who received shares from the decedent during the tax year.12Office of the Law Revision Counsel. 26 USC 1377 – Definitions and Special Rule
Either way, the corporation issues two Schedules K-1 for the year. The first goes on the decedent’s final Form 1040 for the period through the date of death. The second goes to the estate or other successor for the rest of the year.13Internal 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 K-1 can be issued correctly.
Filing the Final Return
The executor files the deceased shareholder’s final Form 1040 reporting all income through the date of death, including the allocable share of S corporation income for that period.14Internal Revenue Service. File the Final Income Tax Returns of a Deceased Person All eligible credits and deductions are claimed just as they would be for a living taxpayer.
If the gross estate exceeds the federal estate tax exemption ($15,000,000 for deaths in 2026), the executor must file Form 706.15Internal Revenue Service. Whats New – Estate and Gift Tax Even when no estate tax is owed, establishing the stock’s fair market value matters because that value becomes the heirs’ basis for future capital gains calculations. A formal business appraisal is usually required.
Section 303 Redemptions for Estate Liquidity
Estates holding large blocks of S corporation stock often face a cash crunch: estate taxes and administration expenses are due, but the stock is illiquid. Section 303 allows the corporation to redeem enough stock to cover death taxes and funeral and administration expenses, with the redemption treated as a sale rather than a dividend.16Office 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, producing little or no gain. Dividend treatment would make the entire distribution taxable income.
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 estate taxes and allowable funeral and administration expenses. Distributions must generally occur within the estate tax statute of limitations period, and if more than four years pass after death, they’re limited to taxes and expenses still unpaid at that point.16Office of the Law Revision Counsel. 26 USC 303 – Distributions in Redemption of Stock to Pay Death Taxes
A Section 303 redemption reduces the corporation’s accumulated adjustments account (AAA) by the portion attributable to the redeemed shares.17eCFR. 26 CFR 1.1368-2 – Accumulated Adjustments Account (AAA) That cuts into the tax-free distributions available to the remaining shareholders down the road.
If the S Election Has Already Terminated
When the S election terminates because shares landed with an ineligible shareholder (a common outcome when a trust misses its QSST or ESBT election deadline), the corporation can ask the IRS to treat the termination as inadvertent and restore S status retroactively. The corporation files a private letter ruling request explaining the circumstances, when the problem was discovered, and what corrective steps have been taken, such as completing a late trust election or moving the stock to an eligible holder.18eCFR. 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 genuinely inadvertent, and the issue has been corrected. But the ruling takes months, costs thousands in professional fees, and comes with no guarantee. It’s a rescue valve, not a plan. Filing the trust elections on time and keeping shares out of ineligible hands in the first place avoids a problem that is far easier to prevent than to repair.