Vehicle Code section 40502
(a)
Before a magistrate within the county in which the offense charged is alleged to have been committed and who has jurisdiction of the offense and is nearest or most accessible with reference to the place where the arrest is made.(b)
Upon demand of the person arrested, before a judge or other magistrate having jurisdiction of the offense at the county seat of the county in which the offense is alleged to have been committed. This subdivision applies only if the person arrested resides, or the person’s principal place of employment is located, closer to the county seat than to the magistrate nearest or most accessible to the place where the arrest is made.(c)
Before a person authorized to receive a deposit of bail.(d)
Before the juvenile court, a juvenile court referee, or a juvenile hearing officer within the county in which the offense charged is alleged to have been committed, if the person arrested appears to be under the age of 18 years. The juvenile court shall by order designate the proper person before whom the appearance is to be made.
Source:
Section 40502, https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=VEH§ionNum=40502.
(accessed Apr. 24, 2025).