Capital gains on Treasury notes — what actually gets reported where?

Sold a 2-year Treasury note this year before it matured. I bought it on the secondary market at a discount, held it about 14 months, then sold it when rates dropped. My broker sent a 1099-B showing proceeds, and there's also OID income on a 1099-OID. I'm confused about what counts as capital gains on Treasury notes versus ordinary interest income. The 1099-B cost basis looks wrong to me because I think it doesn't account for the OID that accrued while I held it. I already tried reading the 1099-B instructions but they don't explain the interaction with OID clearly. Do I adjust my basis on Form 8949, and if so with what code? And is the whole gain long-term since I held more than 12 months?

33 comments

Sold a T-note last year in almost this exact situation. The short answer is yes, your basis needs to be adjusted upward by the OID you already included in income while you held the note. If you don't do that you'll pay tax twice on the same income. The adjusted basis goes on Form 8949, Part II (long-term since you held more than a year), box D or E depending on whether the 1099-B shows basis reported to the IRS.

Carla V.

Author

That double-taxation point is exactly what I was afraid of. So the OID I reported on 1099-OID each year increases my cost basis for the sale? I'll check whether my broker's basis already reflects that or not.

The holding period question is straightforward for securities traded on an established market. Per Publication 550, you start counting the day after the trade date you bought and your holding period ends on the trade date you sold, not the settlement date. You held 14 months so that's long-term. The gain goes in Part II of Form 8949.

I uploaded my 1099-B and 1099-OID together to taxr.ai and it flagged right away that the broker's reported basis didn't include the OID I'd already recognized, and it drafted the Form 8949 adjustment entry showing the correct basis and the amount to put in column (g). Saved me a lot of back-and-forth. Worth doing before you file if the numbers look off to you.

Carla V.

Author

Did it also handle the part about which box to check in Part II? That's what I'm unsure about — whether my broker reported basis to the IRS or not.

Yes, it read the 1099-B and identified whether basis was reported to the IRS from the form itself. Box D if it was, box E if it wasn't. It listed which box applied to my note and why.

One thing people miss: the character of the gain matters too. The portion of the gain that represents market discount — meaning the note was bought below its adjusted issue price — is treated as ordinary income, not capital gain, unless you elected to accrue market discount annually. If you bought at a discount on the secondary market and didn't make that election, some of what shows up as gain on the 1099-B might actually be ordinary income. Publication 550 covers this under market discount bonds.

Carla V.

Author

I did not make any annual accrual election. So part of my gain might be recharacterized as ordinary interest income? That changes things significantly.

Yes, the accrued market discount up to the amount of gain is ordinary income. The rest is capital gain. Publication 550 at irs.gov/publications/p550 has the full breakdown for market discount bonds.

This is the part most people get wrong with secondary market Treasuries. The broker's 1099-B rarely breaks out the market discount portion cleanly.

My broker marked my basis as reported to the IRS so I used box D in Part II. Because my basis was understated (didn't include OID I'd recognized), I entered the broker's wrong basis in column (e) as the instructions say, then put a negative adjustment in column (g) to bring the taxable gain down to the right number, and used code B in column (f). The instructions for Form 8949 at irs.gov/instructions/i8949 spell this out.

Yes, that's the right procedure. With box D checked you enter the 1099-B basis even if it's wrong and correct it in column (g), not in column (e).

Carla V.

Author

This is exactly the clarification I needed. So column (e) gets whatever the broker said, column (f) gets code B, and column (g) gets the negative number representing the basis increase from OID.

Are Treasury notes even subject to state income tax? I know the interest is exempt from state tax but I wasn't sure if capital gains from selling a T-note on the secondary market get the same treatment.

No, capital gains from selling a Treasury note are generally not exempt from state tax the way the interest is. The exemption covers interest income. This thread is about federal anyway — state rules vary.

Bought a 5-year note at auction and sold it two years in. Because I bought at auction with no OID and no market discount, my situation was simpler — the entire gain was capital gain and my basis was just what I paid. 1099-B had it right. Sometimes these are straightforward depending on where and how you bought.

Ran into this last tax season with a pile of secondary-market notes. I gave Taxr the 1099-B, the 1099-OID, and the trade confirmations and it went through each note, reconciled the OID accruals to the basis, identified which portions were market discount ordinary income versus capital gain, and listed every Form 8949 line I needed. Really made the market discount piece from the comment above much easier to handle.

Carla V.

Author

That's the exact set of documents I have. Good to know the reconciliation can be done that way before I hand everything to my preparer.

If you have a lot of these secondary-market notes and the market discount amounts are material, consider talking to a CPA or enrolled agent. The market discount rules, the OID basis step-ups, and the Form 8949 adjustments interact in ways that are easy to get wrong, and an error here understates ordinary income, not just capital gain.

Carla V.

Author

Agreed — I was already thinking about that. My total gain isn't huge but I want to make sure I'm not accidentally underreporting ordinary income.

The Schedule D side of this is worth mentioning. Once Form 8949 is done, the totals flow to Schedule D, Part II line 8b (or line 8a if you qualify for Exception 1 with no adjustments, which you probably don't here). The ordinary income piece from market discount doesn't go to Schedule D at all — it goes to Schedule B as interest income.

Yes, that's the correct split. Market discount recharacterized as ordinary income is interest on Schedule B, not capital gain on Schedule D. Worth double-checking that your software handles this automatically.

Practical question: did your broker's 1099-B show code 'D' in the adjustment code box already for the OID basis issue, or was box 1g blank? Mine left everything blank and I had to figure out the adjustment myself.

Carla V.

Author

Box 1g was blank and there was no adjustment code. The basis shown is clearly just my purchase price with nothing added for OID. So yes, I have to do it manually.

That's pretty typical. The broker reports what it has and OID basis tracking often falls on the taxpayer. The Form 8949 instructions cover the mechanics.

Worth reading Topic 409 on the IRS site if you haven't. It covers the long-term versus short-term line cleanly and also the capital loss deduction limit if you end up with a net loss after all adjustments.

The exception at the bottom of the Form 8949 instructions is relevant here: Exception 1 lets you skip Form 8949 and put totals straight on Schedule D line 8a only if basis was reported to the IRS AND there are no adjustments needed. Since you have a basis adjustment for OID, Exception 1 doesn't apply and you need Form 8949.

Correct. Any adjustment in column (g) means the transaction has to go on Form 8949, not directly on Schedule D.

Publication 551 is also useful for understanding basis adjustments generally. The specific OID and market discount rules for debt instruments are in Publication 550, but 551 gives good background on what can and can't increase your basis.

Sold inherited Treasury notes last year. Basis was stepped up to fair market value at the date of death, so no OID or market discount complication from before the inheritance date — only what accrued while I held them. And the holding period is automatically long-term regardless of how long I actually held them.

Yes, Publication 550 says inherited property is long-term regardless of actual holding period, with one narrow exception for a decedent who died in 2010 and whose executor filed Form 8939.

To recap the original situation: bought on secondary market, held more than a year, sold before maturity. Steps are — (1) determine OID accrued while you held it and add to basis, (2) determine market discount accrued and treat that portion of gain as ordinary income on Schedule B, (3) report the sale on Form 8949 Part II with box D or E, code B in column (f), basis adjustment in column (g), (4) remaining gain flows to Schedule D as long-term capital gain.

Carla V.

Author

This is the clearest summary of the steps I've seen in this thread. I'm going to work through each of those four points with my actual numbers before I meet with my preparer.