How to reduce taxes on large short-term capital gains as a student

So I'm a full-time undergrad with no W-2 income this year. I did a lot of active trading and ended up with roughly large short-term capital gains — all reported on my 1099-B, all covered securities with basis reported to the IRS. When I ran the numbers the tax hit looks brutal since short-term gains are taxed as ordinary income and I have almost nothing to offset them. I already checked if any of my losers could offset the gains but I sold most of them in prior years. I'm trying to figure out how to reduce taxes on large short-term capital gains as a student before I actually file. Is there anything I'm missing — deductions I can take, accounts I can use, timing moves that still matter — or am I just stuck paying full ordinary rates on everything?

33 comments

Form 8949 Part I is where this all lands first. Box A since your broker reported basis. From there it flows to Schedule D line 1b and then to Form 1040. The painful part for short-term is that it stacks on top of your other income and gets taxed at ordinary rates — no preferential rate like long-term gets. So the question really becomes: what can you subtract before you get to taxable income?

Lena M.

Author

Yeah I confirmed that — box A checked, all my trades land on Schedule D line 1b. The question is exactly what you said, what can I actually subtract.

Standard deduction is the first thing to look at. As a student with no W-2 you might still claim the full standard deduction on your 1040, which directly reduces your taxable income including those gains. Whether you're a dependent or file independently matters a lot here — if your parents claim you, your standard deduction is limited. Check the Form 1040 instructions for the dependent standard deduction worksheet.

Lena M.

Author

This is actually where I'm losing ground. My parents do claim me, so my standard deduction gets limited. That's a chunk I was counting on.

Dependent standard deduction caught me off guard too first time I had investment income. The worksheet in the 1040 instructions is worth running carefully.

Capital losses are the most direct offset. Schedule D lets you net losses against gains before anything else. If you have any unrealized losers still sitting in your portfolio, selling them before year-end creates losses that net directly against your short-term gains on Schedule D. The wash sale rules matter here though — if you sell at a loss and rebuy the same or substantially identical security within 30 days before or after the sale, the loss is disallowed and gets a code W on Form 8949 column (f).

Lena M.

Author

I do have a few positions still down. So if I sell them now and wait more than 30 days to rebuy, the loss counts?

Worth knowing: the wash sale window is 30 days on each side of the sale, so 61 days total to be safe. I had a messy batch of trades last year and uploaded my 1099-B to taxr.ai — it flagged which lots were triggering wash sales and listed the disallowed amounts by CUSIP. Helped me figure out which positions I could actually harvest without the loss getting wiped out. On the deduction side, if you're paying student loan interest that's an above-the-line deduction on Schedule 1 that reduces your AGI before you even get to taxable income. Tuition no longer gets a Schedule 1 deduction, because the tuition and fees deduction expired after 2020. It's handled through the education credits on Form 8863 instead.

Lena M.

Author

The student loan interest deduction on Schedule 1 — I didn't think about that. I do have loans. Have to check if I'm within the income phase-out range for that.

Traditional IRA contributions are another lever. Contributing to a traditional IRA (if you have earned income, which matters — investment income doesn't count as earned income for IRA contribution purposes) gives you a deduction on Schedule 1 line 20 that reduces AGI. But if your only income is trading gains you likely have no earned income and can't contribute. Worth confirming what counts as earned income in the IRA contribution rules.

Lena M.

Author

That's the catch — I don't have a W-2 or any self-employment income this year, just the gains. So IRA contribution is probably off the table for me.

Same situation I was in one year. Gains don't count. Had to find other routes.

Schedule D line 21 — if your losses exceed your gains, only a limited amount of that net loss can offset other income each year (the Schedule D instructions and Topic 409 on irs.gov lay out the cap), and the rest carries forward. But in your case you have net gains, not losses, so the carryforward works in reverse: any capital loss carryforward from prior years flows into Schedule D and offsets current-year gains. Do you have any prior-year losses that carried over?

Lena M.

Author

No carryforward unfortunately. I've been net positive every prior year too.

Health savings account if you have an eligible high-deductible health plan — contributions are deductible on Schedule 1 and reduce AGI. Many student health plans don't qualify as HDHPs so you'd need to check your specific plan. But if it does qualify this is another above-the-line deduction.

Timing is worth thinking about if you haven't closed all your positions yet. Gains on securities you've held more than 1 year qualify as long-term and get preferential rates on Schedule D Part II instead of stacking at ordinary rates. The holding period starts the day after your trade date purchase and ends on your trade date sale per Publication 550. If any position is close to that 12-month mark it might be worth waiting before selling.

Lena M.

Author

Most of mine were short holds, under 6 months. But I have two positions from early this year — if I hold them past the purchase anniversary they'd flip to long-term. Good reminder to check those dates.

Trade date is what matters, not settlement date. Easy to get those confused when you're checking your brokerage statements.

Schedule 1 also has a deduction for the student loan interest I paid — I found that one late. I actually ran my whole situation through Taxr last year when I had a similar spike in short-term gains. It read through my 1099-B and Schedule D draft and flagged that I'd miscalculated my adjusted basis on two lots, which would have overstated the gain. Useful to have something go line by line before you file. Anyway — the AGI-based phase-out for student loan interest is in the Schedule 1 instructions, worth checking where you land.

Lena M.

Author

Checking the phase-out range now. My AGI is going to be almost entirely these gains so I might be under the threshold depending on how the deductions shake out.

One thing people overlook: qualified opportunity zone funds. If you invest your gain into a QOF within 180 days of the sale you can defer the recognized gain. This doesn't eliminate it but pushes it to a later year, and if you hold the QOF long enough there are additional benefits. The election is made on Form 8949 with the deferral reported on Form 8997. Worth looking into if the gain is large enough to justify the investment lock-up.

The 180-day window runs from the date of sale for most gains. Form 8997 tracks the QOF investment each year until you exit.

Don't overlook deductible investment expenses — though the Tax Cuts and Jobs Act suspended the Schedule A miscellaneous itemized deduction for investment expenses, and the 2025 law made that suspension permanent, so that route is closed. Margin interest is still deductible on Schedule A as investment interest expense (Form 4952), but only against net investment income. If you paid margin interest to your broker this year that's worth running through Form 4952.

Lena M.

Author

I do use margin. Hadn't thought about Form 4952 — will look at that.

Estimated tax payments matter here too. Short-term gains aren't withheld on by brokers so if you're sitting on a large liability you may already owe underpayment penalties. Form 2210 is where that gets calculated. Making a payment now if you're in Q4 can limit the penalty even if the tax itself is owed at filing.

Lena M.

Author

I completely forgot about estimated payments. I haven't made any this year. Need to look at Form 2210 and see how bad the penalty might be.

Charitable contributions are on Schedule A if you itemize. Donating appreciated securities you've held more than 1 year directly to a charity lets you deduct the fair market value and avoid recognizing the gain entirely. For securities held 1 year or less, the deduction is generally limited to your basis. That only works for appreciated securities you're donating, not the gains you've already locked in from closed trades.

To clarify something from earlier in the thread: a commenter said wash sales get flagged with code W in column (f) of Form 8949. That's correct — and the disallowed loss amount goes as a positive number in column (g), which reduces the loss. The adjusted basis of your replacement shares goes up by that disallowed amount, so you get the benefit eventually when you sell the new shares. It doesn't disappear, it defers.

Right — the disallowed loss adds to the cost basis of the new shares, and the holding period of the old shares carries over to the new ones per Publication 550.

If your gains are large enough that you're seriously worried, an enrolled agent or CPA who handles individual investor returns is worth talking to before year-end. Some moves — like QOF elections or specific lot identification for any remaining open positions — have hard deadlines tied to sale dates or year-end, and getting the strategy wrong costs more than the advice.

Lena M.

Author

Probably smart to at least get a consult before I sell the remaining positions. Thanks for saying it plainly.

Specific identification of lots on open positions — before you sell anything else, tell your broker you're using specific ID rather than FIFO. That lets you choose which lots to sell and therefore control which holding period and cost basis applies. You can't go back and change it after the trade. Worth a call to your broker to confirm they support it and how to designate it.

Lena M.

Author

My broker does support specific ID. I never actually activated it — been defaulting to FIFO. Switching that before I close my remaining positions could make a real difference on those two long-term lots.