California venue: move to transfer when you respond, or the case stays where it was filed
California procedure · Last verified August 17, 2026
Venue in California is not jurisdictional. A case filed in the wrong county can be tried there perfectly validly — unless the defendant objects at the right moment, which is when they first respond.
Miss it and the objection is gone. And CCP 396b attaches an unusual fee consequence to getting the fight wrong: the money comes out of the lawyer, not the client.
Where a case belongs
CCP 395(a) sets the general rule and then several specific ones:
Except as otherwise provided by law … the superior court in the county where the defendants or some of them reside at the commencement of the action is the proper court for the trial of the action.
Personal injury, property damage and wrongful death: either "the county where the injury occurs or the injury causing death occurs or the county where the defendants, or some of them reside" is a proper court.
Dissolution of marriage: the county where either party has been a resident for three months preceding commencement.
Nullity or legal separation: the county where either party resides at commencement.
Child support obligations, and enforcement of a foreign support judgment: the county where the child resides.
Contract obligations — subject to subdivision (b) — a proper court is the county "where the obligation is to be performed, where the contract in fact was entered into, or where the defendant or any defendant resides." And "the county where the obligation is incurred is the county where it is to be performed, unless there is a special contract in writing to the contrary."
Several of these produce more than one proper county. Venue is not a single correct answer, and a plaintiff who picks any proper county is entitled to keep it.
The general transfer motion — and its deadline
CCP 396b(a):
Except as otherwise provided in Section 396a, if an action … is commenced in a court having jurisdiction of the subject matter thereof, other than the court designated as the proper court for the trial thereof … the action may, notwithstanding, be tried in the court where commenced, unless the defendant, at the time he or she answers, demurs, or moves to strike, or, at his or her option, without answering, demurring, or moving to strike and within the time otherwise allowed to respond to the complaint, files with the clerk, a notice of motion for an order transferring the action … together with proof of service.
Two readings of that sentence matter.
The default is that the case stays. A wrongly venued case "may, notwithstanding, be tried in the court where commenced." Venue is a personal privilege the defendant must assert.
And the moment is fixed: at the time of answering, demurring or moving to strike — or, without doing any of those, within the time otherwise allowed to respond. There is no later opportunity.
The result is mandatory — the rest of subdivision (a): on the hearing, "the court shall, if it appears that the action or proceeding was not commenced in the proper court, order the action or proceeding transferred to the proper court."
No discretion once the showing is made.
The fee provision, and who pays
CCP 396b(b) is the part that changes behavior:
In its discretion, the court may order the payment to the prevailing party of reasonable expenses and attorney's fees incurred in making or resisting the motion to transfer whether or not that party is otherwise entitled to recover his or her costs of action.
The two factors the court must weigh:
(1) whether an offer to stipulate to change of venue was reasonably made and rejected, and (2) whether the motion or selection of venue was made in good faith given the facts and law the party making the motion or selecting the venue knew or should have known.
Factor (1) is a direct incentive: offer to stipulate before you move, and refuse a reasonable offer at your peril.
And the liability is personal to counsel:
As between the party and his or her attorney, those expenses and fees shall be the personal liability of the attorney not chargeable to the party.
That is unusual and deliberate. Venue selection is a lawyer's decision, so the sanction follows the lawyer.
Procedural protection: sanctions "shall not be imposed … except on notice contained in a party's papers, or on the court's own noticed motion, and after opportunity to be heard."
Family matters — subdivision (c): in a dissolution, legal separation or Uniform Parentage Act proceeding, the court may act on certain matters before determining the transfer motion.
The special rule for consumer cases and evictions
CCP 396a applies to cases under Civil Code sections 1812.10 (retail installment contracts) and 2984.4 (conditional sale contracts for motor vehicles), to cases under CCP 395(b), and to unlawful detainer actions under CCP 1161. It flips the burden entirely.
The plaintiff must plead venue — subdivision (a):
The plaintiff shall state facts in the complaint, verified by the plaintiff's oath, or the oath of the plaintiff's attorney, or in an affidavit … filed with the complaint, showing that the action has been commenced in the proper superior court and the proper court location … and showing that the action is subject to [those sections] or is an action for an unlawful detainer.
Where the affidavit is filed with the complaint, "a copy thereof shall be served with the summons."
And the consequence of not doing it:
Except as provided in this section, if the complaint or affidavit is not filed pursuant to this subdivision, no further proceedings may occur in the action or proceeding, except to dismiss the action or proceeding without prejudice.
The case stops. Nothing can happen except dismissal.
Curable, on terms — the rest of subdivision (a): the court "may, on terms that are just, permit the affidavit to be filed after the filing of the complaint," in which case a copy is served on the defendant and "the time to answer or otherwise plead shall date from that service."
So a late affidavit restarts the defendant's response clock.
The court transfers on its own — subdivision (b): if it appears from the complaint, affidavit "or otherwise" that the court or location is not proper, the court "shall, whenever that fact appears, transfer it to the proper court or court location, on its own motion, or on motion of the defendant," unless the defendant consents in writing, or in open court with the consent entered in the minutes.
This is the reverse of CCP 396b. In a consumer or eviction case the defendant does not have to move; the court acts, and the defendant's consent is what keeps a case in an improper venue.
The other grounds for changing the place of trial
CCP 397: the court may, on motion, change the place of trial:
- (a) When the court designated in the complaint is not the proper court.
- (b) When there is reason to believe that an impartial trial cannot be had therein.
- (c) When the convenience of witnesses and the ends of justice would be promoted by the change.
- (d) When from any cause there is no judge of the court qualified to act.
- (e) In a dissolution proceeding filed where the petitioner has resided three months, where the respondent resides in another county, to the county of the respondent's residence when the ends of justice would be promoted.
Grounds (b), (c) and (d) are not about correct venue at all. They are discretionary transfers available even from a proper court — and (c), convenience of witnesses, is the one most often litigated. Because it does not depend on venue being improper, it is not confined by the CCP 396b response-time deadline in the way ground (a) is.
Interim relief in family cases — the closing paragraph of subdivision (e): on a motion under that paragraph the court may, before determining it, "consider and determine motions for allowance of temporary spousal support, support of children, temporary restraining orders, attorneys' fees, and costs."
Two routes, two burdens
| Ordinary civil case — CCP 396b | Consumer contract or unlawful detainer — CCP 396a | |
|---|---|---|
| Who must establish venue | nobody; the plaintiff's choice stands unless challenged | the plaintiff, by verified complaint or affidavit, at filing |
| Served with the summons | — | a copy of the affidavit |
| If venue is wrong | case is tried where filed unless the defendant moves | no further proceedings except dismissal without prejudice |
| Who moves | the defendant, at the time of responding | the court on its own motion, or the defendant |
| Defendant's role | must object or lose it | consent is what keeps the case there |
| Fees | discretionary, payable by the attorney personally | — |
A short checklist
If you are the defendant
- Check venue the day you are served, against CCP 395 and the specific rules for your claim type.
- Move at the time you respond. Answering, demurring or moving to strike without a transfer motion loses the objection.
- Offer to stipulate first. CCP 396b(b)(1) makes a rejected reasonable offer a factor in the fee award.
- In a consumer or eviction case, look for the venue affidavit. If it is missing, nothing can proceed except dismissal — and you need not move at all.
- Do not consent casually. In a CCP 396a case, consent in writing or in open court is what keeps a case in the wrong location.
- Consider CCP 397(c) separately. Convenience of witnesses is a different motion from an improper-venue motion.
If you are the plaintiff
- Identify every proper county before filing. More than one is often available, and you are entitled to your choice among them.
- In a consumer or unlawful detainer case, file the verified venue allegation or affidavit with the complaint, and serve it with the summons.
- If you left it out, ask to file late — and expect the defendant's response time to restart from service of the affidavit.
- Take a reasonable stipulation seriously. The fee exposure under CCP 396b(b) is personal to the attorney and not chargeable to the client.
Where these sections live
- CCP 395 — Proper court for trial
- CCP 396a — Venue in consumer contract and unlawful detainer actions
- CCP 396b — Motion to transfer for improper venue
- CCP 397 — Grounds for changing the place of trial
- CCP 418.10 — Motion to quash, stay or dismiss
- CCP 430.10 — Grounds for demurrer
- CCP 435 — Motion to strike; timing
- CCP 1005 — Notice periods for motions
This page explains what the Code says. It isn't legal advice, and the Civil Code sections that define the consumer contracts covered by CCP 396a are outside what this site reproduces.