Using a securities-backed line of credit instead of selling stock to defer capital gains

I have a taxable brokerage account with a lot of appreciated tech stock — been holding for about 6 years, so everything would be long-term. My financial advisor mentioned using a securities-backed line of credit instead of selling stock to defer capital gains, basically borrowing against the position rather than triggering a taxable event. I haven't done this before and I'm trying to understand the tax picture. When I borrow against the stock, no gain is recognized, right? And I assume there's no 1099-B issued? I'm also wondering what happens to cost basis and holding period if the lender ever forces a sale. I looked at Publication 550 and Topic 409 but neither really addresses the loan side. Has anyone actually done this? What do I need to watch for come tax time?

33 comments

Correct — borrowing against the securities is not a realization event. The IRS taxes gains when you sell, exchange or otherwise dispose of property, not when you pledge it as collateral. No 1099-B is issued just because you open a securities-backed line of credit (SBLOC). Your holding period keeps running and your cost basis is unchanged as long as the shares stay in your account.

Darius V.

Author

Next step I'm on: confirming there's no constructive sale issue. I read that pledging stock *can* trigger gain in some situations. Is that a risk here?

The constructive sale rules under section 1259 are worth knowing here. A constructive sale happens when you hold an appreciated position and also enter into a short sale against the box, a notional principal contract, a futures contract or a substantially similar transaction that eliminates most of the risk of loss and opportunity for gain. Simply pledging shares as collateral for a loan doesn't do that — you still hold the upside and the downside. So a plain SBLOC by itself doesn't trigger a constructive sale.

Darius V.

Author

That's the clarification I needed. The loan itself is fine, it's the structure around it that could cause problems.

Worth underlining: if someone tried to hedge the pledged position with a collar or forward while borrowing against it, that combination could get into constructive sale territory. Keep the borrowing clean.

Where people get surprised is the margin call or forced liquidation. If the stock drops and the lender sells shares to cover the loan balance, that's a taxable disposition. The broker will issue a 1099-B for whatever they sold, with your original acquisition date and cost basis as the covered security information. You'd report that sale on Form 8949, Part II (long-term) with the appropriate box checked since you've held more than a year.

Darius V.

Author

Current step: I've been making sure to keep the loan-to-value ratio low so a forced sale is unlikely. But good to know exactly what triggers the tax event.

The interest you pay on the SBLOC is investment interest expense, deductible on Schedule A, Form 4952. The deduction is limited to your net investment income for the year — so it matters how much ordinary dividends, interest and short-term gains you have. I uploaded my broker statement and my draft Schedule A to taxr.ai last year when I was setting this up and it mapped the interest charges to Form 4952 line by line and showed me what my actual deductible amount would be versus what would carry forward. Saved me from just guessing at the limit.

Darius V.

Author

Next thing I'm looking at: whether I have enough net investment income to actually use the deduction this year or if it'll mostly carry forward.

The carryforward on investment interest is indefinite, so none of it disappears — it just waits for a year when you have enough net investment income to absorb it. Form 4952 tracks the carryover.

One angle people overlook: if the loan proceeds are used to buy other investments, the interest is investment interest expense as described above. But if you use the proceeds for personal expenses — a car, a renovation, a vacation — the tracing rules still apply. The IRS traces how loan proceeds are spent and that determines the character of the interest deduction. Personal use means no deduction at all.

This tripped up a friend of mine. He borrowed against his brokerage, spent part on personal stuff, and his CPA had to trace each disbursement to figure out how much interest was actually deductible. Keep the proceeds going to investment use if you want the deduction to work cleanly.

Death is actually a planning consideration people bring up with this strategy. If you hold the stock, borrow against it, and die still holding it, the shares get a step-up in basis to fair market value at your date of death under Publication 551 and the inherited property rules. Your heirs could sell and pay off the loan with little or no capital gain recognized. That's the full version of the strategy some people run.

Darius V.

Author

I've heard of that. The loan interest cost over time is effectively the price of avoiding the gain permanently if the step-up works out.

The estate still might owe estate tax depending on the size of the estate, so it's not a free lunch — it just shifts which tax and when.

Ran into this last spring when my employer-restricted shares finally vested and I had a large concentrated position. I didn't want to trigger a big long-term gain by selling. Taxr read through my brokerage agreement and my year-end account statement and flagged that one tranche of shares had a holding period that would still be short-term until March — which I hadn't caught. That detail mattered because a forced sale before March would have been taxed very differently. Good catch before I finalized anything.

Darius V.

Author

Holding period step I'm on: double-checking each lot's acquisition date in my account. I have shares from several different purchase dates so lot-level tracking matters a lot here.

State taxes are a separate layer. Some states don't conform fully to federal capital gains treatment, and some states have their own rules on investment interest deductibility. If you're in a high-tax state, the SBLOC strategy gives you deferral at the federal level but you should check whether the state also defers on a no-sale basis, which it generally does since they also tax on realization.

The loan itself — the principal you receive — is never income. Borrowed money is not taxable regardless of what you pledge. This is basic but worth saying because I see people confuse the loan proceeds with a taxable event. Only a disposition of the underlying shares creates a gain or loss event.

Agreed, though the interest you pay on the loan is a real cash cost. The strategy defers the tax but you're paying carrying cost the whole time. It makes sense when the after-tax return on keeping the position exceeds the loan interest rate.

If you ever want to unwind, gifting the shares to a donor-advised fund instead of selling is another exit that avoids realizing the gain. You'd get a charitable deduction for fair market value and never pay capital gains tax on the appreciation. Some people use the SBLOC to cover expenses now and plan the gift later. The deduction rules and AGI limits on that are in Publication 526, not 550, so worth checking separately.

Darius V.

Author

Not planning a gift right now but that's a useful data point for later. Right now I'm focused on the deferral side.

Watch the alternative minimum tax if you have ISOs as well as this position. The SBLOC strategy itself doesn't create an AMT issue, but if the same year you're holding the loan you also exercise ISOs, the spread goes on Form 6251 line 2i as an AMT adjustment and could create a significant AMT liability. The two strategies don't interact directly but they hit the same return.

For the forced-sale scenario mentioned earlier: the holding period for each lot is what it is on the trade date the broker executes the sale. If you have multiple lots and they sell the most recently acquired shares, those might be short-term even if most of your position is long-term. Worth specifying with your broker which lot identification method is on record — FIFO, specific identification, etc.

Specific identification is the most flexible if you have multiple lots at different basis levels. You'd need to have it set before the trade happens, not after the fact.

Darius V.

Author

Lot ID step: I already have specific identification set on this account, confirmed it last week. I'll make sure the method is documented before anything triggers.

The 1099-B for a forced sale will show proceeds and cost basis. Because you've held more than a year, it goes in Part II of Form 8949, box D if basis is reported to the IRS (which it will be for covered shares acquired after 2010). Column (d) is proceeds, column (e) is the basis from the 1099-B, and you carry it to Schedule D. If the basis is correct, no adjustments needed in column (g).

And if there's no forced sale at all — which is the whole point of managing the LTV ratio — you file nothing related to the SBLOC itself. The form only comes if there's an actual disposition.

The wash sale rules are worth knowing in this context too. If the lender does a forced sale at a loss and you repurchase substantially identical shares within 30 days before or after, the loss would be disallowed. The disallowed amount gets added to the cost basis of the replacement shares per Publication 550. It's unlikely in a typical forced-sale scenario since you're usually not buying back right away, but keep it in mind.

If your position is in a single-stock ETF or a fund that tracks your stock very closely, the constructive sale and wash sale rules can get complicated fast. At that level of concentration and strategy complexity, running it by a CPA or enrolled agent before you sign the loan documents is worth the cost. The basic SBLOC against a plain stock portfolio is clean; structured products layered on top are where things get messy.

Agreed — single-stock ETFs with leverage or inverse exposure in particular have unsettled tax treatment. Standard diversified positions in a plain SBLOC are much more straightforward.

To close the loop on the tax filing side: in a year where no shares are sold, you have no Form 8949 entries related to the SBLOC. You may have Form 4952 for investment interest expense. If you received dividends on the pledged shares during the year those still appear on your 1099-DIV as usual and go on Schedule B. The loan changes nothing about how you report ongoing income from the position.

Darius V.

Author

That's the clearest summary of the filing picture for a quiet year. 4952 and Schedule B, no 8949. That's what I needed to understand.