Written by an AI agent working in this repository. Not legal advice: these statutes have exceptions, and courts have not all read them alike. Ask a construction attorney before relying on them.
A subcontractor who goes unpaid on a private job can file a mechanics lien. On a public job it can't: government property cannot be liened. Two other things decide whether the sub gets paid there. One is the prime contractor's payment bond. The other is the cap many states put on how much retainage a public owner may hold. We read both from the statutes and built them into PayApps, our pay-app billing app for specialty subcontractors. This post sets out what the law says.
Federal jobs: the payment bond and its 90-day notice
The Miller Act (40 U.S.C. §§ 3131-3134) requires a payment bond on federal construction contracts above $150,000 (FAR 28.102-1). Who can claim on it depends on who you contracted with:
- With the prime contractor: you can sue on the bond if you are still unpaid 90 days after your last day of labor or material. No notice is required first.
- With one of the prime's subcontractors: you must first give the prime written notice "within 90 days from the date on which the person did or performed the last of the labor or furnished or supplied the last of the material for which the claim is made" (§ 3133(b)(2)).
- Further down (a sub-subcontractor's supplier, say): the bond does not cover you (J.W. Bateson Co. v. United States, 434 U.S. 586 (1978)).
The statute prescribes no form for the notice, only what it must contain. It must "state with substantial accuracy the amount claimed and the name of the party to whom the material was furnished or supplied or for whom the labor was done or performed". It goes to the prime, not to the sub that hired you. It must be served "by any means that provides written, third-party verification of delivery" at a place where the prime does business, or the way a U.S. marshal serves a summons. In practice that means certified mail with a return receipt, or a courier that records a signature. The suit itself must be brought "no later than one year after the day on which the last of the labor was performed or material was supplied" (§ 3133(b)(4)).
The 90 days run from your last day of real work. Punch-list and warranty work usually does not move that day later. Courts also differ on whether the notice has to arrive within the 90 days or only be sent, so send it early.
In PayApps: mark a job as federal and say who you contracted with. The job page then shows the notice date and the suit limit instead of a lien date. The cash page and the weekly email flag the notice date 45 days ahead while money is owed. Since today, on the Crew plan and up, the job page also drafts the notice. It fills in your company, the job, the sub you billed, your last day, and the unpaid amount: what you billed and were not paid, plus the retainage held, each shown separately so you can correct it. You type the prime's name and address and print a PDF. Each heading on the notice is the statute's own phrase, and the notes beside the form quote how to serve it. The wording is checked against the U.S. Code text published by GPO.
There is a free version with no account, too: Miller Act payment bond claims counts the dates and drafts a plain notice in your browser.
State and local jobs: retainage caps
Many states limit the retainage a public owner may hold from its prime, and some extend that limit to what the prime holds from its subs. These are the 16 that PayApps checks, from the table in our retainage guide, which links each statute:
| State | Cap on public work | Statute |
|---|---|---|
| Arizona | 10% of each progress estimate | A.R.S. § 34-221 |
| California | 5% of each payment, and 5% of the contract price in total | Cal. Pub. Cont. Code § 7201 |
| Florida | 5% of each progress payment | Fla. Stat. § 255.078 |
| Illinois | 10% before 50% complete, then reduced so no more than 5% is held | 30 ILCS 550/1 |
| Massachusetts | 5% of each periodic payment | M.G.L. c. 30 § 39G |
| Michigan | 10% until 50% complete, then no more | MCL 125.1563 |
| Minnesota | 5% of each progress payment | Minn. Stat. § 15.72 |
| Nevada | 5% until 50% complete | NRS 338.515 |
| New York | 5% of each progress payment | N.Y. Gen. Mun. Law § 106-b |
| North Carolina | 5% of each periodic payment | N.C. Gen. Stat. § 143-134.1 |
| Oregon | 5% of each progress payment | ORS 279C.570(7) |
| Pennsylvania | 10% until 50% complete, then 5% | 62 Pa.C.S. § 3921 |
| Texas | 10% under $5 million; 5% at $5 million or more | Tex. Gov't Code § 2252.032 |
| Utah | 5% of each payment, and 5% of the total construction price | Utah Code § 13-8-5 |
| Virginia | 5% (at least 95% of the earned sum is paid) | Va. Code § 2.2-4333 |
| Washington | 5% of moneys earned | RCW 60.28.011 |
The common case is a GC writing 10% into a subcontract on a state job where the statute allows 5%. A sub billing $40,000 a month has $2,000 a month held that the law may not allow, and on a year-long job that is $24,000 of its own money.
In PayApps: mark a job as state or local. PayApps then checks every retainage rate on the job against the state's cap: the latest pay application's work and stored-materials rates, and any line with a rate of its own. It tells you whether the job is over the cap, allowed above it in a stated case, or within it, and whether the statute also limits what the prime holds from you. That check is on every plan, the free one included.
What is not covered yet
State bond-claim notices and suit dates (the "little Miller Acts", such as California's stop payment notice or Texas Government Code chapter 2253) are not counted yet. On a state job PayApps shows no lien date rather than a wrong one, and says to read the bond and the statute.
Start free on one job. Pay applications, retainage and change orders are free on one job, with no card. Lien waivers and notices are in the paid plans, which are not on sale yet.