Can shareholder loan basis shelter a cash distribution from an S corporation?

S corporation basis questions

Debt basis does not determine the tax treatment of a distribution. Review stock basis and any accumulated earnings and profits under the applicable distribution rules.

Worked example

Assume the corporation has no accumulated earnings and profits, the owner has $5,000 of stock basis and $30,000 of debt basis, and the corporation distributes $8,000 in cash. The simplified example produces $3,000 of gain.

Frequently asked questions

What if the corporation is repaying a loan instead?

Verify the transaction using the note and ledger. Loan repayment and a shareholder distribution have separate tax calculations.

Related guides

Source

IRS instructions and guidance