California Code of Civil Procedure Section 395 sets the default rule for where a civil lawsuit must be filed in state court: you sue in the county where the defendant lives at the time the case is filed. From that baseline, the statute branches into separate options for contract disputes, consumer transactions, and personal injury or property damage claims. A companion statute, CCP 395.5, handles suits against corporations and unincorporated associations, and several other statutes displace Section 395 entirely for specific case types.1California Legislative Information. California Code CCP 395 – Place of Trial
The Default Rule: Sue Where the Defendant Lives
CCP 395(a) makes the superior court of the defendant’s county of residence the proper court for trial, unless another statute directs otherwise. If several defendants live in different counties, the plaintiff can pick any county where at least one of them resides.1California Legislative Information. California Code CCP 395 – Place of Trial
Residence, for venue purposes, is the county where the person actually dwells and intends to remain. A workplace or vacation home in another county doesn’t count.
The statute also blocks a common tactic. If a plaintiff names someone as a defendant only to establish venue in a favored county, the court disregards that person’s residence when deciding whether venue is proper.1California Legislative Information. California Code CCP 395 – Place of Trial A defendant who suspects sham joinder can raise it in a motion to transfer.
Contract Disputes
When the lawsuit is on a contract against an individual defendant, CCP 395(a) gives the plaintiff three counties to choose from:1California Legislative Information. California Code CCP 395 – Place of Trial
- The county where the defendant lives when the suit is filed.
- The county where the contract was entered into.
- The county where the obligation was to be performed.
A presumption ties the last two together. The county where the obligation was created is treated as the county where performance is due, unless the contract specifies a different place of performance in writing.1California Legislative Information. California Code CCP 395 – Place of Trial Sign a service agreement in Sacramento with no performance location specified, and Sacramento counts as both.
Notice what isn’t on this list: the county where the breach occurred. That option exists only when the defendant is a corporation or association under CCP 395.5. Against an individual, the plaintiff is limited to the three counties above.
Consumer Transactions Under 395(b)
CCP 395(b) rewrites the venue rules when the case arises from goods, services, loans, or credit obtained primarily for personal, family, or household use. In these consumer cases, venue follows the buyer or borrower, not the seller.1California Legislative Information. California Code CCP 395 – Place of Trial The proper county is one of these:
- Where the buyer or borrower actually signed the contract.
- Where the buyer or borrower lived when the contract was entered into.
- Where the buyer or borrower lives when the lawsuit is filed.
The same rule reaches transactions that resulted from unsolicited sales calls or from a buyer responding to a seller’s phone or electronic solicitation.1California Legislative Information. California Code CCP 395 – Place of Trial
The practical effect is that a debt collector or retail creditor cannot pull a consumer into a distant county where the company happens to be based. The case has to be filed near the consumer. If you have been sued on a consumer debt in a county where you never lived and never signed anything, subdivision (b) is the main ground for moving the case.
Personal Injury, Property Damage, and Wrongful Death
For a lawsuit involving personal injury, damage to personal property, or death from negligence or a wrongful act, CCP 395(a) offers two venue choices:1California Legislative Information. California Code CCP 395 – Place of Trial
- The county where the defendant (or any defendant) lives when the case is filed.
- The county where the injury or property damage actually occurred.
A crash on a Los Angeles freeway involving a driver who lives in San Diego can be filed in either county. Plaintiffs often choose the county where the incident happened, because that is usually where the witnesses, the evidence, and the scene sit.
Corporations and Associations: CCP 395.5
Suits against corporations and unincorporated associations fall under CCP 395.5, a separate statute with broader options than the individual-defendant rules in 395(a). A corporation or association may be sued in any of these counties:2California Legislative Information. California Code of Civil Procedure 395.5
- The county of its principal place of business, as designated in its filings with the California Secretary of State. This functions as the entity’s residence.
- The county where the contract was made or is to be performed.
- The county where the obligation or liability arose, or where the breach occurred.
That third option is the key expansion. Against a corporation, you can file where the wrongful conduct or breach actually took place, even if no contract performance was due there. An unincorporated association that has filed a statement of principal office with the Secretary of State is treated the same way.2California Legislative Information. California Code of Civil Procedure 395.5 The same facts often produce more filing options against a corporate defendant than against an individual.
When CCP 395 Does Not Apply
Section 395 opens with the phrase “except as otherwise provided by law” for a reason. Several statutes set mandatory venue that displaces 395 entirely.1California Legislative Information. California Code CCP 395 – Place of Trial
The most common is CCP 392, which governs real property actions. A suit to recover real property, determine an interest in real property, foreclose a lien or mortgage, or address injuries to real property must be filed in the county where the property is located, regardless of where the defendant lives or where any contract was signed.3California Legislative Information. California Code CCP 392 – Subject of Action Unlawful detainer actions must be filed at the court location nearest the property. Probate, dissolution of marriage, and certain actions against public entities also carry their own venue rules. Before defaulting to CCP 395, check whether a more specific statute controls.
Forum Selection Clauses in Contracts
A contract can override the default venue rules. Many agreements include a forum selection clause naming the county (or state) where any dispute must be litigated. California courts treat these clauses as presumptively enforceable. In a 2025 decision, the California Supreme Court reaffirmed that forum selection clauses “serve vital commercial purposes and should generally be enforced,” even when the designated forum would deprive a party of certain procedural rights like a jury trial.
A court may decline to enforce a clause when it resulted from fraud or overreaching, or when enforcement would violate a strong public policy reflected in a statute with an antiwaiver provision. The bar is high. In a consumer contract covered by CCP 395(b), a clause pushing the buyer to a distant forum receives closer scrutiny, because the statute is designed to protect the consumer’s home-county venue.
Challenging Venue in the Wrong County
If you have been sued in the wrong county, the remedy is a motion to transfer venue under CCP 396b. Timing decides the motion before the merits do. The motion must be filed with your first responsive pleading (an answer, a demurrer, or a motion to strike), or within the time you would have to respond if you file the transfer motion first.4California Legislative Information. California Code of Civil Procedure 396b
If the court finds venue improper, it must order the case transferred to the correct county. One wrinkle: once the defendant has answered, the court has discretion to keep the case where it is when doing so better serves the convenience of witnesses or the ends of justice.4California Legislative Information. California Code of Civil Procedure 396b
The court can also award reasonable expenses and attorney’s fees to the winning side. It weighs two factors: whether the losing side made a reasonable offer to stipulate to a change of venue, and whether the venue choice or the motion was made in good faith. When fees are awarded, they fall on the attorney personally and cannot be passed to the client.4California Legislative Information. California Code of Civil Procedure 396b
Miss the Deadline, Lose the Objection
A venue objection that isn’t raised on time is gone. CCP 396b provides that the case may be tried in the court where it was commenced if the defendant does not file the transfer motion with the first responsive pleading or within the response deadline.4California Legislative Information. California Code of Civil Procedure 396b Filing an answer without raising the issue means agreeing to litigate wherever the plaintiff filed. A separate motion later will not repair the oversight.
Federal Court Is a Separate System
CCP 395 governs California state court venue only. If the case is in federal court because of diversity of citizenship or a federal question, venue is set by 28 U.S.C. Section 1391, which uses judicial districts rather than counties. A civil action can generally be brought in a district where any defendant resides (if all defendants live in the same state) or in a district where a substantial part of the events giving rise to the claim occurred. Federal law also defines corporate residency differently, treating a corporate defendant as a resident of any district where it would be subject to personal jurisdiction.5Office of the Law Revision Counsel. 28 U.S. Code 1391 – Venue Generally If your case could sit in either court system, the venue analysis will not look the same.