California Codes

Cal. Penal Code § 987.2 (2026)

✓ current as of May 2026
Find cases: SyfertCases citing this section CA-LEGleginfo.legislature.ca.gov JustiaCode on Justia CornellLII Search CasesGoogle Scholar

(a)In any case in which a person, including a person who is a minor, desires but is unable to employ counsel, and in which counsel is assigned in the superior court to represent the person in a criminal trial, proceeding, or appeal, the following assigned counsel shall receive a reasonable sum for compensation and for necessary expenses, the amount of which shall be determined by the court, to be paid out of the general fund of the county:

(1)In a county or city and county in which there is no public defender.

(2)In a county of the first, second, or third class where there is no contract for criminal defense services between the county and one or more responsible attorneys.

(3)In a case in which the court finds that, because of a conflict of interest or other reasons, the public defender has properly refused.

(4)In a county of the first, second, or third class where attorneys contracted by the county are unable to represent the person accused.

(b)The sum provided for in subdivision (a) may be determined by contract between the court and one or more responsible attorneys after consultation with the board of supervisors as to the total amount of compensation and expenses to be paid, which shall be within the amount of funds allocated by the board of supervisors for the cost of assigned counsel in those cases.

(c)In counties that utilize an assigned private counsel system as either the primary method of public defense or as the method of appointing counsel in cases where the public defender is unavailable, the county, the courts, or the local county bar association working with the courts are encouraged to do all of the following:

(1)Establish panels that shall be open to members of the State Bar of California.

(2)Categorize attorneys for panel placement on the basis of experience.

(3)Refer cases to panel members on a rotational basis within the level of experience of each panel, except that a judge may exclude an individual attorney from appointment to an individual case for good cause.

(4)Seek to educate those panel members through an approved training program.

(d)In a county of the first, second, or third class, the court shall first utilize the services of the public defender to provide criminal defense services for indigent defendants. In the event that the public defender is unavailable and the county and the courts have contracted with one or more responsible attorneys or with a panel of attorneys to provide criminal defense services for indigent defendants, the court shall utilize the services of the county-contracted attorneys prior to assigning any other private counsel. Nothing in this subdivision shall be construed to require the appointment of counsel in any case in which the counsel has a conflict of interest. In the interest of justice, a court may depart from that portion of the procedure requiring appointment of a county-contracted attorney after making a finding of good cause and stating the reasons therefor on the record.

(e)In a county of the first, second, or third class, the court shall first utilize the services of the public defender to provide criminal defense services for indigent defendants. In the event that the public defender is unavailable and the county has created a second public defender and contracted with one or more responsible attorneys or with a panel of attorneys to provide criminal defense services for indigent defendants, and if the quality of representation provided by the second public defender is comparable to the quality of representation provided by the public defender, the court shall next utilize the services of the second public defender and then the services of the county-contracted attorneys prior to assigning any other private counsel. Nothing in this subdivision shall be construed to require the appointment of counsel in any case in which the counsel has a conflict of interest. In the interest of justice, a court may depart from that portion of the procedure requiring appointment of the second public defender or a county-contracted attorney after making a finding of good cause and stating the reasons therefor on the record.

(f)In any case in which counsel is assigned as provided in subdivision (a), that counsel appointed by the court and any court-appointed licensed private investigator shall have the same rights and privileges to information as the public defender and the public defender investigator. It is the intent of the Legislature in enacting this subdivision to equalize any disparity that exists between the ability of private, court-appointed counsel and investigators, and public defenders and public defender investigators, to represent their clients. This subdivision is not intended to grant to private investigators access to any confidential Department of Motor Vehicles’ information not otherwise available to them. This subdivision is not intended to extend to private investigators the right to issue subpoenas.

(g)Notwithstanding any other provision of this section, where an indigent defendant is first charged in one county and establishes an attorney-client relationship with the public defender, defense services contract attorney, or private attorney, and where the defendant is then charged with an offense in a second or subsequent county, the court in the second or subsequent county may appoint the same counsel as was appointed in the first county to represent the defendant when all of the following conditions are met:

(1)The offense charged in the second or subsequent county would be joinable for trial with the offense charged in the first if it took place in the same county, or involves evidence which would be cross-admissible.

(2)The court finds that the interests of justice and economy will be best served by unitary representation.

(3)Counsel appointed in the first county consents to the appointment.

(h)The county may recover costs of public defender services under Chapter 6 (commencing with Section 4750) of Title 5 of Part 3 for any case subject to Section 4750.

(i)Counsel shall be appointed to represent, in a misdemeanor case, a person who desires but is unable to employ counsel, when it appears that the appointment is necessary to provide an adequate and effective defense for the defendant. Appointment of counsel in an infraction case is governed by Section 19.6.

(j)As used in this section, “county of the first, second, or third class” means the county of the first class, county of the second class, and county of the third class as provided by Sections 28020, 28022, 28023, and 28024 of the Government Code.

(k)This section shall become operative on July 1, 2021.

Notes of Decisions
Cited in 29 cases (4 in the last 5 years), 1972–2026 · leading case: Gardner v. Appellate Div. of the Superior Court, 436 P.3d 946 (Cal. 2019).
Gardner v. Appellate Div. of the Superior Court, 436 P.3d 946 (Cal. 2019). “" Penal Code section 987.2, subdivision (i), provides in relevant part: "Counsel shall be appointed to represent, in a misdemeanor case, a person who desires but is unable to employ counsel, when it appears that the appointment is necessary to provide an adequate and effective…”
People v. Ortiz, 800 P.2d 547 (Cal. 1990). “Penal Code section 987.2 (hereafter section 987.”
People v. Edward S., 173 Cal. App. 4th 387 (Cal. Ct. App. 2009). “Under the Penal Code, a public defender may not be assigned to represent an indigent defendant in a case in which he or she has a conflict of interest (Pen. Code, § 987.2, subds. (a)(3), (d), (e)), and a conflict of interest is inevitably created when a public defender is…”
People v. Baines, 635 P.2d 455 (Cal. 1981). · cites it 2× “How can appellant be charged with being dilatory in failing to bring the motion for a pretrial lineup between January 4 and January 18, 1979, when the public defender, who would have had to bring the motion, was under an ethical obligation to refrain from representing appellant…”
People v. Rhodes, 212 Cal. App. 3d 541 (Cal. Ct. App. 1989). “(Pen. Code, §§ 987.2, 987.8; Corenevsky v.”
People v. Worthy, 109 Cal. App. 3d 514 (Cal. Ct. App. 1980). “1 Penal Code section 987.2 authorizes the payment of attorney’s fees to counsel appointed to represent an indigent defendant.”
Pruett v. State, 574 So. 2d 1342 (Miss. 1990). “§ 13-4013 (1989) (compensation equals amount that court finds reasonable); CAL.PENAL CODE § 987.2 ( West 1985 ) (Supp.”
Charlton v. Superior Court, 93 Cal. App. 3d 858 (Cal. Ct. App. 1979). “That section applies to habeas corpus proceedings by implication, as it refers to the appointment of assigned counsel for indigents “in a criminal trial, proceeding or appeal.”
Joshua People v. Super. Ct., 226 Cal. App. 4th 957 (Cal. Ct. App. 2014). · cites it 2× “(Pen. Code, § 987.2, subd. (d); see Craig S.”
Young v. Cnty. of Marin, 195 Cal. App. 3d 863 (Cal. Ct. App. 1987). “) (7) Regardless of the public defender's administrative duties as head of a department of county government, when functioning in the role of attorney his or her sole duty is to represent and defend the client, and so long as he or she functions competently, lawfully, ethically…”
Magnus v. Jackson, 31 Cal. App. 3d 399 (Cal. Ct. App. 1973). · cites it 3× “) Penal Code section 987.2 (formerly Pen. Code, § 987a) provides that assigned counsel “shall receive a reasonable sum for compensation and for necessary expenses the amount of which shall be determined by the court, to be paid out of the general fund of the county.”
Trout v. Carleson, 37 Cal. App. 3d 337 (Cal. Ct. App. 1974). “) Statutes providing for the payment of attorney fees take different forms, depending upon the ciróumstances under which a right to fees arises. The characteristic of those statutes which provide for legal services at public expense, at least initially, is that the fees are to…”
Annotations are extracted automatically from the opinions in the Syfert caselaw corpus and ranked by authority, recency, and treatment. Dots show Syfertize treatment of the citing case itself.