395.
(a) (1) Except as otherwise provided by law and subject to the power of the court to transfer actions or proceedings as provided in this title, 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.(2) If the action is for injury to person or personal property or for death from wrongful act or negligence, the superior court in either the county where the injury occurs or the injury causing death occurs or the county where the defendants, or some of them reside at the commencement of the action, is a proper court for the trial of the action.
(3) In a proceeding for dissolution of marriage, the superior court in the county where either the petitioner or respondent has been a resident for three months next preceding the commencement of the proceeding is the proper court for the trial of the proceeding.
(4) In a proceeding for nullity of marriage or legal separation of the parties, the superior court in the county where either the petitioner or the respondent resides at the commencement of the proceeding is the proper court for the trial of the proceeding.
(5) In a proceeding to enforce an obligation of support under Section 3900 of the Family Code, the superior court in the county where the child resides is the proper court for the trial of the action.
(6) In a proceeding to establish and enforce a foreign judgment or court order for the support of a minor child, the superior court in the county where the child resides is the proper court for the trial of the action.
(a) (7) Except as otherwise provided by law and subject to the power of the court to transfer actions or proceedings as provided in this title, 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. If the action is for injury to person or personal property or for death from wrongful act or negligence, the superior court in either the county where the injury occurs or the injury causing death occurs or the county where the defendants, or some of them reside at the commencement of the action, is a proper court for the trial of the action. In a proceeding for dissolution of marriage, the superior court in the county where either the petitioner or respondent has been a resident for three months next preceding the commencement of the proceeding is the proper court for the trial of the proceeding. In a proceeding for nullity of marriage or legal separation of the parties, the superior court in the county where either the petitioner or the respondent resides at the commencement of the proceeding is the proper court for the trial of the proceeding. In a proceeding to enforce an obligation of support under Section 3900 of the Family Code, the superior court in the county where the child resides is the proper court for the trial of the action. In a proceeding to establish and enforce a foreign judgment or court order for the support of a minor child, the superior court in the county where the child resides is the proper court for the trial of the action. Subject to subdivision (b), if a defendant has contracted to perform an obligation in a particular county, the superior court in 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 at the commencement of the action is a proper court for the trial of an action founded on that obligation, 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. If none of the defendants reside in the state or if they reside in the state and the county where they reside is unknown to the plaintiff, the action may be tried in the superior court in any county that the plaintiff may designate in his or her complaint, and, if the defendant is about to depart from the state, the action may be tried in the superior court in any county where either of the parties reside or service is made. If any person is improperly joined as a defendant or has been made a defendant solely for the purpose of having the action tried in the superior court in the county where he or she resides, his or her residence shall not be considered in determining the proper place for the trial of the action.
(8) If none of the defendants reside in the state or if they reside in the state and the county where they reside is unknown to the plaintiff, the action may be tried in the superior court in any county that the plaintiff may designate in his or her complaint, and, if the defendant is about to depart from the state, the action may be tried in the superior court in any county where either of the parties reside or service is made.
(9) If any person is improperly joined as a defendant or has been made a defendant solely for the purpose of having the action tried in the superior court in the county where he or she resides, his or her residence shall not be considered in determining the proper place for the trial of the action.
(b) Subject to the power of the court to transfer actions or proceedings as provided in this title, in an action arising from an offer or provision of goods, services, loans or extensions of credit intended primarily for personal, family or household use, other than an obligation described in Section 1812.10 or Section 2984.4 of the Civil Code, or an action arising from a transaction consummated as a proximate result of either an unsolicited telephone call made by a seller engaged in the business of consummating transactions of that kind or a telephone call or electronic transmission made by the buyer or lessee in response to a solicitation by the seller, the superior court in the county where the buyer or lessee in fact signed the contract, where the buyer or lessee resided at the time the contract was entered into, or where the buyer or lessee resides at the commencement of the action is the proper court for the trial of the action. In the superior court designated in this subdivision as the proper court, the proper court location for trial of a case is the location where the court tries that type of case that is nearest or most accessible to where the buyer or lessee resides, where the buyer or lessee in fact signed the contract, where the buyer or lessee resided at the time the contract was entered into, or where the buyer or lessee resides at the commencement of the action. Otherwise, any location of the superior court designated as the proper court in this subdivision is a proper court location for the trial. The court may specify by local rule the nearest or most accessible court location where the court tries that type of case.
(c) Any provision of an obligation described in subdivision (b) waiving that subdivision is void and unenforceable.