When do you pay capital gains tax on a Fidelity brokerage account?

I've had a Fidelity brokerage account for about three years and this is my first time actually selling anything significant. I sold some shares in March and some in October of the same tax year. Fidelity's interface shows "realized gains" but I genuinely don't know when I owe the IRS money on those — like, is it when I sell, when I withdraw cash from the account, or when I file? I already looked at my account's tax documents section and saw something about a 1099-B but I haven't received it yet. Do I owe estimated payments during the year or just pay when I file in April? And does it matter that one sale was in March and one in October?

32 comments

You owe capital gains tax in the year you sell, not when you withdraw the cash. The trade date, not the settlement date, is what counts for which tax year it falls into. So both your March and October sales are 2025 income (assuming same calendar year). You report them on Form 8949 and Schedule D when you file your return. Fidelity will send a 1099-B showing proceeds and your cost basis for each sale.

Sam F.

Author

So even if I never touched the cash and left it sitting in the account, I still owe tax on the gain from the sale itself? That's what I suspected but wanted to confirm.

Exactly. The taxable event is the sale. The cash staying in the account changes nothing for the IRS.

The holding period is what splits your gains into short-term vs long-term, and that really matters for your tax rate. If you held the shares more than one year before selling, it's long-term. One year or less, it's short-term and taxed as ordinary income. For securities on an established market like Fidelity, the holding period starts the day after your trade date and ends on the trade date you sold.

Sam F.

Author

My March sale I'd held those shares for about 14 months, and the October sale was stock I bought 8 months before selling. So sounds like I've got one long-term and one short-term situation.

That's right. Two separate rows on Form 8949, different parts — Part II for the long-term one, Part I for the short-term one.

Estimated taxes are worth thinking about here. If you owe a meaningful amount and your withholding doesn't cover it, you could owe an underpayment penalty. The IRS expects you to pay tax as you earn it throughout the year, not just in April. Whether you need to make quarterly estimated payments depends on your overall tax picture — Publication 505 covers the calculation, or look at the instructions for Form 1040-ES.

Sam F.

Author

I didn't make any estimated payments this year. I'm hoping my regular W-2 withholding covers enough to avoid a penalty. I'll check the 1040-ES instructions to see where I stand.

Once Fidelity's 1099-B shows up in February, look at whether they checked the box saying basis was reported to the IRS. That tells you which box to check on Form 8949 — box A or D for covered securities with basis reported, box B or E if not. I uploaded my Fidelity 1099-B to taxr.ai last year and it matched each line to the right Part and box on my 8949, flagged one lot where the cost basis looked off, and drafted the column (g) adjustment for me. Really cut down the time I spent cross-checking. The official instructions are at https://www.irs.gov/instructions/i8949 if you want to work through it yourself.

Sam F.

Author

I didn't even know cost basis could be "off" on a 1099-B. What would cause that?

Usually it's a corporate action, a stock split, or shares transferred from another broker where the original basis didn't transfer correctly. Sometimes DRIP shares have weird per-share basis. Worth comparing what Fidelity shows against your own records.

One thing people get confused about: you don't pay capital gains tax on dividends reinvested through DRIP, those are taxed as dividend income the year they're paid, but the reinvested shares do get their own cost basis. If you eventually sell those shares, that basis matters. Fidelity tracks this but always double-check the per-share basis on the 1099-B.

If your gains are entirely wiped out by losses in the same year — say you had a big loss on something else — you might end up with no net capital gain to pay tax on, or even a net loss. Net capital losses can offset other income up to a limit each year, with the rest carrying forward. See Topic no. 409 on irs.gov for how that carryover works.

Carried a loss forward for two years after a rough 2022. The Capital Loss Carryover Worksheet in the Schedule D instructions is what you use to track it year to year.

Year-end timing tripped me up last year, and your situation might hit it too — I had a sale in late December and wasn't sure which year it landed in. For stocks traded on an exchange, the trade date controls, not the settlement date. My December 30 trade was a 2024 gain even though cash settled in January 2025. I dropped my year-end Fidelity statement and the trade confirmation into Taxr, and it sorted out which tax year each transaction belonged to and built out the 8949 entries with the right short vs long-term split. Saved me from putting a sale in the wrong year.

Sam F.

Author

That settlement date vs trade date distinction would have tripped me up for sure. Good to know the trade date is what the IRS cares about.

To directly answer your question about "when you pay": if you owe tax beyond what withholding covers, the balance is due when you file (or by the April filing deadline, even if you get an extension — an extension gives more time to file, not to pay). But if the amount is large enough that you should have been making quarterly payments, the penalty calculation goes back to when each payment was due, not just April.

Sam F.

Author

So an extension wouldn't help me avoid a penalty on the gains I took in March if I should have paid estimated taxes by June? That's useful to know.

Right. The penalty is figured quarter by quarter based on when the income was earned, not when you eventually file.

Fidelity usually posts consolidated 1099 forms in mid-February. Sometimes they issue a corrected 1099-B later if a corporate action gets reclassified. Worth waiting a week or two after first receipt before you file, especially if you held any funds or REITs that sometimes restate their distributions.

Learned this the hard way — filed early, got a corrected 1099-B three weeks later, had to amend. Now I always wait until March.

Your two sales land in different capital gain buckets. The March one at 14 months held is long-term — goes in Part II of Form 8949. The October one at 8 months is short-term — Part I. Each sale gets its own row. Totals flow from Form 8949 to Schedule D, then from Schedule D line 16 to Form 1040. That's the whole chain.

If Fidelity reported the basis to the IRS (which they do for most shares bought after 2011), box A is checked for short-term and box D for long-term on the 1099-B. Under Exception 1 in the Form 8949 instructions, if you have no adjustments to those covered transactions, you can skip Form 8949 for those lots and enter the totals directly on Schedule D lines 1a or 8a. Saves some paper but most tax software does the full 8949 anyway.

Sam F.

Author

My tax software will probably generate the full 8949. I just wanted to understand what it was doing.

Don't forget state taxes. Most states also tax capital gains, and some don't follow the federal long-term / short-term distinction. If you're in a state with income tax, check your state's rules separately — the federal Form 8949 and Schedule D don't cover state.

The 1099-B from Fidelity will also show any wash sale loss disallowed in box 1g if you happened to buy back a position within 30 days of selling it at a loss. If that shows up, you report it on Form 8949 with code W in column (f) and the disallowed amount as a positive number in column (g). It doesn't go away — it gets added to the basis of the repurchased shares.

Worth noting: box 1g only gets populated when the repurchase was in the same account with the same CUSIP. If you bought the same stock back in a different account or an IRA, the wash sale rule still applies but Fidelity won't catch it for you.

To put the whole timeline plainly: you trigger the tax when you sell, you report it on the return for that calendar year, and you either pay through estimated quarterly payments during the year or owe the balance when you file by the April deadline. Leaving cash in the account after selling does not defer anything.

Sam F.

Author

That's the clearest summary of the whole thread for me. Sell = taxable event. Report on 8949 and Schedule D. Pay by April or via estimated payments. Got it.

Publication 550 on the IRS site has a full chapter on holding periods and how gains and losses are categorized if you want to go deeper than what your software shows you. It also covers what happens if you have both gains and losses — the netting order between short-term and long-term buckets matters for your final tax.

Your W-2 withholding alone may be enough: if it's large enough relative to your total tax liability, you may be in a safe harbor and avoid any underpayment penalty even if you didn't make separate estimated payments. The safe harbor thresholds are in the Form 1040-ES instructions and they depend on your prior year tax liability and adjusted gross income.

Sam F.

Author

My salary withholding is pretty substantial so I'm hoping that safe harbor applies. I'll run the numbers with 1040-ES before I assume I'm fine.