TCP, Tax Compliance and Planning
Sources for S Corporation Compliance: Built-In Gains, the AAA, and Basis Ordering
Last reviewed
The standards and authorities behind PocketCPA's TCP lessons on S Corporation Compliance: Built-In Gains, the AAA, and Basis Ordering. The topic rests on IRC Sec. 1361 / 1362 / 1366 / 1367 / 1368 / 1371 / 1374 / 1375 / 1377.
About this topic
An S corporation is a corporation that has elected under Subchapter S of the Internal Revenue Code to pass its income, deductions, losses and credits through to its shareholders, who report them on their own returns.
A C corporation is one taxed under the ordinary corporate rules of Subchapter C, paying tax on its own income. The S corporation files Form 1120-S and generally pays no income tax of its own. The main exceptions, and the two this Topic covers, are the built-in gains tax of Sec. 1374 and the excess net passive income tax of Sec. 1375. Others exist, such as investment credit recapture under Sec. 1371(d) and the LIFO recapture installments under Sec. 1363(d). Each shareholder receives a Schedule K-1 showing that shareholder's share of every item, and each item lands on the shareholder's Form 1040 at the step of the computation its character dictates.
Key points
- S corporation status requires no more than 100 shareholders, one class of stock, and only eligible shareholders.
- The built-in gains tax applies for five years after a C-to-S conversion on gains that were built in at the time of election.
- The accumulated adjustments account (AAA) tracks post-election undistributed income and determines whether distributions are tax-free.
- Shareholder basis is increased by income and decreased by losses and distributions, and limits loss deductions.
Try a question on this topic
Talbot Inc., an S corporation that was formerly a C corporation, has $25,000 of accumulated earnings and profits. At the start of the year its sole shareholder has stock basis of $40,000, and its accumulated adjustments account (AAA) is $30,000. For the year Talbot allocates $20,000 of ordinary income (none of it tax-exempt) and distributes $95,000 of cash. Talbot makes no election to change the order of distributions. What does the shareholder report from the distribution?
- ADividend income of $25,000 and capital gain of $10,000
- BDividend income of $0 and capital gain of $35,000
- CDividend income of $45,000 and capital gain of $0
- DDividend income of $25,000 and capital gain of $20,000
Show the answer
A. Dividend income of $25,000 and capital gain of $10,000
Sec. 1368(d) adjusts basis for the year's income before the distribution is tested, so basis is $60,000 and the AAA is $50,000. With accumulated earnings and profits, Sec. 1368(c) runs the AAA layer first ($50,000 tax-free, basis to $10,000), then a dividend up to earnings and profits ($25,000, basis unchanged), then remaining basis ($10,000 tax-free, basis to zero). The final $10,000 is gain from the sale or exchange of property, and the layers foot to $95,000.
- A, correct. After the year's income, basis is $60,000 and the AAA is $50,000. The first $50,000 is tax-free, the next $25,000 is a dividend that leaves basis alone, the next $10,000 uses up the remaining basis, and the last $10,000 is capital gain.
- B. This applies the rule for an S corporation with no accumulated earnings and profits. Because Talbot has C-era earnings and profits, the distribution beyond the AAA is a dividend up to that balance.
- C. This treats everything beyond the AAA as a dividend. The dividend layer is capped at the $25,000 of accumulated earnings and profits, and the remainder is tested against basis.
- D. This lets the dividend layer reduce stock basis. A dividend is includible in income, so it does not reduce basis, and $10,000 of basis remains to absorb part of the third layer.
Authority: IRC Sec. 1368(c). Written and checked by PocketCPA, 2026-11-21.
Try four more TCP questions freeOr try every section
PocketCPA's TCP lessons are written from these same sources, and every practice question cites the paragraph it tests. See what PocketCPA includes.
What do PocketCPA's TCP lessons on S Corporation Compliance: Built-In Gains, the AAA, and Basis Ordering cover?
PocketCPA's TCP lessons on S Corporation Compliance: Built-In Gains, the AAA, and Basis Ordering take it in the order below, one part per lesson.
- Built-in gains tax
- The AAA and distributions with E and P
- Basis ordering and loss limits
- Termination
- Eligibility: who may hold S corporation stock
- Pass-through mechanics: per-share, per-day allocation and character
- Debt basis: creating it, using it, and restoring it
- Suspended losses and the post-termination transition period
- The excess net passive income tax
- The compliance sequence, end to end
- Noncash property in and out: contributions, assumed debt and property distributions
Authoritative references
Eligibility and election:
- Sec. 1361(b)(1) and (c), the small business corporation and who may hold its stock: the family aggregation at (c)(1), the permitted trust and estate shareholders at (c)(2), and the straight debt safe harbor at (c)(5); the four conditions are no more than 100 shareholders, only eligible shareholders (individuals, estates, permitted trusts and certain exempt organizations), no nonresident alien shareholder, and no more than one class of stock.
- Sec. 1362(a), (b) and (c), the election, its timing and the late election rules, and the consent of shareholders.
Termination:
- Sec. 1362(d)(1) through (d)(3), termination by revocation, by ceasing to be a small business corporation, and by excess passive investment income for three consecutive years where there are earnings and profits.
- Sec. 1362(e), the S termination year and the allocation of items between the S short year and the C short year, including the daily pro rata default at (e)(2), the closing-of-the-books election at (e)(3), and the rule at (e)(6)(D) that closes the books automatically when 50 percent or more of the stock is sold or exchanged during the year.
- Sec. 1362(f), relief for an inadvertent invalid election or termination.
- Sec. 1371(b), no carryover of losses between a C year and an S year, Sec. 1371(c), the effect on earnings and profits, Sec. 1371(d), the continuing liability for investment credit recapture attributable to C years, and Sec. 1371(e), distributions of money during the post-termination transition period applied against stock basis to the extent of the accumulated adjustments account.
Pass-through and basis:
- Sec. 1366(a)(1) and (a)(2), the pro rata share of items of income, loss, deduction, and credit, with character determined at the corporate level.
- Sec. 1377(a)(1) and (a)(2), the per-share, per-day allocation and the election to terminate the taxable year on a termination of the shareholder's interest.
- Sec. 1367(a)(1) and (a)(2), the increases and decreases in stock basis, and Sec. 1367(b)(2), the reduction and restoration of debt basis.
- Sec. 1366(d)(1) through (d)(3), the loss limit by stock basis and debt basis, the carryforward of the disallowed loss, and the post-termination transition period.
- Sec. 1366(e) and (f), family member services and the reduction in pass-through for tax imposed under Sec. 1374 and Sec. 1375.
Distributions:
- Sec. 1368(a) through (c), distributions from a corporation with no earnings and profits and from one with them, in the order of the accumulated adjustments account, accumulated earnings and profits, and basis.
- Sec. 1368(e)(1) through (e)(3), the accumulated adjustments account and its adjustments, the net negative adjustment, and the election to distribute earnings and profits before the accumulated adjustments account.
- Sec. 1371(a) and Sec. 301(c), the application of subchapter C rules to the distributions of a corporation with earnings and profits.
Corporate-level taxes:
- Sec. 1374(a), (b) and (d), the tax on net recognized built-in gain, the 21 percent rate and the taxable income limit, the net unrealized built-in gain at (d)(1), the recognized built-in gain and loss at (d)(3) and (d)(4), the recognition period at (d)(7), and the carryover basis assets at (d)(8).
- Sec. 1375(a) and (b), the tax on excess net passive income, applying where passive investment income exceeds 25 percent of gross receipts, with excess net passive income capped at taxable income, and the waiver at Sec. 1375(d).
- Sec. 11(b), the corporate rate applied in the built-in gains computation.
Noncash property:
- Sec. 351(a) and Sec. 368(c), nonrecognition on a transfer of property for stock by transferors holding at least 80 percent control immediately after the exchange.
- Sec. 357(a) and (c)(1), the assumption of a liability not treated as money, and the gain where liabilities assumed exceed the adjusted basis of the property transferred.
- Sec. 358(a)(1) and (d)(1), the shareholder's basis in the stock received, with an assumed liability treated as money received.
- Sec. 362(a) and (e)(2), the corporation's carryover basis in contributed property, increased by the transferor's recognized gain and limited to fair market value where the property carries a net built-in loss.
- Sec. 311(a) and (b), applied to an S corporation by Sec. 1371(a), no loss and recognized gain on a distribution of property not in complete liquidation, measured as if the property were sold at its fair market value.
- Sec. 301(b) and (d), the amount of a property distribution at fair market value less liabilities, and the shareholder's fair market value basis in the property.
- Sec. 336(a) and (d), Sec. 331(a) and Sec. 334(a), gain and loss to a liquidating corporation, exchange treatment for the shareholder, and fair market value basis in property received in complete liquidation.
- Instructions for Form 1120-S, Schedule K, line 16d, distributions of appreciated property valued at fair market value, with the required statement of acquisition date, distribution date, fair market value and basis.
How does PocketCPA use IRC Sec. 1361 / 1362 / 1366 / 1367 / 1368 / 1371 / 1374 / 1375 / 1377?
Every PocketCPA lesson on S Corporation Compliance: Built-In Gains, the AAA, and Basis Ordering is written in original words and cites the paragraph of IRC Sec. 1361 / 1362 / 1366 / 1367 / 1368 / 1371 / 1374 / 1375 / 1377 each rule comes from. No standard's text is reproduced. How lessons and questions are written and checked is set out in our methodology.