What is 8949 code Q and when do you use it?

Filing my own return this year and I sold a piece of raw land I inherited from my grandfather a few years back. My tax software is asking me to pick a column (f) code for Form 8949 and one of the options is code Q. I've seen code H for home sales and code W for wash sales mentioned everywhere but Q is barely documented anywhere I can find. The land was held more than a year so it goes in Part II, and I already have the fair market value from the estate records to use as my basis. Is code Q even something that applies to inherited land, or is this a completely different situation? Should I just leave column (f) blank if no adjustment is needed?

38 comments

What tax software are you using? Some programs surface every possible code even when it doesn't apply to your situation, which makes this more confusing than it needs to be.

Dana N.

Author

Using a web-based one, not going to name it. It just lists all the codes in a dropdown and I have to pick or skip. Definitely feels like it's showing me everything at once.

Code Q on Form 8949 is for reporting a section 1202 exclusion — that's the small business stock (QSBS) exclusion. It has nothing to do with inherited land. If you have no adjustments to make on your inherited land sale, you just leave column (f) blank and put zero in column (g). Don't force a code onto it.

Dana N.

Author

That makes total sense. I had no idea Q was specifically for QSBS. So for the land I just report proceeds in (d), my inherited basis in (e), leave (f) and (g) alone, and let Schedule D pick up the difference?

Exactly right. The gain flows from Part II of Form 8949 to Schedule D line 10 since you're checking box F (Exception 1 sales skip Form 8949 and go straight on line 8a, which isn't your case). Since inherited property is automatically long-term under Publication 550, Part II is correct regardless of how long you personally held it.

Are you sure the estate records give you the right basis figure? I had a similar inherited property situation and the number I had in hand wasn't the final estate tax value. I uploaded my documents to taxr.ai and it cross-checked what I had against the Form 8971 / Schedule A rules — pointed out that if the estate filed Form 706, I might be required to use the value reported there, not just whatever the appraisal said. Saved me from putting the wrong number in column (e).

Dana N.

Author

Good question — I don't actually know if the estate filed Form 706. That's something I'll need to check with the executor. If they did file it, Publication 551 says I'd have to use the estate tax value on Schedule A of Form 8971, right?

That's how I read it too. If 706 was filed, the beneficiary generally has to use the value reported on Form 8971. If no 706 was required, you use fair market value at date of death. Worth confirming before you finalize column (e).

Wait so inherited property is always long-term even if the estate closed last month and you sold right away?

Yes. Publication 550 says property inherited from a decedent is treated as long-term regardless of your actual holding period, with one narrow exception for decedents who died in 2010 where the executor elected to file Form 8939. For almost everyone that exception doesn't apply.

Thanks, filing that away. I always assumed you had to hold it yourself for more than a year.

Coming at this from the QSBS angle since that's where code Q actually lives — are there people here who've actually used it? I exercised ISOs in a startup years back and I'm wondering if the stock could qualify for section 1202.

ISOs complicate the QSBS picture. The stock has to meet a bunch of requirements — C corp, domestic, gross assets under a threshold at issuance, active business requirements, holding period. The instructions for Form 8949 and Schedule D don't detail all of them; Publication 550 is a better starting point but you may want a CPA for the full analysis.

Yeah I figured it wasn't going to be simple. I'll pull the Form 8949 instructions and then probably get a CPA involved before I claim anything.

The other codes that trip people up near Q are code H (home sale exclusion) and code X. When I had a sale with a complicated adjustment I gave my 1099-B and my own basis records to Taxr and it listed every column (f) and (g) entry it thought applied and why — made it easy to see which codes were mine and which weren't. Useful when the software just dumps a full alphabet of options on you.

Dana N.

Author

That's pretty much my situation exactly — the dropdown is intimidating when you don't know which codes are even in your ballpark. Good to know there's a way to sanity-check before submitting.

Does column (g) always have to be filled in when you use a code, or can a code appear without any dollar adjustment?

Codes and column (g) entries don't always go together. Code H for a home sale exclusion requires a negative number in column (g) for the excluded gain. Code W for a wash sale requires a positive number for the disallowed loss. But some codes signal a type of transaction without changing the gain or loss number. Always check the specific code's instructions.

Okay that's helpful. I was under the impression every code triggered an adjustment.

For the inherited land specifically — did you get a formal appraisal at date of death or are you relying on something less formal? That matters a lot for whatever goes in column (e).

Dana N.

Author

There was an appraisal done for estate purposes. I'm treating that as the fair market value at date of death. But the Form 706 / Form 8971 question someone raised earlier means I need to verify before I lock in that number.

What Part of 8949 handles land — Part I or Part II? I always mix them up for property that isn't stock.

Part I is short-term (held one year or less), Part II is long-term (held more than one year). For inherited property it's always Part II regardless of actual holding period. Land that you bought and held more than a year also goes in Part II. The holding period rule in Publication 550 says count starting the day after acquisition, with the disposal date counting as part of the period.

Slightly off topic but does the exclusion under section 1202 show up anywhere on Schedule D itself or only on Form 8949?

The exclusion amount goes in column (g) of Form 8949 as a negative adjustment with code Q in column (f), and then the net flows to Schedule D in the normal way. Schedule D itself doesn't have a dedicated QSBS line — it all gets worked through Form 8949 first.

Thanks, that clears it up. I was looking at Schedule D trying to find where to put it and coming up empty.

Just to get the box question right — inherited long-term land, no Form 1099-B from a broker, what box does the poster check at the top of Part II?

No 1099-B means box F in Part II (basis not reported to the IRS and no 1099-B, same as box C in Part I but for long-term). You enter the proceeds, your basis, leave column (f) blank if no adjustment, and zero in column (g). The gain then carries to Schedule D line 10.

Got it. F for no 1099-B on the long-term side.

Does it matter that the land was raw land rather than a house or rental? Any depreciation recapture concerns?

Raw land can't be depreciated, so there's no section 1250 unrecaptured depreciation issue the way there would be with a rental building. The gain is just capital gain — long-term in this case. That simplifies the reporting considerably compared to improved property.

Dana N.

Author

Good — that's one less thing to worry about. No depreciation was ever taken on it.

Is there any state-level wrinkle worth flagging, or is the federal Form 8949 / Schedule D treatment the main thing to get right here?

State treatment of capital gains varies a lot and some states don't conform to federal inherited basis rules or long-term / short-term distinctions. Hard to say anything general. Worth checking your specific state's instructions or asking a local CPA or enrolled agent if the gain is significant.

So the final answer for the original question: code Q is not for inherited land, it's for section 1202 QSBS exclusions, and OP should leave column (f) blank, check box F in Part II, put the appraised estate value in column (e), and leave column (g) at zero assuming no adjustment is needed.

Dana N.

Author

Thanks — that summary is exactly what I needed. Will verify the Form 706 situation with the executor first, then fill out Part II with box F checked, proceeds in (d), estate value in (e), and nothing in (f) or (g). Feels a lot cleaner now.

Is there any risk the IRS flags the return because there's no 1099-B but there's a large gain on Schedule D?

Potentially worth including a brief explanatory note if your software allows it, but the more important thing is that Form 8949 is filled out correctly. The IRS matching process is mainly triggered by 1099 documents; since there's no 1099-B here, the gain just needs to be accurately reported with the right box checked. A significant unexplained discrepancy is the bigger risk, so getting column (e) right is the priority.