The question arrives with a specific fear attached: that the other parent's lawyer will say the word "bipolar" or "PTSD" in court and the rest will follow. California's custody statute does not work that way, and since 2024 it says so in a sentence written for exactly this situation.

The short answer: a diagnosis is not a ground for anything. The court decides custody by "the best interest of the child," and the statute tells it what to weigh: "The health, safety, and welfare of the child," any "history of abuse," "the nature and amount of contact with both parents," and "the habitual or continual illegal use of controlled substances, the habitual or continual abuse of alcohol, or the habitual or continual abuse of prescribed controlled substances by either parent."¹ Mental illness is not on that list. What the statute does say about it is a procedural safeguard added in 2022 and operative from 1 January 2024: "if a court finds that the effects of a parent's, legal guardian's, or relative's history of or current mental illness are a factor in determining the best interest of the child," the court "shall" both "provide the parent, legal guardian, or relative with a list of local resources for mental health treatment" and "state its reasons for the finding in writing or on the record."² The word is effects. A judge who wants to count your condition has to identify how its effects bear on the child's best interest, and say so where it can be reviewed.²

What the court is told to weigh

The statute's opening sentence: "In making a determination of the best interests of the child in a proceeding described in Section 3021, the court shall, among any other factors it finds relevant and consistent with Section 3020, consider all of the following."¹ Then the list — the child's "health, safety, and welfare"; a "history of abuse"; contact with both parents; and substance use — followed by a procedural paragraph requiring written reasons, and specific transfer terms, whenever abuse or substance use has been alleged.¹ For abuse and for substance use, each paragraph has its own corroboration clause; for substance use, the court "may first require independent corroboration, including, but not limited to, written reports from law enforcement agencies, courts, probation departments, social welfare agencies, medical facilities, rehabilitation facilities, or other public agencies or nonprofit organizations providing drug and alcohol abuse services" before it counts the allegation.¹ An accusation is not a finding.

The policy behind the list is stated in the section it refers to: "it is the public policy of this state to ensure that the health, safety, and welfare of children shall be the court's primary concern," and "to ensure that children have frequent and continuing contact with both parents" after separation, "except when the contact would not be in the best interests of the child" — and where those two collide, the order "shall be made in a manner that ensures the health, safety, and welfare of the child and the safety of all family members."³ A separate section, while setting an order of preference among parents, guardians and others, disclaims any thumb on the scale between parents: it "establishes neither a preference nor a presumption for or against joint legal custody, joint physical custody, or sole custody, but allows the court and the family the widest discretion to choose a parenting plan that is in the best interest of the child, consistent with this section."⁴

"Among any other factors it finds relevant" is the phrase that lets a court consider a parent's mental health at all.¹ The 2024 provision is the constraint on how.

The 2024 rule, in full

"(d)(1) Commencing January 1, 2024, if a court finds that the effects of a parent's, legal guardian's, or relative's history of or current mental illness are a factor in determining the best interest of the child under subdivision (a), the court shall do both of the following: (A) Provide the parent, legal guardian, or relative with a list of local resources for mental health treatment. (B) State its reasons for the finding in writing or on the record. (2) This subdivision does not relieve a court from ensuring that the health, safety, and welfare of the child is the court's primary concern in determining the best interests of children when making any order regarding the physical or legal custody, or visitation, of the child."²

Three things follow. The finding must be about effects, not existence. It must be stated, so that a decision resting on a diagnosis alone is visible on the record and can be appealed. And the court is told to respond to a mental-health finding with a list of treatment resources — the statute's own signal that the expected answer to a parent's illness is treatment, not the loss of a child.

What actually moves a court

Read the list again. The factors are conduct and consequence: abuse, substance use, the child's safety, the contact each parent maintains. A parent in treatment whose condition has not reached the child is not described by any of them. A parent whose untreated episode left a child unsupervised, or exposed to a hospitalization without care arranged, is — under "health, safety, and welfare," not under a diagnostic code.

That is why the practical advice is the same as the legal advice: be in treatment, keep the records that show it, and have a plan for the bad week. Who looks after my kids if I'm hospitalized? → · A psychiatric advance directive in California →

Your records, and the evaluation

The other parent's lawyer cannot simply subpoena your therapy file; the psychotherapist–patient privilege is yours, and a custody dispute does not by itself waive it — though the privilege falls away for communications relevant to your mental or emotional condition if you yourself put that condition in issue.⁶ Will my therapy records come up in a custody case? → If the court orders a custody evaluation, the evaluator's report is a different document with its own rules. What is a custody evaluation? →

Worked example

A mother with a bipolar diagnosis, stable on medication for three years, is told by her ex's lawyer that her "history" means she cannot have the children overnight. Under the statute, the court must weigh the children's health, safety and welfare, any history of abuse, contact, and substance use — none of which the diagnosis establishes.¹ If the judge nonetheless treats her illness as a factor, the judge must find that its effects bear on the children's best interest, say why on the record, and hand her a list of treatment resources.² A three-year treatment record and a written plan for a relapse — who takes the children, who is called — are the evidence that there are no such effects.

Q&A

Q: I was hospitalized last year. Is that the end of it? A: A hospitalization is an event; the statute asks about the effects of an illness on the child's best interest, with the child's health, safety and welfare the primary concern.¹ ² What happened to the children during it — whether care was arranged, whether they were safe — is what a court can weigh.

Q: Can the judge order me into therapy? A: A court may require the parents, or any other party to the dispute, and the child "to participate in outpatient counseling with a licensed mental health professional, or through other community programs and services that provide appropriate counseling… for not more than one year," if it finds both that the dispute poses a substantial danger to the child's best interest and that the counselling is in the child's best interest;⁵ the 2024 rule separately requires a list of treatment resources when mental illness is counted.² Details on court-ordered counselling →

Q: The other parent is using my medication against me. A: The substance-use factor is "the habitual or continual abuse of prescribed controlled substances," and the court "may first require independent corroboration" from public agencies or drug-and-alcohol nonprofits before counting it.¹ Taking medication as prescribed is not abuse of it.

Q: Does any of this apply to a guardian or a grandparent seeking custody? A: Yes. The 2024 rule names "a parent's, legal guardian's, or relative's" mental illness.²


Our therapist directory: See its current status →

In crisis? Call or text 988 — free, 24/7.

Sources

  1. Cal. Family Code §3011(a) — "In making a determination of the best interests of the child in a proceeding described in Section 3021, the court shall, among any other factors it finds relevant and consistent with Section 3020, consider all of the following"; (1) "The health, safety, and welfare of the child"; (2) a history of abuse, with the court able to "require independent corroboration"; (3) "The nature and amount of contact with both parents"; (4) "the habitual or continual illegal use of controlled substances, the habitual or continual abuse of alcohol, or the habitual or continual abuse of prescribed controlled substances by either parent," where "the court may first require independent corroboration, including, but not limited to, written reports from law enforcement agencies, courts, probation departments, social welfare agencies, medical facilities, rehabilitation facilities, or other public agencies or nonprofit organizations providing drug and alcohol abuse services"; (2)(B) the parallel corroboration clause for abuse allegations; (5) written reasons and specific transfer terms where abuse or substance use is alleged — california.public.law.
  2. Cal. Family Code §3040(d) — as quoted in full; added by SB 1182 (Stats. 2022, Ch. 385), approved 17 September 2022 — california.public.law; legiscan.com.
  3. Cal. Family Code §3020 — (a) "the health, safety, and welfare of children shall be the court's primary concern"; (b) "frequent and continuing contact with both parents" after separation, "except when the contact would not be in the best interests of the child"; (c) "When the policies set forth in subdivisions (a) and (b) of this section are in conflict, a court's order regarding physical or legal custody or visitation shall be made in a manner that ensures the health, safety, and welfare of the child and the safety of all family members" — california.public.law.
  4. Cal. Family Code §3040(e) — "This section establishes neither a preference nor a presumption for or against joint legal custody, joint physical custody, or sole custody, but allows the court and the family the widest discretion to choose a parenting plan that is in the best interest of the child, consistent with this section."
  5. Cal. Family Code §3190(a) — the court "may require parents or any other party involved in a custody or visitation dispute, and the minor child, to participate in outpatient counseling with a licensed mental health professional, or through other community programs and services that provide appropriate counseling, including, but not limited to, mental health or substance abuse services, for not more than one year," on the two findings in paragraphs (1) and (2) — california.public.law.
  6. Cal. Evidence Code §1014 (the psychotherapist–patient privilege) and §1016 — "There is no privilege under this article as to a communication relevant to an issue concerning the mental or emotional condition of the patient if such issue has been tendered by: (a) The patient" — california.public.law.

Paid for by participating therapists. Inclusion is computed from availability data — never purchased. No ads, no data sold.