Capital gains tax on selling stocks awarded in divorce to pay spouse — who owes what?

Going through a divorce settlement that was finalized last year. The decree awarded me a brokerage account with about 40 shares of two different company stocks. The agreement says I have to liquidate roughly half and transfer the cash to my ex within 90 days. I did that — sold the shares in my name and wired the money. Now tax season is here and my 1099-B shows proceeds from those sales. I'm trying to figure out if I owe capital gains tax on the full sale, or if the divorce transfer somehow changes things. My cost basis listed on the 1099-B looks like it came from the original purchase date, long before the divorce. I've looked at Schedule D and Form 8949 but I'm not sure how to treat these sales. Does the fact that I was required to sell to pay my ex change my tax liability at all?

37 comments

Form 8949 is where this lands, and the short answer is yes — you generally owe the capital gains tax on those sales even though you were ordered to sell. The divorce decree doesn't shift the tax liability to your ex. You acquired the shares, you sold them, the gains are yours. Your basis is what matters most here. If the brokerage used the original purchase price as your cost basis, that's likely correct — the transferred basis from your spouse carries over to you under IRC 1041 rules for property transferred incident to divorce. So you inherited whatever holding period and basis they had.

Lena B.

Author

That's what I was afraid of. The shares were bought years ago so the basis is low and the gains are significant. So I'm stuck reporting this on Form 8949 as a normal sale, long-term since the original purchase was over a year ago?

Correct on the long-term treatment. Per Publication 550, the holding period of the original owner carries over when property is transferred incident to divorce. So if the original purchase was more than a year before your sale date, it's long-term on Form 8949 Part II.

Worth double-checking whether the account transfer itself was done correctly before the sale. If your ex's shares were transferred to your account first and then you sold them, the tax treatment is what everyone here is describing. But if somehow the shares were sold while still in a joint account or your ex's account, the 1099-B may not even be in your name. What does the 1099-B header say?

Lena B.

Author

1099-B is definitely in my name, my SSN on it. The shares were moved into my individual account after the decree and then I sold them from there.

That confirms it then. The sales are yours to report. The basis should reflect the original cost (carried over from your spouse), not the fair market value at the time of the divorce transfer — that's the part that trips people up.

Went through almost the exact same situation two years ago. I uploaded my 1099-B, the settlement agreement, and my prior year Schedule D to taxr.ai and it walked through what carried over and what didn't — specifically it checked whether the basis on each lot matched what the decree said was transferred. Really helped me see which sales were long-term vs. short-term before I touched Form 8949. Worth doing if you have multiple lots with different purchase dates.

Lena B.

Author

Multiple lots is exactly my issue — one stock has four different purchase lots according to the brokerage. I didn't realize each lot could have a different holding period. That's making this more complicated than I expected.

Each lot on Form 8949 gets its own line. The holding period runs from the original purchase date of that specific lot, not from when it was transferred to you or when the decree was signed. Your brokerage's cost basis detail report should show each lot separately.

Schedule D line 8a is only available if there are no adjustments needed and basis was reported to the IRS (box D on Form 8949). If any of your lots have a different basis than what the 1099-B shows — which can happen when the original brokerage didn't pass the cost basis info correctly — you'd need to list them individually on Form 8949 Part II with a code B in column (f), the basis shown on the 1099-B in column (e), and the correction as an adjustment in column (g).

Lena B.

Author

How do I know if the basis transferred correctly? The 1099-B shows a basis number for each lot but I have no way to verify it against the original purchase records.

Ask your brokerage for the full cost basis detail — most have it in the account history or a separate document. Compare it to whatever records your ex can provide about the original purchases. If numbers don't match and you use the wrong basis, that's what triggers a CP2000 later.

Something people miss: the cash you wired to your ex after selling is not deductible. You can't subtract it from your proceeds on Schedule D. You sold the stock, you have gains, and what you do with the cash afterward — including paying it to a former spouse per a court order — doesn't reduce the taxable amount.

Feels really unfair, but it's accurate. The obligation to pay your ex is a separate matter from the tax on the sale. The IRS sees a sale at market price, full stop.

Lena B.

Author

Yeah I figured that was probably the case but was hoping there was some exception. No such luck apparently.

If your capital losses from other sales this year exceed your gains from these divorce-ordered sales, you can use those losses to offset. Net everything on Schedule D first. Any net capital loss you end up with after all that is limited in what you can deduct against ordinary income — the specific limit is on Schedule D line 16 and flows to Form 1040 line 7a. Check Topic 409 on irs.gov for the deduction cap.

Dealing with divorce and stock sales together is genuinely one of the messier situations at tax time. I had Taxr read through my Form 8949 draft line by line against my 1099-B and the settlement agreement — it flagged two lots where the holding period I had entered didn't match the original trade dates, which would have made them short-term instead of long-term. Saved me from understating my basis period on those. The holding period rule from Publication 550 is that for securities traded on an established market, you count from the day after the trade date you bought to the trade date you sold.

Lena B.

Author

That holding period rule — day after trade date to trade date sold — that's what I need to apply to each of the original purchase lots from before the divorce? Not from when they were transferred to my account?

Exactly right. The transfer to your account incident to divorce is invisible for holding period and basis purposes. You step into your spouse's shoes on the date they originally bought each lot.

1099-B box 1e is your cost basis as reported by the broker, and box 1d is your proceeds. If box 1e is blank or wrong, you correct it on Form 8949 Part II. Check the box D or E — box D means the broker reported the basis to the IRS, box E means they didn't. That changes which column you use for your correction per the Form 8949 instructions.

Lena B.

Author

Mine shows box D checked on the 1099-B. So if I need to correct the basis, I enter what the broker shows in column (e) of Form 8949 and put the adjustment in column (g), right?

Yes — when box D (basis reported to IRS) is checked and you need to correct it, you enter the broker's basis in column (e) exactly as shown, then put the difference as a negative number in parentheses in column (g) with code B in column (f). Don't put the corrected basis directly in column (e) when D is checked.

Worth knowing: if your divorce was finalized and the property transfer happened within one year of the marriage ending, it's automatically considered incident to divorce. Beyond one year, it has to be related to the cessation of marriage per the settlement agreement to get that treatment. That affects whether the basis carryover rules apply at all.

This is a real nuance and the specific rules come from IRC 1041 and Treasury regulations. If there's any question about whether the transfer qualifies as incident to divorce, that's worth confirming with a CPA or tax attorney before you file — the basis treatment is completely different if it doesn't qualify.

Are there state taxes in play here too? Capital gains treatment varies significantly by state. Some states tax capital gains as ordinary income with no favorable rate. That's a separate calculation from federal Schedule D but can add up fast on a large gain from a low-basis lot.

Lena B.

Author

I'm in a state that taxes capital gains as ordinary income so yes, that's also a factor. I hadn't thought through the state side yet — I've been focused on the federal Form 8949 piece.

If the gains are large enough, don't forget the net investment income tax. It applies to investment income above certain thresholds based on your filing status. It's computed on Form 8960 and flows to your Form 1040. The thresholds are in the Form 8960 instructions — I won't guess at a number here.

Form 3921 doesn't apply here since these are ordinary brokerage shares, not ISOs — just want to flag that in case anyone finds this thread looking for ISO treatment after divorce. For regular stock the 1099-B and Form 8949 are the whole story. I had a situation with multiple transferred lots and uploaded both my settlement agreement and the full cost basis detail from my brokerage to Taxr — it built me a worksheet showing each lot, the original trade date, the carried-over basis, and the resulting gain or loss per lot. I reviewed every line and then filled Form 8949 myself from that. Made the multi-lot situation much more manageable.

Lena B.

Author

The multi-lot worksheet idea is exactly what I need. I have four different purchase dates across two stocks and I keep getting confused about which lot maps to which line on Form 8949.

Publication 551 at irs.gov has the section on transferred basis that explains what carries over when property changes hands in ways that aren't arms-length sales — the divorce transfer falls under that framework. Useful to read alongside Publication 550's section on holding periods if you want to understand the mechanics, not just the result.

One thing I'd flag: if any of the lots you sold were acquired by your spouse through an employee stock purchase plan or as RSUs, the original cost basis calculation can be more complicated — there may have been compensation income included at acquisition that affects the basis. Worth checking whether any lots have a note in the brokerage's cost basis detail about compensation income.

Lena B.

Author

I checked and all four lots were open-market purchases, no RSUs or ESPP. So I think the basis is straightforward — just the original purchase price plus any commissions.

That simplifies things considerably. Open-market purchases with a clear purchase price and commission are exactly what the basis carryover rules are built for. Your 1099-B should show the right number if the broker transferred the cost basis data when the account moved.

The wash sale rules are worth checking too. If you (or a current spouse, but not a former spouse after the divorce) bought substantially identical shares within 30 days before or after the sales you made, a wash sale could disallow part of any loss. Publication 550 covers this — the wash sale rules even apply if a spouse buys the substantially identical stock. Probably not an issue if you're selling at a gain, but if any lot sold at a loss, check that window.

Lena B.

Author

All my sales were at a gain so wash sale isn't a concern here, but that's genuinely useful to know for the future. I didn't realize the spouse rule extended the wash sale window.

To pull this together for you: each lot goes on its own line of Form 8949 Part II (long-term) with box D checked since your broker reported basis to the IRS. Column (d) is proceeds from the 1099-B, column (e) is the broker's basis, columns (f) and (g) are blank if no adjustment is needed. Everything flows to Schedule D. The cash you paid your ex doesn't reduce your gain. The holding period runs from the original purchase date of each lot.

Lena B.

Author

Finally a rundown I can actually follow start to finish. Thank you. I think I have enough to actually fill this out now — going to pull the full cost basis detail from my brokerage first to verify each lot before I enter anything.