Should I sell taxable investments with large gains for a condo down payment?

Trying to figure out if selling taxable investments with large gains for a condo down payment actually makes sense tax-wise. I have a brokerage account with index funds I've held for about 4 years, so all long-term. The gains are pretty significant relative to what I put in. My plan was to liquidate enough to cover a 20% down payment on a condo I want to buy next spring. I ran some rough numbers but I'm not sure I'm accounting for the capital gains tax hit correctly, and I don't know if there's a smarter way to sequence this or spread it across two tax years. I already maxed my IRA for the year. Is selling the full amount in one shot the wrong move, or does it not matter much if the gains are all long-term anyway?

35 comments

What's your rough taxable income look like this year versus next? That's the question I'd start with before anything else. Long-term capital gains rates depend on your overall taxable income for the year, and jumping into a higher bracket just from the sale could cost you more than you expect. The IRS rates and thresholds are on Topic 409 at irs.gov rather than a fixed number I'd want to quote here.

Naomi D.

Author

This year is probably my higher year because of a bonus. Next year should be lower. That's actually making me think splitting the sale across December and January could help, but I don't know how much of a difference it realistically makes.

Splitting across two tax years is a real strategy and worth modeling carefully. I did something similar when I sold appreciated shares to fund a move. I uploaded my 1099-B and my draft return to taxr.ai and asked it to map out what each tranche would add to my taxable income and where the rate thresholds landed. It flagged that selling even a small amount more in the high-income year pushed gains into the next bracket. Knowing that made it easy to decide exactly how much to sell in December versus January.

Naomi D.

Author

That's exactly the kind of modeling I need. Did you just upload the 1099-B, or did you also need your W-2 to get the full income picture?

I uploaded both. The 1099-B alone doesn't tell you where you land on the rate schedule without knowing your other income. Having the W-2 and the 1099-B together gave it enough to show the full picture.

Are you in a state with its own capital gains tax? Because some states tax long-term gains as ordinary income, and that can change the math a lot. I'm in a state like that and the state bite was almost as painful as the federal side when I sold a big position.

Naomi D.

Author

Good point, I hadn't really factored the state side in. I'm in a state that does tax capital gains. I'll need to look at that separately.

State treatment varies so much that it really can swing the total cost by several percentage points. Worth checking your state revenue department's site for the exact rate before you model anything.

Have you thought about whether you actually need the full 20% from investments, or if a slightly smaller down payment funded partly from cash savings changes the tax picture enough to matter? Sometimes the PMI cost on a slightly smaller down is less than the capital gains tax on the incremental shares you'd have to sell.

Naomi D.

Author

Honestly I hadn't run that comparison. I was fixated on hitting 20% to avoid PMI but you're right that the PMI cost vs the tax cost is a real tradeoff I should actually model.

Long-term capital gains go on Schedule D and flow through Form 8949. Each lot you sell gets its own row on 8949 showing date acquired, date sold, proceeds, cost basis, and the gain. Your broker will send a 1099-B in February showing all of that, and if basis was reported to the IRS you'll check box D in Part II of Form 8949. Worth knowing now so the forms don't surprise you in spring.

Does your brokerage use average cost or specific identification for the fund lots? If you can use specific ID you might be able to sell only the lots with the smallest gains first and keep the most appreciated shares invested longer. Not all brokers let you specify lots for mutual funds the same way they do for ETFs.

Naomi D.

Author

I think mine defaults to average cost for the funds. I should check if I can switch to specific ID before I place the order, because selling the lower-gain lots first makes a lot of sense.

Check before you sell anything. Once a sale settles under average cost it's hard to go back and claim specific ID for that transaction. The election usually has to be made at the time of the sale.

The holding period rule is worth confirming lot by lot. Per Publication 550, counting starts the day after the trade date you bought and ends on the trade date you sell. You said four years but if any lots were added more recently through reinvested dividends, those could still be short-term and taxed differently.

Naomi D.

Author

Reinvested dividends, I hadn't thought of that. Those would each be their own lot with their own purchase date. That could mean some short-term lots buried in there.

Exactly. Your brokerage should break it down lot by lot on the 1099-B. Some brokers also let you see the breakdown in your account before you sell, which helps you plan.

Worth asking: are you carrying any capital loss carryforwards from prior years? If you have losses carried forward on Schedule D, they'd offset the gains from this sale dollar for dollar, which could change the whole calculation. I had a situation last year where I thought I had a big tax bill coming and I ran my Schedule D and the carryforward worksheet through Taxr — it walked through the Capital Loss Carryover Worksheet line by line and showed exactly how much of the gain the carryforward would absorb.

Naomi D.

Author

I had some losses back in 2022 but I honestly don't remember if I fully used them or carried any forward. I should dig up my prior-year Schedule D.

Line 16 of Schedule D on your most recent return shows the net. If the number is negative, some of that may have carried forward. The carryforward worksheet in the Schedule D instructions or Publication 550 shows how to trace it.

Is the condo you're buying going to be your primary residence? Just checking because that matters for future planning, not for the sale you're doing now. If you later sell it and have a gain, the primary residence exclusion rules under Publication 523 have ownership and use tests that are worth knowing going in.

Something I wish I'd considered when I sold appreciated shares: the net investment income tax can apply on top of the regular long-term rate depending on your modified AGI. It's not reflected in the basic rate tables. The instructions for Form 8960 explain when it kicks in. Caught me off guard the first time.

Naomi D.

Author

Form 8960 is new to me. So there's potentially an additional layer on top of the long-term rate? I'll have to look at that form's instructions.

Yes, it's a surtax on net investment income. Whether it applies depends on your MAGI against a threshold the instructions specify. If your income is well below the threshold it may not matter, but if you're near it the sale proceeds could push you over.

Before I sold a large position to fund a purchase, I pasted my cost basis lot detail and my prior-year Schedule D into Taxr and had it draft a comparison showing my estimated tax under three scenarios: sell all in one year, split across two years, sell only lower-gain lots. The comparison made the decision obvious. It also flagged the net investment income question for my income level, which I would have missed.

Naomi D.

Author

That three-scenario comparison is exactly what I need. I'm going to try that with my own documents.

Are you planning to reinvest the proceeds anywhere between selling and closing on the condo? If you park cash in a money market or T-bills while you wait, the interest or dividends are ordinary income, which is a separate consideration from the capital gains.

Going back to the two-tax-year question: the trade date is what determines which year the gain falls in, not the settlement date. Per Publication 550, for securities on an established market, the holding period and reporting go by trade date. So if you place the sale order on December 31 and it settles in January, the gain is in the December year.

That's an important clarification. A lot of people assume settlement date controls and end up with the gain landing in the wrong year for their plan.

Has anyone mentioned estimated tax payments? If the sale is big enough and you're not having enough withheld from wages to cover the new liability, you could owe an underpayment penalty. Worth checking whether you need to make a payment when you sell rather than waiting until April.

Naomi D.

Author

I completely forgot about estimated payments. So I might need to send something to the IRS in the same quarter I sell, not just at filing?

Exactly. The IRS quarterly payment schedule and the safe harbor rules are in the Form 1040-ES instructions. The safe harbor based on prior-year tax is one way people avoid the penalty even if they owe more at filing.

One scenario worth considering: if the gains are very large relative to your income, a CPA or enrolled agent could do a full projection before you sell anything. The interaction of the long-term rate bracket, the net investment income surtax, state tax, and the estimated payment timing is a lot to get right on your own, and a mistake in the sequencing costs real money.

Naomi D.

Author

I think I'm going to do the modeling first to understand the numbers, then bring it to a CPA before I actually pull the trigger. I didn't realize how many layers there were to this.

To pull the thread back to the original question directly: the answer to whether you should sell depends on whether the tax cost is worth it compared to alternatives like a smaller down payment, a different loan structure, or waiting a year. None of those are automatically better. The tax hit is real but so is the opportunity cost of not buying. Model it first, then decide.