Should I sell inherited stock or take a bigger mortgage when buying a house?

Trying to figure out the best move here. My dad passed earlier this year and left me about $80k worth of stock in a brokerage account. I'm also under contract on a house and I'm short on the down payment — I could either sell the inherited stock to cover the gap or just take a larger mortgage. I know inherited stock gets a stepped-up basis but I'm not 100% sure how that changes the tax math. The stock has gone up maybe $12k since I inherited it. If I sell, is that gain short-term or long-term? And does selling it this year vs waiting change anything meaningful? I already talked to my loan officer and she said either way works for the mortgage, so this is really a tax and financial question. Would love to hear from anyone who has thought through the sell inherited stock or take a bigger mortgage when buying a house decision before.

31 comments

You don't have to worry about how long you've held it: property inherited from a decedent is automatically long-term no matter how long you've actually held it. So that $12k gain you mentioned gets taxed at long-term capital gains rates, not short-term rates. That's a meaningful difference for most people. The harder question is whether the after-tax proceeds cover your gap better than the mortgage cost does. That depends on your marginal rate and the mortgage rate you're locked into — two numbers only you have.

Ben H.

Author

Good to know on the holding period — I wasn't sure if there was a waiting period after inheriting or if it was automatic. Long-term from day one is better than I expected.

Stepped-up basis means your basis is the fair market value of the stock on your father's date of death, not what he originally paid. So if the stock was worth $80k the day he died and it's worth $92k now, your taxable gain is only that $12k, not whatever growth happened during his lifetime. One thing to watch: if the estate had to file Form 706, there are rules about beneficiaries having to use the estate tax value reported on Schedule A of Form 8971. Worth asking the executor if a 706 was filed.

Ben H.

Author

The estate was small enough that no 706 was filed, so I think I just use the date-of-death value from the brokerage statement. The brokerage already updated the cost basis in the account to reflect that.

I ran into almost the same fork last spring — inherited ETF shares, needed cash for a home purchase. I uploaded my brokerage statement and the draft Form 8949 to taxr.ai and it walked me through which box to check in Part II, confirmed the inherited shares go long-term regardless of hold time, and flagged that the basis shown by the broker matched what I should use. Saved me from checking the wrong box. On the actual decision: the tax cost of selling is usually just the long-term gain times your rate. Compare that to the extra interest you'd pay over the life of a larger mortgage. For me selling was cheaper, but it depends on the rate difference.

Part II, box D or E depending on whether the broker reported basis to the IRS — worth double-checking that detail before filing.

Box D in my case since the broker did report basis to the IRS. The 1099-B showed it as covered and the basis was correct, so no adjustment in column (g) was needed.

Don't overlook the Form 8949 mechanics when you file. Inherited stock reported on a 1099-B with basis reported to the IRS goes in Part II with box D checked. Your gain goes in column (d) for proceeds, column (e) for the stepped-up basis, and the net flows to Schedule D line 8b. If the broker did NOT report basis to the IRS (sometimes happens with inherited accounts in transition), you'd use box E and enter the correct stepped-up basis yourself in column (e).

Ben H.

Author

My brokerage sent a corrected statement showing the stepped-up basis so I think I'm in box D territory. I'll double-check the 1099-B when it arrives in January.

Financially, a bigger mortgage at today's rates means you're paying interest for 30 years on that gap amount. The math usually favors selling the appreciated inherited stock and paying the tax, then putting the rest toward the down payment — especially because you're only looking at gain on the appreciation since you inherited, not the full value.

This is true in a lot of cases but it really depends on the mortgage rate. If rates drop significantly and you refinance, the calculus shifts. Hard to generalize without the actual numbers.

Fair point. Refinancing changes the picture. Still, the gain here sounds small relative to the mortgage cost at current rates, so selling probably wins — but yeah, run the actual numbers.

One scenario people miss: if you sell the stock and immediately buy it back (or buy something substantially identical within 30 days), wash sale rules can disallow the loss. But you said you have a gain, not a loss. So wash sales are irrelevant here — that rule only bites when you're harvesting losses.

Ben H.

Author

Good to know. I won't be buying it back — once I sell I'll need the cash for the house. No plans to stay in the same position.

What's the state you're buying in? Some states have their own capital gains treatment that doesn't follow federal rules, and that changes the total tax cost of selling. The federal long-term rate is favorable but a state that taxes it as ordinary income could add meaningfully to the bill.

Ben H.

Author

I'm in a state with a flat income tax so it'll apply to the gain too. I hadn't thought about adding that to my cost estimate — good catch.

The IRS page for Topic no. 409 at irs.gov covers the basics on how gains and losses work including the rates. Publication 551 covers basis of inherited property in detail if you want to verify the stepped-up basis rules yourself before trusting the broker's number.

I sold inherited shares last year to help cover closing costs on a condo. I dropped my 1099-B into Taxr and it mapped each line to the right spot on Form 8949 — showed me the proceeds in column (d), flagged the stepped-up basis in column (e), and confirmed Part II box D since the broker reported basis to the IRS. Made the return straightforward. For your decision: the gain you owe tax on is only the appreciation since the date of death, so the tax drag is smaller than it looks at first. Run that number against the extra interest cost of the larger mortgage over how long you realistically expect to hold the loan.

Ben H.

Author

This is exactly the comparison I needed to frame. I'll calculate the after-tax proceeds from the stock sale vs the total interest cost on the extra mortgage amount. That should give me a clear answer.

If you're in a low-income year for any reason, the long-term rate could be zero for some or all of the gain, depending on your taxable income. I won't throw out a number since the thresholds change — check the Schedule D instructions for the Qualified Dividends and Capital Gain Tax Worksheet to see where you fall.

Ben H.

Author

This is worth checking. This is actually a lower income year for me due to some job changes, so I should look at that worksheet before assuming a fixed rate.

Something I'd think about: if you take the bigger mortgage, you're keeping the stock invested. If the stock keeps appreciating, you could sell later at a larger gain — and your basis stays stepped up regardless of when you sell. So there's an optionality argument for the mortgage that isn't purely about interest rates.

True, but concentration risk matters. Holding a large single-stock position to avoid a tax event is a reason a lot of people get burned. Diversifying into the house (a real asset you use) and paying a known tax cost has its own logic.

I went through a similar decision two years ago with inherited shares. I uploaded the settlement statement and the 1099-B to Taxr and it prepared a summary showing the exact gain, what Part II of Form 8949 would look like, and what would flow to Schedule D — so I could see the actual tax cost clearly before deciding. That made the sell-vs-hold comparison concrete instead of guesswork. End result: selling was the right call for me because the tax cost was less than two years of extra mortgage interest at the rate I had.

Ben H.

Author

Two years of extra interest is a useful frame. I'm going to put together the same comparison — after-tax stock proceeds vs mortgage interest cost over my expected hold period.

To be clear on how it hits your return: the net gain from the stock sale flows from Form 8949 Part II to Schedule D, then from Schedule D line 16 to Form 1040 line 7a. It's not a separate filing or a special form — it just runs through Schedule D like any other long-term gain.

Don't forget the basis confirmation step. Before you sell, ask the broker in writing what basis they have on file. If they're using a date-of-death value that looks off — wrong valuation date, averaged wrong — fix it before the 1099-B gets issued rather than fighting an adjustment on Form 8949 afterward.

This is smart. Correcting basis after the fact means entering the wrong basis in column (e) from the 1099-B and then adjusting in column (g) with code B. Much easier to have it right at the broker level before the form gets generated.

The capital loss deduction limit isn't relevant here since you have a gain, but just to round out the picture: if you had losses elsewhere this year, they'd offset this gain on Schedule D before anything gets taxed. Worth checking if you have any unrealized losses in taxable accounts you've been meaning to harvest.

Ben H.

Author

I do have one position that's down. I hadn't thought about pairing a loss harvest with this sale. That could reduce the net taxable gain — I'll look at the timing before I execute the sale.

If you want to check the column-by-column guidance yourself, the Form 8949 instructions are on irs.gov. The inherited-property holding period rule is in Publication 550 and Publication 551. Between those two and your broker confirming the basis, you should have everything you need to file this cleanly without surprises.