Learn

How to buy a house without selling your investments

A closing date does not move. Your portfolio is not cash on that date. That gap is why people sell shares they meant to keep, and there are two other ways to cross it.

← Back to Knowledge Blog

Buying a house runs on dates that other people set. Earnest money goes in when the offer is accepted. The down payment is due at closing. Neither date bends because the market is down that month or because a position you like happens to be concentrated in one stock.

Most buyers solve this by selling. It works, and it is the fastest route to cash. It also converts part of a portfolio you chose to hold into a down payment at a price you did not choose.

Why selling is the default

The shares are already there, the sale settles in two days, and no one has to approve anything. Compare that with a mortgage, which takes weeks of underwriting, or a bank line, which takes its own paperwork. When the closing date is six weeks out and the money is sitting in equities, selling is the path of least resistance.

What selling costs at a closing table

The visible cost is the tax on the gain. Hold the shares more than a year and the gain is long-term, taxed at 0%, 15% or 20% depending on your income, with a possible 3.8% surtax for higher earners. Hold them a year or less and it is short-term, taxed at your ordinary rate. State income tax may apply on top.

The less visible cost is what leaves with the shares. A down payment is often 20% of the purchase price, and that money comes out of a portfolio that was compounding. You do not get that position back at the old price.

Then there is timing. Houses go under contract in weeks. Equity markets move every day. A closing date can force you to sell into a dip that has nothing to do with the house.

What a lender will actually accept

This is the part most buyers and a surprising number of agents never check.

Under Fannie Mae guidelines, money borrowed against financial assets can count toward a down payment. The lender documents the obligation, and it reduces the reserves it credits you with by the amount you borrowed. Payments on that borrowing generally do not count against your debt-to-income ratio the way a new car loan would, because the structure has no scheduled payments during its term.

Three caveats, and they matter. Underwriting rules differ between Fannie Mae, FHA and jumbo lenders. A structure that looks like a loan on one form and an options position on another needs to be explained early, not at the closing table. And the reserve reduction is real, so borrowing more against the portfolio can weaken the rest of your mortgage file.

Ask the loan officer one direct question before you commit to a structure: what documentation will you need for a down payment sourced from a brokerage account.

The short version. A closing date is a fixed cash need. Borrowing against the portfolio moves the cash need to a date you choose, without selling the position that generated it.

Three ways to fund the closing date

  • Cash and savings, which costs nothing and is the first place to look.
  • A sale of shares, which is fast, final, and realizes the gain immediately.
  • A loan secured by the portfolio, which keeps the position in place. That route has its own mechanics, compared in our guide to lines of credit, margin and fixed-maturity financing, and the box trade version is worth understanding because it fixes the cost on the day you start.

How a box trade maps onto a closing date

A box trade is four S&P 500 index option positions placed at two strike prices with one expiration date. Held together they cancel every directional bet, so the position is designed to be worth the distance between the strikes on that date, wherever the index ends up. Selling the structure produces cash now and a known amount due at expiration. The difference between the two is the financing cost.

How a box trade is executed. Placing one means selling four option legs at the same time, at two strike prices and a single expiration that have to line up with the amount you need and the date you need it. Pricing, collateral and margin treatment move together, and a mistake in any leg is expensive to unwind. That is why InvestedFlex's technical advisors structure and place every trade for clients rather than handing over a set of instructions. You see the rate, the maturity and the repayment amount. We handle the execution.

Here is why that shape suits a property purchase. You know the closing date months ahead. You can choose a box whose expiration sits beyond it, take the cash in a few days, and have the repayment amount fixed before you sign anything.

What a worked example looks like

Take a hypothetical buyer closing on a $600,000 purchase with 20% down, so $120,000 due at closing, and a current home that will not sell until the following summer.

They place a box expiring eighteen months out, in the September after the June closing on the old house. The cash is in the brokerage account within days of the trade, well before the down payment is due. The repayment amount on the September date is fixed at entry, so the all-in cost of the purchase is knowable before the offer goes in.

Nothing is paid monthly during those eighteen months. The cost settles once, at the end, and the portfolio stays invested the whole time.

What happens when the box matures

Three options, and the choice belongs to you at that point rather than to a lender.

  • If the old house sold, use the proceeds to settle the maturing amount.
  • If the house has not sold, place a new box and roll the obligation forward, which settles the maturing amount and starts a new term. The rate on that roll is whatever the market offers on the day.
  • If rates have moved in your favor, refinance the position into a conventional mortgage, which is the same decision any homeowner makes with a bridge.

What you cannot do is assume the roll will be cheap. It might be. Nobody can tell you today what the market will charge in eighteen months.

Side by side

Funding a down payment three ways

Terms vary by provider, account and lender. Ask each for the full economics on your situation.

 
Sell shares
Portfolio line
Box trade
Cash available
Two days
Days to weeks
Days, once approved
Taxable event now
Yes, on the gain
No
No
Keeps the position
No
Yes
Yes
Cost fixed in advance
No, price moves daily
Partly
Yes
Payments during the term
Not applicable
Monthly interest
None until maturity
Extendable
Not applicable
Revolving by design
Yes, by rolling at expiry
Tax treatment of the cost
Gain realized, taxed now
Interest, generally not deductible for personal use
Section 1256 capital loss

What it requires, and where it can go wrong

You need options approval on the brokerage account, enough equity to cover the position's margin requirement, and a portfolio liquid enough to serve as collateral. The trade also has to be structured and executed by a technical advisor who does this regularly, which is the part InvestedFlex handles. A box trade is not available inside a retirement account.

A falling market works against you twice. The collateral is the same portfolio that is declining, and the position sits there for the whole term. If you need to close it early, the market price at that moment applies rather than the fixed payoff, and it may be worse than holding to maturity.

There is also a paperwork reality. A box trade does not look like a mortgage on a bank statement, so the loan officer has to understand it. Raise the structure with the lender early enough that underwriting has time to document it, and keep the trade confirmation.

And the tax point deserves its own sentence, because it is where most explanations go quiet. Interest on a margin loan or a portfolio line is traced to what the money paid for, so for a personal purchase it is generally not deductible. A box trade is treated differently: index options are Section 1256 contracts, and for the 2026 tax year the financing cost is marked to market annually, so that cost is generally recognized as a capital loss at 60% long-term and 40% short-term. That loss offsets realized capital gains without a cap, and up to $3,000 a year against ordinary income. InvestedFlex does not provide tax advice, and those figures are statutory descriptions rather than a projection of your outcome. Your own adviser should confirm how it applies to you. The same distinction, worked through for a tax bill.

When selling is still the right answer

If the position was already going to be trimmed, sell it. Financing a purchase to protect a holding you wanted to reduce adds cost to a decision you had already made.

If the portfolio is the only money you have and you cannot carry a repayment date, sell. A structure with a maturity date assumes you can meet it or roll it, and rolling at an unknown future rate is a risk you feel most in a bad market.

If the concentration in one stock is what worries you, reducing it may matter more than avoiding the tax. Paying tax on a gain is not a loss. It is the cost of having had the gain.

A checklist before you commit

  • Write down the closing date and the exact amount due at it.
  • Ask the lender what documentation a down payment from a brokerage account needs, before you choose a structure.
  • Ask whether the structure affects your counted reserves, and by how much.
  • Choose an expiration beyond the date the money is actually needed, not on it.
  • Decide in advance what you will do at maturity: settle from a sale, roll, or refinance.
  • Ask your tax adviser how the financing cost would be treated in your return.

Questions people ask

Under Fannie Mae guidelines, funds borrowed against financial assets can count toward a down payment. The lender documents the obligation and reduces the reserves it credits you with by the amount borrowed. FHA and jumbo lenders set their own rules, so confirm the specifics with your loan officer before you rely on it.
No. It can sit alongside a mortgage. What matters is that the lender knows about it, understands the structure, and accounts for it correctly in your file. Declaring it late is what causes problems.
The cash is drawn when the position is placed, not at closing, so a delayed closing does not disturb it. The money simply sits in the account until it is needed. Choose the expiration with room beyond the expected closing date.
It depends on the structure. Interest on a margin loan or portfolio line is traced to what the money paid for, so for a personal home purchase it is generally not deductible. With a box trade, the cost is generally recognized as a Section 1256 capital loss for the 2026 tax year, marked to market annually at 60% long-term and 40% short-term, offsetting realized capital gains without a cap and up to $3,000 a year against ordinary income. Confirm with your tax adviser.
That depends on the eligible collateral in your portfolio and the margin requirement on the position, not on the purchase price. A concentrated position is treated differently from a diversified account. The review works this out for your holdings before anything is placed.
Not necessarily, but do not pretend the question away. A box trade defers a decision to a date you choose rather than removing it. At maturity you settle from a sale, roll the position, or refinance. Choosing which of those you intend, before you start, is the difference between planning and hoping.

Bring the portfolio.
Bring your borrowing needs.

A private review compares the paths for your specific holdings, amount and timeline. Indicative pricing, dated.