When a partnership or S corporation borrows money and hands the cash to its owners, the tax outcome turns on one number: your outside basis. Debt-financed distributions from pass-through entities are tax-free up to that basis and taxable as capital gain above it. The split that catches people off guard is between the two entity types. In a partnership, the new borrowing usually lifts each partner’s basis before the cash is tested against it, so a distribution that looks enormous often clears without tax. In an S corporation, entity debt does nothing for shareholder basis, so the same transaction can produce immediate capital gain on the full amount above whatever stock basis you already had.
The reason this matters is timing. The gain belongs to the year the distribution happened. If you don’t catch it until you’re pulling together records months later, the tax year may already be closed and the capital gain already owed.
Why Partnerships and S Corporations Diverge
Outside basis is your after-tax investment in the entity. It starts with what you put in, climbs with income allocated to you and additional contributions, and falls with losses and distributions. Basis caps the losses you can deduct and determines how much cash you can take out tax-free.
For partners, basis also includes an allocated share of partnership debt. When the partnership borrows, each partner’s basis rises by their share of the new liability as if they had contributed that amount in cash.1Office of the Law Revision Counsel. 26 USC 752 – Treatment of Certain Liabilities That is the cushion that lets most debt-financed distributions clear without gain. Basis also moves with the partner’s share of partnership income and loss.2Office of the Law Revision Counsel. 26 USC 705 – Determination of Basis of Partner’s Interest
S corporation shareholders get no such cushion. Entity-level debt does not increase stock basis.3Office of the Law Revision Counsel. 26 USC 1367 – Adjustments to Basis of Stock of Shareholders, Etc. The only route to debt basis in an S corporation is a direct loan from you to the company; a personal guarantee of the corporation’s bank loan does not count.4Internal Revenue Service. S Corporation Stock and Debt Basis A distribution funded by corporate borrowing therefore hits whatever stock basis you have with no offset.
How Partnership Debt Gets Allocated to You
A partnership’s debt does not increase every partner’s basis equally. Allocation depends on whether the debt is recourse or nonrecourse, and that distinction is where partners often miscalculate their cushion.
A recourse liability is one where at least one partner, or a related person, bears the economic risk of loss. Each partner’s share equals the amount they would have to pay the creditor in a hypothetical liquidation where every partnership asset became worthless.5Internal Revenue Service. Determining Liability Allocations In practice, a general partner or a member who personally guarantees the loan absorbs most or all of it for basis purposes. A limited partner with no personal exposure may get nothing from the same debt.
A nonrecourse liability is one where no partner bears economic risk of loss and the lender’s only recourse is the property securing the loan. Nonrecourse debt is allocated to all partners under a tiered formula that ultimately follows how the partners share profits.5Internal Revenue Service. Determining Liability Allocations
The practical consequence: if a partnership takes out a new recourse loan and distributes the proceeds, a limited partner who bears no risk on that debt gets zero basis increase from the borrowing while still receiving their full share of the cash. That mismatch is where gain hits hardest.
When a Partnership Distribution Becomes Taxable
Two provisions work in tandem. A cash distribution that exceeds a partner’s adjusted basis produces recognized gain.6Office of the Law Revision Counsel. 26 USC 731 – Extent of Recognition of Gain or Loss on Distribution And any decrease in a partner’s share of partnership liabilities is treated as a cash distribution even though no money moves.1Office of the Law Revision Counsel. 26 USC 752 – Treatment of Certain Liabilities This “deemed distribution” stacks on top of actual cash when testing basis.
When a partnership borrows and distributes, the pieces fit together like this. The new loan raises each partner’s basis by their allocated share. The cash distribution reduces basis. If cash out exceeds basis coming in, the excess is taxable. If the transaction also cuts a partner’s share of existing liabilities, that reduction is an additional deemed distribution on top of the cash.
The resulting gain is treated as gain from a sale of the partnership interest, which makes it capital gain.7eCFR. 26 CFR 1.731-1 – Extent of Recognition of Gain or Loss on Distribution If you have held your interest more than a year, it is long-term capital gain at the preferential rates. This happens even when your capital account shows a positive balance; capital accounts and tax basis are separate calculations that frequently diverge.
One timing rule matters when you run the math. Your share of current-year partnership income increases basis before distributions are tested against it.2Office of the Law Revision Counsel. 26 USC 705 – Determination of Basis of Partner’s Interest Missing that step overstates gain.
New Debt Funds the Distribution
Your outside basis is $100,000. The partnership borrows $300,000 and distributes $150,000 to you. Your share of the new liability is $100,000. Basis rises to $200,000. The $150,000 cash distribution brings it down to $50,000. No gain.
Distribution From Existing Cash
Same partnership, but the $150,000 comes from cash on hand with no new borrowing. Your basis is $40,000 and nothing cushions the distribution. The entire $150,000 tests your $40,000 basis. You recognize $110,000 in capital gain.
Distribution Combined With Liability Relief
Your basis is $20,000. You receive $50,000 in cash, and the transaction also cuts your share of partnership liabilities by $10,000. The liability drop is a deemed cash distribution, so the total testing your basis is $60,000.1Office of the Law Revision Counsel. 26 USC 752 – Treatment of Certain Liabilities Against $20,000, you recognize $40,000 in capital gain.6Office of the Law Revision Counsel. 26 USC 731 – Extent of Recognition of Gain or Loss on Distribution
How S Corporation Debt-Financed Distributions Are Taxed
Because S corporation debt stays off the shareholder’s basis calculation, a debt-financed distribution is no different from any other cash distribution. The cash tests whatever stock basis you have, and the excess is taxable. No liability-increase cushion, no deemed distribution from debt shifts, just cash against basis.
The distribution follows an ordering rule that depends on whether the corporation carries accumulated earnings and profits from a prior C corporation period. If it does not, the distribution reduces stock basis tax-free, and any excess is capital gain. If it does carry accumulated E&P, the ordering becomes a four-step waterfall: first against the Accumulated Adjustments Account tax-free to the extent of stock basis, then as a taxable dividend to the extent of the accumulated E&P, then against remaining stock basis tax-free, and finally as capital gain for anything beyond basis.8Office of the Law Revision Counsel. 26 USC 1368 – Distributions
The Direct Loan Requirement
The only way to add basis that can absorb an S corporation distribution is a direct loan from you to the corporation. You must actually part with your own money. Guaranteeing a bank loan to the corporation does not qualify, and paper arrangements where you and the corporation swap promissory notes without cash moving do not qualify either.4Internal Revenue Service. S Corporation Stock and Debt Basis
One structure that does work: borrow personally from an unrelated lender and lend those proceeds to the S corporation. Your funds flow through to the company, you are personally liable on the outside loan, and the corporation owes you directly. A bank loan straight to the corporation with your guarantee on the side accomplishes nothing for basis.
Disguised Sale Risk for Contributing Partners
Partners who contribute property to a partnership and then receive a debt-financed distribution face a risk beyond ordinary gain recognition. The IRS can recharacterize the two steps as a single taxable sale. If you transfer property to the partnership and the partnership makes a related transfer of money back to you, the two can be collapsed under Section 707.9Office of the Law Revision Counsel. 26 USC 707 – Transactions Between Partner and Partnership
Disguised sale treatment is significantly worse than a Section 731 gain. Instead of capital gain measured only by the excess over basis, you may owe tax on the full fair market value of the property, less basis in that property, in the year of the contribution rather than the year of the distribution.
Whether disguised sale rules apply often turns on how the underlying debt is classified. When the partnership assumes a “qualified liability” of the contributing partner, the regulations limit how much of the assumption counts as sale proceeds. A liability qualifies if it was incurred more than two years before the transfer and encumbered the property throughout that period, or if it arose in the ordinary course of the trade or business connected to the transferred property, among other categories.10eCFR. 26 CFR 1.707-5 – Disguised Sales of Property to Partnership; Special Rules Relating to Liabilities Debt that does not meet a qualified category, such as a loan taken out shortly before the contribution, is treated more aggressively.
Transfers within two years of each other are presumed related. If you are contributing appreciated property and expect a significant cash distribution within that window, get professional advice before the contribution closes.
Reporting the Distribution and Any Gain
The entity reports the raw data. You calculate the gain. Tracking basis throughout the year, not just at distribution time, is the only way to see a problem before it lands on your return.
Partnerships
The partnership files Form 1065 and issues a Schedule K-1 to each partner.11Internal Revenue Service. About Form 1065, U.S. Return of Partnership Income The K-1 reports your share of income, losses, distributions, and your share of partnership liabilities at the start and end of the year. You use those figures to update outside basis and determine whether any distribution exceeds it. If it does, the gain goes on Form 8949 and carries to Schedule D of your Form 1040.12Internal Revenue Service. Instructions for Form 8949 The partnership does not run this calculation for you.
S Corporations
The S corporation files Form 1120-S and issues its own Schedule K-1, which reports non-dividend distributions in Box 16, code D. Distributions treated as dividends from accumulated E&P are reported on Form 1099-DIV instead.13Internal Revenue Service. Shareholder’s Instructions for Schedule K-1 (Form 1120-S)
If you receive a non-dividend distribution from an S corporation, you must file Form 7203, S Corporation Shareholder Stock and Debt Basis Limitations, with your personal return. The same form is required if you claim a deduction for your share of an S corporation loss, dispose of stock, or receive a loan repayment from the corporation.14Internal Revenue Service. Instructions for Form 7203, S Corporation Shareholder Stock and Debt Basis Limitations Even in years when filing is not mandatory, keeping a completed Form 7203 in your records keeps basis tracking consistent. Any gain from a distribution exceeding stock basis goes on Form 8949 and Schedule D, the same as partnership gain.13Internal Revenue Service. Shareholder’s Instructions for Schedule K-1 (Form 1120-S)