
Written by Jayson Elliott · Attorney, Bay Legal PC · CA Bar No. 332479 · Last reviewed April 2026
Two powerful protections: (1) an unlicensed contractor cannot bring any action to collect compensation, and (2) a person who uses an unlicensed contractor can recover all compensation paid.
Contractors operating without a license frequently also fail to obtain permits. When your contractor was unlicensed and didn't pull permits, §7031 may entitle you to recover every dollar paid — even if the work was done correctly.
The "substantial compliance" defense allows a contractor to avoid §7031 if they prove they were licensed at all times, acted in good faith, and did not know they were unlicensed. This defense is narrow and rarely successful.
Bay Legal PC in Palo Alto handles permit violation law disputes throughout California. Free initial consultations available.
Get a Free Consultation →Yes. Even if the work was done correctly, an unlicensed contractor cannot collect compensation and the property owner can recover all money paid. The quality of work is irrelevant under §7031.
Search the CSLB website at cslb.ca.gov using the contractor’s name, license number, or business name. You can verify their license status at the time your work was performed.
Yes, but through different legal theories: breach of contract and negligence rather than BPC §7031. You can recover the cost of permits, corrections, and related damages.
"Jayson and Ashley helped me tremendously with a construction dispute in which my previous general contractor abandoned the project. I cannot recommend them enough."
— Josey, Google Review
"I had issues with a contract that was not fulfilled. Jayson sent a demand letter outlining where the contract was breached. In the end I was paid back and got the outcome I wanted."
— Jennifer, Google Review
"I cannot imagine how we would have navigated our conflict with our contractor had it not been for Jayson. He was professional, compassionate, informative and responsive."
— David, Google Review
Bay Legal PC handles permit violation law disputes throughout California. Tell us about your situation and we'll be in touch promptly.
Call or text: (650) 668-8000 · Phone, video, or Palo Alto office

Jayson Elliott, Bay Legal PC · Palo Alto, California
✓ We received your message.
A member of the Bay Legal PC team will contact you shortly. See our Privacy Policy.
Or visit Bay Legal PC directly:
Visit BayLegal.com →