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

Doing my personal return and my K-1 from a small LLC has a bunch of entries in box 20. I see codes A, N, and Z all listed with different dollar amounts. The partnership is a real estate rental so I expected some of this but I'm not sure where each code flows on my 1040. I looked at the Schedule K-1 instructions but it's a wall of text and I can't tell which codes go to which forms or schedules on my end. The preparer for the LLC didn't send anything explaining the codes. Do I need to do something special for each one, or do most of them just feed automatically into TurboTax if I enter them right? Specifically nervous about code Z because I saw something about a QBI statement needing to attach.

41 comments

Code Z in box 20 is the one that trips most people up. It signals your share of qualified business income under section 199A, but the dollar amount in box 20Z is not the deduction itself — it's supplemental information the partnership passes to you. There should be a Statement A (or similar attachment) with the K-1 that breaks out QBI, W-2 wages, and unadjusted basis of qualified property. You need all three figures to complete your own Form 8995 or 8995-A.

Kevin H.

Author

There was actually a loose page stapled behind the K-1 labeled "Section 199A Information" with a table. I think that's the Statement A you're describing. So I enter all those line items into 8995?

Yes, that's the one. Take the QBI amount, W-2 wages, and UBIA figures from that statement and carry them to the appropriate lines on Form 8995 if your taxable income before the QBI deduction is at or below the threshold, or Form 8995-A if it's above the threshold. The Form 8995-A instructions walk through the phase-in ranges.

Box 14 code A is net earnings from self-employment — code A in box 20 is investment income. If you're a general partner or treated as one for SE purposes, that box 14 figure flows to Schedule SE. Limited partners generally don't have SE income except on guaranteed payments for services, so which one are you? That changes everything for the SE figure.

Kevin H.

Author

The LLC is member-managed and I'm an active member, so I believe I'm treated as a general partner for SE purposes. So I'd take the box 14 code A amount to Schedule SE?

Yes, that's the standard treatment for an active member-manager, using the figure in box 14 code A, which is the designated self-employment earnings line, not box 20 — double-check your K-1. Box 20 code A is investment income. The IRS instructions for Form 1065 have the full code list.

Net section 1231 gain or loss from the partnership's property disposals is in box 10, not box 20 — code N in box 20 is interest expense for corporate partners. The box 10 amount goes to Form 4797 Part I on your personal return. If it's a loss, the passive activity rules might limit it depending on your situation, so you'd run it through Form 8582 first if you're a passive investor.

Kevin H.

Author

The amount in box 10 is a gain, not a loss. Does the passive activity issue still apply?

Net 1231 gains generally get treated as long-term capital gain after the recapture rules, so the passive limitation matters less on the gain side. But if you have prior unallowed losses from this same activity sitting in Form 8582, those come into play. Check your prior year return for a Form 8582 carryover.

Had a K-1 last year with eight different box 20 codes and I uploaded it to taxr.ai along with my draft 1040. It read through every code, matched each one to the right form and line on my return, and flagged that I was missing the Statement A for my code Z. Saved me from filing without the QBI detail. The box 20 code list in the partner's instructions is about four pages long — worth pulling up to cross-reference anything unusual.

Kevin H.

Author

Eight codes sounds like a nightmare. I only have three so I feel better now. The Statement A flag is exactly what I would have missed too.

Box 20 also carries codes for things like look-back interest on completed long-term contracts (code J), recapture of low-income housing credit (codes F and G), and various other items that need their own forms. Most software handles the common ones automatically if you enter the code and amount correctly, but the rarer codes may drop to an "other" bucket and you have to route them manually.

Agreed. Code AH is the catch-all "other information" code and it shows up with a description — things like gross receipts for section 448 purposes or excess business interest expense. Each AH item tells you in the description what form it feeds.

Yes, and excess business interest expense from code AH (or sometimes its own code depending on the year) requires Form 8990 on your personal return. The 8990 instructions are specific about the partner-level computation.

The partner's instructions for Schedule K-1 (Form 1065) list every possible box 20 code alphabetically with the form or schedule each one feeds. If you can download the instructions PDF from irs.gov and do a Ctrl-F for the code letter, you'll land on exactly what you need in maybe ten seconds.

Kevin H.

Author

I found the instructions page. Ctrl-F on "Code Z" took me right to the 199A section. That's way easier than reading the whole thing.

Yep, works for every code. Some codes also cross-reference a separate IRS publication for the limitation rules, so follow those links too if one shows up.

Went through this same box 20 maze last filing season with a real estate partnership K-1. I pasted the K-1 into Taxr and it walked me through each code in order, told me which lines on my 8995-A and 4797 needed those amounts, and drafted a note explaining the QBI attachment to my preparer. I would have entered the code Z amount in the wrong place without that. Really useful when the partnership has multiple activity types under one K-1.

Kevin H.

Author

Multiple activity types on one K-1 is exactly my situation too. Good to know that's a common wrinkle.

Yes, and when that happens the Statement A may have more than one row — one per activity. Each row's QBI, wages, and UBIA feeds into 8995-A separately as its own entry in Part I and its own column in Part II.

Worth flagging: if the partnership has debt and you're not sure your basis is high enough to absorb a loss shown anywhere on the K-1, you need to work through basis before you use any of the loss figures. For S corp shareholders that's Form 7203, but for a partnership it's a manual calculation — there's no IRS form that works the same way. The at-risk rules (Form 6198) layer on top of that.

Kevin H.

Author

My K-1 doesn't show a loss this year so I think I'm okay, but good to know for future years.

Right, no loss means basis and at-risk don't bite you this year. But keep track of your outside basis anyway — the partnership should send a capital account summary but that's not the same as your tax basis.

Code AE is excess taxable income and code AF is excess business interest income — those two feed Form 8990 and can release prior-year deferred interest. A lot of people skip them thinking they're informational only, but they actually unlock a deduction if you have suspended interest from a prior year.

Good catch. The 8990 is one of the forms that software sometimes skips generating if you just enter the K-1 data without flagging the form explicitly.

Code W is precontribution gain (loss), not the section 743(b) adjustment. A section 743(b) adjustment doesn't go anywhere on your personal return as a separate line — it's already factored into the other items on your K-1 as a result of a prior step-up. If you see it and panic, just understand it's informational in most cases, though your preparer should confirm whether any adjustment flows through.

No, that's not quite right. Section 743(b) adjustments can affect the character and amount of gain or loss on specific assets. It's not purely informational — it depends on what assets the step-up was allocated to. Worth having a CPA confirm if the amount is significant.

Fair correction. I should have been more precise — in the simple case where the step-up is on depreciable property, the K-1 may already reflect it in the depreciation figures, but you're right that it's not automatically a do-nothing item.

If your box 20 has code AJ, that's the section 1061 capital interest gain recharacterization for carried interest. It only applies if you hold a partnership interest as an API — an applicable partnership interest — which typically means you received it for investment management services. Most regular investors don't have this.

Kevin H.

Author

No code AJ on mine. I'm just a passive capital investor, not a fund manager, so that makes sense.

Something people miss: the codes in box 20 are different from boxes 1 through 11 and from boxes 18 and 19. Each box has its own code set. So code A in box 20 is not the same thing as code A in box 17 or the amount in box 1. Enter each code only in the section of your software that corresponds to that specific box number.

Kevin H.

Author

This would have tripped me up for sure. I was about to put the box 20 figures in the wrong section of the K-1 entry screen.

Yes, TurboTax and most other software have a separate screen for each box. If you're on the K-1 entry and it asks for box 20, only enter amounts and codes from box 20. The program routes them from there.

Code U is section 743(b) gain or loss from an earlier transaction, and unrecaptured section 1250 gain is in box 9c (box 20 code V is unrelated business taxable income). The box 9c amount feeds the unrecaptured 1250 gain worksheet in your software and affects the tax rate on your capital gain — it doesn't add income, it just determines how much of your gain is taxed at the higher collectibles-adjacent rate rather than the lower long-term rate.

Slight clarification: unrecaptured 1250 gain is taxed at a maximum rate under current law rather than the standard long-term rate, but the actual rate depends on your total income. The rate worksheets in the Schedule D instructions handle it automatically.

Real estate partnerships often have a box 12 amount for section 179 deduction. That passes through to your personal return but is subject to your own section 179 limits and income limits, not the partnership's. If the partnership already hit its limit and couldn't use 179, it generally doesn't pass a box 12 amount — but if it does, Form 4562 on your 1040 is where it lands.

Yes, and your section 179 deduction is also limited to your taxable income from active business activities, so a passive investor who can't use it may need to track it as a carryover.

Kevin H.

Author

No box 12 amount on mine, but helpful context since this is a rental partnership and I wasn't sure if rentals even qualified for 179.

To wrap the Z question cleanly: if the partnership checked the box indicating it's an SSTB — a specified service trade or business — and your income is above certain thresholds, your 199A deduction from that entity may be limited or eliminated. The threshold and phase-in are income-dependent; the Form 8995-A instructions have the worksheets. A real estate rental is generally not an SSTB, so you're probably fine, but confirm it on the Statement A.

Kevin H.

Author

The Statement A I have doesn't mark it as an SSTB. It just lists the QBI amount, W-2 wages as zero, and a UBIA figure. I'll enter those into 8995-A and see what it calculates.

Zero W-2 wages is normal for a pure rental — the rental real estate safe harbor under Rev. Proc. 2019-38 is another wrinkle, but if the partnership is already treating itself as a trade or business for 199A and passing you the figures, you should be able to take the deduction at your level, and if your taxable income is above the threshold it's subject to the UBIA-based limit (2.5% of UBIA) since wages are zero. The 8995-A Part II instructions walk through the UBIA computation.