$Missed Deductions

Can I deduct interest on a loan used to buy stocks?

Commonly Missedadvanced3 answers · 6 min readUpdated February 28, 2026

Quick Answer

Yes, interest on loans used to buy stocks is deductible as investment interest expense, but limited to your net investment income. In 2026, if you borrow $50,000 at 7% ($3,500 annual interest) to buy stocks but only have $2,000 in dividends, you can deduct $2,000 this year and carry forward $1,500.

Best Answer

MW

Michelle Woodard, Tax Policy Analyst

Best for investors who take personal loans or home equity loans to purchase stocks

Top Answer

The investment interest expense deduction explained


Interest on money borrowed to purchase taxable investments is deductible as investment interest expense, subject to the net investment income limitation. This applies regardless of the loan type — personal loans, home equity loans, or even credit card debt used specifically to buy stocks.


According to IRS Publication 550, the key requirement is tracing: you must be able to prove the borrowed funds were used to purchase investment property.


Example: $75,000 home equity loan for stock purchases


Suppose you take a $75,000 home equity loan at 6.5% interest to buy dividend-paying stocks. Your annual interest expense is $4,875.


Your 2026 investment income:

  • Qualified dividends: $2,400
  • Non-qualified dividends: $800
  • Bond interest: $1,200
  • Short-term capital gains: $1,600
  • Total net investment income: $6,000

  • Since your $4,875 interest expense is less than your $6,000 net investment income, you can deduct the full amount. At a 24% tax bracket, this saves you $1,170 in federal taxes.


    The critical tracing requirement


    The IRS requires you to trace borrowed funds to their investment use. Here's how to maintain proper documentation:


    1. Separate accounts: Deposit loan proceeds into a dedicated investment account

    2. Clear documentation: Keep loan documents showing the investment purpose

    3. Transaction records: Maintain records showing loan funds were used for stock purchases

    4. Avoid commingling: Don't mix investment loan funds with personal expenses


    Types of loans that qualify



    *Note: Home equity loan interest is only deductible if funds are used for investment purposes, not under the regular home equity interest rules.


    The net investment income limitation trap


    This is where many investors make costly mistakes. Investment interest is only deductible up to your net investment income for the year. Excess amounts carry forward indefinitely.


    Common mistake: Taking a large loan to buy growth stocks that don't pay dividends. Without dividend income to offset the interest expense, you may not be able to deduct any of the interest currently.


    Better strategy: Consider dividend-paying stocks or REITs that generate current income to support the interest deduction.


    Advanced strategy: The capital gains election


    You can elect to treat long-term capital gains as ordinary income (giving up the preferential tax rate) to increase your net investment income limit. This election can make sense when:


  • You have large investment interest expenses
  • You're in a lower tax bracket temporarily
  • You have capital loss carryforwards to offset the additional ordinary income

  • Home equity loan special rules


    Under the Tax Cuts and Jobs Act, home equity loan interest is only deductible if the proceeds are used to buy, build, or substantially improve the home. However, if you use home equity loan proceeds to buy stocks, the interest becomes investment interest expense (subject to the net investment income limit) rather than non-deductible personal interest.


    What you should do


    1. Document the investment purpose of any loan used to buy stocks

    2. Track your net investment income throughout the year

    3. Consider dividend-paying investments to support interest deductions

    4. Keep detailed records of all investment-related expenses

    5. File Form 4952 if your investment interest exceeds $2,500

    6. Use our return scanner to check if you've missed this deduction in prior years


    [Scan Your Return →](return-scanner)


    Key takeaway: Interest on loans used to buy stocks is deductible up to net investment income. Proper documentation and strategic investment selection can maximize this often-overlooked deduction worth thousands annually.

    *Sources: [IRS Publication 550](https://www.irs.gov/pub/irs-pdf/p550.pdf), [IRS Form 4952](https://www.irs.gov/pub/irs-pdf/f4952.pdf)*

    Key Takeaway: Loan interest used to buy stocks is deductible up to net investment income, but requires proper tracing documentation and strategic planning to maximize the benefit.

    Investment loan interest deduction by loan type and structure

    Loan TypeInterest Rate RangeDeduction TypeIncome LimitationDocumentation Required
    Home Equity5-8%Investment InterestNet Investment IncomeHigh
    Personal Loan8-15%Investment InterestNet Investment IncomeMedium
    Securities-Based4-7%Investment InterestNet Investment IncomeHigh
    Business Loan6-12%Business ExpenseNoneVery High

    More Perspectives

    MW

    Michelle Woodard, Tax Policy Analyst

    Best for wealthy investors with multiple investment accounts and loan structures

    Sophisticated structuring for maximum deductions


    High-net-worth investors often have multiple loan structures and investment accounts. The key is maintaining clear documentation trails and optimizing the timing of income recognition.


    Multi-entity considerations


    If you have investments held in different entities (trusts, partnerships, LLCs), the investment interest deduction rules apply at each level. This can create opportunities to optimize deductions across multiple tax returns.


    Securities-based lending strategies


    Many wealthy investors use securities-based lending facilities that provide lower interest rates than traditional loans. These arrangements still qualify for investment interest deductions, provided the funds are used for investment purposes.


    Estate and gift tax implications


    Leveraging investment purchases through loans can be part of an estate planning strategy. The interest deduction helps reduce the effective cost of maintaining leveraged positions that may be gifted or transferred to heirs.


    Alternative Minimum Tax benefits


    Unlike many other itemized deductions, investment interest expense is allowed for AMT purposes. This makes it particularly valuable for high earners who are subject to AMT.


    Key takeaway: Sophisticated investors can layer multiple strategies to maximize investment interest deductions while maintaining compliance with complex tracing requirements.

    Key Takeaway: High earners benefit from investment interest deductions even under AMT, making sophisticated loan structures particularly valuable for tax planning.

    RK

    Robert Kim, Tax Return Analyst

    Best for business owners who invest both personal and business funds using loans

    Business vs. personal investment loan interest


    As a business owner, you need to carefully distinguish between loans used for business investments versus personal investments. The tax treatment and deduction limitations are completely different.


    Business investment loan interest


    If your business entity takes a loan to purchase investments as business assets, the interest is typically deductible as a business expense without the net investment income limitation. This applies to C-corporations, S-corporations, partnerships, and LLCs.


    Personal guarantee complications


    When you personally guarantee a business loan used for investments, the tax treatment depends on whether the investments are business or personal assets. Proper documentation of the business purpose is crucial.


    Cash flow vs. tax optimization


    Many business owners prioritize cash flow over tax optimization, but investment loan interest deductions can provide significant tax benefits. Consider the after-tax cost of borrowing when making investment decisions.


    Quarterly estimated tax impacts


    Investment interest deductions can affect your quarterly estimated tax payments. If you have significant investment loan interest, you may need to adjust your estimates to avoid underpayment penalties.


    Key takeaway: Business owners must carefully categorize investment loan interest as business or personal expense, with business treatment providing more favorable deduction rules.

    Key Takeaway: Business investment loan interest may be fully deductible as a business expense without the net investment income cap, unlike personal investment loans.

    Sources

    investment loan interestinvestment interest expensestock purchase loannet investment income limit

    Reviewed by Michelle Woodard, Tax Policy Analyst on February 28, 2026

    This content is for educational purposes only and is not a substitute for professional tax advice. Consult a qualified tax professional for advice specific to your situation.