Can You Deduct S Corp Losses? Basis and Trapped Cash

A client walked in with a Schedule K-1 that showed a large loss, and they were already counting on that loss to cut the tax on a regular paycheck.

The K-1 is the form an S corporation or a partnership uses to tell each owner their share of the year's profit or loss. A loss on that paper can feel like a sure deduction. It is not. We sat down and looked at basis first, which is the tax word for how much of your own money, and certain other amounts, is still in the business for tax purposes. Think of basis as a bucket. You can only take out, as a loss or as cash, what is still in the bucket.

I am an IRS-licensed tax professional in Brooklyn. I help people with IRS, New York, New Jersey, Connecticut and Pennsylvania tax problems, including S corporation and partnership losses that do not deduct the way the owner expected. This is the walk-through I use, in plain English, comparing a regular C corporation, a partnership or LLC, and an S corporation.

Picture three lemonade stands

Same stand, same lemons, same year. The tax result depends on what kind of company it is.

A C corporation is a regular corporation that pays its own federal income tax. The company and the owner are separate for tax purposes. If the stand has a loss, that loss stays inside the company. It does not flow onto the owner's personal tax return, and it cannot offset a salary from another job. The company may be able to use the loss later, as a net operating loss, against its own future profits, with limits under federal law. For losses that arose after 2017, a C corporation can generally carry the loss forward, and the deduction in a later year is generally limited to 80 percent of taxable income.

A partnership, and most multi-owner LLCs that are taxed as partnerships, work differently. The company usually does not pay federal income tax itself. The profit or loss passes through to the owners and is reported on their personal returns. An S corporation works that way too, once a valid S election is in effect. I wrote a separate guide on whether to elect S corp status, and another on types of business income.

Here is the catch that surprises people. A loss on a K-1 is only the starting point. The tax law then runs that loss through a series of limits before any of it can reduce other income on your return.

Three lemonade stands, three tax results. C corporation: the loss stays inside the company as a net operating loss and does not go on the owner's personal return. Partnership or LLC: the loss can flow to the owner's personal return, and the owner's share of partnership loans generally increases basis. S corporation: the loss can flow to the owner's personal return, but a bank loan to the company does not increase basis, even if the owner personally guarantees it.

The four gates a pass-through loss has to clear

The IRS lists four shareholder loss limitations, and you apply them in this order:

  1. Basis (stock and, for an S corp, certain debt you are owed). S corp shareholders often use Form 7203 for this step. Partners use a basis worksheet in the IRS instructions for the partnership K-1.
  2. At-risk rules, generally on Form 6198.
  3. Passive activity loss rules, generally on Form 8582.
  4. The excess business loss limit, on Form 461.

A K-1 that shows a loss does not mean you can automatically claim that loss. Each gate has to be passed before the next one matters. Amounts stopped at a gate are often carried forward and tested again in a later year, under that year's limits.

Four gates a pass-through loss must clear, in order: 1, basis, using Form 7203 for an S corp shareholder or the partner basis worksheet; 2, at-risk limits, Form 6198; 3, passive activity loss limits, Form 8582; 4, the excess business loss limit, Form 461. For 2026 the Form 461 threshold is $256,000, or $512,000 on a joint return. A leftover excess business loss is treated as a net operating loss carryover to later years.

Gate 1: Basis, the bucket

Basis is your tax stake in the company. It starts with what you paid for the interest, or the money and property you contributed. It then moves each year.

In simple terms, the bucket fills when you put more money in, and when the company has income that is allocated to you (including some tax-exempt income). For a partnership, the bucket also generally fills when your share of the partnership's loans goes up. The bucket empties when you take a distribution, when your share of the partnership's loans goes down, and when you are allocated losses and certain expenses. Basis cannot go below zero.

The order matters. For an S corporation, income items are added first. Distributions come out next, and they reduce stock basis, but not below zero. Losses come out after that. The IRS regulations set that order, and it applies for the year as a whole, even if you took the cash out in January and the loss was computed in December.

That order is why a year can feel upside down. You take cash out, the bucket empties, and then there is not enough basis left to deduct the loss.

Basis is a bucket that cannot go below zero. It fills with money you contribute and with income allocated to you. For a partnership, your share of partnership loans generally fills the bucket too. For an S corporation, a bank loan to the company does not. Distributions come out of the bucket before losses. If the bucket is empty, leftover losses are suspended and carried forward.

S corp stock basis and debt basis

An S corp shareholder has two kinds of basis, and they are not interchangeable.

Stock basis is your basis in the shares. Debt basis is your basis in a loan the company owes you. You can use stock basis and debt basis to support a loss. You can use only stock basis to take a tax-free distribution. Debt basis does not help you pull cash out tax-free.

Debt basis generally exists only if the company has bona fide indebtedness that runs directly to you. In plain English, you actually loaned the company your own money, and it is a real loan. A loan from the bank to the S corporation does not give you debt basis, even if you sign a personal guarantee. A guarantee is a promise to pay the bank if the company cannot. The Treasury regulations say that promise, by itself, does not create basis. You generally get basis only when you actually pay on that guarantee.

The Tax Court reached that result in Phillips v. Commissioner, T.C. Memo. 2017-61. The shareholder had guaranteed company loans, and the lenders even had court judgments on the guarantees. Because she had not paid those amounts, the court did not allow a basis increase. An older federal appeals case, Selfe v. United States, looked at whether a bank was, in substance, really lending to the shareholder rather than to the company. That is a facts-and-circumstances question. I would not treat a personal guarantee, by itself, as basis.

If you use debt basis to deduct a loss, your tax basis in that loan goes down, even though the company may still owe you the full face amount. If the company later pays you back before later profits restore that loan basis, part or all of the repayment can be taxable. The deduction you took earlier can come back as income when the loan is repaid.

Partnership basis includes a share of the loans

This is the big difference. When a partnership borrows from a bank, the partners generally include their share of that liability in their basis. An increase in your share of partnership liabilities is treated as if you contributed money. A decrease is treated as if you received a money distribution.

How that share is figured depends on the type of loan. Recourse debt is debt a partner is actually on the hook for. Nonrecourse debt is generally debt that is secured by property, where no partner is personally liable. Both can increase basis. The at-risk rules, which are the next gate, are stricter. Many nonrecourse loans increase basis but do not increase the amount you are considered at risk, except for certain qualified nonrecourse financing used in real property activities.

That is why two owners can look at the same bank loan and get different tax results, depending on whether the company is an S corp or a partnership.

Form 7203, and the partner's worksheet

S corp shareholders file Form 7203, S Corporation Shareholder Stock and Debt Basis Limitations, with their individual return if they are claiming a deduction for an aggregate loss (including a loss that was not allowed last year because of basis), received a non-dividend distribution, disposed of stock, or received a loan repayment from the S corporation. The form is the shareholder's form, not something the company files with Form 1120-S. It is still a good idea to complete and keep it in years when filing is not required, so the running total does not get lost.

Partners are also required to track their own outside basis, which is their basis in the partnership interest. The capital account on the K-1, including a tax-basis capital account, is not the same number and cannot be used as a substitute. The IRS provides a Worksheet for Adjusting the Basis of a Partner's Interest in the Partnership in the Partner's Instructions for Schedule K-1 (Form 1065). As of the date I drafted this, I did not find a required partner form that works like Form 7203. The partner, not the partnership, is still the one who has to keep the basis records.

Gates 2, 3, and 4, in short

After basis, the at-risk rules generally limit your loss to the money you actually have at risk in the activity. That usually means the money you put in, plus amounts borrowed for which you are personally liable, and, in real estate, certain qualified nonrecourse financing. You can have enough basis to deduct a loss and still be stopped here, especially if basis came from a loan you are not personally on the hook for.

Next are the passive activity rules. If you do not materially participate in the business, the loss is generally passive. Passive losses usually can offset only passive income in the same year. Leftover passive losses carry forward.

Last is the excess business loss limit, in section 461(l) of the tax code. It applies to people, not to C corporations, and it is applied at the owner level after the other limits. For tax years beginning in 2026, you generally cannot deduct a net business loss above $256,000, or $512,000 if you file a joint return. Those are official IRS inflation-adjusted amounts for 2026. The leftover is treated as a net operating loss carryover to later years. Congress extended this limit, so it is not a one-year rule. The 2026 threshold is also lower than the 2025 amounts, which were $313,000 and $626,000 on a joint return, because the inflation formula was reset.

A simple loss example

You put $10,000 of your own money into the lemonade stand. That is your starting basis. This year the stand loses $30,000.

If the stand is a C corporation, the $30,000 loss stays on the company's books as a net operating loss. It does not appear on your Form 1040, and it does not reduce the tax on a paycheck from another job.

If the stand is an S corporation or a partnership, and your basis is still $10,000, you may be able to deduct $10,000 this year, after the other gates are applied. The remaining $20,000 is a suspended loss. It is not gone. It carries forward and can be used in a later year when you have basis again, from later profits, from more money you contribute, or, in the right situation, from a loan that actually increases your basis. Suspended basis losses generally keep their character. If you sell the S corp stock, though, losses still suspended because of the basis limit are lost. A gain on the sale does not add basis that would let those leftover losses through.

Trapped cash, and taking money out

Basis also controls whether you can take cash out without a new tax bill. This is the part owners often call trapped cash.

In a C corporation, the company generally pays a 21 percent federal income tax on its profits. The leftover cash sitting in the company account is not automatically yours tax-free. If the company pays it to you as a dividend, you generally pay tax again on that dividend. The second tax may be at the lower qualified dividend rates, but it is still a second tax on the same profits. That is why cash inside a profitable C corporation can feel stuck, or expensive to take out.

In an S corporation or a partnership, the profit generally already showed up on your personal return in the year it was earned. Taking your share out later is usually not a second tax, as long as the distribution does not exceed your basis. For an S corp, that means stock basis, not debt basis. If you take more than your stock basis, the excess is generally treated as gain from selling stock, often capital gain. The same idea applies to a partnership: a money distribution is generally tax-free up to your basis, and the excess is generally treated as gain from selling your partnership interest.

Trapped cash versus a tax-free distribution. In a C corporation, profits are taxed at the 21 percent corporate rate, and a dividend to the owner is generally taxed again. In an S corporation or partnership, profits are already taxed on the owner's personal return, and a distribution is generally tax-free up to basis. A distribution above basis is generally treated as gain from selling the stock or partnership interest. For an S corporation, only stock basis, not debt basis, supports a tax-free distribution.

Here is a lemonade-stand example of how cash and a loss can collide in an S corporation.

You start the year with $10,000 of stock basis, the money you put in. The stand sells $20,000 of lemonade, and that $20,000 is still in the cash box. The stand also buys a $50,000 juicer with a bank loan and deducts the cost this year, so the K-1 shows a $30,000 loss. The bank loan does not increase your S corp basis.

If you leave the $20,000 in the company, your $10,000 of stock basis can support $10,000 of the loss. The other $20,000 of loss is suspended. Your basis goes to zero. The cash is still sitting in the company.

If you take the $20,000 out, distributions come out of basis before losses. The first $10,000 can be tax-free and uses up your stock basis. The other $10,000 is generally capital gain. Then there is no basis left, so the entire $30,000 loss is suspended. You can end the year with cash in your pocket, a taxable gain, and a tax loss you cannot use yet. That is a painful surprise, and it comes from the basis rules, not from a math error on the K-1.

A partnership in the same facts can look different, because your share of the $50,000 bank loan may increase your basis, subject to the at-risk rules. That is one more reason the type of company matters before anyone signs a loan or takes a large distribution in a loss year. If you work in the S corp, a reasonable salary is a separate issue I cover in my article on S corp reasonable compensation.

A short note on New York, New Jersey, Connecticut, and Pennsylvania

For federal tax purposes, New York, New Jersey, Connecticut, and Pennsylvania generally follow the idea that S corporation and partnership items flow through to the owners, each under that state's own rules and forms. States can still layer on entity-level taxes. I cover the state pass-through entity taxes in my PTET article.

New York City is the exception people miss. The city does not have an S corporation election and does not recognize a New York State S election. A federal S corporation doing business in the city is generally subject to the city's General Corporation Tax. City-level losses and tax are a corporate-tax problem, not a simple flow-through to your personal city return.

Pennsylvania personal income tax is also stricter than the federal rules in a way that catches people in a loss year. Pennsylvania taxes eight separate classes of income. A loss in one class, such as a business loss, may not be used to offset income in another class, such as wages. Pennsylvania also does not allow those personal-income-tax losses to be carried from one year to another. A federal suspended loss that you use in a later year may not help a Pennsylvania personal return in the same way. Pennsylvania corporations also have their own net loss deduction rules, which are not the same as the federal 80 percent limit. Losses from 2024 and earlier remain capped at 40 percent of Pennsylvania taxable income. For tax years 2026 and later, the cap on newer losses increases by ten percentage points each year until it reaches 80 percent by tax year 2029.

If a K-1, a distribution, or a loss year is on your desk and you want the basis and the state pieces reviewed, you can also start on my tax planning page. I have also written about common S corp and partnership return errors.

If you have a K-1 with a loss, or cash sitting in a company that you want to take out, and you want the basis math reviewed on your facts, message me.

I help with IRS, New York, New Jersey, Connecticut and Pennsylvania tax problems.

General info, not advice for your specific case.

Free consultation

Sources

  • IRS: S corporation stock and debt basis (four loss limitations in order: stock and debt basis, at-risk, passive activity, excess business loss; a K-1 loss is not automatically deductible; distributions are tax-free only to the extent of stock basis; debt basis does not support a tax-free distribution; a loan guarantee is not sufficient for debt basis; repayment of reduced-basis debt can be taxable; suspended basis losses carry forward indefinitely but are lost if the stock is sold)
  • Instructions for Form 7203 (Rev. December 2022) and PDF instructions (who must file; loss limitation order is basis, at-risk, passive activity, then excess business loss; basis adjustments, including distributions before losses; loans a shareholder guarantees or co-signs are not loan basis unless the shareholder pays)
  • 26 U.S.C. § 1366 (S corp items pass through; losses limited to stock basis plus basis in indebtedness of the corporation to the shareholder; disallowed losses carry forward)
  • 26 U.S.C. § 1367 and Treas. Reg. § 1.1367-1 (annual stock basis adjustments; the regulations provide that distributions reduce basis before loss and deduction items)
  • 26 U.S.C. § 1368 (non-dividend S corp distributions are tax-free to the extent of stock basis; excess is generally treated as gain from the sale of stock)
  • Treas. Reg. § 1.1366-2(a)(2) (debt basis requires bona fide indebtedness that runs directly to the shareholder; a guarantee or similar promise, by itself, does not create debt basis; a payment on the guarantee can)
  • Phillips v. Commissioner, T.C. Memo. 2017-61 (personal guarantees, and unpaid judgments on those guarantees, did not increase S corp basis where the shareholder had not made an actual economic outlay)
  • Selfe v. United States, 778 F.2d 769 (11th Cir. 1985) (a guarantee may be treated as creating basis only if, in substance, the lender was really lending to the shareholder, who then advanced the funds to the company; the court remanded for that factual inquiry)
  • IRS Publication 541, Partnerships (Dec. 2025) (partnerships generally pass profits and losses through to partners; a partner's basis is increased by contributions, including an increased share of partnership liabilities, and decreased by distributions, including a decreased share of liabilities, and by allocated losses; basis cannot go below zero; the publication points to the K-1 worksheet for adjusting basis)
  • 2025 Partner's Instructions for Schedule K-1 (Form 1065) (loss limited to adjusted basis; the partner must track outside basis; the Schedule K-1 capital account cannot be used to figure that basis; includes the Worksheet for Adjusting the Basis of a Partner's Interest in the Partnership; excess distributions can be taxable gain)
  • 26 U.S.C. § 704(d), 26 U.S.C. § 705, 26 U.S.C. § 731, and 26 U.S.C. § 752 (partnership loss limited to basis; basis adjustments; money distributions generally tax-free to the extent of basis, with excess generally treated as gain from the sale of the partnership interest; an increase in a partner's share of liabilities is treated as a contribution of money, and a decrease as a distribution of money)
  • IRS Publication 925, Passive Activity and At-Risk Rules (2025) and 26 U.S.C. § 465 and 26 U.S.C. § 469 (at-risk and passive activity limits, applied after basis; Publication 925's reminder states the overall order, including the excess business loss limitation after those rules)
  • Rev. Proc. 2025-32, section 4.31 and Internal Revenue Bulletin 2025-45 (for taxable years beginning in 2026, the section 461(l) threshold is $256,000, or $512,000 for joint returns)
  • Instructions for Form 461 (2025) (2025 threshold $313,000, or $626,000 for joint returns; P.L. 119-21 permanently extended the excess business loss limitation; disallowed amounts are treated as an NOL carryover; the limitation is applied after other loss limits)
  • 26 U.S.C. § 461(l) (excess business loss limitation for noncorporate taxpayers, applied at the partner or shareholder level)
  • 26 U.S.C. § 172 (for taxable years beginning after 2020, net operating losses arising after 2017 generally carry forward and the deduction is limited to 80 percent of taxable income, with specified exceptions)
  • 26 U.S.C. § 11 and IRS Publication 542, Corporations (Rev. January 2024) (a corporation generally pays a 21 percent federal income tax on taxable income)
  • NYC Department of Finance: General Corporation Tax (New York City has no S corporation election and does not recognize a New York State S election; federal S corporations and qualified S subsidiaries doing business in the city are generally subject to GCT)
  • Pennsylvania Department of Revenue: Brief Overview and Filing Requirements (Pennsylvania taxes eight classes of income; a loss in one class may not be offset against income in another class, and gains or losses may not be carried backward or forward from year to year)
  • 61 Pa. Code § 121.13 (a gain in one class of income may not be offset with a loss in another class)
  • Pennsylvania Department of Revenue, State Tax Legislative Summary (August 2024) (corporate net loss deduction: losses generated in 2024 and prior remain capped at 40 percent of taxable income; beginning in tax year 2026, the usage of later losses increases by ten percentage points annually until it reaches 80 percent by tax year 2029)
Previous
Previous

Sales Tax Nexus, Use Tax, and State Income Tax Nexus

Next
Next

Filing a Tax Extension: IRS, New York, New Jersey, Pennsylvania and Connecticut