Can I fight capital gains tax after broker forced liquidation over I-94?

My broker closed all my positions last October because my I-94 showed my authorized stay had ended while I was waiting on an extension. They sold everything — ETFs, a few individual stocks, some of which I'd held for over two years. No warning, just a letter saying the account was restricted and then liquidated. Now I'm looking at a 1099-B with significant gains I never chose to realize. I've since sorted out my immigration status and I'm back to being a lawful resident. I already called the broker and they said the forced liquidation was their policy. My question is whether I can fight capital gains tax after the broker forced liquidation over my I-94 situation. Can the involuntary nature of the sale change how these gains are taxed, or do I have a legal argument that the proceeds shouldn't be treated as a realized gain at all? Has anyone dealt with this or found any IRS guidance?

30 comments

Dealt with something adjacent — not an I-94 issue but a margin call forced liquidation. The short answer I got from my CPA is that the IRS treats a forced sale the same as a voluntary one for capital gains purposes. The trigger doesn't matter; the gain is realized at the moment of sale. Your 1099-B is going to reflect those proceeds and your cost basis, and Schedule D and Form 8949 are where it lives.

Elena K.

Author

Next step I'm on is confirming the holding periods. If the broker got the trade dates right on the 1099-B, at least some of these should qualify as long-term since I'd held them over a year. That would at least lower the rate.

Had Taxr (taxr.ai) go through my 1099-B and my actual brokerage statements side by side when I had a messy forced-sale situation. It flagged two positions where the broker had the acquisition date wrong, which would have made long-term gains look short-term. Worth doing that check here because the holding period on Form 8949 column (b) and (c) has to match your actual trade date in, not whatever the broker entered. The IRS looks at when you acquired the asset and when the sale trade date was — settlement date doesn't count for securities on an established market.

Elena K.

Author

That's a really practical point. I do have my original purchase confirmations. I'll pull those and compare against what the broker reported in columns (b) and (c).

The civil argument against the broker (breach of contract, negligence) is separate from the tax question. Even if you sue and win damages, that doesn't undo the realized gain for IRS purposes in the year of sale. Those are two different tracks.

This is worth emphasizing. A settlement payment from the broker would itself be a separate taxable event depending on what it's compensating for. Don't assume winning a claim nets out the tax.

Elena K.

Author

Not planning to sue but good to know the tracks don't cross. The tax problem is the more urgent one right now.

Your immigration status at the time of the sale matters a lot for how the gain is taxed. If you were a nonresident alien at the moment of liquidation — which the broker may have believed based on the I-94 — your U.S. tax treatment on capital gains from securities is different than for a resident. Whether you file as a resident or nonresident for 2024 depends on the substantial presence test or your green card status, not just what the broker thought.

Elena K.

Author

This is the part I'm least sure about. My extension was pending so there's an argument I was still in lawful status. I'm going to need to work through the substantial presence test for the year carefully.

If you end up as a dual-status filer for the year, the rules get more complicated and a tax professional familiar with nonresident returns would be worth the consult. An enrolled agent who handles international returns specifically.

For the gains themselves, what determines short vs. long-term is straightforward: more than one year from the day after your acquisition trade date to your sale trade date is long-term, one year or less is short-term. Publication 550 at irs.gov has the holding period rules laid out clearly. Make sure the broker used trade dates on the 1099-B, not settlement dates.

My brokerage did something similar when my work visa status changed and there was a gap in records. I had Taxr read through the 1099-B, the account statements, and the acquisition confirms together and it listed out every position with the computed holding period and flagged which ones the broker had coded wrong. That list is what I brought to my enrolled agent, and it saved a lot of back-and-forth time. The coding on Form 8949 — which box you check, what goes in column (f) and (g) — depends entirely on whether basis was reported to the IRS and whether any adjustments are needed. Get that mapping right before you file.

Elena K.

Author

Column (f) and (g) are where I keep getting confused. I'll try that approach with my statements and confirms.

Box A or D means basis was reported to the IRS. Box B or E means it wasn't. If the basis on the 1099-B is wrong you use code B in column (f) and correct it in column (g) — the method depends on which box you checked. The Form 8949 instructions walk through it.

There's no IRS provision that makes a forced liquidation nontaxable just because it was involuntary. The only involuntary conversion relief I know of (Section 1033) applies to things like property destroyed by casualty or condemned by a government — not a broker policy action. So that angle probably doesn't apply here.

Confirmed this myself when I looked into it. Section 1033 is specifically about property converted through destruction, theft, seizure, condemnation or threat of condemnation. A brokerage restriction doesn't qualify.

Worth checking whether any of the forced sales created a wash sale issue. If you bought back into any of the same positions within 30 days before or after the liquidation sale date — in any account including an IRA — the loss on those positions would be disallowed. The disallowed loss gets added to the basis of the repurchased shares instead, unless the repurchase was in your IRA or Roth IRA, in which case it isn't added to basis at all. If you have gains, wash sales probably help you, but worth knowing the rule either way.

How did the broker even have the authority to liquidate? Most brokerage agreements have a clause for status changes but I'd read the account agreement carefully. If they violated the terms, that's a conversation for a securities attorney, separately from the tax side.

If your gains are mostly long-term, the rate that applies depends on your taxable income for the year — the Schedule D instructions and Publication 550 tell you which bracket applies. Don't assume the worst rate. Run the numbers once you've confirmed all the holding periods.

Elena K.

Author

Most of what I held was for 14 to 26 months so hopefully most comes out long-term once the dates are confirmed.

When I had a dispute with my broker over a forced liquidation, I had Taxr draft a written summary of the positions, the holding periods, and the basis discrepancies I'd found, and I used that as the starting document when I talked to my CPA. It didn't file anything or contact the broker — I did all of that myself — but having a clean organized document made the professional conversation much shorter. For the tax side: even if you can't undo the gains, confirming correct basis and holding periods could meaningfully change what you owe. The 1099-B cost basis isn't always right, especially with older positions.

Elena K.

Author

This is basically my plan now. Get the correct holding periods confirmed, check the basis, then bring the organized picture to an enrolled agent who does international returns.

One angle that hasn't come up: were any of the positions sold at a loss? Capital losses offset capital gains on Schedule D, and if losses exceed gains, there's a limit on how much of the net loss you can deduct against ordinary income in one year — the Schedule D instructions have the exact figure and the carryover worksheet for the rest.

Elena K.

Author

A couple of the ETFs were sold at a loss actually. Good reminder that those flow through Schedule D as offsets. I'll make sure I don't miss them.

Something specific to check: on the 1099-B, box 1b is the acquisition date and box 1c is the sale date. If those dates look off, the holding period coding might be wrong. Also check box 1e for cost basis and box 1g for any wash sale loss disallowed. If you have gains and no wash sale issues, box 1g should be blank or zero.

The residency status question is really the pivotal thing here and I'd want it resolved before doing anything else. If you're filing as a nonresident alien for all or part of the year, you might not even file a Form 1040 — you'd file Form 1040-NR and the treatment of U.S.-source capital gains is different. Get that threshold question answered by someone who handles dual-status returns.

Agreed. The 8949 and Schedule D work is the same mechanical process, but which form you file and how the gains are taxed at the top level depends entirely on residency status for the year.

Brokers report to the IRS on the 1099-B what they sold and what they had as basis. If the basis is wrong, you report the corrected basis on Form 8949 — you don't just accept what the 1099-B says. Use code B in column (f); with box A or D checked, put the broker's basis in column (e) and the adjustment in column (g), but with box B or E checked, put the correct basis in column (e) and -0- in column (g). The Form 8949 instructions at irs.gov explain the column (g) sign convention: a negative adjustment (in parentheses) when your correct basis is higher than what the broker reported.

To summarize where this thread has landed: the forced nature of the liquidation doesn't give you a tax escape, but you do have real levers — correcting holding periods, correcting cost basis, offsetting with any losses in the same liquidation. The residency question is the wildcard. An enrolled agent with international return experience is the right call before you file.

Elena K.

Author

Appreciate the summary. My action list: pull original purchase confirms, map them against the 1099-B dates and basis, sort out the residency question with a professional, then bring the corrected picture to an EA before filing.