When a partnership or S corporation borrows money and hands the cash to its owners, the tax outcome depends almost entirely on one thing: your outside basis in the entity at the moment the money moves. Debt-financed distributions are taxed for pass-throughs the same way any distribution is taxed, but the borrowing changes the basis math in ways that split partnerships and S corporations sharply. A partner’s share of new partnership debt lifts basis and usually absorbs the cash tax-free. An S corporation shareholder gets no such lift, so a distribution funded by corporate borrowing tests stock basis directly and any excess is immediate capital gain.
The stakes are practical. Gain recognized on a distribution is owed for the year the cash went out, which is often a year you’re already closing when the mistake surfaces.
Why Basis Is the Whole Game
Your tax basis tracks your after-tax investment in the entity. It starts with what you contributed, rises with your share of income and additional contributions, and falls with losses and distributions. Basis caps the loss you can deduct and controls how much cash you can pull out tax-free.
For partners, there’s an extra input: your allocated share of partnership debt counts toward basis, as though you had contributed that amount in cash.1Office of the Law Revision Counsel. 26 USC 752 – Treatment of Certain Liabilities When the partnership borrows, your basis moves up before the cash moves out. That’s the cushion.
S corporation shareholders don’t get the cushion. Entity-level debt does not increase stock basis.2Office of the Law Revision Counsel. 26 USC 1367 – Adjustments to Basis of Stock of Shareholders, Etc. The only way to build debt basis in an S corporation is to lend your own money directly to the company; a personal guarantee of the corporation’s bank loan does not qualify.3Internal Revenue Service. S Corporation Stock and Debt Basis A distribution funded by corporate borrowing therefore lands on whatever basis you already had, with no offset.
Partnerships: How the Debt Allocation Decides Your Result
The basis lift you get from partnership borrowing is not automatic or equal across partners. It depends on whether the debt is recourse or nonrecourse.
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 what they’d owe in a hypothetical liquidation with all partnership assets worthless.4Internal Revenue Service. Determining Liability Allocations A general partner or a member who personally guarantees the loan absorbs most or all of the debt for basis purposes; limited partners with no economic risk get little or nothing.
A nonrecourse liability is one where no partner bears economic risk and the lender’s only remedy is the collateral. Nonrecourse debt is allocated through a three-step process: first by each partner’s share of minimum gain, then by built-in gain on contributed property, then by the profit-sharing ratio.4Internal Revenue Service. Determining Liability Allocations
The consequence for a debt-financed distribution: if a partnership takes out a new recourse loan and distributes the proceeds pro rata, a limited partner who bears no risk on the debt gets no basis increase but still receives the cash. That mismatch is where partnership gain most often shows up.
When a Partnership Distribution Actually Produces Gain
Two rules combine. A cash distribution that exceeds your adjusted basis produces recognized gain.5Office of the Law Revision Counsel. 26 USC 731 – Extent of Recognition of Gain or Loss on Distribution And any decrease in your share of partnership liabilities is treated as a cash distribution even though no cash moved.1Office of the Law Revision Counsel. 26 USC 752 – Treatment of Certain Liabilities That deemed distribution stacks on top of the actual cash.
Put the sequence together for a borrow-and-distribute transaction. The new loan raises each partner’s basis by their allocated share. The cash distribution lowers basis. Any drop in your share of existing liabilities (say, from a refinancing that shifted debt away from you) is a deemed distribution piled on top. If the sum of the actual and deemed distributions exceeds your basis, the excess is capital gain, treated as gain from a sale of the partnership interest.6eCFR. 26 CFR 1.731-1 – Extent of Recognition of Gain or Loss on Distribution It’s long-term if you’ve held the interest more than a year.
One timing detail matters. Your share of current-year partnership income increases basis before distributions are tested against it.7Office of the Law Revision Counsel. 26 USC 705 – Determination of Basis of Partner’s Interest Skipping that step overstates gain.
New Debt Funds the Distribution
Outside basis $100,000. The partnership borrows $300,000 and distributes $150,000 to you. Your allocated share of the new liability is $100,000. Basis climbs to $200,000, the $150,000 cash brings it to $50,000, and no gain is recognized.
Distribution From Existing Cash
Same partnership, same $150,000 distribution, but funded from cash on hand rather than new borrowing. Basis is $40,000 with no liability bump. The full $150,000 tests $40,000 of basis. You recognize $110,000 in capital gain.
Distribution Plus Liability Relief
Basis $20,000. You receive $50,000 in cash, and the same transaction cuts your share of partnership liabilities by $10,000. The $10,000 is a deemed distribution, so $60,000 tests your $20,000 basis.1Office of the Law Revision Counsel. 26 USC 752 – Treatment of Certain Liabilities You recognize $40,000 in capital gain.5Office of the Law Revision Counsel. 26 USC 731 – Extent of Recognition of Gain or Loss on Distribution
S Corporations: Why Debt-Financed Distributions Land Harder
Because corporate borrowing doesn’t move stock basis, a debt-financed S corporation distribution is treated no differently from any other cash distribution. The cash tests your stock basis, and anything above it is capital gain. No cushion, no deemed distributions from liability shifts.
The ordering depends on whether the S corporation carries accumulated earnings and profits from a prior C corporation life. If it doesn’t, the distribution reduces stock basis tax-free and any excess is capital gain.8Office of the Law Revision Counsel. 26 USC 1368 – Distributions
If the corporation does carry accumulated E&P, the distribution runs through a four-step waterfall. It first offsets the Accumulated Adjustments Account, which tracks previously taxed S corporation income, reducing stock basis tax-free. Amounts exceeding the AAA are taxable dividends to the extent of accumulated E&P from the C corporation years. Amounts beyond E&P then reduce any remaining stock basis tax-free. Whatever is left after basis is exhausted is capital gain from a deemed sale of stock.8Office of the Law Revision Counsel. 26 USC 1368 – Distributions
The Direct Loan Workaround
The only way to add basis to absorb an S corporation distribution is a direct loan from you to the corporation. Your own money has to actually leave you and reach the company. Guaranteeing a bank loan to the corporation doesn’t count, and neither do paper arrangements where you and the corporation exchange notes without cash moving.3Internal Revenue Service. S Corporation Stock and Debt Basis
What does work: borrow personally from an unrelated lender, then lend those proceeds to the S corporation. Your funds actually flow through, and the corporation owes you rather than the bank. That creates real debt basis. A bank loan straight to the corporation with your guarantee on the side does not.
Disguised Sale Risk If You Contributed Property
Partners who contribute property and then receive a debt-financed distribution shortly afterward face a separate problem. The IRS can collapse the two steps into a single taxable sale under Section 707.9Office of the Law Revision Counsel. 26 USC 707 – Transactions Between Partner and Partnership Disguised sale treatment is worse than a Section 731 gain: tax is owed on the full fair market value of the transferred property less your basis, and the tax lands in the year of the contribution rather than the year of the distribution.
Whether the transaction crosses the line depends heavily on how the underlying debt is classified. A partnership’s assumption of a “qualified liability” is limited in how much can count 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 doesn’t fit any qualified category, like a loan taken out shortly before a property contribution, is treated much more aggressively.
Transfers within two years of each other are presumed related. Rebutting that presumption requires documentation of independent business purposes for each step. If you’re contributing appreciated property and expect a meaningful cash distribution within two years, get advice before the contribution closes.
At-Risk Rules Are a Separate Limit
Even when nonrecourse debt lifts your partnership basis enough to absorb a distribution tax-free, that basis may not let you deduct the corresponding losses. The at-risk rules cap loss deductions at amounts you’re personally liable for or have invested in the activity.11Office of the Law Revision Counsel. 26 USC 465 – Deductions Limited to Amount at Risk
Nonrecourse debt generally doesn’t count as at-risk. The exception is qualified nonrecourse financing on real property, borrowed from a bank or government entity, which does count.11Office of the Law Revision Counsel. 26 USC 465 – Deductions Limited to Amount at Risk For other activities, nonrecourse debt inflates tax basis without expanding deductible losses. The basis is there to absorb distributions, not to unlock losses. Real estate fund investors moving into other asset classes are frequently surprised by that split.
Reporting the Gain
The entity reports raw figures; you calculate the gain. Careful basis tracking through the year, not just at distribution time, is what keeps this from becoming a filing-season problem.
Partnerships
The partnership files Form 1065 and issues each partner a Schedule K-1 showing income, losses, distributions, and beginning and ending shares of partnership liabilities.12Internal Revenue Service. About Form 1065, U.S. Return of Partnership Income Use those figures to update outside basis and test each distribution. If a distribution exceeds basis, report the capital gain on Form 8949 and carry the totals to Schedule D of Form 1040.13Internal Revenue Service. Instructions for Form 8949 The partnership does not calculate your gain for you. A running basis worksheet is the only way to see a problem before it lands on your return.
S Corporations
The S corporation files Form 1120-S and issues a Schedule K-1 reporting non-dividend distributions in Box 16, code D. Distributions treated as dividends from accumulated E&P are reported separately on Form 1099-DIV.14Internal 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 deduct a share of S corporation loss, dispose of stock, or receive a loan repayment from the corporation.15Internal Revenue Service. Instructions for Form 7203, S Corporation Shareholder Stock and Debt Basis Limitations Any gain from a distribution above stock basis is reported on Form 8949 and Schedule D, the same as partnership gain.14Internal Revenue Service. Shareholder’s Instructions for Schedule K-1 (Form 1120-S) Even in years when Form 7203 isn’t required, keeping a completed one in your files keeps basis tracking consistent from one year to the next.