Articles

What Is a Mortgage Warehouse Line? Mechanics, MRA Safe Harbors, and Sizing

How Independent Mortgage Banks fund closings from table funding to takeout wire, why banks demand Master Repurchase Agreements, and how to size for month-end peaks.

A mortgage warehouse line is a specialized, loan-level revolving credit facility that Independent Mortgage Banks use to fund residential home loans at closing and hold them for 12 to 25 days until takeout investors wire purchase proceeds. Structured as a Master Repurchase Agreement under U.S. Bankruptcy Code safe harbors (11 U.S.C. 101(47), 559, and 362(b)(7)), a warehouse line lets non-depository lenders finance 95 to 98 percent of every mortgage while keeping collateral perfected via custodians and Bailee Letters.

Worked in full in The Mortgage Warehouse Line Handbook by Julian R. Sterling, with every figure reproduced in live Excel workbooks.Get the DRM-free PDF, $19.99 →

How a Mortgage Warehouse Line Works From Closing Table to Takeout Wire

Unlike commercial banks, Independent Mortgage Banks (IMBs) have no customer deposits. To fund $180,000,000 of monthly residential loans, an IMB relies on a short-term, self-liquidating bridge known as a mortgage warehouse line. Every dollar advanced is tied to one specific mortgage loan and moves through five tightly controlled stages:

  1. Pre-Funding Eligibility Screen (Day -1): The IMB uploads loan data (UPB, note rate, FICO, LTV, takeout investor lock price) to the warehouse bank's portal to clear product sublimits and investor caps.
  2. Table Funding and Haircut Split (Day 0): On closing morning, the warehouse bank wires its advance (for example, 98.0 percent, or $367,500 on a $375,000 Agency loan) directly to the verified title company, while the IMB funds the remaining 2.0 percent haircut ($7,500) from operating cash.
  3. Wet-to-Dry Collateral Perfection (Days 1 to 5): The settlement agent overnights the original wet-ink promissory note to the bank's custodian (UCC Section 9-313), or registers a digital eNote on the MERS eRegistry under E-SIGN (15 U.S.C. 7021) and UETA Section 16 for instant Day-0 dry status.
  4. Shipping and Bailee Release: The custodian ships the original note to the takeout investor under an authenticated Bailee Letter (UCC 9-313(c)), legally locking the investor to wire 100 percent of purchase proceeds straight to the warehouse bank.
  5. Takeout Settlement and Residual Sweep: Upon clearing audit, Fannie Mae, Freddie Mac, Ginnie Mae, or a correspondent aggregator wires purchase proceeds to the bank. The bank deducts principal, Actual/360 interest, and wire fees, then sweeps the haircut plus gain-on-sale residual back to the IMB.

Why Warehouse Banks Insist on Master Repurchase Agreements (MRAs)

Commercial warehouse banks overwhelmingly document warehouse lines as Master Repurchase Agreements (MRAs) rather than traditional UCC Article 9 secured revolvers. Under 11 U.S.C. 101(47), 559, and 362(b)(7) (as read in November 2026), a qualifying mortgage repurchase agreement is exempt from the bankruptcy automatic stay, allowing the warehouse bank to accelerate, set off bank deposits, and liquidate mortgage collateral immediately upon default. Under U.S. GAAP (FASB ASC 860), however, the IMB's obligation to repurchase the loans means it retains effective control, so the loans remain on the IMB's balance sheet as pledged Loans Held for Sale (ASC 948 / ASC 825 Fair Value Option) financed by secured warehouse liabilities.

Worked Case: Crestview Home Lending, LLC ($180M/Month Stack)

In The Mortgage Warehouse Line Handbook, every capacity, carry, margin-call, and covenant calculation is worked on one fictional mid-market IMB, Crestview Home Lending, LLC (480 loans/month at $375,000 average = $180,000,000/month, $2,160,000,000/year across Agency, Government, and Jumbo):

Warehouse MetricQ1 Baseline (20.1d Dwell)Q4 Optimized (13.4d Dwell)
Total Stack (Committed)$175,000,000 ($135M comm)$150,000,000 ($110M comm)
Average Funded Balance$117,301,500$78,201,000 (-33.3%)
Peak Month-End Funded (1.35x)$158,357,025 (90.5 percent)$105,571,350 (70.4 percent)
Peak Debt / ANW Leverage11.20x (vs. 12.00x max)7.56x (4.44x headroom)

Dive deeper into warehouse line advance rates and haircuts and mortgage warehouse dwell-time cost and optimization, or model your own stack with the free Warehouse Line Capacity and Cost Model (Excel).

Questions practitioners ask

How is a mortgage warehouse line different from a corporate revolver?

A warehouse line is a loan-level, self-liquidating collateral facility wired directly to closing agents and repaid directly by takeout investor wires under Bailee Letters, rather than a general working-capital cash draw.

Why do warehouse lines use Master Repurchase Agreements instead of standard loans?

MRAs qualify for U.S. Bankruptcy Code safe harbors (11 U.S.C. 101(47), 559, and 362(b)(7)), exempting warehouse banks from the automatic stay so they can offer 95 to 98 percent advance rates.

How many warehouse banks should a mid-market IMB maintain?

At least three active banks (two committed core banks plus one specialty/overflow bank) with staggered 364-day renewal dates and no single bank exceeding 50 percent of committed capacity.

How are warehouse lines reported under U.S. GAAP?

Under FASB ASC 860, warehouse MRAs fail sale derecognition and are reported as secured borrowings, with pledged mortgages remaining on the balance sheet as Loans Held for Sale (ASC 948 or ASC 825 Fair Value Option).

Read the full handbook

This guide is drawn from The Mortgage Warehouse Line Handbook, following Crestview Home Lending, LLC through a complete 12-month warehouse optimization and right-sizing program.

Paperback, $32.99 PDF edition, $19.99 Book page and companion workbooks

Free download: Mortgage Warehouse Line Capacity & Cost Model (Excel).

Illustrative figures computed by the book model; Crestview Home Lending, LLC is fictional. Education only, not legal, accounting, tax, regulatory, or banking advice.