ERC credit received by S corp used to repay shareholder loans — is it taxable to owner personally?

Our S corp received a significant ERC refund last year and the board used most of it to pay down the shareholder loans I had on the books. My accountant is on extended leave and I can't get a straight answer. My question is about the erc credit received by s corp used to repay shareholder loans is it taxable to owner personally — meaning does the repayment of my loan create income I have to report on my 1040? I already know the ERC itself reduces the wage deduction at the corporate level and flows through on the K-1. What I'm not sure about is whether getting my loan paid back triggers something additional for me personally. We're talking a meaningful amount and I don't want to get this wrong on my return.

30 comments

Repaying a shareholder loan is not a taxable event in itself — you're just getting your money back. The loan repayment reduces your basis in the debt, not your stock. If your debt basis still equals the face amount of the loan, you recognize no gain; if prior losses reduced it below face, each repayment is partly return of basis and partly gain in proportion. The tricky part is that the ERC's effect on wages flows through the K-1 and may reduce your stock basis, which could affect things if you also had losses. But the act of the S corp handing you a check to pay back what it owes you? That's return of principal, not income.

Naomi D.

Author

Thank you, that makes sense. So I need to look at my debt basis separately from the stock basis question. I'll pull my basis worksheet before I file.

The K-1 is where this gets complicated. The ERC reduces the deductible wages at the S corp level, so your ordinary income on Box 1 of the K-1 may actually be higher than you expected even before the loan repayment question. The loan repayment itself shouldn't create a second layer of tax as long as your debt basis covers it. Where people get hurt is when basis is already zero or close to it.

Naomi D.

Author

My K-1 did show higher ordinary income than last year for exactly this reason. Good to know that's expected and not an error.

Agreed on the K-1 point. The IRS hasn't issued guidance treating the repayment itself as a distribution, so a plain loan repayment shouldn't be income. The basis question is what actually matters.

Had this same situation with our S corp last year. The ERC flowed through, raised our taxable income on the K-1, and when the loan got paid back we treated it as a return of debt. No additional income reported. Our CPA did prepare a debt basis schedule to document everything, which I'd recommend having in your file regardless.

The piece people miss is the ordering rules for basis adjustments inside an S corp. Income items increase basis first, distributions reduce it next, and loss items come after that. Loan repayments follow a separate track on your debt basis. I had a messy K-1 when our ERC came in and I uploaded everything to taxr.ai — it mapped each line of the K-1 against my basis worksheet and flagged where the numbers weren't tying out before I sent anything to the accountant. Helped me walk in with real questions instead of confusion. On the substance: repayment of a bona fide shareholder loan does not produce ordinary income as long as debt basis is sufficient.

Naomi D.

Author

Thank you — the ordering rules (income, then distributions, then losses) are exactly what I was fuzzy on. I'll get the basis worksheet together first.

The ordering point is real. A lot of people treat stock basis and debt basis as one thing and they're not. A net increase restores reduced debt basis first, before any of it goes to stock basis, so the higher income from the ERC helps debt basis first.

One thing to verify: was this actually documented as a bona fide loan on the books? Notes payable, interest accrued, board resolution? If the IRS ever looked at it and decided it was really a capital contribution rather than a loan, the repayment could be recharacterized as a distribution, which has different tax treatment depending on your basis. If the paperwork is solid, you're fine treating repayment as return of principal.

Naomi D.

Author

Yes, we have a formal promissory note and board minutes. That part is well documented.

Good point on the documentation. Without a note and evidence of intent to repay, the IRS can and does recharacterize these.

The ERC amount itself is never income to you personally — it's a payroll tax credit at the corporate level. The corporation must reduce its deduction for wages paid by the ERC amount, which increases net income, which flows to shareholders through the K-1. So yes, you feel it on your 1040, but through the K-1 Box 1 increase, not through a separate line item for the credit itself.

Don't forget to check whether the S corp already filed amended 941s or just received the refund on original returns. The year the wage reduction applies matters — it goes in the tax year the wages were paid, not the year the check arrived. If the ERC covered 2021 wages and the check arrived in 2023, the amended K-1 for 2021 is what adjusts your basis and income for that year, not your 2023 return.

This is an important point that a lot of people get wrong. The timing follows the year of the wages, not the year of receipt.

Naomi D.

Author

Ours covered 2021 wages and we received the check in 2024. So I may need to look at an amended K-1 for 2021. I hadn't thought about that angle.

To add some clarity on the debt basis mechanics: your debt basis starts at the face amount of any loans you actually made to the S corp. It gets reduced when the corp passes through losses to you in excess of your stock basis. It gets restored by subsequent income items. When the loan is repaid, if your debt basis equals the amount repaid, no gain. If debt basis is less than the amount repaid, the difference is gain — generally capital if the loan is evidenced by a note, ordinary if it's an open-account loan. I ran our shareholder loan situation through Taxr after getting our K-1 and it went through the basis worksheet line by line and flagged that our prior-year loss carrythrough had partially eroded our debt basis. That was a number I needed to know before treating the full repayment as nontaxable.

Naomi D.

Author

This is the most useful breakdown so far. The idea that prior loss passthroughs could have eaten into my debt basis is something I definitely need to check.

The character of the gain when debt basis is partially eroded is worth getting right too. If the loan is evidenced by a written note, gain on repayment is generally capital; if it's an open-account loan, it's ordinary. It's in the Shareholder's Instructions for Schedule K-1 (Form 1120-S) and the Form 7203 instructions on S corp basis.

Practical step: build or get your accountant to build a cumulative basis schedule going back to when you first made the loans. Every year's K-1 activity feeds into it. You can't just look at this year in isolation. If you've had any loss years where the losses exceeded your stock basis and flowed against debt basis, that history matters for the repayment calculation right now.

Is the repayment amount larger than the original loan principal? If the S corp paid back more than what was originally lent, the excess could be interest income, which is ordinary income to you regardless of basis. Worth checking the numbers against the note terms.

Naomi D.

Author

No, they paid exactly the principal. Interest was handled separately as a business expense on the corporate side and income to me as it accrued each year.

The situation where this becomes genuinely complicated is if the loan repayment happens in the same year as a large K-1 loss. The income from the ERC might have absorbed some of that, but if net K-1 activity is still a loss, you need to be careful about the order of operations. Income restores basis, then distributions reduce it, then losses flow through. Repayment sits in its own lane but interacts with all of it.

Just to flag: if any part of the ERC was for 2020 wages, the rules around the timing of the wage reduction amended returns are slightly different from 2021. Make sure your corporate tax preparer has confirmed the year-by-year breakdown and that the right tax years were amended at the entity level before you finalize your personal basis schedule.

The question of whether the repayment is taxable to you personally really does come down to your debt basis at the moment of repayment. That's the single number to find. I uploaded our K-1s and the shareholder loan documentation to Taxr and it built out what our cumulative basis position looked like and identified the years where losses had reduced debt basis below the loan face value — exactly the scenario that would have caused a taxable gain on repayment that we didn't see coming. Worth doing before you finalize anything.

Naomi D.

Author

Thank you — I'm going to get every K-1 going back to when I made the loans and build that schedule. That's clearly the step I was missing.

One caution: if you are unsure about whether prior losses eroded your debt basis and the amount of the loan repayment is large, this is the kind of thing worth having a CPA or enrolled agent review before you file. The gain character question — ordinary versus capital — can have a real effect on your tax rate and the basis records need to be bulletproof if the IRS ever asks.

Agreed. The documentation burden falls on the taxpayer on basis questions. The IRS doesn't have your year-by-year K-1 file — you do.

To bring this to a practical close: the loan repayment is not automatically taxable. It's taxable only if your debt basis was reduced below the loan's face amount, in which case each repayment is partly gain in proportion to that reduction. Build the cumulative basis schedule, confirm the year the wage reduction applies (and that the entity-level amended returns were filed for the right years), and check whether any prior loss years pushed losses through debt basis. Those three things tell you your answer.

Naomi D.

Author

This is exactly the checklist I needed. Thank you all — I know what to do now.