Skip to main content
Cal. CodesPenal CodePart 2. Of Criminal ProcedureTitle 6. Pleadings and Proceedings Before TrialChapter 1. Of the Arraignment of the Defendant

Cal. Penal Code § 987.2 (2026)

Edition and currency
leginfo export of Nov. 23, 2026: changes through Nov. 11, 2026 (checked Nov. 24, 2026). The text is the edition Syfert holds; for a past event, check the version in force on that date.
Other sources
CURRENTleginfo export of Nov. 23, 2026: changes through Nov. 11, 2026 (checked Nov. 24, 2026) cited 1972–2026 53citing cases
At a glance

Courts have cited this section in 53 opinions since 1972, 8 of them in the last five years.

(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.

The 20 cases that cite Cal. Penal Code § 987.2 most heavily, weighted by court and treatment. RelevanceNewestTreatment
1
GREENWilliams v. Superior Court, 46 Cal. App. 4th 320 (Ct. App. 1996).
cites § 987.2 17×cited by 33 cases
Where it cites § 987.2
“Those statutes provide that a court must first utilize the services of the public defender in providing criminal defense services for indigent defendants, if the public defender is available to try the matter.”
2
GREENPeople v. Ortiz, 51 Cal. 3d 975 (1990).
cites § 987.2 8×cited by 160 cases
Where it cites § 987.2
“Penal Code section 987.2 (hereafter section 987.2) establishes the procedure by which counsel is to be appointed to represent an indigent defendant.”
The case’s holding
A nonindigent criminal defendant may discharge retained counsel without cause provided the discharge does not cause significant prejudice or an unreasonable disruption of the orderly processes of justice.
Later courts cite it for
“the right of a nonindigent criminal defendant to discharge his retained attorney, with or without cause, has long been recognized in this state.” · 8 citing courts
3
GREENIn re Head, 42 Cal. 3d 223 (1986).
cites § 987.2 4×cited by 61 cases
Where it cites § 987.2
“e decision of the Court of Appeal, and do not transfer the appeal itself to this court as was the practice prior to the implementation of the 1984 amendment to article VI, section 12, subdivision (b), of the California Constitution on May 6, 1985, we do not address the argument…”
The case’s holding
Code of Civil Procedure section 1021.5 applies to habeas corpus proceedings when the action vindicates important public rights rather than merely the personal rights of a litigant.
Later courts cite it for
“presume that the legislature did not intend absurd results.” · 2 citing courts
cites § 987.2 2×cited by 21 cases
Where it cites § 987.2
“" 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…”
Later courts cite it for
“events or proceedings in which the accused is brought in confrontation with the state, where potential substantial prejudice to the accused's rights inheres in the confrontation, and where counsel's assistance can help to avoid that prejudice.” · 7 citing courts
5
GREENPeople v. Manson, 61 Cal. App. 3d 102 (Ct. App. 1976).
cites § 987.2 2×cited by 206 cases
Where it cites § 987.2
“When Hughes could not be located, Maxwell Keith was appointed for Van Houten as cocounsel under the provisions of Penal Code section 987.2.”
The case’s holding
Prosecutors are subject to the same ethical rules as all other members of the State Bar (holding prosecutor to ethical rules because he is no less a member of the State Bar than any other admitted lawyer).
Later courts cite it for
“she had stabbed a woman who was already dead, and that the more she did it the more fun it was.” · 2 citing courts
6
GREENPeople v. Edward S., 173 Cal. App. 4th 387 (Ct. App. 2009).
cites § 987.2 2×cited by 38 cases
Where it cites § 987.2
“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…”
The case’s holding
Defense counsel provides ineffective assistance of counsel by failing to investigate potentially exculpatory evidence or evidence used to impeach prosecution witnesses.
Later courts cite it for
“a defense attorney who fails to investigate potentially exculpatory evidence, including evidence that might be used to impeach prosecution witnesses, renders deficient representation.” · 6 citing courts
7
GREENKennick v. Comm'n on Jud. Performance, 50 Cal. 3d 297 (1990).
cites § 987.2 3×cited by 39 cases
Where it cites § 987.2
“The first two of these subfindings are based on testimony and documents presented to the masters by an internal auditor for the Los Angeles County Controller’s Audit Division, who had been directed to audit appointments of attorneys under Penal Code section 987.2 from the beginning of 1984 to March 1987 in the San Pedro courthouse, to which petitioner was assigned in January 1985.”
The case’s holding
Statements made entirely outside a judicial setting that do not reference judicial status do not occur in a judicial capacity.
Later courts cite it for
“public esteem for the judicial office.” · 1 citing court
8
GREENPhillips v. Seely, 43 Cal. App. 3d 104 (Ct. App. 1974).
cites § 987.2 7×cited by 13 cases
Where it cites § 987.2
“Authority of the Board of Supervisors to Contract for Rendition of Legal Services to Indigents. Plaintiffs urge there are but two methods whereby public funds may be disbursed by a county to attorneys for legal services rendered to indigent persons in criminal, juvenile or…”
9
GREENCharlton v. Superior Court, 93 Cal. App. 3d 858 (Ct. App. 1979).
cites § 987.2 3×cited by 17 cases
Where it cites § 987.2
“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.”
Later courts cite it for
“the supreme court's direction that we issue the alternative writ, after our denial, is an expression on the part of the supreme court that we examine the contentions raised by petitioner and write an opinion evaluating those contentions.” · 3 citing courts
10
GREENBemore v. Super. Ct., 108 Cal. App. 5th 1125 (Ct. App. 2025).
cites § 987.2 51×cited by 1 case
Where it cites § 987.2
“19 we asked the parties to answer two questions: (1) “In light of the Legislature adding subdivision (e) to Penal Code section 1473, parallel to the enactment of the Racial Justice Act at Penal Code section 745, is Penal Code section 987.2 the exclusive path to appointment of…”
11
GREENPayne v. Superior Court, 17 Cal. 3d 908 (1976).
cites § 987.2 1×cited by 196 cases
Where it cites § 987.2
“Thus, in meeting the need for representation of criminal indigents, the Legislature adopted Penal Code sections 987.2, 987.3, 987.4, and 987.6, a carefully conceived plan for compensated representation.”
The case’s holding
Due process and equal protection require that an indigent prisoner facing a civil action threatening property interests be provided a meaningful opportunity to be heard.
Later courts cite it for
“generally, a writ of mandate will lie when there is no plain, speedy, and adequate alternative remedy; the respondent has a duty to perform; and the petitioner has a clear and beneficial right to performance.” · 5 citing courts
12
GREENJoshua People v. Super. Ct., 226 Cal. App. 4th 957 (Ct. App. 2014).
cites § 987.2 6×cited by 3 cases
Summary
No passage or summary on file for this case yet.
13
GREENPolakovic v. Superior Court, 28 Cal. App. 3d 69 (Ct. App. 1972).
cites § 987.2 10×cited by 5 cases
Where it cites § 987.2
“Thereafter, petitioner filed a declaration with the respondent superior court seeking attorney’s fees pursuant to Penal Code, section 987.2.”
14
GREENPeople v. Hall, 87 Cal. App. 3d 125 (Ct. App. 1978).
cites § 987.2 2×cited by 22 cases
Where it cites § 987.2
“” The fallacy in appellant’s argument is that under the facts of this case, the trial judge correctly stated the law: he did not have capacity to appoint other counsel for defendant. Penal Code section 987.2 provides that the court may appoint, at public expense, private counsel to represent an indigent defendant “ ... in a case in which the court finds that because of conflict of interest or other reasons the public defender has properly refused to represent the person accused, . . .””
The case’s holding
A defendant's request for self-representation made on the morning trial is set to begin, before jury selection, is untimely, and the trial court may discretionarily deny it without abuse.
15
GREENPeople v. Worthy, 109 Cal. App. 3d 514 (Ct. App. 1980).
cites § 987.2 1×cited by 52 cases
Where it cites § 987.2
“1 Penal Code section 987.2 authorizes the payment of attorney’s fees to counsel appointed to represent an indigent defendant.”
The case’s holding
A trial court must provide expert services to an indigent defendant upon a proper showing of necessity regardless of whether counsel is appointed or pro bono.
Later courts cite it for
“if a criminal defendant requires the services of investigators or scientific or medical experts to assist him in preparation of his defense, that assistance must be provided. whether it is paid for by the government or by the defendant depends solely on the defendant's economic status” · 2 citing courts
16
GREENCunningham v. Superior Court, 177 Cal. App. 3d 336 (Ct. App. 1986).
cites § 987.2 1×cited by 42 cases
Where it cites § 987.2
“…for private counsel to represent indigent criminal defendants in cases where the public defender has a conflict. (See Pen. Code, § 987.2.)”
The case’s holding
Requiring private attorneys to provide uncompensated legal services to indigent clients violates the equal protection clause.
17
GREENPeople v. Lancaster, 41 Cal. 4th 50 (2007).
cites § 987.2 1×cited by 16 cases
Where it cites § 987.2
“When the question arose on August 9, 1996, the court explained that Penal Code section 987.2 required the initial appointment of the public defender.”
The case’s holding
Courts possess broad discretion to weigh the prejudicial impact of testimony against its probative value.
Later courts cite it for
“courts have broad discretion to weigh the prejudicial impact of testimony against its probative value” · 2 citing courts
18
GREENPeople v. Faxel, 91 Cal. App. 3d 327 (Ct. App. 1979).
cites § 987.2 1×cited by 27 cases
Where it cites § 987.2
“The right is codified in Penal Code section 987.2 which provides that counsel appointed for an indigent defendant shall not only be compensated by a reasonable fee but also shall be reimbursed for his necessary expenses. Translation of the abstract right to ancillary defense services into practice in individual situations…”
The case’s holding
A self-represented defendant must demonstrate a need for state-funded investigative services by showing how such assistance would aid the defense.
19
GREENPruett v. State, 574 So. 2d 1342 (Miss. 1990).
cites § 987.2 1×cited by 24 cases
Where it cites § 987.2
“§ 13-4013 (1989) (compensation equals amount that court finds reasonable); CAL.PENAL CODE § 987.2 ( West 1985 ) (Supp.”
20
GREENCnty. of Santa Clara v. Superior Court, 2 Cal. App. 4th 1686 (Ct. App. 1992).
cites § 987.2 9×cited by 1 case
Where it cites § 987.2
“) But we need not resolve the dilemma in this case: We conclude that this proceeding was so clearly criminal in nature *1695 as to bring it within the statutory provision for public compensation of appointed counsel contained in Penal Code section 987.2.”
Later courts cite it for
“in lassiter . . . the united states supreme court made clear that complexity, as a determinant of what due process requires, will come into play only in a situation in which there is no risk the litigant will lose his or her personal freedom. where personal freedom is at stake, a due process basis for appointment of counsel is established without consideration of other possible determinants.” · 1 citing court

Show all 53 citing cases (list view) →

The flag is Syfertize’s treatment of the citing case itself, not of the statute. “Where it cites” is the passage in the opinion; the holding is a summary of the whole case and may concern another point. Annotations are extracted automatically from the opinions in the Syfert caselaw corpus.

Citing cases by year
197219992026

One bar per year. Tallest: 5 cases in 1974. 2026 is a partial year. These are opinions in the Syfert collection, which holds more of some courts’ recent opinions than their older ones, so a rise can reflect what the collection holds and not more litigation.

By court
Cal. Ct. App.43Cal.8Cal. App. Dep’t Super. Ct.1Miss.1
By subsection

Courts have not cited this section by subsection, so its cases are not split up here. The Leading cases tab lists the cases that cite it most heavily.

Show all 53 citing cases (list view) →

Enactment and amendments
Repealed (in Sec. 33) and added by Stats. 2020, Ch. 92, Sec. 34. (AB 1869) Effective September 18, 2020. Operative July 1, 2021, by its own provisions.
Versions

Edition shown: leginfo export of Nov. 23, 2026: changes through Nov. 11, 2026 (checked Nov. 24, 2026). Syfert holds no earlier or later version of this section.