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 →
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:
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.
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 Metric | Q1 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 Leverage | 11.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).
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.
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.
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.
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).
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.