What Is the S-Corp Sting Tax on Passive Income? (w/Examples) + FAQs

This article reflects federal rules and California rules as of June 2026 and covers tax year 2025 (with notes for the 2026 filing season). Tax law changes — confirm current figures with IRS.gov or your state agency before you file. This article is educational and is not a substitute for advice from a licensed CPA or tax attorney for your specific situation.

Quick Answer

The S-corp “sting tax” is a 21% corporate-level tax under IRC §1375. For tax year 2025 it hits an S corporation only if it (1) holds leftover C-corporation earnings and profits, and (2) earns more than 25% of its gross receipts from passive investment income. The tax applies to “excess net passive income.”

Why This Tax Catches Owners Off Guard

Your S corporation usually pays no federal income tax of its own — profit flows straight to your personal return. But if your company once operated as a C corporation and still sits on old, undistributed C-corporation profits, a separate corporate-level tax can switch on, and it can also quietly destroy your S election after three years. Most owners never see it coming because a pure S corporation that was never a C corporation can never owe it.

The stakes are real and the timing is tight. The tax is figured on your annual Form 1120-S and is due with that return, so a single high-interest or high-dividend year can cost you 21 cents on each dollar of trapped passive income. Only about 5.4 million S corporations file each year, per the IRS data book, and the ones at risk are almost always former C corporations holding investment portfolios, rental property, or sale proceeds.

Here is what you will learn:

  • 💰 What the 21% sting tax is, who owes it, and the exact two conditions that trigger it.
  • 📊 How to run the math yourself with fully worked dollar examples for tax year 2025.
  • ⏳ How three straight years of excess passive income silently terminate your S election under §1362(d)(3).
  • 🛡️ The legal escape routes — distributing old E&P, the §1375(d) waiver, and §1362(f) inadvertent-termination relief.
  • 🌴 How California layers its own 1.5% excess-net-passive-income tax on top of the federal rule.

Breaking the Sting Tax Into Its Parts

The sting tax is built from four moving pieces, and you must understand each one because the tax turns on or off depending on how they line up. Miss any single piece and you will either pay a tax you did not owe or skip a tax you did. This section defines each part in plain words before the math section puts them together.

Part 1: Accumulated Earnings and Profits (C E&P)

Accumulated earnings and profits, often shortened to C E&P, is the pool of profit your company earned during its C-corporation years and never paid out as dividends. A company that was born as an S corporation and never operated as a C corporation has zero C E&P, so it can never owe the sting tax. The consequence of having C E&P is that you keep one foot in the C-corporation tax world even after electing S status. For example, a manufacturer that ran as a C corporation for 10 years, retained $400,000 of profit, then elected S status in 2024 still carries that $400,000 as C E&P. A common misconception is that the S election wipes out old C E&P — it does not, and the only way to clear it is to distribute it or earn it away. Your next step is to ask your accountant for your current C E&P balance, because if it is zero you can stop worrying about this tax entirely.

Part 2: Passive Investment Income

Passive investment income means gross receipts from royalties, rents, dividends, interest, and annuities, as defined in §1362(d)(3)(C). It is gross receipts, not net profit, so expenses do not reduce the figure used in the 25% test. The consequence of misclassifying income is a wrong test result that can trigger or hide the tax. For instance, a dental practice that parks its cash reserve in a brokerage account and collects $90,000 of interest and dividends has $90,000 of passive investment income, even if the practice itself is fully active. A frequent misconception is that all rent counts — but rent from a business that provides significant services (like a hotel or active parking garage) is generally not passive. Your next step is to total each passive category separately on a worksheet so you can run the 25% test accurately.

Part 3: The 25% Gross Receipts Test

The 25% test asks a simple question: are more than 25% of your total gross receipts passive investment income? If passive receipts are 25% or less, there is no sting tax that year, regardless of your C E&P. The consequence of crossing the line is twofold — the annual tax and a strike toward losing your S election. As an example, a company with $1,000,000 of total gross receipts and $300,000 of interest is at 30% passive, which is over the line and exposed. The misconception here is that the test looks at net income; it looks at gross receipts, so a low-margin active business can fail the test even while barely profitable. Your next step is to monitor this ratio quarterly, not just at year-end, so you can act before December 31 closes the year.

Part 4: Excess Net Passive Income (the Tax Base)

Excess net passive income (ENPI) is the slice of your net passive income that exceeds the 25% threshold — it is what actually gets taxed, not your full passive income. The formula starts with net passive income (passive income minus directly connected expenses), then multiplies it by a fraction: passive receipts over the 25% line, divided by total passive receipts. The consequence of using gross passive income instead of ENPI is overstating the tax by a wide margin. For example, a company far over the line still only pays 21% on the excess portion, not the whole portfolio. The misconception is that the 21% applies to all passive income — it applies only to ENPI, and ENPI can never exceed the corporation’s taxable income for the year. Your next step is to use the formula in the next section before you assume a large bill.

How the Sting Tax Math Works (Worked Examples)

This is the part IRS.gov explains in dense prose — here it is as copyable math. The core formula from §1375 is:

The ENPI fraction is net passive income times (passive investment income − 25% of gross receipts) ÷ passive investment income. Then sting tax = ENPI × 21%, and ENPI is capped at the corporation’s taxable income.

Worked Example A — Acme Tool Co. (former C corp)

Acme has C E&P of $200,000 left from its C-corporation years. For tax year 2025 it has $1,000,000 total gross receipts, of which $300,000 is interest and dividends (30% passive — over the line). Directly connected expenses on the passive income are $20,000, so net passive income is $280,000.

  • 25% of gross receipts = $1,000,000 × 25% = $250,000
  • Passive over the line = $300,000 − $250,000 = $50,000
  • ENPI = $280,000 × ($50,000 ÷ $300,000) = $280,000 × 0.1667 = $46,667
  • Sting tax = $46,667 × 21% = $9,800 (rounded)

Acme owes roughly $9,800 of federal sting tax for 2025, paid with its Form 1120-S.

Worked Example B — the cap in action

Suppose the same Acme had a brutal operating year and its total taxable income (figured under the §1375 rules) was only $30,000. Because ENPI can never exceed taxable income, the tax base drops from $46,667 to $30,000, and the tax becomes $30,000 × 21% = $6,300. The cap protects struggling companies from a tax larger than their actual income.

Worked Example C — staying safe by 1%

A landscaping S corp has $800,000 gross receipts and $190,000 of dividends, which is 23.75% passive — under 25%. Even though it holds $150,000 of C E&P, it owes $0 sting tax for 2025 because it never failed the gross-receipts test. One extra $30,000 dividend would have pushed it to 27.5% and triggered the tax — a reminder that the line is sharp.

The Hidden Second Danger: Losing Your S Election

The sting tax is the annual penalty, but §1362(d)(3) carries a far harsher consequence. If your S corporation has C E&P and fails the 25% passive test for three consecutive tax years, your S election terminates automatically on the first day of the fourth year. The corporation snaps back to C-corporation status, with double taxation on its profits and a five-year wait before it can re-elect S status without IRS consent. This is the true “sting.”

The clock only runs in years you have C E&P. If you fully distribute your C E&P before the third consecutive year closes, the streak resets and termination is avoided. Many owners wrongly believe the tax and the termination are the same event — they are linked but separate, and you can pay the tax for years while still tripping the termination trap. Your immediate next step is to count your consecutive failing years; if you are at year two, plan a corrective move before year three ends.

Which Situation Applies to You?

Use this branch to find your risk level fast, because one size never fits all here.

  • You were always an S corporation (never a C corp): You have zero C E&P. The sting tax and the §1362(d)(3) termination cannot apply to you. Stop here.
  • You converted from a C corp but distributed all old E&P: Once C E&P hits zero, neither rule can apply. Confirm the balance is truly zero with your accountant.
  • You converted from a C corp and still hold C E&P, passive income under 25%: No tax this year, but monitor the ratio so you do not drift over.
  • You converted from a C corp, hold C E&P, and passive income is over 25%: You owe the sting tax this year and are accruing termination strikes. Act now.
  • You operate in California: Apply the federal rule first, then add California’s separate 1.5% overlay described below.

Three Common Scenarios and Their Outcomes

Scenario 1: The sold-business S corp

Maria sold her former C-corp’s operating assets in 2023, kept the S election, and now her company holds only the $2,000,000 sale proceeds in bonds earning interest.

What Maria’s Company Does What It Triggers
Holds C E&P and earns nearly 100% interest income Fails the 25% test every year, owes the 21% sting tax annually
Lets three failing years pass without distributing E&P S election terminates; company becomes a taxable C corp

Scenario 2: The active business with a big cash pile

Dev runs a profitable agency (former C corp) and invests idle cash, generating $260,000 of dividends against $1,000,000 of gross receipts.

What Dev’s Company Does What It Triggers
Passive receipts hit 26% of gross receipts Sting tax applies to the excess portion only
Distributes C E&P this year to reach a zero balance Future years are immune even if passive income stays high

Scenario 3: The cautious rental S corp

Priya’s S corp (former C corp) collects net lease rents with no significant services provided.

What Priya’s Company Does What It Triggers
Passive rent is 40% of gross receipts Sting tax and termination clock both run
Adds significant tenant services to reclassify the rent Income may no longer count as passive, ending exposure

Three Named Examples in Detail

Example — Robert’s brokerage trap. Robert converted his consulting C corp to an S corp in 2022 with $180,000 of C E&P. He moved $600,000 into a dividend portfolio. For 2023, 2024, and 2025 his passive income exceeded 25% each year. On January 1, 2026, his S election terminated automatically, and he now faces C-corp double taxation. Had he distributed the $180,000 of E&P in 2024, the streak would have reset.

Example — Linda’s one-bad-year fix. Linda’s manufacturing S corp had a slow 2025 and her interest income spiked to 28% of gross receipts. She owed about $7,000 of sting tax. Because it was only her first failing year, her S election was safe, and she distributed her remaining C E&P in early 2026 to end the risk for good.

Example — Sam’s waiver request. Sam thought his company had no C E&P, so he ignored the test. An IRS exam found $40,000 of overlooked C E&P. Sam applied for the §1375(d) waiver, showed the E&P error was made in good faith, distributed the $40,000, and the IRS waived the sting tax for that year.

Escape Routes and Planning Moves

The cleanest fix is to distribute all C E&P, because both the sting tax and the termination rule require C E&P to exist. An S corporation can elect to treat distributions as coming first from C E&P under §1368(e)(3), clearing the balance. Once C E&P is zero, you are permanently immune.

If you failed the test because of a good-faith mistake about your E&P, the §1375(d) waiver lets the IRS forgive the tax once you distribute the E&P within a reasonable time. If your S election has already terminated by accident, §1362(f) inadvertent-termination relief lets you request a private letter ruling to restore S status — the IRS has granted this many times, as shown in current developments coverage. A PLR is not cheap; IRS user fees plus professional help often run several thousand dollars, so prevention beats cure.

California: The 1.5% Overlay

California does not follow the federal pass-through model fully — it taxes S corporations at the entity level. Under guidance from the Franchise Tax Board, every California S corporation pays the greater of 1.5% of net income or the $800 minimum franchise tax, filed on Form 100S. California also computes its own tax on excess passive income, so a former C corp can owe the federal 21% sting tax and a separate California amount on the same income for the same year.

California’s Form 100S is due the 15th day of the third month after year-end (March 15 for calendar-year filers), with an automatic six-month extension to file but not to pay. The consequence of treating the extension as a payment extension is interest and penalties from the original due date. Your next step if you operate in California is to compute the federal figure first, then run the California overlay using the Form 100S booklet — never use the federal numbers as a stand-in for the state figure.

Mistakes to Avoid

  • Assuming the S election erased old C E&P. It does not, and ignoring the balance leaves you exposed to the tax and termination.
  • Using net income for the 25% test. The test uses gross receipts, so this error hides real exposure until the IRS finds it.
  • Treating all rent as passive. Rent with significant services may be active; misclassifying it can cause a false trigger or a missed one.
  • Applying 21% to total passive income. The tax hits only excess net passive income, so this mistake overstates the bill by thousands.
  • Letting three failing years pass. This terminates your S election automatically and forces costly C-corp double taxation.
  • Forgetting the taxable-income cap. ENPI cannot exceed taxable income, so overlooking the cap means overpaying in a low-income year.
  • Ignoring the state layer. California and some other states add their own tax, and skipping it brings penalties and interest.
  • Waiting until April to check the ratio. By then the tax year is closed and you cannot distribute E&P in time to reset the clock.

Do’s and Don’ts

  • Do pull your current C E&P balance every year, because zero C E&P means zero risk.
  • Do track passive receipts as a percentage of gross receipts quarterly, since the line is sharp and final at year-end.
  • Do distribute C E&P when you are at risk, because it permanently removes both penalties.
  • Do keep a worksheet separating each passive income category, so your 25% test holds up under audit.
  • Do call a CPA the moment you hit a second consecutive failing year, before the third year locks in termination.
  • Don’t assume rental income is automatically passive, because service-heavy rentals often are not.
  • Don’t confuse the annual tax with the three-year termination — they are separate consequences.
  • Don’t ignore state conformity, because the federal answer is not the state answer.
  • Don’t delay a §1362(f) relief request, since the IRS expects prompt action after an inadvertent termination.
  • Don’t guess your taxable-income cap, because the cap can sharply reduce what you actually owe.

Pros and Cons of Distributing C E&P to Escape the Tax

  • Pro: It permanently eliminates both the sting tax and the termination risk, because both require C E&P.
  • Pro: Distributions of C E&P are usually taxed at favorable qualified-dividend rates to shareholders.
  • Pro: It simplifies future planning, since you no longer track the 25% test for survival.
  • Pro: It removes the audit risk tied to E&P miscalculations.
  • Pro: It frees you to hold as much passive income as you want going forward.
  • Con: The distribution is taxable to shareholders now, creating an immediate personal tax bill.
  • Con: It pulls cash out of the company that you may have wanted to reinvest.
  • Con: Computing C E&P precisely can require professional help and cost money.
  • Con: Timing the distribution wrong (after year-end) fails to reset the termination clock for that year.
  • Con: Large one-time distributions can push shareholders into higher tax brackets.

What to Do Next

  1. Ask your accountant to confirm your C E&P balance today — if it is zero, you are done.
  2. If you have C E&P, calculate your passive-income percentage of gross receipts for the current year.
  3. If you are over 25%, run the ENPI formula and apply the taxable-income cap to size the bill.
  4. Count your consecutive failing years; if you are at year two, act before year three closes.
  5. Distribute C E&P before December 31 if you want to reset the clock and end the exposure.
  6. File the tax with Form 1120-S by the deadline (March 15 for calendar-year filers, or the extended date with payment).
  7. If your election already terminated by accident, hire a tax attorney to file a §1362(f) relief request.

Frequently Asked Questions

What is the S-corp sting tax rate for 2025? 21%. It equals the highest corporate rate under §11(b), which has been a flat 21% since 2018, applied to excess net passive income reported on Form 1120-S.

Can an S corporation that was never a C corp owe the sting tax? No. The tax requires accumulated C-corporation earnings and profits. A company that has always been an S corporation has zero C E&P and can never owe it.

What counts as passive investment income? Royalties, rents, dividends, interest, and annuities. These are measured as gross receipts under §1362(d)(3)(C), not net profit, so related expenses do not reduce the amount used in the 25% test.

How much passive income is too much? More than 25% of gross receipts. Cross that line in a year you hold C E&P and the sting tax applies; cross it three years straight and your S election terminates.

Does the 21% apply to all of my passive income? No. It applies only to excess net passive income, the portion above the 25% line, and that base can never exceed the corporation’s taxable income for the year.

What happens after three years of excess passive income? Your S election terminates automatically. Under §1362(d)(3) the company reverts to C-corporation status on the first day of the fourth year, triggering double taxation.

How do I avoid the sting tax permanently? Distribute all your C E&P. Once the C E&P balance reaches zero, neither the annual tax nor the three-year termination rule can ever apply to your company again.

Is there relief if I lose my S election by accident? Yes. Section 1362(f) lets you request an IRS private letter ruling for inadvertent-termination relief, which the IRS has frequently granted when owners act promptly.

Does California charge its own version of this tax? Yes. California taxes S corporations at 1.5% of net income (minimum $800) on Form 100S and computes its own excess-passive-income tax, separate from the federal 21%.

When is the sting tax due? With your Form 1120-S. For calendar-year filers that is March 15, 2026, for tax year 2025, or the extended due date if you filed an extension and paid on time.

Can I get the federal tax waived? Yes, sometimes. Section 1375(d) allows a waiver if you show the C E&P was determined in good faith and you distribute that E&P within a reasonable period.

Does net rental income always count as passive? No. Rent from activities involving significant services — such as a hotel or staffed parking facility — is generally treated as active business income, not passive investment income.

Word count: approximately 2,950 words of body content. For your specific facts — especially confirming your C E&P balance and any state overlay — consult a licensed CPA or tax attorney before filing.