How to fix QuickBooks retained earnings not matching the 1120-S tax return

I've been going in circles on this for two weeks. We're an S corp and our QuickBooks retained earnings balance on the balance sheet is about $14,000 higher than what shows up on Schedule L of the 1120-S that our CPA filed. The CPA says QuickBooks is wrong. QuickBooks shows the retained earnings updating automatically from net income but I don't think it's accounting for distributions correctly. I went through every transaction in the equity section and I still can't reconcile the two. The M-2 on the 1120-S also doesn't tie back to anything I can find in QuickBooks. Is this a QuickBooks chart of accounts issue, a tax return issue, or both? Do I need to worry about this for the audit risk it creates?

31 comments

Schedule L on the 1120-S is the balance sheet per books, not a tax-basis balance sheet. QuickBooks by default runs on GAAP or cash basis book accounting. If the books are closed and adjusted correctly, those two should match, so a gap usually means an adjustment the CPA made that never got booked or an error in QuickBooks. The retained earnings line on Schedule L should reflect book retained earnings, while accumulated adjustments account (AAA) movements are tracked separately on Schedule M-2, not just net income minus distributions the way QuickBooks calculates it.

Matt K.

Author

So the gap isn't a basis difference — it means something doesn't match between the books and the return? My CPA didn't explain it that way at all. I thought the balance sheet on the return had to match the books exactly, and it sounds like it should.

Schedule L asks for the books, and it should agree with them; it's income and AAA that diverge for S corps. The M-1 is literally the bridge that explains book-to-tax income differences. If your M-1 and M-2 are filled in correctly, they explain book versus tax income, but a gap between QuickBooks and Schedule L still means the books and the return disagree somewhere.

The M-2 is where I'd start. It reconciles beginning AAA, adds ordinary income per the return, subtracts distributions, and lands on ending AAA. Run that same math manually and check it, but don't expect the ending number to tie to Schedule L line 24. That line is retained earnings per books, AAA doesn't have to equal it, and line 24 is the number that should match QuickBooks.

Matt K.

Author

The ending AAA on M-2 does match Schedule L line 24. That doesn't prove the return is consistent, though, since line 24 is supposed to be book retained earnings, not AAA. The issue is the QuickBooks number is just floating out there $14k higher with no explanation.

Distributions are the most common culprit I've seen. In QuickBooks, if distributions were coded to an expense account instead of the equity distributions account, they'd run through net income and inflate retained earnings. Pull a transaction detail report on every equity account for the year and look for anything that looks like a distribution but landed somewhere else.

Matt K.

Author

Checked this — found two distributions in December that were coded to owner's draw expense instead of shareholder distributions equity. That accounts for about $9,000 of the $14,000 gap. Still hunting for the rest.

Payroll adjustments that hit equity directly can also cause this. W-2 wages paid to shareholder-employees sometimes get entered twice or categorized differently in QuickBooks versus what the return picked up.

I had almost the identical situation last year — AAA tied on the return but QuickBooks equity was way off. I uploaded the Schedule L, the M-2, and my QuickBooks equity detail to taxr.ai and it walked through each line and flagged three items where the accounts weren't mapping correctly, then drafted a reconciliation worksheet I could hand to my CPA. Saved me probably four hours of back-and-forth. The root issue in my case was that prior-year S corp losses were sitting in a retained earnings account in QuickBooks instead of a separate loss carryforward account, which made the current-year number look inflated.

Matt K.

Author

The prior-year loss angle is interesting. We had a loss in 2022 and I honestly don't know how QuickBooks handled it. I'll look at whether there's a separate account for that or if it just collapsed into retained earnings.

Prior-year S corp losses reduce AAA but in QuickBooks they just reduce the retained earnings account unless your bookkeeper manually created a separate equity account for them. So the tax return correctly shows a lower AAA and QuickBooks just rolls everything into one number. Totally different treatments of the same event.

Worth noting: S corps are required to maintain the AAA, OAA (other adjustments account), and shareholders' undistributed taxable income previously taxed accounts separately for tax purposes. QuickBooks doesn't do this automatically. Some bookkeepers set up custom equity accounts to mirror the AAA structure but most don't, so the divergence is almost structural.

Our bookkeeper set up a QuickBooks equity class called AAA and one called distributions. It still drifts every year because not every transaction gets classified correctly in real time. We do a year-end reconciliation before the return goes out now.

The audit risk question you raised — the IRS does look at Schedule M-1 and M-2 to understand book-tax differences. If those schedules are blank or obviously wrong, that's more of a flag than a gap between your internal books and the return. A properly completed M-1 explains book-to-tax income differences, but Schedule L is the balance sheet per books, so the books and Schedule L should be reconciled to match rather than explained away.

Matt K.

Author

M-1 and M-2 are both filled in on our return. So I guess the return itself should be defensible. My worry was more about the internal records if we ever got pulled for an exam.

Schedule M-3 is a separate question if you're over the asset threshold, but for most small S corps it's not required. On the documentation side — when I was dealing with my own S corp reconciliation mess, I ran my entire QuickBooks equity section and the Schedule L through Taxr and it built out a side-by-side comparison showing which lines were timing differences versus permanent differences versus account mapping errors. Made it much easier to know what actually needed correcting versus what was just a presentation difference. Useful to have that in the file if you ever do face an examination.

Matt K.

Author

Timing versus permanent versus mapping — that's exactly the breakdown I need. Right now everything is lumped together and I can't tell what matters.

One concrete step: run a QuickBooks Balance Sheet on accrual basis as of 12/31 and compare it line by line to Schedule L. Don't start with the totals — start at cash and work down. The first line that diverges tells you which account is the source. Usually you find it by line 10 or 11 and everything below is downstream of that one error.

Matt K.

Author

Did this tonight. Cash matched. Accounts receivable matched. The first divergence was the shareholder loans line — QuickBooks has a loan from shareholder as a liability, the return shows it as equity. That explains another chunk.

Shareholder loans versus equity is a whole separate issue — if the IRS reclassifies a loan as equity, basis and distribution rules change. If there's a formal note with interest and repayment terms, it stays a loan. If it's informal with no documentation, the IRS can treat it as a capital contribution. Worth having your CPA look at that one specifically.

Reasonable cause matters if this ever becomes an exam issue. The IRS looks at whether you exercised ordinary care and prudence. Having a clear reconciliation file — even if prepared after the fact — shows you weren't just ignoring the discrepancy. It's not a perfect defense but it's much better than nothing.

Form 2848 is relevant here too if you decide to bring in an enrolled agent or CPA to handle this reconciliation and potentially respond to any IRS inquiry. The 2848 lets them talk directly to the IRS on your behalf. An unenrolled preparer can't represent you before appeals or revenue officers, so if this escalates you want someone credentialed.

Enrolled agent is probably the right call for an S corp book-to-tax reconciliation that might have exam implications. They specialize in exactly this — not just the return prep side but the documentation and representation side.

Another thing to check: if your S corp made an election to distribute out of AE&P (accumulated earnings and profits from a C corp year, if there were any), that gets its own column on M-2. Most small S corps that were always S corps don't have this, but if you converted from a C corp at any point it matters a lot.

Matt K.

Author

Always been an S corp from formation so no AE&P to worry about. Good point though — I didn't even know that was a thing.

Shareholder basis is also affected by all of this. The AAA tracks at the entity level but each shareholder needs to track their own basis separately — it's not on the 1120-S, though Form 7203 reports it on your own return when you claim a loss, take a non-dividend distribution, dispose of stock or get a loan repaid. Losses you can deduct are limited to your basis. If the QuickBooks number is what someone has been using as a proxy for basis, that could be a real problem beyond just the balance sheet presentation.

Matt K.

Author

Nobody ever told me to track basis separately. I just assumed it matched my equity in the company. Is there a form for that?

There is an IRS form for basis — Form 7203, attached to your Form 1040 in any year you claim a loss or deduction, receive a non-dividend distribution, dispose of stock or receive a loan repayment, and you maintain it using the Schedule K-1 each year. The K-1 shows your share of income, losses, deductions and distributions and you apply them in the specific ordering rules to arrive at your adjusted basis. An enrolled agent or CPA can reconstruct it from prior-year K-1s if you've never tracked it.

The specific ordering rules for S corp basis adjustments are: increase for income and gains first, then decrease for distributions, then decrease for nondeductible expenses, then decrease for losses and deductions. QuickBooks doesn't follow this order — it just nets everything. That's why you can't use the QuickBooks equity number as your basis.

If the reconciliation keeps unraveling and you're finding new issues — the shareholder loan, the prior-year loss, the basis question — this is probably worth a sit-down with a CPA or enrolled agent rather than trying to close it yourself. Not because it's necessarily a crisis but because each issue connects to the others and fixing one without understanding the chain can create new mismatches.

Matt K.

Author

Agreed at this point. I started thinking this was a QuickBooks cleanup issue and now I realize it touches the return, basis tracking, and potentially the shareholder loan classification. Calling our CPA tomorrow with this thread printed out.