Contributions do not change distribution order
An S corporation has an accumulated adjustments account of $30,000 and accumulated earnings and profits of $25,000.
The shareholder starts with $30,000 of stock basis and contributes $20,000 cash.
The corporation distributes $40,000 and makes no election to distribute E&P first.
Many people answer that $25,000 is a dividend first.
That answer is wrong because the default order uses the AAA before accumulated E&P.
The cash contribution creates more stock basis, but it does not make the distribution a dividend. The rules separate contributions, loans, distributions, and the election.
Contributions, loans and distributions
These criteria classify the transaction first. Then they apply the related basis or distribution rule.
-
Contribution and stock basis. Under IRC §1367(a)(2), increase a shareholder's stock basis by a contribution of money or property. For property transferred in exchange for stock, IRC §351 provides that no gain or loss is recognized when property is transferred solely for stock and the transferors are in control immediately after the exchange. Control under IRC §368(c) means at least 80% of voting power and at least 80% of the total shares of each class of nonvoting stock. Apply IRC §358 for the stock's carryover basis and IRC §357(c) if liabilities exceed the property's adjusted basis.
-
Shareholder loan to the S corporation. A loan creates debt basis only when it is bona fide indebtedness that runs directly from the corporation to the shareholder. A guarantee of corporate debt does not create debt basis until the shareholder pays under the guarantee. Losses and deductions reduce stock basis first and then debt basis under IRC §1366(d). If the corporation repays debt whose adjusted debt basis was reduced, the repayment above that adjusted debt basis produces gain under Treas. Reg. §1.1367-2.
-
S corporation loan to a shareholder. A written note, stated interest, fixed repayment terms, ability and intent to repay, and actual repayment support a bona fide loan. A bona fide loan is not a distribution when funded. A purported loan that is not bona fide is recharacterized according to its substance, and a below-market loan can require imputed interest under IRC §7872.
-
Distribution when there is no accumulated E&P. Under IRC §1368(b), a distribution reduces stock basis, but not below zero. Any excess over stock basis is treated as gain from the sale or exchange of property.
-
Distribution when accumulated E&P exists without an election. Under IRC §1368 and Treas. Reg. §1.1368-1, use the AAA first, then accumulated E&P as a dividend, then apply any remaining distribution against stock basis and treat any excess as gain.
-
E&P-first election. Under IRC §1368(e)(3), the corporation may elect to have distributions treated as made from accumulated E&P before the AAA. The election is made in the manner prescribed by Treas. Reg. §1.1368-1(f), applies to the corporation's distributions for the tax year, and changes the order to E&P first, then AAA, then stock basis and gain.
The criteria combine as a sequence. First identify the transaction, then apply the relevant basis or distribution order. The election changes only the order of E&P and AAA. It does not change the cash distributed or create basis.
Built-in gains and terminating the election covers asset dispositions and ending S status rather than distribution ordering.
Basis is the starting balance for contributions and distributions. Debt basis matters only for bona fide shareholder debt and losses. The transaction classification determines whether an amount is basis recovery, a dividend, or gain.
Classify transactions before applying ordering rules
Classification comes before arithmetic. A contribution follows contribution and §351 basis rules. A bona fide loan follows debt-basis or bona fide-loan treatment. A distribution follows the E&P-first election or the default AAA-first order.
Loading diagram…
The flow keeps the transaction type separate before the distribution order is applied.
Contribution basis and default distribution order
The table traces each fact through the applicable criterion. It shows how the contribution changes stock basis while the default order controls the distribution.
| Fact | Criterion it touches | Met or not met | Result or note |
|---|---|---|---|
| AAA is $30,000 and accumulated E&P is $25,000. | S corporation has accumulated E&P, so the AAA/E&P ordering rules apply. | Met | Both accounts must be considered. |
| Stock basis is $30,000 before the contribution. | Starting stock-basis balance. | Met | Basis begins at $30,000. |
| Shareholder contributes $20,000 cash after formation. | IRC §1367(a)(2) contribution adjustment. | Met | Stock basis becomes $50,000; AAA stays $30,000. |
| Corporation distributes $40,000 and makes no E&P-first election. | Default §1368 ordering. | Met | Use $30,000 AAA first, then $10,000 E&P. |
| Verdict: $30,000 reduces stock basis, $10,000 is a dividend, and no gain is recognized. | AAA first, then E&P, with enough stock basis for the AAA reduction. | Met | The wrong answer treated E&P as the first account without an election. |
The contribution changes stock basis, but the distribution still follows the default AAA-first order.
E&P-first election reverses distribution order
The only changed fact is a valid E&P-first election. The cash amount stays the same, but the first account used changes.
| Fact | Verdict |
|---|---|
| AAA is $30,000 and accumulated E&P is $25,000. | |
| Stock basis is $30,000 before a $20,000 cash contribution. | |
| The contribution raises stock basis to $50,000. | |
| The corporation distributes $40,000 and makes a valid E&P-first election. | |
| Distribution verdict | ? |
The election reverses the order of the first two accounts. Identify the dividend and AAA portions before checking the result.
Practice
An S corporation has AAA of $30,000, accumulated E&P of $25,000, and a shareholder with $50,000 of stock basis. It makes a $40,000 distribution and has made a valid E&P-first election. What is the result?
Transaction type and ordering conditions
These cases change the transaction type or one ordering condition. Each answer depends on the classification and sequence rules.
Practice
A shareholder transfers equipment with an adjusted basis of $12,000 and a fair value of $20,000 to an S corporation solely for stock. The shareholder owns 100% immediately after the exchange, and no liability is transferred. What is the result?
A shareholder has $25,000 of stock basis and $8,000 of debt basis in an S corporation. The shareholder makes a bona fide direct loan of $15,000 to the corporation, which then allocates a $40,000 loss to the shareholder. How much of the loss is currently deductible?
An S corporation lends $20,000 to its shareholder under a written note with stated interest, a fixed maturity, and terms the shareholder can and intends to repay. What is the treatment when the funds are advanced?
An S corporation has AAA of $12,000, accumulated E&P of $18,000, and a shareholder with $30,000 of stock basis. It distributes $20,000 and makes a valid E&P-first election. What is the result?
A larger distribution creates capital gain
Was: The corporation had $30,000 of AAA and $25,000 of accumulated E&P, the shareholder had $30,000 of stock basis, contributed $20,000 cash to reach $50,000 of basis, and received a $40,000 distribution without an E&P-first election.
Now: The distribution is $80,000. Does the verdict change?
Answer: Yes, the verdict changes. The distribution now exceeds the remaining stock basis after the AAA-first and E&P steps, producing $5,000 of capital gain after a $20,000 basis reduction.
The larger distribution leaves AAA and E&P unchanged. It moves past the stock-basis limit, so the final excess is gain.
Basis, loans, and distribution rules
Contribution: Increase stock basis for money or property contributed; for property-for-stock transfers, test §351 and §358.
Shareholder loan to S corporation: Require bona fide indebtedness running directly from the corporation to the shareholder for debt basis.
S corporation loan to shareholder: A bona fide, repayable loan is not a distribution when funded; a non-bona fide advance may be recharacterized.
Distribution without accumulated E&P: Reduce stock basis, then recognize gain on the excess.
Distribution with accumulated E&P and no election: Use AAA first, then E&P as a dividend, then stock basis and gain.
E&P-first election: Use accumulated E&P first, then AAA, then stock basis and gain.
Combining rule: Classify the transaction first, then apply the relevant basis or distribution sequence in order.
Criterion people skip: A shareholder guarantee alone is not direct debt basis until the shareholder actually pays under the guarantee.
Built-in gains and terminating the election addresses asset dispositions and termination rather than these distribution accounts.
Unlock the full lesson and continue reading
Signup to continue reading this lesson and unlimited access questions, flashcards, AI notes, and more

