Should I sell ETFs for a house down payment in a few years?

Been putting money into broad index ETFs for a few years now and I'm starting to think seriously about buying a house. Probably 2-3 years out. My brokerage account has a decent chunk sitting there and I keep going back and forth on whether I should just leave it invested and cash out when the time comes, or start moving it to something safer now. The part that worries me is the tax hit. I know I'll owe capital gains when I sell but I'm not totally sure how that works when it comes to the actual timing, short vs long term, etc. And I don't know if there's a smarter way to structure this so I'm not handing a big chunk to the IRS right before closing. Has anyone actually sold ETFs for a house down payment in a few years? How did you think through the tax side of it?

32 comments

I did exactly this sale two years ago. The thing that surprised me most was how much the short-term vs long-term split mattered. Shares I'd held over a year got long-term treatment, ones under a year got short-term. The IRS counts from the day after you bought to the day you sell (the trade date, not settlement). So I ran my purchase dates carefully before I sold anything.

Darius M.

Author

This is basically where I'm at - trying to figure out which lots are over a year. My brokerage shows the lots but I wasn't sure if I could pick which ones to sell first.

Yeah you can usually specify the lots when you place the sell order. Called specific identification. Worth calling your broker to confirm they support it and that the election is locked in before you sell.

I had Taxr at taxr.ai read through my brokerage statements when I was planning this. It went lot by lot and flagged which ones would be short-term vs long-term based on trade dates, and estimated what the gain column would look like on Form 8949. Saved me from accidentally selling a batch that were 11 months old when I could've waited 5 more weeks for long-term treatment.

Darius M.

Author

A lot-by-lot pass like that is what I need to do. I keep meaning to sit down with my statements but it's honestly a lot of rows.

The holding period rule is worth repeating clearly: more than 1 year held = long-term, 1 year or less = short-term. And for ETFs traded on a stock exchange, the holding period starts the day after your trade date purchase and ends on your trade date sale. Settlement date doesn't count. That date math can flip a gain from short to long if you're close to the line.

Didn't know it was trade date not settlement date. That's actually useful right before you're about to sell.

My situation: I sold in December and my income that year was lower than usual because I'd changed jobs. That actually changed how much tax I owed on the long-term gains. The rate on long-term capital gains depends on your taxable income for the year, so if you have any flexibility on when in the year you sell, it's worth looking at where your income will land. The Schedule D instructions and Topic 409 on irs.gov lay out the brackets.

Darius M.

Author

I'm salaried so my income is pretty predictable. But I hadn't thought about timing the sale to a lower-income year. Something to think about.

Worth knowing: if your capital losses in a year exceed your gains, you can only deduct a limited amount of that net loss against your other income - the cap and carryover rules are on Topic no. 409 on irs.gov. For planning a down payment sale you're probably hoping for gains, not losses, but if the market dips before you sell it matters.

Uploaded my 1099-B to Taxr last spring when I was doing something similar. It read each row, matched the proceeds to the cost basis boxes, and flagged where box 1g had a wash sale amount entered. I didn't even realize I had a wash sale from a reinvestment the month before. That's a code W situation on Form 8949 column (f) and you can't deduct that loss even if the broker doesn't report it - Publication 550 is clear on that.

Darius M.

Author

Wait wash sales can come from reinvestments? I have dividend reinvestment turned on. I should check that.

Yes, automatically reinvested dividends buy more shares. If you sold at a loss within 30 days before or after the reinvestment purchased substantially identical shares, it's a wash sale. The disallowed loss gets added to the cost basis of the new shares instead.

Planning-wise: a few years out is actually pretty good runway. I moved my ETF positions into a HYSA about 18 months before closing so I didn't have to worry about a market drop right before I needed the money. The tax hit was what it was, but at least I knew the number.

Similar move here, did it about 14 months out. Timing it so the lots were long-term first helped a lot.

One thing people skip: your cost basis method matters. FIFO (first in, first out) is the default at most brokers, but if you haven't elected a method, you might be forced to sell your oldest lots first even if that's not what you want. Check what your broker has on file and whether you can switch to specific identification before you place any sells.

Darius M.

Author

I actually don't know what my broker defaults to. Adding that to my list to check.

The Form 8949 side of this isn't that bad if your broker reports covered securities with basis reported to the IRS. Those go in Part I box A (short-term) or Part II box D (long-term) on Form 8949, then roll up to Schedule D. If the basis on the 1099-B is wrong for any reason you adjust in column (g) with code B in column (f). The instructions for Form 8949 at irs.gov walk through every code.

Didn't realize there were two separate parts for short vs long term. Assumed it was one big list.

I sold ETFs two years before we bought and honestly the market timing stress was worse than the tax stress. Having a known cash number in a money market was way less anxiety than watching the balance fluctuate when we were 6 months from needing it. Tax planning matters but so does just sleeping at night.

When I was mapping out the gain on each lot before selling, I ran the whole thing through Taxr. It went line by line through my cost basis history and laid out the expected Form 8949 entries: proceeds column, cost basis column, whether each row would be short or long. Made it much easier to decide which lots to actually sell and which to hold past the one-year mark.

Darius M.

Author

This is basically the exercise I need to do. I know which ETFs I hold but I've never mapped it out lot by lot like that.

Something to keep in mind if you're a couple filing jointly vs single: the long-term capital gain rate thresholds are different, though the net capital loss you can deduct in a given year against ordinary income is $3,000 either way ($1,500 only if married filing separately). Those limits are in Topic no. 409 and the Schedule D instructions - worth looking before you finalize timing.

I'd flag one potential confusion I see in threads like this: the home sale exclusion that lets you exclude gain on selling a *home* has nothing to do with gains from selling ETFs to fund the down payment. Those are completely separate. Your ETF gains are capital gains on investment property, full stop. The home sale rules in Publication 523 are only about gain on the house itself when you later sell it.

Honestly glad someone said this. I see people mix these up constantly.

Darius M.

Author

Yeah I wasn't conflating them but I can see how someone would. Good to have it spelled out clearly.

Bought last year and sold a mix of lots in the two years before. The 1099-B I got showed the box 1a descriptions, box 1b and 1c dates, proceeds, cost basis and in one case a box 1g wash sale amount I didn't expect. That box 1g amount is the disallowed loss - you still have to report it on Form 8949 with code W even if the loss doesn't help you that year.

The wash sale disallowed amount gets added to the basis of the replacement shares, which matters later when you sell those.

Practically speaking: once you decide which lots to sell and when, the reporting flows are Form 8949 → Schedule D → Form 1040. The 1099-B your broker sends in January will have most of what you need for 8949. Keep records of your lot elections (specific ID) in case anything is questioned later.

Darius M.

Author

So I should document which specific lots I elected to sell at the time of the trade, not just rely on the 1099-B after the fact?

Exactly. The IRS expects you to have identified the specific shares at or before the time of sale. After the fact doesn't count. Your broker confirmation is the evidence.

Pulling it back to the original question: 2-3 years out gives you time to actually plan which lots hit the one-year mark before you need to sell. Run your dates now. If some lots are 8 or 9 months old, you have room to wait. Publication 550 on irs.gov has the holding period rules laid out clearly if you want to read the source.