Can you offset capital gains with ordinary losses?

Trying to figure out if I can offset capital gains with ordinary losses this year. I sold some stock in February and ended up with about $8k in short-term capital gains on my 1099-B. At the same time my Schedule C business had a net operating loss. I assumed I could just net everything together on my return but my tax software is treating them in separate buckets and I'm not sure if that's right or if there's a way to combine them. Already read through Topic 409 but it only talks about losses from capital sales. Does a business loss on Schedule C actually flow through and reduce capital gains, or are they completely walled off from each other?

27 comments

Short answer: ordinary losses can reduce capital gains, but not through the capital loss rules — through your overall taxable income calculation. A Schedule C net loss flows to Schedule 1, Line 3, then to Form 1040 Line 8, reducing your adjusted gross income. Capital gains also land in AGI. So yes, a Schedule C loss can effectively offset capital gain income when they're both sitting in AGI. Your software is probably right to show them in separate buckets but the net effect still reduces your taxable income.

Chris A.

Author

ok that actually makes sense, so the netting happens at the AGI level not on Schedule D itself. thanks, I'll check Schedule 1 Line 3 to see how the software is handling it.

The buckets thing confused me too when I first ran into it. Capital gains get their own Schedule D calculation, but once Schedule D spits out a net number it flows to Form 1040 just like everything else. A big Schedule C loss can wipe out the capital gain income entirely at that point.

Worth separating two different things here. What you're describing — a Schedule C loss reducing capital gain income in AGI — is different from capital losses offsetting capital gains. Capital losses (from selling securities at a loss) have their own rules on Form 8949 and Schedule D and are limited to $3,000 against ordinary income when losses exceed gains. But ordinary business losses don't have that same $3,000 cap in the way capital losses do. They flow through AGI and can offset more income.

Chris A.

Author

that's the distinction I was missing. the $3k limit is on capital losses going against ordinary income, not on ordinary losses going against capital income. really helpful.

I had this exact setup last year — Schedule C loss and stock sale gains on a 1099-B in the same return. I uploaded both documents to taxr.ai and had it walk through the flow from Schedule C to Schedule 1 to Form 1040 line by line for my situation. It mapped out exactly where the numbers landed and confirmed my software was doing it right. The Schedule C loss reduced my AGI below the capital gain amount entirely. What matters is whether the Schedule C loss gets limited first by passive activity or at-risk rules before it even hits AGI.

Chris A.

Author

good call flagging at-risk and passive rules — my Schedule C is active freelance work so I think I'm fine there, but worth double-checking.

One thing that can complicate this: net operating losses. If your Schedule C loss plus other deductions are large enough to push your total income negative, you might be dealing with an NOL, which has its own carryforward rules rather than just disappearing. For a single-year situation like you're describing where the loss partially offsets the gain it's simpler, but keep an eye on whether you end up with negative taxable income.

This is worth paying attention to. If taxable income goes negative you're in NOL territory and the carryforward rules under section 172 apply. The instructions for Schedule D and Form 1040 won't tell you that — you'd need Publication 536.

Your software putting them in separate buckets is correct behavior. Schedule D does its own netting of capital transactions first. Then whatever net capital gain or loss comes out of that flows to Form 1040. The Schedule C loss flows separately through Schedule 1. The IRS adds them all up at the Form 1040 level. So yes, a Schedule C loss offsets capital gain income — just not by mixing inside Schedule D.

Something people get wrong here: the $3,000 capital loss limitation only applies to excess capital losses (losses that exceed capital gains) flowing against ordinary income. It has nothing to do with ordinary losses flowing against capital income. Those are two different directions. OP's question is the second direction and there's no cap on it the same way.

right, the cap is asymmetric. excess capital losses hitting ordinary income = $3k limit. ordinary losses hitting capital gain income = no equivalent wall at the AGI level.

Dealt with this when I sold RSUs in a down year for my consulting business. I gave Taxr my Schedule D and my Schedule C and asked it to check whether the numbers were landing in the right places on Form 1040. It read through each line and flagged that my software had a passive loss limitation I hadn't noticed, which changed how much of the Schedule C loss was actually usable against the gains that year. Really changed the picture for me. The at-risk and passive rules are the main thing that can block an ordinary loss from flowing freely into AGI.

Chris A.

Author

the passive loss flag is exactly what I need to watch for. my work is active but I want to confirm that before I file.

Another layer: if you have short-term capital gains (held one year or less, counting from the day after purchase through the trade date of sale) they're taxed as ordinary income anyway. So offsetting them with ordinary losses isn't even a cross-category issue — it's all ordinary-rate income once it flows through. Long-term gains are different and get the preferential rate on Schedule D.

Chris A.

Author

mine from the original post are short-term so this applies. either way the Schedule C loss should help at the AGI level.

The at-risk rules under section 465 and passive activity rules under section 469 are worth reading if your Schedule C business involves any kind of investment, rental element, or limited participation. For straight active freelance work you're usually fine and the full loss flows through. But if there's any ambiguity in how active your participation is, that determines how much of the loss you can actually use in the current year.

I want to be precise about one thing from earlier in the thread. Someone said there's "no equivalent wall" for ordinary losses hitting capital income. That's true at the AGI netting level. But at-risk and passive loss limitations can effectively create a wall before the loss even reaches AGI. So the loss might not be fully usable in the current year depending on those rules — it's not that the capital gain is protected, it's that the ordinary loss might be limited upstream.

fair correction. the limitation is upstream of AGI, not between categories inside AGI. same practical effect in those cases but the mechanism is different.

If your total picture this year has significant numbers — a large capital gain, a large business loss, possible NOL — it might be worth sitting with an enrolled agent or CPA before you file. The interaction between Schedule C, passive rules, and Schedule D can create surprises in edge cases and an error in one of the upstream forms changes your whole return.

I ran into the passive loss issue with a side business that had losses one year and capital gains from selling some index funds. I gave Taxr the Schedule C with the passive activity question and asked it to work through the Form 8582 passive loss limitation worksheet for my numbers. It went through the lines and showed me how much of the loss was suspended versus currently usable. That suspended piece couldn't touch my capital gains that year. So the question isn't just whether ordinary losses can offset capital gains in theory — it's whether your specific loss clears the at-risk and passive hurdles first.

Chris A.

Author

Form 8582 is new to me — I'll check whether that applies to my situation. If my activity is non-passive I shouldn't need it but good to know the form exists.

To put it plainly: there is no rule that says capital gains are shielded from ordinary losses. The IRS taxes your total income and both items flow into that calculation. The Schedule D rules govern how capital gains and losses net among themselves, and the $3,000 rule governs excess capital losses going the other way. Neither rule blocks an ordinary loss from reducing total income that happens to include capital gains.

The capital gain and loss rules are laid out in detail in Publication 550 at irs.gov, and Topic 409 covers holding periods and the loss deduction limit. For the Schedule C side, the at-risk rules have their own instructions. Reading the Form 8582 instructions tells you whether passive rules apply to your activity and how to figure any limited amount.

Form 8582 instructions are the right place for passive loss. If the activity is non-passive the form doesn't apply, but the Schedule C loss can still be limited by the at-risk rules or the excess business loss limit before the rest flows to Schedule 1.

Worth checking one more thing: state taxes. Some states don't follow federal treatment and may require separate calculation of capital gains and ordinary income. The federal answer here is clear — ordinary losses reduce overall taxable income including capital gain income at the AGI level — but your state might have its own rules.

Chris A.

Author

good reminder. I'm in a state with its own income tax so I'll check that separately. federal side sounds clear now thanks to this thread.