LawWiki
HomeCodesSearchGlossaryAPIAbout
LawWiki

Plain English summaries of California law with zero-hallucination AI. Every summary is verified against official source text.

Product

  • Search
  • Codes
  • About

Legal

  • Privacy Policy
  • Terms of Service
  • Disclaimer

© 2026 LawWiki. All rights reserved.

HomeFamily CodeDiv. 8Pt. 2Ch. 2§ 3040 Child Custody Preference Order

§ 3040 Child Custody Preference Order

Family Code·California
AI Summary·Official Text·Key Terms·Related Statutes·References
AI SummaryVerified

§ 3040 Child Custody Preference Order

This law says who gets to take care of a child if parents split up or can't care for them. The court picks the best person based on what's good for the child.

Key Takeaways

  • •The court picks who gets custody based on what's best for the child, not what the parents want.
  • •Parents are usually the first choice, but if they can't take care of the child, someone else who has been caring for the child might get custody.
  • •The court doesn't care about a parent's immigration status, gender, or sexual orientation when deciding.
  • •If a parent has a mental illness, the court must give them info about local help and explain why it matters for the child.
  • •The court can make different plans for different families, even if there are more than two parents.

Example

A mom and dad are getting divorced and can't agree on who their 8-year-old daughter should live with.

The court will look at who can give the child a stable home, let her see the other parent often, and keep her safe and happy. If both parents are good, they might share time with the child.

AI-generated — May contain errors. Not legal advice. Always verify source.

Official Source
View on CA.gov

§ 3040 Child Custody Preference Order

(a) Custody should be granted in the following order of preference according to the best interest of the child as provided in Sections 3011 and 3020: (1) To both parents jointly pursuant to Chapter 4 (commencing with Section 3080) or to either parent. In making an order granting custody to either parent, the court shall consider, among other factors, which parent is more likely to allow the child frequent and continuing contact with the noncustodial parent, consistent with Sections 3011 and 3020. The court, in its discretion, may require the parents to submit to the court a plan for the implementation of the custody order. (2) If to neither parent, to the person or persons in whose home the child has been living in a wholesome and stable environment. (3) To any other person or persons deemed by the court to be suitable and able to provide adequate and proper care and guidance for the child. (b) The immigration status of a parent, legal guardian, or relative shall not disqualify the parent, legal guardian, or relative from receiving custody under subdivision (a). (c) The court shall not consider the sex, gender identity, gender expression, or sexual orientation of a parent, legal guardian, or relative in determining the best interest of the child under subdivision (a). (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. (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. (f) In cases where a child has more than two parents, the court shall allocate custody and visitation among the parents based on the best interest of the child, including, but not limited to, addressing the child’s need for continuity and stability by preserving established patterns of care and emotional bonds. The court may order that not all parents share legal or physical custody of the child if the court finds that it would not be in the best interest of the child as provided in Sections 3011 and 3020. (Amended by Stats. 2022, Ch. 385, Sec. 3. (SB 1182) Effective January 1, 2023.)

Last verified: January 9, 2026

Key Terms

custodytreatmenthealthsafetypreferenceenvironmentimmigrationidentity

Related Statutes

  • § 3011 Child Custody Best Interests
  • § 3020 Child Custody Best Interests
  • § 17512 Employer Child Support Information
  • § 20019 Child Custody Mediation Requirement
  • § 3041 Nonparent Custody Detriment Standard

References

  • Official text at leginfo.legislature.ca.gov
  • California Legislature. Family Code. Section 3040.
View Official Source