By Adam Lambert, founder of Deal Run · Updated October 30, 2026

What is the Capital Stack?

A capital stack is every layer of money in a deal, ranked by who gets repaid first when the property sells. On this page the order runs paid first → paid last: a senior loan, then any junior loan, then the investor's own cash. The layer paid last earns the most when the deal works and absorbs the first loss when it doesn't.

The stack on a typical flip

Big-building stacks add mezzanine debt and preferred equity. At the scale most wholesalers and flippers work, three layers do the job:

Position is a legal fact, not a handshake. On a Fannie Mae loan, the guide says a subordinate lien must be evidenced by a promissory note, reflected in a recorded mortgage, deed of trust or other security instrument, and clearly subordinate to the first mortgage. Washington's recording statute shows why the recording matters: an unrecorded conveyance, a mortgage included, is void against a later good-faith purchaser or mortgagee for value whose conveyance is recorded first, and an instrument counts as recorded the minute it is filed. A private lender's second lien that was signed but never recorded can lose its place.

Worked example: one flip sold at three prices

Assumptions (illustrative numbers, not market data):

  • Purchase price $200,000 plus $50,000 rehab budget = $250,000 total project cost.
  • Senior first lien (hard money): $200,000, at 12% per year, interest-only, paid monthly by the investor during a 6-month hold.
  • Junior second lien (gap/private money): $30,000 principal plus an agreed $3,000 flat fee, so $33,000 owed at sale.
  • Investor cash: $20,000.
  • Selling costs: 8% of the sale price.

Step 1, the stack at purchase. $200,000 + $30,000 + $20,000 = $250,000. Debt is ($200,000 + $30,000) / $250,000 = 92% of cost, so the investor's cash is 8% of the stack. This is loan-to-cost, our ratio for the example. It is not Fannie Mae's CLTV, which divides by the lesser of sales price or appraised value.

Step 2, the carry. Interest paid out of pocket is $200,000 × 12% / 12 × 6 months = $12,000. Total investor cash out is $20,000 + $12,000 = $32,000.

Step 3, pay the layers at closing. Selling costs come off the sale price, then the layers are paid in order:

Sale priceNet after 8% selling costsFirst lien paidSecond lien paid (of $33,000)Left for equityInvestor result vs. $32,000 cash out
$320,000$294,400$200,000$33,000$61,400+$29,400 (91.9% on $32,000)
$260,000$239,200$200,000$33,000$6,200−$25,800
$230,000$211,600$200,000$11,600 (short $21,400)$0−$32,000

Result. A $90,000 swing in sale price, $320,000 down to $230,000, costs the first-lien lender nothing and the second-lien lender $21,400. It takes the investor from +$29,400 to −$32,000. The senior layer is safest because it is paid first; equity earns the most and absorbs losses first.

When a foreclosure sets the order

The same ranking is written into law when a lender forecloses. Washington's trustee's-sale statute is one state's example, and foreclosure rules vary by state. The proceeds go first to the expense of sale, then to the obligation secured by the foreclosing deed of trust, and any surplus goes to the superior court clerk. Junior liens eliminated by the sale attach to that surplus in their original order of priority.

Refinances and disclosure

  • Refinancing the first. A second lien doesn't automatically stay second. Fannie Mae requires a recorded resubordination agreement when subordinate financing stays in place through a refinance, unless state law keeps the junior lien in its prior position.
  • Disclosure. Lenders must disclose subordinate financing and its repayment terms to Fannie Mae, the appraiser and the mortgage insurer, so the senior lender sees every layer. Fannie Mae measures the total debt with combined loan-to-value: the first mortgage's original amount, plus the drawn balance of any HELOC, plus the unpaid balance of closed-end subordinate financing, divided by the lesser of sales price or appraised value. See loan-to-value.

Layers that aren't liens on the house

Some money is paid after the mortgages but before the investor's cash, and it isn't secured by the real estate. The IRS describes loans made to the owners of property-holding entities, secured by a pledge of those ownership interests rather than directly by the property. Industry calls that structure mezzanine financing; the IRS text doesn't use the word. A pledged ownership interest is personal property, so the lender enforces under UCC Article 9: after default it may sell or otherwise dispose of the collateral, and every aspect of the sale must be commercially reasonable. Equity positions such as preferred equity are simply further down the payout order: they are repaid only after every loan ahead of them.

Doing this in Deal Run

Deal Run is our product. Every layer in the table above depends on one number: the sale price. Deal Run's Max Offer step runs flip, rental and wholesale exits from MLS-grade sold and rental comps, ARV and an AI repair estimate built from the property's photos, so you see that price before you or your buyer sign a loan. Once the numbers work, build the deal page, find local landlords and flippers who recently bought nearby with skip-traced contacts, and email and text blast your buyer list. Emails go from your own Gmail and texts from your own number. Tracked links show who viewed your deal page. Texts and calls should go to numbers you've scrubbed against the DNC list.

FAQ

Which layer of the capital stack gets paid first?

The senior layer, usually the first-lien loan. In the worked example the $200,000 first lien is paid in full at every sale price tested, even when the second lien and the investor's cash take a loss.

Why does the investor's cash take the first loss?

Equity is paid last. In the example, a drop in sale price from $320,000 to $230,000 cost the first-lien lender nothing and the second-lien lender $21,400, but it moved the investor from a $29,400 profit to a $32,000 loss.

Does a second lien stay in second place if the first mortgage is refinanced?

Not automatically. When subordinate financing stays in place through a refinance, Fannie Mae requires a recorded resubordination agreement, unless state law keeps the junior lien in its prior position.

Is every layer of the stack a lien on the house?

No. A mezzanine-style loan is secured by a pledge of the ownership interests in the entity that owns the property, not by the real property itself, so the lender enforces under UCC Article 9 rather than through a mortgage foreclosure.

Sources

Related

Know the sale price before you stack the loans

Run comps, ARV, repairs and max offer on any address, then find the buyers. Analyze is $29/mo; Analyze + Sell is $99/mo. Or pay per deal: $2 to analyze, $20 with 100 buyers.

Try the free demo