Is mortgage interest deductible as investment interest if loan proceeds are invested?

Trying to figure out something that feels like it should be simple but I keep getting confused answers online. I took out a home equity loan last year and put the entire proceeds directly into a taxable brokerage account — buying a mix of dividend stocks and some bond ETFs. The house is my primary residence and I'm not using the loan for home improvements. I've seen people say you can treat the interest as investment interest expense on Form 4952 instead of Schedule A mortgage interest, but I've also seen people say you can't because it's "secured by the home." My broker sent a 1098 showing the interest. I'm filing a joint return. So the core question: is mortgage interest deductible as investment interest if loan proceeds are invested in a taxable brokerage? Which form applies, and does the 1098 change anything about how I report it?

32 comments

Form 4952 is the right starting point here. The deductibility of interest as investment interest expense turns on how the loan proceeds were used, not how the loan is secured. If you trace the proceeds to taxable investments, the interest generally qualifies as investment interest expense under the tracing rules in Publication 550. The 1098 just tells you how much interest you paid — it doesn't lock you into Schedule A. You'd skip the Schedule A mortgage interest deduction for this amount and instead carry the investment interest to Form 4952, then to Schedule A line 9.

Matt G.

Author

Schedule A line 9 is where I was getting confused — I thought investment interest and mortgage interest both ended up there but through different paths. So the 1098 amount goes to Form 4952 first, and only the allowed amount flows to Schedule A line 9. That makes more sense.

Worth knowing that investment interest expense is only deductible up to your net investment income for the year. Form 4952 does that calculation — your dividends and interest income generally count, but qualified dividends and long-term capital gains don't count unless you elect to have them taxed at ordinary rates (which costs you the preferential rate on those amounts). Any disallowed investment interest carries forward indefinitely to future years on Form 4952. With bond ETFs producing ordinary income and dividend stocks producing qualified dividends, your net investment income figure matters a lot here.

Matt G.

Author

The ordinary income vs qualified dividend piece is something I hadn't thought about. So if most of my investment income is qualified dividends, my deductible investment interest this year could be pretty limited unless I make that election. And making that election means those dividends get taxed at ordinary rates instead. Not an obvious trade-off.

Form 4952 line 4g is where you make or see that election. It's worth running the numbers both ways before you decide — sometimes the higher ordinary rate on the dividends costs more than the interest deduction saves.

The tracing rules are the critical piece here. Publication 550 covers them in the chapter on interest expenses. Basically you trace where the loan money actually went. If it went straight into the brokerage account to buy investments, that's investment expenditure and the interest follows. Problems come up if the proceeds went into a commingled account first and then to investments — the IRS has ordering rules for that. If your loan proceeds went directly to the brokerage with a clean paper trail, you're in a much better position.

Matt G.

Author

The proceeds went directly into the brokerage — the wire came from the lender straight into my account there. So the tracing should be clean.

Had essentially the same setup last year — HELOC proceeds wired into brokerage, mix of stocks and income funds. I uploaded my 1098, the Form 4952 draft, and my brokerage statements to taxr.ai and had it walk through each line of Form 4952 for my specific numbers, then check whether my net investment income calculation matched what flowed to Schedule A. It caught that I was double-counting some dividend income. The interest allocation rules in Publication 550 are dense and it helped me read through them against my actual documents. Basic rule it confirmed: the loan being secured by the house doesn't make the interest home mortgage interest if the proceeds weren't used on the house.

Matt G.

Author

The double-counting issue is exactly the kind of thing I'd miss. I'll check that on my own 4952 — good to know the net investment income line is where errors can hide.

One thing that tripped me up when I did this: qualified residence interest (the deduction on Schedule A for home mortgage interest) requires the loan to be used to buy, build, or substantially improve the home. A HELOC or home equity loan used for other purposes — including investing — doesn't qualify as qualified residence interest at all anymore after the 2017 tax law changes. So you're not choosing between two deductions here. The Schedule A home mortgage interest deduction isn't available for this loan. Investment interest expense on Form 4952 is the only deduction path.

This is an important point that a lot of people get wrong. The 1098 showing up doesn't mean it's deductible as home mortgage interest — the use-of-proceeds test disqualifies it from Schedule A's mortgage interest line entirely.

Matt G.

Author

Form 4952 and the net investment income limit being the only path actually simplifies the question. I was worried I had to choose between two options.

Schedule A line 9 (investment interest) is separate from Schedule A line 8 (home mortgage interest). They look similar but the rules and limits are completely different. What flows from Form 4952 goes to line 9, not line 8. Your 1098 is just documentation of what you paid — route it to Form 4952, not to the mortgage interest line.

Does anyone know how this works if part of the loan was used for home improvements and part for investing? Like if you used 60% for the brokerage and 40% for a kitchen remodel?

Publication 550 covers mixed-use allocations. You'd allocate the interest in proportion to how the proceeds were used — the portion traced to the investment goes on Form 4952 as investment interest, and the portion traced to the home improvement can qualify as home mortgage interest on Schedule A line 8 (since that portion was used to substantially improve the residence). You'd need solid documentation of both uses.

Form 4952 for the investment portion and Schedule A line 8 for the improvement portion. That makes sense. Good to know you can split it.

Something to keep in mind: if your investments are in a tax-deferred account like an IRA, the tracing rules work differently and the interest generally isn't investment interest expense. But you said taxable brokerage, so you're fine on that front.

Worth flagging a nuance on what counts as "net investment income" for Form 4952 purposes. Interest from bonds and bond ETFs generally counts. Ordinary dividends count. But gains from selling stock or ETF shares are only included if they're short-term, or if you elect to include net long-term capital gains (same election as for qualified dividends, same trade-off on rates). So in a year where you have only qualified dividends and long-term gains, your net investment income for Form 4952 could be zero without that election.

Matt G.

Author

Net investment income potentially being zero in some years means the carryforward could build up. I need to actually project this over a few years to see whether the deduction is worth making the rate election.

Form 4952 line by line confused me when I first did this. I had Taxr read through my own Form 4952 draft alongside my brokerage's year-end income summary to verify that every income item was landing on the right line — ordinary dividends and bond interest on 4a, and the qualified dividends included in that figure on 4b, flagged for the election question. It also listed which carryforward amounts from the prior year I needed to bring forward. Saved me from leaving a carryforward off entirely. The Publication 550 chapter on interest allocation under the tracing rules is the authority here — worth reading even if it's dense.

Form 4952 line 4b vs 4a distinction is easy to get wrong in software too — some programs pull the whole dividend figure into 4b, and you have to manually back out the nonqualified portion so only the qualified dividends remain there.

Passive activity rules are worth at least mentioning. If any of your investments are in a partnership or S-corp interest where you're passive, the interest allocated to those might be subject to passive activity limits rather than the investment interest rules. For plain stock and bond ETFs in a brokerage it doesn't apply, but partnerships change the analysis.

To answer the 1098 question directly since it keeps coming up: the 1098 is not a routing instruction. It just documents interest paid and the lender reports it to the IRS. You are responsible for determining the correct form and line based on how you used the proceeds. The IRS may see a 1098 on your account and no corresponding Schedule A line 8 entry — that's fine as long as you can show the proceeds went to investments and you're claiming it on Form 4952 / Schedule A line 9 instead.

Matt G.

Author

Schedule A line 8 being blank while Form 4952 and line 9 have entries — I was nervous the IRS would flag a mismatch. Knowing that's expected as long as the documentation supports it is reassuring.

If your investment interest expense exceeds your net investment income this year, the excess carries forward to next year on Form 4952 line 2. There's no expiration on the carryforward — it just rolls until you have enough net investment income to absorb it or you make the election to include gains or qualified dividends. Keep copies of your Form 4952 every year so you don't lose track of the carryforward balance.

Real-world note: I keep a simple log showing the loan draw date, the wire amount, and the brokerage confirmation of the deposit for each year I claim investment interest on this loan. If the IRS ever questions the tracing, that paper trail is your first line of support. The tracing rules in Publication 550 put the burden on you to show where the proceeds went.

The paper trail point is key. Brokerage statements showing the deposit date matching the wire from the lender are exactly what you'd want. Keep those with your tax records.

Pulling together the actual steps: (1) confirm the proceeds were traced to taxable investments, not a commingled account; (2) don't put this interest on Schedule A line 8 — the home mortgage interest deduction doesn't apply because the proceeds weren't used on the home; (3) complete Form 4952 to calculate allowable investment interest, checking which income items qualify as net investment income; (4) carry the allowed amount to Schedule A line 9; (5) any excess carries forward on Form 4952 line 2 next year.

Matt G.

Author

Form 4952 line 2 for carryforward — writing all five steps down. This is the clearest the whole thing has been for me. Thank you.

Publication 550 at irs.gov covers investment interest expense and the tracing rules in detail. Topic no. 409 at irs.gov also has a summary of capital gains and losses that's useful context if you're also tracking gains on the same investments.

One edge case worth noting if it applies: if you borrowed against the home and immediately bought municipal bonds or other tax-exempt investments with the proceeds, the interest generally isn't deductible at all — you can't deduct interest on a loan used to buy tax-exempt investments. For taxable bond ETFs and dividend stocks like you have it's not an issue, but worth flagging in case anyone reading this is holding munis.

Publication 550 covers that disallowance rule in the chapter on interest you cannot deduct. Important distinction — tax-exempt income and the deduction for the related interest expense don't both get to benefit you.