Borrow Against Stocks or Sell? SBLOC, Taxes & IRMAA

Compare selling appreciated stock with an SBLOC: tax cost, IRMAA timing, variable interest, repayment, and maintenance-call risk.

An SBLOC can postpone a taxable stock sale, but it replaces that sale with variable interest and collateral risk. The useful question is not whether borrowing is “tax free.” It is whether the cost and risk of the loan are lower than the cost of selling for the amount of time you actually need the cash.

Borrowing against stocks can make sense when selling would realize a large taxable gain, you need the cash for a limited period, and you can handle the loan even if the market drops. It is not automatically cheaper, and it does not erase the gain forever. A securities-backed line of credit, or SBLOC, simply lets you borrow against eligible investments instead of selling them today.

There is also an IRMAA timing issue that gets missed constantly. If you sell appreciated investments in 2026, the added income would generally affect 2028 Medicare IRMAA, not your 2026 premiums. Social Security generally uses tax information from two years before the premium year. That timing changes the comparison.

Quick answer

Borrowing is most defensible as a short, low-leverage bridge with a clear repayment source. Selling is often cleaner when the gain is modest, the loan would stay outstanding for years, the rate is high, or a market drop could force you to liquidate pledged assets at the worst possible time.

On This Page
  1. When does borrowing against stocks make sense?
  2. The IRMAA timing trap: a 2026 sale usually affects 2028 premiums
  3. Run the math: selling costs once; borrowing costs over time
  4. What an SBLOC changes, and what it does not
  5. The risk most “borrow, don’t sell” advice skips
  6. SBLOC vs. margin loan vs. HELOC vs. selling
  7. My decision rule: when I would use an SBLOC, and when I would not
  8. Questions people usually ask before borrowing against stocks
  9. The bottom line
  10. How we verified this

When does borrowing against stocks make sense?

The best use case is narrower than the old “buy, borrow, die” slogan makes it sound. I would start by checking four things.

  • The sale would create a meaningful taxable gain. Tax is based on the gain, not the full sale proceeds. If your basis is high or your federal long-term capital-gain rate is 0%, borrowing may solve a tax problem you do not really have.
  • The borrowing period is reasonably short. A one-time tax cost can be cheaper than years of variable interest.
  • The loan is small enough to survive a bad market. Pledged investments can fall while the debt does not. That is when maintenance calls become dangerous.
  • You know how the loan gets repaid. A bonus, property sale, business distribution, maturing bond, or planned later asset sale is different from borrowing indefinitely to fund normal living expenses.

FINRA describes an SBLOC as a revolving, non-purpose line of credit secured by investments. You generally make interest payments while the balance remains outstanding, and the lender can require more collateral or repayment if the pledged portfolio falls enough. FINRA’s SBLOC guidance is worth reading before treating a line of credit like spare cash.

The IRMAA timing trap: a 2026 sale usually affects 2028 premiums

For Medicare IRMAA, Social Security generally uses modified adjusted gross income from two years before the premium year. SSA defines that MAGI as adjusted gross income plus tax-exempt interest. For example, 2026 Medicare premiums generally use 2024 tax-return information. SSA’s current MAGI policy states that directly.

That means a capital gain you realize in 2026 would normally show up in the income SSA uses for 2028 premiums. The official 2028 IRMAA thresholds are not available yet as of September 26, 2026, so nobody can honestly tell you the exact 2028 surcharge created by a 2026 sale today.

Do not compare the wrong years.

The published 2026 IRMAA thresholds are useful for understanding the system, but they are based on 2024 income. A 2026 stock sale is normally a 2028 Medicare-premium issue. Use current thresholds as context, not as a quote for a future premium year.

For 2026, CMS set the first IRMAA threshold above $109,000 for individual filers and $218,000 for married couples filing jointly. Those are current-year premium thresholds, not 2028 projections. CMS publishes the official 2026 Part B and Part D IRMAA table.

If you want to see how an income spike can move someone through the current official tiers, use the 2026 IRMAA calculator. For a 2026 sale decision, treat that as a teaching tool rather than a 2028 forecast.

Run the math: selling costs once; borrowing costs over time

The clean comparison is not “capital-gains tax versus no tax.” It is the actual cost of selling now versus the actual cost and risk of borrowing for your expected holding period.

Suppose you need $100,000 and could sell shares worth $100,000 with a $60,000 tax basis. The sale would realize a $40,000 long-term capital gain. If, purely for illustration, your federal long-term capital-gain rate on that gain were 15%, the federal capital-gains tax attributable to the sale would be about $6,000 before any state tax or Net Investment Income Tax.

Now compare that with a $100,000 SBLOC at an assumed 7% annual rate. The rate is only an example. Real SBLOC pricing varies by lender, balance, collateral, and benchmark rate.

Illustrative costAmount
Federal tax on a $40,000 gain at an assumed 15%$6,000
Three months of interest on $100,000 at 7%About $1,750
One year of interest on $100,000 at 7%About $7,000
Three years of simple interest at the same 7% rateAbout $21,000

The point is not that 7% is the right rate or 15% is your tax rate. The point is that time changes the answer. A short bridge can be inexpensive relative to a taxable sale. A loan that hangs around for years can quietly become the more expensive choice.

The sale side can also cost more than the simple example if part of the gain is subject to the 3.8% Net Investment Income Tax, state tax, or a future IRMAA tier. NIIT applies only when its separate income and net-investment-income rules are met. The borrowing side can cost more if the rate rises, the loan remains open longer than planned, or the lender forces a sale after a market decline. If you need help estimating the tax side first, see the 2026 capital gains tax guide.

The four-number test

  1. Estimate the taxable gain from the shares you would sell.
  2. Estimate the federal and state tax created by that gain.
  3. Estimate the loan’s interest cost for the time you realistically expect to carry it.
  4. Stress-test what happens if the pledged portfolio falls sharply before you repay the loan.

Then layer in a possible future IRMAA effect only if the additional MAGI could actually cross a threshold.

Try your numbers

Sell or borrow? Run the bridge test.

Compare the estimated one-time tax from selling appreciated shares with simple SBLOC interest over the period you expect to need the cash. Then stress-test what a market drop does to your loan-to-collateral ratio.

1. Sell in 2026The realized gain becomes part of 2026 income.
2. File the 2026 returnThe gain is reflected in the tax data SSA can later use.
3. 2028 premium yearUnder the usual two-year lookback, 2026 income can affect 2028 IRMAA.

Timing note: the official 2028 IRMAA thresholds are not published yet as of September 26, 2026, so this tool does not invent a future Medicare surcharge.

Step 1: Compare the two visible costs

Change the borrowing period first. That is usually the fastest way to see why a short bridge and a long-running loan are different decisions.

What the assumptions say

Loading comparison…

Estimated tax from selling$0
Estimated simple interest$0
Interest-only break-even—

Step 2: Stress-test the collateral
Loading stress test…

This shows how leverage changes when collateral falls. It does not predict a maintenance call. Lender advance rates, eligible securities, concentration limits and maintenance requirements differ.

Important limits: this is an educational comparison, not a tax return or lending quote. It uses simple interest, assumes the entered tax rate applies to the entered gain, and excludes investment returns, loan fees, changing rates, future IRMAA thresholds and lender-specific maintenance rules.

What an SBLOC changes, and what it does not

A bona fide loan is generally not gross income because you have an obligation to repay it. The IRS explains that loan proceeds are not included in gross income when you borrow the money. That is why receiving SBLOC cash does not by itself create the same taxable event as selling appreciated stock.

But that does not make your portfolio or your spending tax-free. Interest, dividends, retirement distributions, realized gains elsewhere, and other income can still affect AGI or MAGI. The embedded gain in the pledged stock also still exists. Borrowing changes the timing of a sale; it does not magically erase the tax basis problem.

  • It can defer a sale. That may defer a capital gain and the MAGI created by that gain.
  • It creates a debt. Interest accrues and the principal still has to be repaid or settled.
  • It can be called. FINRA notes that SBLOCs may be demand loans, so the lender can require repayment even when your timing is inconvenient.
  • It cannot normally be used to buy or trade securities. An SBLOC is a non-purpose loan. That is one key difference from margin borrowing.

Interest deductibility is also more complicated than “the loan is against investments, so the interest is deductible.” The use of the borrowed money matters. IRS Publication 550 says interest allocation follows how the loan proceeds are used, not what property secures the debt. If deductibility is part of your math, trace the proceeds and verify the treatment rather than assuming the answer. IRS Publication 550 explains the allocation and investment-interest rules, and Form 4952 applies the investment-interest deduction limit.

The risk most “borrow, don’t sell” advice skips

The danger is not simply that stocks might go down. The danger is that they can go down while the loan balance remains.

FINRA says that when pledged securities no longer provide enough collateral, an SBLOC borrower can receive a maintenance call and may have only a short period, often two or three days, to add collateral or repay part of the loan. If the borrower cannot do that, the lender may sell securities. A forced sale during a market decline can turn the strategy on its head: you lose control of the sale timing and can still create a tax event.

Watch out for concentrated stock.

A line secured mostly by one company or one sector can deteriorate much faster than a diversified portfolio. The more concentrated the collateral, the less I would rely on “I’ll just wait for the market to recover” as the repayment plan.

There is no universal “safe borrowing percentage” I would publish for everyone. The lender’s collateral rules, the investments pledged, your liquidity outside the account, and the size of a plausible market decline all matter. A better safety test is simple: Could you meet a maintenance call without being forced to sell the pledged investments? If the answer is no, the loan is doing more than providing liquidity. It is adding a market-timing risk you may not want.

SBLOC vs. margin loan vs. HELOC vs. selling

You do not have only two choices. The best source of cash depends on what you are trying to protect and what collateral risk you are willing to accept.

RouteMain tradeoff
Sell investmentsNo debt or collateral call, but a sale can realize capital gains and raise MAGI.
SBLOCKeeps eligible investments unsold for now, but adds variable interest, repayment risk, and possible maintenance calls.
Margin loanBrokerage borrowing with different rules and uses, including securities purchases; market declines can still create forced-sale risk.
HELOCUses home equity instead of marketable securities as collateral. That avoids a portfolio maintenance call but puts the home behind the debt and often uses a variable rate.

If the real goal is simply to reduce a gain rather than avoid a sale entirely, another route may be to offset gains with losses where appropriate. The tax-loss harvesting and IRMAA guide explains that separate strategy.

My decision rule: when I would use an SBLOC, and when I would not

The way I would frame this decision is to treat an SBLOC as a bridge, not a tax loophole.

I would be more comfortable with borrowing when the cash need is temporary, the pledged portfolio is diversified, the loan is modest relative to the collateral, the sale would create a real tax or future IRMAA cost, and there is a believable repayment source that does not depend on the market cooperating.

I would lean away from it when the loan is funding recurring lifestyle spending, the collateral is concentrated, the rate already approaches or exceeds the tax cost of selling, the borrower is close to the lender’s maximum advance, or the entire plan requires stocks to rise before the debt can be repaid.

Michael’s decision rule

If borrowing only works when markets stay friendly, rates stay low, and you never need the cash back quickly, the strategy is too fragile. A good bridge should still be survivable when one of those assumptions goes wrong.

If the sale is specifically about avoiding an IRMAA income spike, the one-time income spike guide shows how Medicare treats a large income year and when an appeal may or may not be available.

Questions people usually ask before borrowing against stocks

Does borrowing against stocks count as income?

A bona fide loan is generally not gross income because you have an obligation to repay it. If debt is later canceled, separate cancellation-of-debt rules can apply. The loan itself also does not stop dividends, interest, distributions, or other income from counting where they normally would.

Can an SBLOC reduce IRMAA?

An SBLOC does not directly reduce IRMAA. What it can do is avoid a sale today. If that avoided sale would otherwise realize a capital gain and increase MAGI enough to cross a future IRMAA threshold, postponing the sale may also postpone that IRMAA effect. The premium year still follows the usual lookback rules.

Is SBLOC interest tax deductible?

Sometimes, but not simply because investments secure the loan. The use of the borrowed money matters, and the investment-interest deduction has its own limits and reporting rules. Personal-use interest is generally a different category. If the deduction is important to the decision, trace the proceeds and verify the treatment before counting the tax benefit.

Can the lender sell my stocks?

Yes, depending on the agreement and collateral shortfall. FINRA warns that if you cannot satisfy a maintenance call, the firm may sell pledged securities. That is one of the biggest differences between a clean spreadsheet comparison and the real-world risk of the strategy.

Do I eventually have to repay an SBLOC?

Yes. Interest-only payments do not make the principal disappear. Some SBLOCs are demand loans, and the lender may have broad rights to call or change the line. Your plan should identify where repayment comes from before you borrow, not after the market has a bad year.

The bottom line

Borrowing against stocks can be useful when it solves a timing problem. It is much less compelling when it becomes a permanent substitute for selling.

Run the sale tax, the realistic loan cost, the future IRMAA timing, and the collateral stress test together. If the advantage disappears when the loan lasts a little longer or the market falls, that is not a small detail. It is the decision.

How we verified this

We are audience supported - when you make a purchase through our site, we may earn an affiliate commission.

Michael Ryan
Michael Ryan, Retired Financial Planner & Founder of MichaelRyanMoney.com Michael Ryan is a retired financial planner and financial educator with nearly three decades of experience in financial planning, retirement planning, estate planning, insurance, and risk management. He is the founder of MichaelRyanMoney.com, where he explains Social Security, Medicare and IRMAA, retirement income, taxes, estate planning, insurance, investing, and personal finance in plain English. His commentary has been featured by outlets including The Wall Street Journal, U.S. News & World Report, Business Insider, Yahoo Finance, Forbes, Newsweek, and Nasdaq. Michael no longer sells financial products, manages investments, or provides individualized investment, tax, legal, or insurance advice through the site.