The rule
This is the basic permit rule. Installing, altering, repairing, replacing, or remodeling a plumbing system the code regulates takes a plumbing permit first, and it's unlawful to do the work or have someone else do it without one.
Permits go by building or structure. A main house and a detached garage or detached ADU are separate structures, so each gets its own plumbing permit.
A short list of small repairs is exempt (see 104.2). Everything else starts at the building department.
If work starts without a permit, the code calls for a special investigation before one is issued, plus an investigation fee equal to the permit fee on top of the permit fee. Paying it doesn't excuse the work from the code or from other penalties. The building department sets its own fees and process, and the city's adopted edition of the code has the final word.
On the job
- Pull the permit before you open the ground or the wall. The inspections hang off the permit, so no permit means nothing for the inspector to sign off.
- When you bid a house with a detached garage or ADU, plan on a plumbing permit for each structure.
- A lot of jobs that sound like a simple swap are really replacements. Check with the building department before you start, not after the inspector drives by.
The inspector and your city's adopted edition have the final word.