K1 box 20 — what do all these codes actually mean and where do they go?

Got my Schedule K-1 from a partnership I'm in and K1 box 20 has like five different entries on it. Codes Z, AH, and a couple others I can't even find on the stub. I've been a limited partner in this thing for two years and last year the K-1 looked nothing like this one. The partnership apparently had some kind of QBI activity and also some other adjustments. I went through the K-1 instructions and found some of the codes but I honestly can't figure out where each one flows on my 1040. Do they all go somewhere or are some of them just informational? Specifically the Z code is confusing me because there seems to be a whole additional statement attached. Am I supposed to be filling out a separate form or worksheet for each of these codes?

38 comments

Which codes exactly are on yours? Box 20 has dozens of possible codes and they really don't all work the same way. Code Z is Section 199A information for the QBI deduction, which does require a separate worksheet — specifically you're working through Form 8995 or 8995-A depending on your situation. The statement attached to code Z should break out the components like ordinary income, W-2 wages, and unadjusted basis of qualified property.

Elena V.

Author

The codes I see are Z, AH, and what looks like N. The statement behind Z has four or five line items on it. And you're right that it mentions W-2 wages and UBIA. So all of that feeds into the 8995-A rather than directly onto the 1040?

Correct. The Z amounts don't go directly on the 1040 — they populate Form 8995-A, and the deduction from that form flows to Form 1040 line 13a (line 13 before 2025), not Schedule 1. AH is typically "other information" and may just be informational depending on what the partnership is describing. N is unrecaptured Section 1250 gain, which flows to the Schedule D tax worksheet.

Had almost the same situation last year with a partnership K-1 that had codes I'd never seen before. I uploaded the K-1 and the attached statements to taxr.ai and it went through each code, matched the amounts to the right lines on 8995-A and Schedule D, and flagged one item the partnership had labeled as informational that actually did need to flow somewhere. Saved me a lot of cross-referencing the instructions. Worth doing before you file if you're unsure which codes need action and which are truly just disclosure items.

Elena V.

Author

Did it handle the multi-line Z statement correctly? Mine has separate figures for ordinary income, W-2 wages, and UBIA and I wasn't sure if each of those gets entered separately or if there's a single net number.

Yes, it pulled each component out separately. The 8995-A has distinct lines for each of those — W-2 wages and UBIA matter for the wage and capital limitation if your income is above the threshold, so they're not collapsed into one number.

Are you a general or limited partner? That changes a couple of things in box 20 — particularly anything touching self-employment. Code A in box 14 is the SE figure, but some box 20 entries interact differently depending on your status in the partnership.

Elena V.

Author

Limited partner. The K-1 has that checked on the front. Does that affect the QBI calculation at all?

For QBI purposes your status as limited vs. general partner matters less than whether the activity is a qualified trade or business. The W-2 wages and UBIA figures in the Z statement apply the same way. Where it really matters is box 14 — as a limited partner only guaranteed payments for services count toward your net SE earnings, not your distributive share.

Code AH trips a lot of people up because the partnership can put almost anything there. Did the K-1 have a footnote or statement explaining what the AH entry is? Sometimes it's foreign tax information, sometimes it's section 751 detail, sometimes it really is just disclosure.

Elena V.

Author

There's a small statement that says it relates to "section 1061 recharacterization" — does that ring a bell?

Section 1061 is the carried interest rules. If you hold an applicable partnership interest, certain long-term capital gains get recharacterized as short-term. The AH entry should give you the amount subject to recharacterization. That flows to Schedule D but as short-term rather than long-term. Does the statement give you a specific dollar amount or just a description?

Elena V.

Author

It has a dollar amount. So I'd take that amount and report it as short-term on Schedule D instead of whatever the K-1 shows in box 9a as long-term?

Roughly, yes — but the mechanics depend on the partnership's holding period in the asset it sold and whether that gain meets the three-year exception. If the partnership held the asset more than three years the recharacterization doesn't apply to that gain, no matter how long you've held your interest. The Form 1065 instructions and the box 20 code AH instructions walk through the exception. Worth confirming with the partnership.

The code N for unrecaptured 1250 gain — that one is easy to miss but it matters. It doesn't get entered in Part I or II of Schedule D the way a sale would. Instead it feeds into the Unrecaptured Section 1250 Gain Worksheet in the Schedule D instructions, and the worksheet total goes on Schedule D line 19. That worksheet determines whether any of your long-term gain is taxed at the higher 25% rate rather than the standard long-term rate. When I had a K-1 with multiple box 20 codes I ran the whole thing through Taxr — it built out the 1250 worksheet using my actual numbers and showed me where each code 20 item landed. Helped me see the full picture before I handed it to my preparer.

Elena V.

Author

So N doesn't get entered as its own sale on Schedule D — it goes through the worksheet, and the worksheet total lands on Schedule D line 19 to determine the tax rate on gains already on Schedule D? That's a subtle distinction I completely missed.

Exactly. If you just looked at Parts I and II of Schedule D the 1250 gain amount won't be there as a sale — it's figured on the worksheet behind it and carried to line 19. Some software handles this automatically but if you're doing it manually or reviewing your preparer's work it's easy to think the N amount got dropped.

Does your K-1 have a code AB or AC in box 20 as well? Those are newer codes related to business interest expense limitation under section 163(j). Partnerships that have excess business interest expense pass it out through those codes and they affect what you can deduct on your own return.

Elena V.

Author

I don't see AB or AC on mine, so I think I'm okay on that one. Good to know though for future years.

How large is the QBI deduction you're expecting to get from the Z information? If the partnership is in a specified service trade or business the deduction phases out above a certain income threshold. The instructions for Form 8995-A walk through which business types are SSTB and how the phase-out works — worth checking before you assume you get the full deduction.

Elena V.

Author

The statement behind Z doesn't say anything about SSTB. Would the partnership have flagged that if it applied?

They're supposed to disclose it on the statement — IRS guidance requires the partnership to tell you whether the activity is an SSTB. If the statement doesn't mention it, it's likely not, but you can confirm with the partnership's preparer if the entity type makes you think it might be (legal, accounting, consulting, financial services, etc.).

Is this a publicly traded partnership by any chance? PTP losses have special treatment — they can only offset income from the same PTP, not other PTPs or other passive income. That would affect how some of the box 20 items interact with your passive activity rules.

Elena V.

Author

No, it's a private LLC taxed as a partnership. About a dozen partners total.

If you're using tax software it should prompt you for each code when you enter the K-1. Most software has a box 20 screen where you select the code from a dropdown and enter the amount, and then it routes it to the right form automatically. The Z code usually triggers an additional QBI entry screen.

Elena V.

Author

Yeah I'm using software and it does ask for the codes. My concern is more that I'm not sure I entered the Z statement components correctly — it has five fields and I wasn't confident which amounts matched which software prompts.

The five components on the Z statement are probably: qualified business income (or loss), W-2 wages, UNADJUSTED basis immediately after acquisition (UBIA) of qualified property, qualified REIT dividends, and qualified PTP income. Each one has its own field on 8995-A. The labels on the partnership's statement should match pretty closely to the form's language.

Elena V.

Author

That breakdown is really helpful. Mine has exactly those five items. So UBIA is not the same as my adjusted basis — it's the original cost basis of property the partnership holds, not my ownership basis?

Correct. UBIA is the partnership-level figure for property used in the business, computed at acquisition without depreciation adjustments. It's completely separate from your outside basis or the basis you'd track on Form 7203 for an S corp. The partnership calculates it and passes it to you through that Z statement.

Has anyone here dealt with a situation where the Z statement amounts don't reconcile to anything else on the K-1? I got a K-1 last year where the qualified business income on the Z statement was different from what I expected based on box 1 ordinary income, and the partnership said that was normal because of certain adjustments.

That's actually common. The QBI amount is computed at the entity level and can differ from box 1 because guaranteed payments, which are reported in box 4 rather than box 1, are excluded from QBI, and certain deductions and gains reported outside box 1 are included in it. The partnership is supposed to show you the reconciliation if you ask.

Good to know — I ended up just using their number and it seemed to work out fine.

What year is this K-1 for? Asking because there were some changes to how box 20 codes are reported in recent years, and some older software or older K-1 formats use slightly different code letters than the current instructions.

Elena V.

Author

It's for the most recent tax year. The K-1 itself looks like a current version with the revised layout.

If you're at all uncertain about the section 1061 recharacterization piece I'd flag that for a CPA or enrolled agent. The carried interest rules have a lot of conditions and the interaction with your holding period and the type of gain matters. The penalty exposure for misclassifying short-term vs long-term gain isn't something you want to find out about after the fact.

Elena V.

Author

That's fair. I think I'll handle the Z and N codes myself since the software walks through those, but I'll probably ask a CPA to review the AH entry before I file. The holding period question on the three-year exception is something I'd rather have a professional confirm.

Did you check whether the partnership filed its 1065 on time? If they filed an extension on Form 7004 you might have gotten the K-1 late, which could affect your own filing deadline if you filed an extension on your 1040 as well. Just worth making sure the dates line up — the partnership's March 15 deadline (for calendar year entities) with an extension of six months is different from your personal return's deadline.

Elena V.

Author

I got the K-1 in late March so I think they extended. I already filed a personal extension so I should have time to sort through all of this before my deadline.