Short answer: yes, if the borrowed money bought investments and you itemize. Interest on margin, a crypto-backed loan or DeFi borrowing that you use to buy investment property is generally investment interest (26 U.S.C. 163(d)). You figure it on Form 4952 and deduct it on Schedule A line 9, limited to your net investment income. Whatever the limit blocks carries forward to next year with no expiration date in the statute. Net short-term crypto gains count as investment income automatically. Long-term gains count only if you elect, and the elected amount loses the 0%/15%/20% rates. Interest on loan proceeds you spend on personal things is nondeductible personal interest, whatever the collateral.
The rules (statute and IRS)
| Rule | What it says | Source |
|---|---|---|
| Limit | For non-corporate taxpayers, the deduction for investment interest can't exceed net investment income for the year | 163(d)(1); Form 4952 Purpose of Form |
| Carryforward | Disallowed amount is treated as investment interest paid or accrued in the next year; can be carried even if more than taxable income | 163(d)(2); Form 4952 line 2, line 7; Pub. 550 |
| Investment interest | Interest paid or accrued on debt properly allocable to property held for investment, excluding qualified residence interest and passive-activity interest | 163(d)(3); Form 4952 line 1 |
| Short sales | "Interest" includes amounts deductible in connection with personal property used in a short sale | 163(d)(3)(C) |
| Investment income | Gross income from investment property plus net gain on dispositions, but net capital gain and qualified dividends only if you elect | 163(d)(4)(B); Form 4952 lines 4a-4h |
| Investment expenses | Deductions allowed (other than interest) directly connected with producing investment income; miscellaneous itemized deductions aren't allowed after 2017, so they don't count | 163(d)(4)(C); Form 4952 line 5 |
| Where it goes | Form 4952 line 8 to Schedule A line 9 (individuals), even if from a partnership or S corporation; royalty part on Schedule E; non-passive trade or business part on that business's schedule | Form 4952 line 8 instructions |
| Personal interest | Not deductible by individuals | 163(h)(1)-(2) |
| Tax-exempt income | Interest to buy or carry tax-exempt securities isn't deductible | Section 265 via Form 4952 line 1; Pub. 550 |
| Allocation | By use of the loan proceeds, not by the collateral | Temp. Reg. 1.163-8T(c)(1); Pub. 550 |
| Timing (cash method) | Deduct when paid; prepaid interest is spread to the years it belongs to | Pub. 550, When To Deduct Investment Interest |
Did the 2025 tax law change this? The amendment notes to section 163 on Cornell LII list Pub. L. 119-21 (the One Big Beautiful Bill Act) changes to subsection (h) (mortgage interest rules and a new car loan interest paragraph) and subsection (j) (business interest), but none to subsection (d). We found no source saying the investment interest limit changed.
How Form 4952 works
- Part I, total interest: line 1 is investment interest paid or accrued this year, whenever you took out the loan. Line 2 is last year's disallowed amount (prior-year line 7). Line 3 adds them.
- Part II, net investment income: line 4a is gross income from investment property (interest, ordinary dividends, annuities, royalties), minus qualified dividends on 4b. Line 4d is net gain from selling investment property. Line 4e takes out the net capital gain part (net long-term gain over net short-term loss), so 4f leaves only the short-term part in. Line 4g is whatever qualified dividends and net capital gain you elect to add back. Line 5 subtracts investment expenses. Line 6 is net investment income (not below zero).
- Part III: line 8, your deduction, is the smaller of line 3 or line 6. Line 7 (line 3 minus line 6) carries to next year.
Capital loss carryovers and capital gain distributions from funds are included when figuring line 4d (Form 4952 instructions). Alaska Permanent Fund dividends aren't investment income.
Crypto situations
- Exchange margin. Borrowing on a spot margin account to buy more crypto is borrowing to buy property held for investment, so the interest can be investment interest. If you use the cash method, Pub. 550 treats margin interest as paid when you pay the broker or when payment becomes available to the broker through your account, such as when the broker sells assets for you. See crypto margin trading taxes.
- Crypto-backed loans (Nexo, Coinbase and similar). Pledging coins as collateral isn't what decides the deduction; how you spend the loan does (1.163-8T(c)(1)). Spend it on a house down payment, a car or bills and the interest is personal (or follows the mortgage rules, which this page doesn't cover). Buy investments and it is investment interest. See crypto loan taxes and Nexo taxes.
- DeFi borrowing (Aave, Morpho). Borrowing stablecoins and swapping them for another token puts the debt into an investment. The swap itself is a disposition of the stablecoins (IRS virtual currency FAQ 16), usually with little gain or loss. See Aave taxes and Morpho taxes.
- Proceeds parked in an account. Loan proceeds deposited in an account are treated as investment property while they sit there. Once you withdraw and spend them, the debt follows the new use (Pub. 550; 1.163-8T(c)(4)).
- Perpetual futures funding. Funding payments on perpetual futures aren't described as interest in any source we read; see crypto futures taxes for how those are treated.
- Trading as a business. Investment property includes an interest in a non-passive trade or business in which you don't materially participate (163(d)(5)). Interest allocable to a trade or business you do actively run goes on that business's schedule, not Schedule A (Form 4952 line 8), and other limits may apply. Whether a crypto trader is in a trade or business is a facts question for a CPA.
- Passive activities. Interest allocable to a passive activity (a business you don't materially participate in, or a rental) is excluded from investment interest and handled under the passive activity rules instead (163(d)(3)(B); Form 8582).
Tracing: where the money went decides the deduction
- Use, not security. "The allocation is not affected by the use of an interest in any property to secure the repayment" (1.163-8T(c)(1)). Its example: stock held for investment is pledged for a loan used to buy a personal car, so the interest is allocated to the personal expenditure.
- Mixed use. Pub. 550 example: borrow $10,000, use $8,000 for stock and $2,000 for household items, so 80% of the interest is investment interest and 20% is nondeductible personal interest.
- Repayments come off personal first. When a debt is allocated to more than one use, repayments are applied first to personal amounts, then investment and passive amounts, then business (1.163-8T(d)(1)). Pub. 550 example 3: repay $500 on a $8,000 investment / $2,000 personal debt, and the balance becomes $8,000 / $1,500 (84% investment).
- Selling what you bought. When you sell an asset that debt was allocated to and use the proceeds for something else, the debt is reallocated to the new use, up to the sale proceeds (1.163-8T(j)(1)). Sell the coins you bought with a loan and spend the cash personally, and the interest from then on is personal, unless you repay the loan.
- Lender pays the seller directly. If the lender disburses proceeds to a third party for property, you are treated as using the debt to buy that property (1.163-8T(c)(3)(i)).
- Short windows. Pub. 550 lets you treat payments made within 30 days before or after loan proceeds are received in cash or deposited as made from those proceeds. The regulation text sets 15 days after; see conflicts below.
Worked examples (our arithmetic)
Cash-method individual who itemizes on Schedule A unless stated. Dollar amounts are hypothetical. Tax rates in example 3 are an assumption for illustration, not a bracket calculation.
- Exchange margin, enough income. You pay $3,000 of margin interest on an account used only to buy crypto. During the year you have $1,200 of interest income from a savings account and a $2,500 net short-term crypto gain (no long-term gain). Line 4a $1,200 + line 4f $2,500 = $3,700 of investment income, no investment expenses, so net investment income is $3,700. Deduction: the smaller of $3,000 or $3,700 = $3,000. Nothing carries forward.
- Limit binds, then the carryforward is used. Year 1: $5,000 of margin interest, $1,800 of taxable interest income, and only long-term gains with no election. Net investment income $1,800, so you deduct $1,800 and line 7 carries $3,200. Year 2: $2,000 of new interest plus the $3,200 carryforward = $5,200 on line 3. You have a $6,000 net short-term gain. Net investment income $6,000, so you deduct the full $5,200.
- The line 4g election on a long-term gain. $8,000 of investment interest, $1,000 of ordinary interest income, and a $20,000 net long-term crypto gain. Without the election: deduct $1,000, carry $7,000. Electing $7,000 of the gain into investment income: deduct all $8,000. Assuming a 24% ordinary rate and 15% capital gains rate, the extra $7,000 deduction saves $1,680, but the $7,000 of elected gain is taxed at 24% instead of 15%, costing $630. This year's net saving is $1,050. Not electing keeps the $7,000 carryforward to use against future investment income, so compare both paths. The election can be revoked only with IRS consent.
- Crypto-backed loan, mixed use. You borrow $20,000 in cash against your bitcoin. You use $15,000 to buy ETH and $5,000 on a vacation. Interest for the year is $1,600: 75% ($1,200) is investment interest, 25% ($400) is nondeductible personal interest. If you then repay $5,000, the repayment comes off the personal part first (1.163-8T(d)), so the remaining $15,000 is all investment debt and future interest is 100% investment interest.
- Collateral doesn't matter. You pledge ETH held for investment and borrow $12,000 to pay off credit cards. Interest of $960 is personal interest even though investment property secures the loan (1.163-8T(c)(1) example). Deduction: $0.
- Part of the margin bought tax-exempt bonds. At a brokerage you borrow $30,000 on margin: $20,000 buys crypto ETF shares and $10,000 buys tax-exempt municipal bonds. Interest is $2,400. One-third ($800) relates to tax-exempt income and isn't deductible. The other $1,600 is investment interest, subject to the limit.
- DeFi interest that accrues but isn't paid. You borrow USDC on Aave, swap it for ETH, and $900 of borrow interest builds up in your debt balance during 2026. You repay principal and interest in February 2027. Under the cash-method rule that you must pay interest before deducting it (Pub. 550), we read the $900 as 2027 investment interest, not 2026. No IRS source addresses DeFi borrow interest specifically.
- Paying interest in crypto. A lender takes $500 of interest out of your collateral as 0.25 ETH when ETH is $2,000. Your basis is $1,200 per ETH, so $300 for 0.25 ETH. Under IRS FAQ 14-15 (paying for a service with virtual currency is an exchange), we treat this as a sale with a $200 gain ($500 − $300), and $500 of interest paid, which is investment interest if the loan bought investments. This is our reading; see gaps below.
Not itemizing? Then investment interest gives no deduction at all. The carryforward in 163(d)(2) covers only interest disallowed by the net investment income limit, so we read interest you simply couldn't use because you took the standard deduction as not carrying forward. Confirm with a CPA.
Planning points
- Keep loan proceeds separate from personal money and spend them straight on investments. Tracing gets messy when borrowed and unborrowed funds mix (1.163-8T(c)(4)).
- Repay personal-use borrowing first where you can; repayments are applied to personal amounts first anyway, so the remaining balance becomes investment debt.
- Net short-term gains work as investment income automatically. In a year with mostly long-term gains, compare the line 4g election to carrying the interest forward.
- Itemizing matters. The deduction lives on Schedule A, so it only helps when total itemized deductions beat the standard deduction. See the SALT deduction.
- AMT: the Form 4952 instructions say deductible interest may be an adjustment for the AMT; see Form 6251 and crypto gains and the AMT.
- Related pages: the 3.8% NIIT, foreign tax credit (Form 4952 notes the line 4g ordering choice can matter if you file Form 1116), 0% capital gains.
Conflicts and gaps we found
- No IRS guidance on crypto loans by name. None of Form 4952, its instructions, Pub. 550, section 163 or Temp. Reg. 1.163-8T mentions digital assets. We apply the general rules because the IRS treats digital assets as property (IRS digital assets).
- Margin rules are written for securities. Pub. 550's margin paragraph covers margin accounts "to buy taxable securities." Applying its timing rule to crypto exchange margin is our analogy.
- Borrowing tokens, not cash. The tracing rules talk about debt proceeds, cash and accounts. When you borrow a stablecoin or another token, no source we read says how to measure the debt or the "interest" (for example, a borrow index that grows the balance in tokens). Interest paid in a volatile token may also differ in dollar value from the amount quoted.
- Paying interest in crypto (example 8). FAQ 14-15 say paying for a service with virtual currency is an exchange producing gain or loss. No IRS source we read applies that to loan interest or to a lender taking collateral to pay interest, or says the deductible amount equals the coins' fair market value. Treat example 8 as a reasonable reading, not settled law.
- 15 days vs 30 days. The text of Temp. Reg. 1.163-8T(c)(4)(iii)(B) and (c)(5)(i) allows expenditures within 15 days after the deposit or cash receipt to be treated as made from the proceeds. Pub. 550 describes a 30-day window before or after. The Form 4952 instructions also point to Notice 89-35, which we didn't retrieve. Follow Pub. 550 with care and confirm with a CPA.
- Staking rewards. We found no source saying whether staking rewards count as "gross income from property held for investment" on line 4a. Interest from lending crypto looks more like interest income, but no source addresses it directly.
- Pub. 550 edition. The Pub. 550 we used is for 2025 returns. Form 4952 is the 2026 revision (created 5/28/26). The Schedule A instructions are 2025.
Records
Keep loan agreements, interest statements, exchange margin ledgers, and a record of where each loan's proceeds went. That record is what decides the deduction. Keep the prior year's Form 4952 for the carryforward. Tracking software can separate interest, swaps and collateral moves: CoinLedger (code CRYPTOTAX10 for 10% off) or Koinly . Affiliate links; disclosure.
Sources
- 26 U.S.C. 163 (subsections (d) investment interest and (h) personal interest; amendment notes for Pub. L. 119-21)
- Temp. Treas. Reg. 1.163-8T (allocation of interest expense: (c)(1), (c)(3), (c)(4), (c)(5), (d), (j))
- IRS, Form 4952 (2026) and instructions (about Form 4952)
- IRS, Pub. 550 (2025), chapter 3 (Interest Expenses, Investment Interest, Allocation of Interest Expense, When To Deduct Investment Interest, Limit on Deduction, Tax-exempt income)
- IRS, 2025 Instructions for Schedule A (line 9, investment interest)
- IRS, Topic no. 505, Interest expense
- IRS, Frequently asked questions on virtual currency transactions (Q14-Q16) and Digital assets
Borrowed to buy crypto, or carrying a Form 4952 carryforward? Browse the crypto tax CPA directory or read how to choose a crypto tax professional. CPAs who handle investment interest and crypto loans can get listed. General information, not tax advice. Sources checked 2026-11-22.
FAQ
Is interest on a loan used to buy crypto deductible?
It can be. Interest on debt properly allocable to property held for investment is investment interest (26 U.S.C. 163(d)(3)(A)). Individuals figure the deduction on Form 4952 and claim it on Schedule A (Form 1040) line 9, so it only helps if you itemize. The deduction can't exceed your net investment income for the year (163(d)(1)). No IRS source we read applies these rules to digital assets by name; we apply the general rules because the IRS treats digital assets as property.
What counts as net investment income for Form 4952?
Investment income minus investment expenses other than interest (Form 4952 lines 4h to 6). Investment income includes interest, ordinary dividends, annuities and royalties not from a trade or business, plus net gain from selling investment property, except that net capital gain (net long-term gain over net short-term loss) and qualified dividends are left out unless you elect to include them on line 4g. Net short-term crypto gains therefore count automatically; long-term gains count only if you elect.
What happens to investment interest I can't deduct this year?
It carries forward. The amount disallowed by the net investment income limit is treated as investment interest paid or accrued in the next tax year (163(d)(2)); it goes on next year's Form 4952 line 2. Pub. 550 says you can carry it forward even if it is more than your taxable income for the year. The statute sets no expiration.
Should I elect to treat long-term crypto gains as investment income?
Only after comparing the tax both ways. Amounts you elect on Form 4952 line 4g lose the qualified dividend and capital gain rates, and once made the net capital gain election can be revoked only with IRS consent (Form 4952 instructions). The election is generally made on a timely filed return including extensions, or on an amended return within 6 months of the original due date (excluding extensions) under Reg. 301.9100-2. Example 3 shows the trade-off.
I borrowed against my bitcoin and spent the money. Is the interest deductible?
Not the part you spent on personal items. Debt is allocated by how you use the proceeds, not by what secures the loan (Temp. Reg. 1.163-8T(c)(1)); its own example is stock pledged as collateral for a loan used to buy a personal car, which is personal interest. Personal interest is not deductible (163(h)(1)). If you use part for investments, only that part's interest is investment interest (example 4).
When do I deduct margin interest?
If you use the cash method, as most individuals do, you deduct interest when you pay it. Pub. 550 says margin interest is paid only when you actually pay the broker or when payment becomes available to the broker through your account, for example when the broker collects income or sells securities for you. Pub. 550 writes this for securities margin accounts; we apply it to crypto exchange margin by analogy.
Do I have to file Form 4952?
Generally yes, to claim any investment interest. You can skip it only if all of these apply: your investment income from interest and ordinary dividends minus qualified dividends is more than your investment interest expense, you have no other deductible investment expenses, and you have no carryover of disallowed investment interest from the prior year (Form 4952 and Schedule A instructions).
Is interest on a loan used to buy tax-exempt bonds deductible?
No. Interest you incur to produce tax-exempt income, such as money borrowed to buy tax-exempt securities, is not deductible, and Form 4952 line 1 excludes interest related to tax-exempt interest income under section 265 (Pub. 550; Form 4952 instructions).