Pledged asset line vs selling stock to pay off mortgage — which actually costs less?

Trying to decide between a pledged asset line vs selling stock to pay off mortgage before I retire next year. I have a decent chunk in a taxable brokerage — mostly appreciated tech shares I've held for 5+ years. The mortgage balance is about 8 years left. My broker is offering a pledged asset line (PAL) using the portfolio as collateral instead of selling. On the surface the PAL keeps the shares intact and avoids a capital gains event, but I'm not sure I'm seeing the full picture on the tax side. I already ran some rough numbers on what selling would trigger on Schedule D, but I haven't figured out how the PAL interest would work for deductions, or what happens if the market drops and I get a margin call. Has anyone actually compared these two paths from a pure federal tax standpoint?

36 comments

What does the concentration look like — is it one or two positions, or spread across a bunch of holdings? That changes the margin call risk picture quite a bit, and it also changes whether selling in tranches over a couple of years might beat both options on the tax side. I had a similar fork last year. I gave Taxr (taxr.ai) my 1099-B, my Schedule D draft, and the PAL term sheet and it mapped out which lots would generate short-term vs long-term gain if I sold, and what the net proceeds looked like after each scenario. Helped me hand something concrete to my CPA rather than going in with a napkin calculation.

Tony L.

Author

Mostly spread out but two positions make up about 60% of the value, both with very low basis. That's exactly the problem — selling those two would be a big capital gains hit even at long-term rates. The tranche idea is interesting, I hadn't really thought about spreading it across tax years.

Are you itemizing deductions right now? Because that's a threshold question for the PAL interest side. Investment interest expense goes on Form 4952 and only flows to Schedule A if you're itemizing — and even then it's only deductible up to your net investment income for the year. Any excess carries forward, but if you're taking the standard deduction it does you no good in the near term.

Tony L.

Author

I do itemize, but barely over the standard deduction threshold most years. Good point about Form 4952 — I didn't realize the deduction was capped at net investment income. So if I have mostly unrealized gains and limited dividends, the interest deduction might be nearly worthless for me.

Exactly. And you can elect to treat long-term capital gains as investment income to free up more deductible interest, but that election costs you — those gains then get taxed at ordinary rates instead of preferential long-term rates. It's on Form 4952 line 4g. Worth modeling before you assume the interest write-off makes the PAL cheaper.

Have you asked the broker what triggers a maintenance call on the PAL specifically? The collateral ratio requirements vary and some are pretty aggressive about forced liquidation if the portfolio drops. If they sell your shares to cover, you don't get to pick the lots — that's a capital gains event you didn't plan for and can't control the timing on.

Tony L.

Author

They gave me a general range but said it depends on the securities. The forced liquidation point is exactly what worries me — especially if the market drops right as I'm no longer earning a salary and can't just deposit cash to cure the call.

Something I looked into when I was weighing this: if you sell the shares, the capital gain hits the year of sale. If your income drops significantly in the first year of retirement, that could be a good year to realize gains — your marginal rate situation changes. What does your projected income look like in year one versus now?

Tony L.

Author

Year one retirement income will probably be lower, but I'll have Social Security and some pension so it won't be zero. I need to actually run the numbers on where the gains would land in the bracket stack.

The 0% long-term capital gains bracket is real but the thresholds are income-dependent — check the Schedule D Tax Worksheet or the Qualified Dividends and Capital Gain Tax Worksheet in the Form 1040 instructions for the year you're planning the sale. Don't just go off memory on where the cutoff lands.

Does the mortgage have a prepayment penalty? Some older mortgages do. That would factor into the cost comparison before you even get to the tax question.

Tony L.

Author

Thanks for flagging that — no prepayment penalty, confirmed it last week.

The wash sale rules don't apply to gains, only to losses — so if you sell appreciated shares you don't have to worry about wash sale treatment. But if you're thinking about selling some losers alongside the winners to offset gains, watch the 30-day window. Under Publication 550, buying substantially identical securities within 30 days before or after a loss sale disallows that loss.

Worth adding: if the repurchase happens inside an IRA or Roth IRA, the wash sale rules still apply and in that case the disallowed loss doesn't get added back to the new shares' basis — it's just gone. So don't try to harvest a loss and immediately rebuy in a retirement account thinking you preserve it.

That's a good catch. The IRA wash sale trap is one people miss because they think separate accounts means separate rules.

What's the interest rate on the PAL relative to what you'd earn if you kept the portfolio invested? Because if the PAL rate is 6-7% and your expected portfolio return is similar, the math on carrying the loan gets worse fast — especially since the interest deduction may be limited as others noted. I ran my own version of this comparison last year. I uploaded my brokerage statements and my draft return to Taxr and it built a side-by-side showing the after-tax cost of carrying the PAL interest versus the one-time gain on a sale, broken out by lot. Saved me a lot of spreadsheet time before I sat down with my advisor.

Tony L.

Author

The rate they quoted is variable and tied to a benchmark — right now it's not cheap. The lot-by-lot breakdown is the piece I'm missing. I'll try that approach before my next advisor meeting.

If you end up selling, are you planning to report everything on Form 8949 yourself or will the broker's 1099-B handle it? Long-term covered securities with correct basis go on Part II, box D — but if you have any positions with adjusted basis (like shares acquired through a DRIP or a corporate action), the basis might be wrong on the 1099-B and you'd need a column (g) adjustment.

Tony L.

Author

Most of my shares are covered securities but a few older lots predate the covered security rules. For those the broker just reports proceeds with no basis — that would be box E, right? I'd enter my own records as the basis and put -0- in column (g).

Yes, box E for long-term with basis not reported to the IRS. You put the correct basis in column (e) from your own records and -0- in column (g). The instructions for Form 8949 spell this out for the box B and E scenarios.

Has anyone here actually used both a PAL and then later sold shares in the same tax year? Curious whether the interest accrued on the PAL during the year counts as investment interest on Form 4952 regardless of what you eventually do with the loan.

Investment interest expense is deductible under Form 4952 to the extent it's interest on debt used to buy or carry investment property. If the PAL is secured by the portfolio and the proceeds went to pay off the mortgage — which is personal use — there's an argument the interest isn't investment interest at all, it's personal. That's a fact-specific question worth raising with a CPA or enrolled agent before you assume the deduction.

I did not know that. So the deductibility of the PAL interest might actually depend on what the loan proceeds were used for, not just what the collateral is. That changes the math considerably if the interest isn't deductible at all.

Are your appreciated shares in a taxable account only, or do you have any in a 401(k) or IRA? Because the whole capital gains analysis only applies to the taxable side — distributions from a traditional IRA or 401(k) would be ordinary income, not capital gains, so the comparison is completely different for those.

Tony L.

Author

Taxable brokerage only for the shares I'm looking at pledging or selling. The retirement accounts are separate and I'm not touching those. Good clarification though because I realize I wasn't specific about that in my original post.

The holding period question matters for the rate. Under Publication 550, counting starts the day after the trade date you bought and ends on the trade date you sell. If any of those big positions are right at the 1-year mark or you've added lots recently, check the specific dates before you decide — a lot sold one day early is short-term.

What happens to the pledged shares if the broker goes under? SIPC coverage applies to the securities in your account but a pledged asset arrangement has specific terms about how those shares are held. Worth reading the account agreement carefully — this isn't a tax question but it's a risk the tax comparison doesn't capture.

Tony L.

Author

Honestly hadn't thought about that angle at all. I'll read the agreement again before I go further.

To bring the tax picture together: selling triggers a one-time capital gains event that you can plan the timing of. The PAL defers that event but introduces ongoing interest cost that may or may not be deductible depending on how the proceeds are characterized, plus forced-liquidation risk where you lose timing control. Neither path is obviously better without knowing your bracket, your itemizing situation, and the specific lots.

Tony L.

Author

This is a clean summary of where I've landed after reading this thread. The lot-by-lot gain calculation and the Form 4952 deductibility question are the two things I need to nail down before I can actually compare costs. Taking this to a CPA with the actual numbers.

If you do decide to sell and want to minimize the gain, make sure you're specifying which lots you're selling at the time of the trade — not after. Most brokers let you select specific shares at order entry. Once the trade settles it's usually too late to change the lot identification, and the broker may default to FIFO.

Tony L.

Author

Good reminder — I know the broker has a specific-identification option but I've never used it. I'll set that up before I do anything.

Publication 551 at irs.gov covers basis of assets including how to track adjusted basis over time for shares with reinvested dividends, splits, or spinoffs. If your older lots have any of those events in their history, your records might need adjustment before you even know the real gain. Worth cross-checking before you give numbers to the CPA.

One angle nobody has raised: if you die holding the appreciated shares, your heirs generally get a stepped-up basis to fair market value at the date of death. The capital gain essentially disappears. If the goal is to pay off the mortgage in retirement rather than pass on cash, holding the shares under a PAL and paying interest until you're done with the mortgage could make sense in a larger estate-planning context — but that's well beyond a tax thread.

The step-up in basis rule is real and it's in Publication 551 under inherited property. It's a legitimate factor in the analysis. But it only helps your heirs, not your cash flow during retirement, so it depends on what problem you're actually trying to solve.

Tony L.

Author

That's a fair point and actually something my spouse and I have talked about but never modeled. Another thing to put in front of the CPA.