Tax Shop
Lone Tree, Colorado

Footnotes · for the preparer’s desk

The Two Taxes an S Corporation Can Owe

An S corporation that was always an S corporation owes no income tax of its own. Ever.

One that used to be a C corporation can owe two: a tax on the gain that was already built in when it elected, and a tax on investment income if it kept its old earnings and profits.

Both are computed on Schedule D or page 1 of the 1120-S, and both are avoidable with a calendar and an appraisal.

← Back to the Footnotes

Four corporate-level taxes can apply to an S corporation, and every one of them requires a C-corporation history: the built-in gains tax of §1374, the excess net passive income tax of §1375, recapture of investment credit claimed in C years (§1371(d)), and LIFO recapture on the conversion itself (§1363(d), paid by the C corporation in four installments). A corporation that elected S status from its first day and never absorbed C-corporation assets in a tax-free reorganization can skip this page. Everything below is for the converted C corporation — which in our practice is usually a business that incorporated in the 1990s, elected S later, and still has the old retained earnings on its balance sheet.

An S corporation is never subject to the regular corporate income tax, the accumulated earnings tax (§531) or the personal holding company tax (§541).

On this page

  1. Step 1: Is This Corporation Exposed? Three questions decide it
  2. Step 2: The Built-In Gains Tax, §1374 Five calendar years, NUBIG, and the taxable-income cap
  3. Step 3: Computing the §1374 Tax A worked computation
  4. Step 4: Planning Around §1374 The appraisal, the bonuses, and the losses
  5. Step 5: The Passive Income Tax, §1375 E&P plus 25% of gross receipts
  6. Step 6: Computing the §1375 Tax The formula, with numbers
  7. Step 7: Three Years and Out §1362(d)(3) and the E&P purge
  8. The Other Two: ITC Recapture and LIFO Recapture Rare, but on the checklist
  9. Questions at the desk
  10. Quick notes
  11. Authority
  12. Checklist

Step 1: Is This Corporation Exposed?

Ask three questions on the first return after an election, and again whenever a client brings in a corporation someone else has been preparing.

  1. Was it ever a C corporation, or did it acquire assets from one with carryover basis (a merger, a §351 drop-down from a C parent)? If no to both, stop; neither tax applies.
  2. Does it have accumulated earnings and profits from the C years at the end of the tax year? Schedule M-2 of the 1120-S should show it; if nobody has tracked it, reconstruct from the last C-year balance sheet. No E&P, no §1375 and no three-year termination, however passive the income.
  3. Is it still inside the five-calendar-year recognition period from the first day of the first S year? If yes, every sale and every collection of a cash-basis receivable is a potential §1374 event.

Where it goes wrong

The common case is a former C corporation that wound down its operating business and now holds a building it rents to the successor. Rent is passive investment income; the old E&P is still on the books; the 25% test fails every year. Three years later the S election is gone and nobody noticed.

↑ Back to top

Step 2: The Built-In Gains Tax, §1374

The purpose: a C corporation cannot escape the corporate-level tax on its appreciated assets by electing S and then selling them.

Recognition period. Five calendar years beginning on the first day of the first S year (§1374(d)(7), permanent since the PATH Act of 2015; it was ten years, then seven). For assets acquired from a C corporation with carryover basis, five years from the acquisition date. After the period closes the exposure ends completely.

Net unrealized built-in gain (NUBIG). The fair market value of all the corporation’s assets on the conversion date less their aggregate adjusted basis, with built-in losses netted against built-in gains (§1374(c)(2)). This figure caps the total gain that can ever be taxed under §1374. It includes cash-basis receivables (zero basis, built-in gain as collected) and is reduced by cash-basis payables and accrued but unpaid liabilities — including reasonable bonuses declared before the conversion and paid after (Reg. §1.1374-4(b), (c)). Inventory is valued at what a buyer of the whole business would pay: below retail, above replacement cost (Reg. §1.1374-7).

Recognized built-in gain in a year is the gain on any asset held on the conversion date, to the extent of its built-in gain on that date (post-conversion appreciation is not taxed). Built-in losses recognized in the same year reduce it. Installment sales during the period keep their built-in status as collected (Reg. §1.1374-4(h)).

The tax each year is 21% of the lowest of three numbers: (a) net recognized built-in gain for the year, (b) taxable income computed as if a C corporation without the NOL deduction or the dividends-received deduction, and (c) the NUBIG not yet taxed (§1374(a), (d)(2)). Gain not taxed because of the taxable-income cap carries forward within the recognition period and is taxed in a later year if income allows; it dies when the period ends (§1374(d)(2)(B)). C-year NOL and capital-loss carryovers, and general business credit carryforwards, may offset the §1374 gain or tax (§1374(b)(2), (3)) — the only use an S corporation ever gets from them.

Pass-through. The tax paid is treated as a loss sustained by the corporation, allocated to shareholders in the same character as the gain that produced it (§1366(f)(2)). On a $100,000 built-in gain the corporation pays $21,000 and the shareholders report $79,000.

↑ Back to top

Step 3: Computing the §1374 Tax

The course’s example, carried through three years.

Asset on conversion dateBasisFMVBuilt-in gain (loss)
Cash-basis receivables$0$100,000$100,000
Equipment$70,000$40,000($30,000)
Land$50,000$90,000$40,000
NUBIG$110,000
  • Year 1: the receivables are collected — $100,000 of recognized built-in gain. C-basis taxable income is $150,000. Tax = 21% × lesser of $100,000 / $150,000 / $110,000 = $21,000. Remaining NUBIG $10,000.
  • Year 2: the equipment is sold for $50,000, a $10,000 gain to the corporation — but it had a built-in loss on the conversion date, so none of the gain is built-in. Tax $0.
  • Year 3: the land sells for $80,000, a $30,000 gain, of which $30,000 was built in. The cap is the remaining NUBIG of $10,000. Tax = 21% × $10,000 = $2,100. After this the NUBIG is exhausted and §1374 is over, whatever else is sold inside the five years.

Change the facts: if year 1’s C-basis taxable income had been $60,000, year 1’s tax is 21% × $60,000 = $12,600 and the untaxed $40,000 of recognized gain carries forward into year 2, where it is taxed if year 2’s taxable income allows.

↑ Back to top

Step 4: Planning Around §1374

  • Get the appraisal as of the conversion date and keep it forever. Without it the IRS argues every later gain was built in. This is the one document a converting client must have.
  • Declare bonuses before the election and pay them after; they reduce NUBIG. Pay down payables after.
  • Recognize built-in losses in the same year as built-in gains; they net.
  • Hold the taxable-income number down in a year with a large built-in gain — reasonable compensation, retirement contributions, timing of deductible items — and let the untaxed gain carry forward toward the end of the period, when it may expire.
  • Do not change inventory methods to game the computation (Reg. §1.1374-7(b)).
  • Wait out the period for the big asset where the business can. Five calendar years, not five anniversaries: an election effective January 1, 2026 is clear on January 1, 2031.
↑ Back to top

Step 5: The Passive Income Tax, §1375

Applies in any year the corporation has C-corporation E&P at year end and passive investment income exceeding 25% of gross receipts.

Passive investment income is gross receipts from royalties, rents, dividends, interest (including tax-exempt interest) and annuities (§1362(d)(3)(C)). Not passive: interest on notes from sales of inventory; interest earned by a lending or finance business; rents where the corporation provides significant services (hotel-type) or where the property was built or developed by the corporation (Reg. §1.1362-2(c)(5)); and gains on stock and securities count in gross receipts only to the extent of the net gain, so churning a portfolio at cost cannot dilute the ratio.

Net passive income is passive investment income less the deductions directly connected with producing it — no NOL, no dividends-received deduction, no organizational amortization.

Excess net passive income = net passive income × (passive investment income − 25% of gross receipts) ÷ passive investment income.

The tax = 21% × the lesser of excess net passive income or taxable income computed as a C corporation without the NOL and special deductions (§1375(b)(1)(B)). A year with zero C-basis taxable income owes nothing. The tax reduces the passive items passed through to shareholders (§1366(f)(3)).

Waiver. The IRS may waive the tax where the corporation believed in good faith that it had no E&P and distributes the E&P within a reasonable time after discovering it (§1375(d)).

↑ Back to top

Step 6: Computing the §1375 Tax

Gross receipts $100,000, of which rents $40,000; expenses directly connected with the rents $5,000; C-basis taxable income $10,000.

  • Passive test: $40,000 ÷ $100,000 = 40%, over 25%. Exposed (if E&P exists at year end).
  • Net passive income: $40,000 − $5,000 = $35,000.
  • Excess net passive income: $35,000 × ($40,000 − $25,000) ÷ $40,000 = $13,125.
  • Tax: 21% × lesser of $13,125 or $10,000 = $2,100.

Larger numbers from the study questions: receipts $1,000,000, passive $500,000, direct expenses $200,000 → excess net passive income $300,000 × ($500,000 − $250,000)/$500,000 = $150,000; with C-basis taxable income of $100,000 the tax is 21% × $100,000 = $21,000.

↑ Back to top

Step 7: Three Years and Out

The tax is the warning. The termination is the damage.

If the corporation has C-corporation E&P at the end of each of three consecutive tax years and passive investment income over 25% of gross receipts in each, the S election terminates on the first day of the fourth year (§1362(d)(3)(A)). Then the five-year wait before a new election (§1362(g)) begins, and the corporation is back to double taxation.

The cure is to get rid of the E&P before the third year closes: elect under §1368(e)(3), with the consent of all shareholders receiving distributions, to treat distributions as coming first from E&P (a taxable dividend to the shareholders) rather than from AAA; or elect a deemed dividend of the entire E&P without writing a check (Reg. §1.1368-1(f)(3)). The dividend is taxed at qualified-dividend rates, which is usually a small price. The distributions page has the mechanics; this page is the reason to use them.

Alternatively, restructure the income: provide real services with the rentals, sell the building to the shareholders, or move the investments out. A termination that happens because nobody looked at the three-year count is an inadvertent termination for which relief under §1362(f) is usually available — at the cost of a ruling or Rev. Proc. 2022-19 compliance and the embarrassment.

↑ Back to top

The Other Two: ITC Recapture and LIFO Recapture

Investment credit recapture (§1371(d)(3)): credits claimed on property placed in service in C years are recaptured at the corporate level if the property is disposed of early during the S years; the shareholders are not liable. Rare since the general investment credit was repealed in 1986, but energy credits claimed in a C year follow the same rule.

LIFO recapture (§1363(d)): a C corporation using LIFO inventory must include the LIFO reserve (LIFO value versus FIFO value) in income on its last C-corporation return and pay the tax in four equal annual installments, without interest, starting with that return (Reg. §1.1363-2). The S corporation’s inventory basis is stepped up by the amount recaptured. Ask about the inventory method before every C-to-S election.

↑ Back to top

Questions at the desk

The corporation has been an S corporation for eight years but still shows retained earnings from the C years. Does any of this matter?

Yes, for §1375 and the three-year termination. The five-year §1374 window has closed, so built-in gains are no longer taxed, but as long as C-year E&P sits on the balance sheet, a year with rents, interest and dividends over 25% of gross receipts is a tax year and a strike toward termination. The simplest permanent fix is the deemed-dividend election to purge the E&P.

The client sold the building in year six after the election. The prior preparer applied the built-in gains tax.

Check the dates. The recognition period is five calendar years beginning with the first S year; a sale in year six is outside it and no §1374 tax is due. Amend if the return is open.

Nobody ever did an appraisal at the conversion date.

Reconstruct one now from the best evidence — a contemporaneous broker opinion, assessor records, the books — and document it. Without a conversion-date value the IRS position is that the entire later gain is built in, and the burden is the corporation’s.

The corporation has no E&P. The rents are 80% of receipts.

Then §1375 and the three-year rule cannot apply, however passive the income. Note it in the file so the next preparer does not panic.

↑ Back to top

Quick notes

One line each, from the course study questions and the final exam; the bracketed tag is the question and the answer I derived.

  • Long-term capital gains passed through an S corporation are taxed to the shareholder at the individual capital-gain rates (maximum 20%, plus NIIT if applicable); a C corporation pays 21% on the same gain. [exam Q1, D]
  • The built-in gains tax can hit only an S corporation that was previously a C corporation or that acquired C-corporation assets with carryover basis. [exam Q22, D]
  • Net unrealized built-in gain nets gains and losses on the conversion date: receivables +$50,000, land +$20,000, equipment −$30,000 = $40,000 maximum ever taxable. [exam Q23, C]
  • Built-in gains tax = 21% × the lesser of recognized built-in gain or C-basis taxable income: gain $80,000, taxable income $90,000 → $16,800. [exam Q24, B]
  • Gain $100,000, taxable income $120,000 → $21,000; gain $20,000, taxable income $30,000 → $4,200. [exam Q25, A; Q26, D]
  • Collecting $60,000 of receivables when NUBIG is $30,000 taxes only $30,000: 21% × $30,000 = $6,300. [study Q21, C]
  • Built-in gain $80,000 against taxable income of $60,000: tax on $60,000 now; the $20,000 carries forward within the recognition period. [study Q23, B]
  • The built-in gains tax is at the highest corporate rate, 21%; it does not apply to every S corporation, is capped by NUBIG and five years, and the shareholder still reports the gain net of the tax. [study Q19, C]
  • Net passive investment income is gross receipts from royalties, rents, dividends, interest and annuities less the deductions directly connected with producing them. [exam Q20, B]
  • Passive investment income $60,000 less $10,000 of directly connected expenses is net passive income of $50,000; gross receipts and taxable income do not enter that step. [exam Q21, D]
  • Interest from a lending business, interest on inventory notes, rents with significant services, and the gross sales price of securities (only the gain counts) are not passive investment income; tax-exempt bond interest is. [exam Q54, D; study Q44, C]
  • Receipts $1,000,000, passive $500,000, direct expenses $200,000: excess net passive income = $300,000 × ($500,000 − $250,000)/$500,000 = $150,000; with C-basis taxable income of $100,000 the tax is $21,000. [study Q16, B; Q17, B]
  • The §1375 tax is 21% of the lesser of excess net passive income or C-basis taxable income. [study Q18, A]
  • An S corporation with C-corporation E&P and passive investment income over 25% of gross receipts for three consecutive years loses its election on the first day of year four; inventory sales, a first-year election, and rents with significant services do not count. [exam Q53, D]
  • An S corporation may owe built-in gains tax; never the accumulated earnings tax, the personal holding company tax, or the regular corporate income tax. [study Q15, D]

Authority

  • §1374(a), (b)(2)–(3), (c)(2), (d)(2), (d)(7), (d)(8); Reg. §§1.1374-1 through -10 (recognition period, NUBIG, receivables and payables, inventory, installment sales)
  • §1366(f)(2), (f)(3) (the taxes treated as losses passed through)
  • §1375(a)–(d); §1362(d)(3); Reg. §1.1362-2(c) (passive investment income, gross receipts, exceptions); §1368(e)(3); Reg. §1.1368-1(f)(2)–(3) (E&P-first and deemed-dividend elections)
  • §1371(d)(3) (investment credit recapture); §1363(d); Reg. §1.1363-2 (LIFO recapture)
  • §1362(f), (g); Rev. Proc. 2022-19 (inadvertent termination relief; five-year wait)
  • PATH Act of 2015, §127 (five-year recognition period made permanent)

Checklist: former C corporation now an S corporation

Print this page; the header and footer drop out

  • C-corporation history confirmed; first S year identified; recognition period end date calculated (five calendar years)
  • Conversion-date appraisal located, or reconstructed and documented
  • NUBIG computed, including cash-basis receivables and payables; schedule kept in the permanent file
  • Each year inside the period: recognized built-in gains and losses listed; C-basis taxable income computed; lesser-of applied; carryforward of untaxed gain tracked
  • C-year NOL, capital loss and credit carryovers applied against §1374 gain
  • Accumulated E&P at year end confirmed from Schedule M-2 or reconstructed
  • Passive investment income ÷ gross receipts computed every year E&P exists; net gains only for securities
  • §1375 tax computed and the passive items passed through reduced by it
  • Consecutive-year count maintained; E&P purge (§1368(e)(3) or deemed dividend) recommended before the third year closes
  • LIFO reserve asked about before any C-to-S election; four-installment schedule calendared
← Back to the Footnotes

Written for the Tax Shop desk from my continuing-education course notes; figures are for the 2026 tax year unless stated. Items marked (verify) are to be confirmed against primary sources before they are relied on. Private reference, not client advice.