Borrowing against company stock can delay a tax bill, but Kestrel Bay Retirement Advisors finds that for most tech employees a staged sale over two or three tax years costs less than the interest and call risk combined. Pledged-asset lines on concentrated single-stock collateral typically allow only 10–50% loan-to-value, and a 30% drop in the stock can trigger a maintenance call that forces you to sell into a falling market on a deadline the lender sets.
What most people do here is sensible as far as it goes: they look at a pledged line, notice that borrowing creates no taxable event, and conclude they've found a way to buy a house without paying capital gains tax. That's half right. The loan is tax-free, the interest is not free, and the gain you put off is still attached to the shares, owed in full, only now it's collateral for a loan with a trigger on it.
Kestrel Bay Retirement Advisors wrote this for tech employees paid in RSUs, options, and employee stock purchase plan shares who are ten to fifteen years from retirement. That window matters. You still have catch-up years ahead, and a forced sale during them is the kind of damage compounding never quite repairs.
Buying a house without selling stock sounds free. Here is the real price tag
Before any explanation, look at the dollar lines. The single assumption behind the table is that the loan rate stays at 8% and the balance stays flat for three years.
Three years of interest on a $250,000 draw runs about $60,000. The one-time tax on selling enough stock to raise the same cash is about $28,200. The loan costs roughly twice as much, and at the end of it the untaxed gain is still untaxed, still owed, and still pledged.
A $1 million stock portfolio does not give you $1 million of borrowing room. At 50% loan-to-value it gives you $500,000, and on a single volatile employer stock many lenders will go no higher than 20–30%. The haircut is the lender's protection, not yours.
You're ten to fifteen years from retirement. That means the catch-up contribution years are visible on the calendar (the 401(k) catch-up at 50+ is $8,000 on top of the $24,500 deferral limit for tax year 2026), and the money you want to put into those years shouldn't be tied up servicing interest on a house loan.
The borrowing room is smaller than the balance
Decision rule: if the loan interest you'd pay over the years you expect to hold it exceeds the capital gains tax of selling the same amount now (roughly 18.8–23.8% combined federal for a high earner, plus your state's rate), selling usually costs less, and it removes the maintenance-call risk entirely.
| Cost line | Borrow $250,000 | Sell $300,000 |
|---|---|---|
| Year 1 cash cost | $20,000 interest | $28,200 tax, once |
| Three-year cost | about $60,000 | $28,200 (already paid) |
| Collateral risk | maintenance call possible | none |
| Tax on remaining gain | still owed later | none remaining |
| Loan-to-value limit | about 20–50% | not applicable |
How does a pledged asset line work, step by step?
You pledge shares as collateral, the lender advances cash up to an allowed loan-to-value, and interest accrues on whatever you've drawn. For one concentrated employer stock that advance rate is commonly 10–50%, far below the 50%+ a diversified portfolio supports. Nothing is sold, so nothing is reported on Form 8949 and no gain hits your return.
That tax silence is the entire appeal, and it's real. What catches people is the interest treatment. Interest on money borrowed to buy a personal residence is generally not deductible as investment interest under IRS rules, because the borrowed funds didn't buy taxable investments. So the 8% is 8%, with no deduction softening it.
A brokerage margin loan and a bank pledged-asset line look similar from the outside. The difference is who can change the terms and how fast. Margin agreements typically let the broker raise house requirements or sell collateral at its discretion; a bank line often has a stated advance rate but can still reset the rate and may exclude concentrated positions above a certain percentage of collateral.
Margin loan or bank line: who holds the controls
- Pledge: shares move to a collateral account, usually still in your name, but you lose the right to sell them freely.
- Draw: you take cash up to the allowed advance rate, often in one wire at closing.
- Accrue: interest is charged monthly on the drawn balance, frequently at a floating rate tied to a benchmark.
- Monitor: the lender revalues the collateral daily, and the advance rate on a single stock can be cut after an earnings drop.
What does a maintenance call look like on one stock?
The sequence is short and unpleasant. The stock drops, your equity falls below the maintenance requirement, the lender issues a call with a deadline often measured in days, and if you can't wire cash they sell pledged shares for you at whatever the market offers that morning.
Run the math. A $400,000 loan against $800,000 of stock is 50% LTV. A 30% drop takes the collateral to $560,000, so your equity is $160,000 against a $400,000 loan, and you're pressed right up against the call line on most agreements. You didn't do anything wrong. Your employer missed a quarter.
Here's the part that separates single-stock collateral from an ordinary margin account: you cannot rebalance out of it. A diversified portfolio under stress has bonds and uncorrelated holdings to post or sell. A portfolio that is one ticker falls all at once, and the sale forced on you is a sale of the only thing you own.
Stock can lose value on its own. Borrow against it, and the loss can outrun the stock's own decline, because the lender's share comes out first.
The call math on $800,000 of one ticker
The mistake careful people make with the interest math
Comparing the loan's interest rate to the stock's expected return, and calling the loan cheap, is the misread we see more than any other in this situation, and it comes from genuinely careful engineers, not gamblers. The logic feels tight: 8% to borrow, the stock has historically done better than that, so the spread is yours. It skips two things.
First, the cash cost is certain and the return is not. $500,000 borrowed at 8% costs $40,000 a year, about $120,000 over three years, paid in real dollars out of a real paycheck. Second, selling $500,000 of stock with a $200,000 embedded gain at a 23.8% combined federal rate costs roughly $47,600, once. Not every year. Once. The loan runs past the sale's total cost somewhere in year two and keeps going.
Some states tax capital gains at ordinary rates, some don't tax them at all. Check your state's rate before you run this comparison, because it can move the crossover point by a year.
Hypothetical, to make it concrete: Leah, 38, a product manager, needs $250,000 for a down payment and holds $1.2 million of employer stock. Option A is a $250,000 draw at 8%, costing $20,000 the first year and about $60,000 over three, assuming the balance stays flat and the stock appreciates 5% a year, for illustration. Option B is selling $300,000 of stock carrying $150,000 of long-term gain: 15% federal capital gains tax is $22,500, plus 3.8% net investment income tax of $5,700 because her income is well above $200,000, so about $28,200, paid once. After three years Leah has paid roughly twice the sale's tax bill in interest, and the gain on her remaining shares is still fully untaxed and still pledged. Plug your own basis and rate into the calculator on this page and it produces the same side-by-side.
Leah's $250,000: 8% interest against a one-time tax bill
When is selling actually cheaper after tax?
Borrowing wins only when the stock's after-tax return reliably beats the loan rate plus the value of the call risk you're carrying, and nobody can promise that about a single company's shares. Once you write it that way, the question stops being clever and becomes arithmetic.
The sale cost is usually lower than people fear. A high earner pays the 20% federal long-term capital gains bracket plus the 3.8% net investment income tax, so 23.8% is the ceiling, not the starting point, and many readers land at 15% plus 3.8%. The NIIT applies above $200,000 of modified adjusted gross income single, $250,000 joint, which gives you a lever: a planned sale spread over two or three tax years can keep part of the gain under that line.
When a known need sits on the calendar, we prefer a staged sale to a loan, because the staged seller picks the dates and the forced seller takes whatever the market offers. That's a judgment call, and we'll say so.
If you're closer to 60 than 50, there's a second reason to spread the sale, and it lands later than you'd think. Medicare sets Part B premiums from the modified adjusted gross income of two years earlier, so the gains that can raise them are the ones in the years you turn 63 and 64. One oversized gain in those years pushes the premium from the $202.90 standard to several hundred a month in the tier you land in, and spreading sales across tax years is what keeps those years lean.
Why the NIIT threshold is a planning lever
Popular beliefs about stock-backed loans, and where each goes wrong
Three claims circulate in every engineering Slack channel, and each is partly true, which is what makes them durable.
"Borrowing is tax-free." True of the loan itself. The eventual sale still pays gains tax at the same rate, and in the meantime interest compounds against you while the deferred tax sits unchanged. You delayed a bill; you did not cancel it.
"My broker will warn me before a call." Many margin agreements give the lender the right to sell collateral without advance notice, in its sole discretion. Read your own agreement's maintenance and liquidation clauses before you assume a phone call is coming.
"I'll pay it back with next year's RSUs." RSU vesting is taxed as ordinary wage income reported on your W-2, with withholding taken in shares at a rate that often undershoots a top-bracket earner's actual rate (the top federal rate is 37% above $640,600 single, $768,700 joint). A $200,000 vest does not produce $200,000 of loan repayment. It produces net shares, and a possible April balance due on top.
The RSU repayment plan is smaller than it looks
A pledged line can be the right tool when a sale would push one year's income into the top bracket or over a Medicare premium threshold, or when the shares are locked by a blackout window or a post-IPO lockup. In those cases the loan buys time, not a free lunch. The sale still has to happen, and the interest is the price of waiting.
What to gather before deciding, and the dates that drive it
Five documents answer almost every question in this decision, and four of them you already have: the vest schedule for your RSUs and options, your cost basis by lot, a recent brokerage statement, and the W-2 that shows how your employer withholds on vests. The fifth is the pledge or margin agreement you'd be signing — pull a blank copy before you apply, because the lender's math and your tax math use different inputs.
Then put the dates in calendar order. The order is what matters, not the individual deadlines.
The five documents
The order the dates arrive
- Most recent brokerage statement showing cost basis by lot — your custodian's year-end statement or the realized/unrealized gain report in the portal.
- The margin or pledge agreement itself, specifically the maintenance requirement and the liquidation clause.
- Last year's federal return, for your marginal bracket and whether you were over the NIIT threshold.
- Your vest schedule from the equity portal, including the next four vest dates.
- The mortgage rate quote you're comparing the pledged line against, in writing.
Who should not borrow against company stock
Anyone within about five years of their planned retirement should skip this entirely. A maintenance call forces a sale at whatever price the market offers that week, and a forced sale during the catch-up years is the loss that compounds worst, because there isn't a decade left to earn it back. Sell in stages across two or three tax years before the cash is ever needed, timing each sale against your bracket.
If your employer stock is already more than a fifth of your net worth, diversify before you borrow against it. A pledged line against that position doesn't reduce the concentration, it deepens it, because now a price drop costs you both portfolio value and borrowing capacity at the same moment.
Priya, 41 (hypothetical), is a designer with $90,000 of vested employer stock and a $20,000 need for a kitchen renovation. At 9% on a constant balance, the loan costs $1,800 in year one and $1,800 in year two, about $3,600 total. Selling $22,000 of stock carrying $6,000 of long-term gain costs $900 at the 15% federal rate, and she's under the $200,000 NIIT threshold so there's no 3.8% surcharge. The loan costs four times the tax at a balance well under six figures. The rule doesn't need a seven-figure portfolio to bite.
Yes, that means paying some tax earlier than you'd like.
Priya's $20,000 renovation, at a modest balance
| Factor | Borrow $20,000 | Sell $22,000 |
|---|---|---|
| Two-year cash cost | about $3,600 | $900, once |
| Tax now | none | $900 federal |
| NIIT applies | not applicable | no, under $200,000 |
| Concentration after | unchanged | reduced by $22,000 |
| Forced-sale risk | yes | none |
| Reversible | repay anytime | shares are gone |
What Kestrel Bay Retirement Advisors would look at first in your accounts
We'd start with four things: which shares are vested and which aren't, the cost basis lot by lot, the maintenance and liquidation terms in your pledge agreement, and what a sale costs in tax this year compared with spreading it across the next two. Equity compensation planning and a tax-efficient withdrawal strategy both run off the same basis data, so the work isn't wasted.
Before Kestrel Bay Retirement Advisors suggests any move on a concentrated position, it estimates what the sale costs in tax this year and over a lifetime, including what one large gain year does to brackets and, later, to Medicare premiums. As of 11/2/2026, Kestrel Bay Retirement Advisors serves 2,600 clients with $910 million in client assets, in every state, over video and phone; the minimum for new clients is $400K in investable assets, and the fee comes up in the opening conversation and is confirmed in writing before any work starts. Lay out your position in the request form below and a Kestrel Bay Retirement Advisors advisor will reply with the two or three numbers that decide it.
You delayed a bill; you did not cancel it.
Your questions about borrowing against company stock, answered
Does borrowing against my stock count as income?
No. Loan proceeds are not income and nothing is reported to the IRS as a sale, which is why a pledged line appeals to people facing a large gain. The shares keep their original cost basis and their embedded gain, and that gain is taxed in full whenever the shares are eventually sold, at whatever rate applies then.
Can I deduct the interest on a loan against my stock portfolio?
Generally only if the borrowed money funds taxable investments and you itemize deductions, in which case it may qualify as investment interest subject to IRS limits. Interest on money used to buy a personal home through a pledged line usually is not deductible, because the loan isn't secured by the residence and didn't purchase investments.
What happens if my company stock drops while it is pledged?
A decline can push your equity below the maintenance requirement and trigger a call, typically with a deadline of a few days. If you can't deposit cash or additional collateral, the lender may sell pledged shares, and many margin agreements permit that without advance notice. On a single-stock portfolio there's nothing else to sell instead.
Can I pay off a margin loan with my next RSU vest?
Yes, cash from a vest can repay the balance, but the vest is taxed as ordinary wage income on your W-2 and withholding is usually taken in shares. A $150,000 vest at a top-bracket rate leaves meaningfully less than $150,000 available, so budget from the net figure and expect a possible shortfall at filing time.
My daughter asked why we don't just take a loan instead of selling shares — is she right?
Usually not, if you'd hold the loan several years. Interest accrues every year while capital gains tax is paid once at 15% to 23.8% federal for most high earners. Over a three-year hold, 8% interest typically costs about twice the one-time tax. Borrowing makes more sense for a short, defined gap, such as a lockup window.
Can I switch from a pledged asset line to selling in stages later?
Yes. You can sell staged amounts in later tax years and apply the proceeds against the balance, which is often how a short-term loan should end. Each sale still triggers capital gains tax on the lots sold, and if the stock has fallen since you borrowed, you'll be selling more shares to raise the same dollars.
This information is general education only and does not account for your specific circumstances, goals or finances. It is not investment, tax or legal advice. Investing involves risk, including the possible loss of principal. Before making any financial decision, consult a qualified professional about your own situation.