Cal. Code Jud. Ethics, canon 2
A judge shall avoid impropriety and the appearance of impropriety in all of the judge’s activities
Text — As amended by the Supreme Court of California effective July 1, 2020 (the edition the Judicial Council posts, read October 22, 2026)
A. Promoting Public Confidence
A judge shall respect and comply with the law* and shall act at all times in a manner that promotes public confidence in the integrity* and impartiality* of the judiciary. A judge shall not make statements, whether public or nonpublic, that commit the judge with respect to cases, controversies, or issues that are likely to come before the courts or that are inconsistent with the impartial* performance of the adjudicative duties of judicial office.
B. Use of the Prestige of Judicial Office
(1) A judge shall not allow family, social, political, or other relationships to influence the judge’s judicial conduct or judgment, nor shall a judge convey or permit others to convey the impression that any individual is in a special position to influence the judge.
(2) A judge shall not lend the prestige of judicial office or use the judicial title in any manner, including any oral or written communication, to advance the pecuniary or personal interests of the judge or others. This canon does not prohibit the following:
(a) A judge may testify as a character witness, provided the judge does so only when subpoenaed.
(b) A judge may, without a subpoena, provide the Commission on Judicial Performance with a written communication containing (i) factual information regarding a matter pending before the commission or (ii) information related to the character of a judge who has a matter pending before the commission, provided that any such factual or character information is based on personal knowledge.* In commission proceedings, a judge shall provide information responsive to a subpoena or when officially requested to do so by the commission.
(c) A judge may provide factual information in State Bar disciplinary proceedings and shall provide information responsive to a subpoena or when officially requested to do so by the State Bar.
(d) A judge may respond to judicial selection inquiries, provide recommendations (including a general character reference relating to the evaluation of persons being considered for a judgeship), and otherwise participate in the process of judicial selection.
(e) A judge may serve as a reference or provide a letter of recommendation only if based on the judge’s personal knowledge* of the individual. These written communications may include the judge’s title and may be written on stationery that uses the judicial title.
(3) Except as permitted in subdivision (c) or otherwise authorized by law* or these canons:
(a) A judge shall not advance the pecuniary or personal interests of the judge or others by initiating communications with a sentencing judge or a representative of a probation department about a proceeding pending* before the sentencing judge, but may provide information in response to an official request. “Sentencing judge” includes a judge who makes a disposition pursuant to Welfare and Institutions Code section 725.
(b) A judge, other than the judge who presided over the trial of or sentenced the person seeking parole, pardon, or commutation of sentence, shall not initiate communications with the Board of Parole Hearings regarding parole or the Office of the Governor regarding parole, pardon, or commutation of sentence, but may provide these entities with information for the record in response to an official request.
(c) A judge may initiate communications concerning a member of the judge’s family* with a representative of a probation department regarding sentencing, the Board of Parole Hearings regarding parole, or the Office of the Governor regarding parole, pardon, or commutation of sentence, provided the judge is not identified as a judge in the communication.
C. Membership in Organizations
A judge shall not hold membership in any organization that practices invidious discrimination on the basis of race, sex, gender, gender identity,* gender expression,* religion, national origin, ethnicity, or sexual orientation.
This canon does not apply to membership in a religious organization.
Notes and commentary — not the Code's text
ADVISORY COMMITTEE COMMENTARY: Canons 2 and 2A
Public confidence in the judiciary is eroded by irresponsible or improper conduct by judges.
A judge must avoid all impropriety* and appearance of impropriety.* A judge must expect to be the subject of constant public scrutiny. A judge must therefore accept restrictions on the judge's conduct that might be viewed as burdensome by other members of the community and should do so freely and willingly.
A judge must exercise caution when engaging in any type of electronic communication, including communication by text or email, or when participating in online social networking sites or otherwise posting material on the Internet, given the accessibility, widespread transmission, and permanence of electronic communications and material posted on the Internet. The same canons that govern a judge’s ability to socialize and communicate in person, on paper, or over the telephone apply to electronic communications, including use of the Internet and social networking sites. These canons include, but are not limited to, Canons 2B(2) (lending the prestige of judicial office), 3B(7) (ex parte communications), 3B(9) (public comment about pending* or impending proceedings*), 3E(2) (disclosure of information relevant to disqualification), and 4A (conducting extrajudicial activities to avoid casting doubt on the judge’s capacity to act impartially,* demeaning the judicial office, or frequent disqualification).
The prohibition against behaving with impropriety* or the appearance of impropriety* applies to both the professional and personal conduct of a judge.
The test for the appearance of impropriety* is whether a person aware of the facts might reasonably entertain a doubt that the judge would be able to act with integrity,* impartiality,* and competence.
As to membership in organizations that practice invidious discrimination, see Commentary under Canon 2C.
As to judges making statements that commit the judge with respect to cases, controversies, or issues that are likely to come before the courts, see Canon 3B(9) and its commentary concerning comments about a pending proceeding,* Canon 3E(3)(a) concerning the disqualification of a judge who makes statements that commit the judge to a particular result, and Canon 5B(1)(a) concerning statements made during an election campaign that commit the candidate to a particular result. In addition, Code of Civil Procedure section 170.2, subdivision (b), provides that, with certain exceptions, a judge is not disqualified on the ground that the judge has, in any capacity, expressed a view on a legal or factual issue presented in the proceeding before the judge.
ADVISORY COMMITTEE COMMENTARY: Canon 2B
A strong judicial branch, based on the prestige that comes from effective and ethical performance, is essential to a system of government in which the judiciary functions independently of the executive and legislative branches. A judge should distinguish between proper and improper use of the prestige of office in all of his or her activities.
As to those communications that are permitted under this canon, a judge must keep in mind the general obligations to maintain high standards of conduct as set forth in Canon 1, and to avoid any impropriety* or the appearance of impropriety* as set forth in Canon 2. A judge must also be mindful of Canon 2A, which requires a judge to act at all times in a manner that promotes public confidence in the integrity* and impartiality* of the courts.
A judge must avoid lending the prestige of judicial office for the advancement of the private interests of the judge or others. For example, a judge must not use the judicial position to gain advantage in a civil suit involving a member of the judge’s family,* or use his or her position to gain deferential treatment when stopped by a police officer for a traffic offense.
If a judge posts on social networking sites such as Facebook or crowdsourced sites such as Yelp or Trip Advisor, the judge may not lend the prestige of judicial office to advance the pecuniary or personal interests of the judge or others. For example, a judge may not comment on, recommend, or criticize businesses, products, or services on such sites if it is reasonably likely that the judge can be identified as a judge.
See canon 4C(3)(d)(iv) prohibiting the use of the prestige of judicial office for fundraising or membership solicitation, but allowing a judge to be a speaker, guest of honor, or recipient of an award for public or charitable service, provided the judge does not personally solicit funds and complies with Canons 4A (1), (2), (3), and (4).
As to the use of a judge’s title to identify a judge’s role in the presentation and creation of legal education programs and materials, see Commentary to Canon 4B. In contracts for publication of a judge’s writings, a judge should retain control over the advertising, to the extent feasible, to avoid exploitation of the judge’s office.
This canon does not afford a judge a privilege against testifying in response to any official summons.
See also Canons 3D(1) and 3D(2) concerning a judge’s obligation to take appropriate corrective action regarding other judges who violate any provision of the Code of Judicial Ethics and attorneys who violate any provision of the Rules of Professional Conduct.
Except as set forth in Canon 2B(3)(a), this canon does not preclude consultations among judges. Additional limitations on such consultations among judges are set forth in Canon 3B(7)(a).
ADVISORY COMMITTEE COMMENTARY: Canon 2C
Membership by a judge in an organization that practices invidious discrimination on the basis of race, sex, gender, religion, national origin, ethnicity, or sexual orientation gives rise to a perception that the judge’s impartiality* is impaired. The code prohibits such membership by judges to preserve the fairness, impartiality,* independence,* and honor of the judiciary, to treat all parties equally under the law,* and to avoid impropriety* and the appearance of impropriety.*
Previously, Canon 2C contained exceptions to this prohibition for membership in religious organizations, membership in an official military organization of the United States and, so long as membership did not violate Canon 4A, membership in a nonprofit youth organization. The exceptions for membership in an official military organization of the United States and nonprofit youth organizations have been eliminated as exceptions to the canon. The exception for membership in religious organizations has been preserved.
Canon 2C refers to the current practices of the organization. Whether an organization practices invidious discrimination is often a complex question to which judges should be sensitive. The answer cannot be determined from a mere examination of an organization’s current membership rolls, but rather depends on how the organization selects members and other relevant factors, such as whether the organization is dedicated to the preservation of religious, ethnic, or cultural values of legitimate common interest to its members, or whether it is in fact and effect an intimate, purely private organization whose membership limitations could not be constitutionally prohibited. Absent such factors, an organization is generally said to discriminate invidiously if it arbitrarily excludes from membership on the basis of race, religion, sex, gender, gender identity,* gender expression,* national origin, ethnicity, or sexual orientation persons who would otherwise be admitted to membership.
Although Canon 2C relates only to membership in organizations that invidiously discriminate on the basis of race, sex, gender, gender identity,* gender expression,* religion, national origin, ethnicity, or sexual orientation, a judge’s membership in an organization that engages in any discriminatory membership practices prohibited by law* also violates Canon 2 and Canon 2A and gives the appearance of impropriety.* In addition, it would be a violation of Canon 2 and Canon 2A for a judge to arrange a meeting at a club that the judge knows* practices such invidious discrimination or for the judge to use such a club regularly. Moreover, public manifestation by a judge of the judge’s knowing* approval of invidious discrimination on any basis gives the appearance of impropriety* under Canon 2 and diminishes public confidence in the integrity* and impartiality* of the judiciary in violation of Canon 2A.
Source of truth
- Edition
- As amended by the Supreme Court of California effective July 1, 2020 (the edition the Judicial Council posts, read October 22, 2026)
- Official file
- https://courts.ca.gov/system/files/rules-court/ca_code_judicial_ethics.pdf (PDF pages 9–13)
- Text hash
- sha256 3e639d934549e2bcc65e24b78ee2a6694e0bb79f230fea29701fb5f65df7ce3a
- Composed by
- cje/build 2026-10-22: the Code's PDF (55 pages, line-numbered) read by two readers, PyMuPDF and pdfminer's layout analysis, agreeing on all 417 paragraphs character for character; 114,918 printed glyphs accounted for (110,958 composed, 3,960 margin line numbers and page numbers dropped)
This canon cites
Provisions in this library that the text above cites, as it prints each citation. A range cited as “ss. 61.13-61.16” links its first and last provisions.
Code of Civil Procedure
Welfare and Institutions Code
California Code of Judicial Ethics
- Cal. Code Jud. Ethics, canon 1A judge shall uphold the integrity and independence of the judiciaryPrinted as Canon 1
- Cal. Code Jud. Ethics, canon 3A judge shall perform the duties of judicial office impartially, competently, and diligentlyPrinted as Canon 3B(7)(a) | Canon 3B(9) | Canon 3E(3)(a) | Canons 3D(1)
- Cal. Code Jud. Ethics, canon 4A judge shall so conduct the judge’s quasi-judicial and extrajudicial activities as to minimize the risk of conflict with judicial obligationsPrinted as Canon 4A | Canon 4B | Canons 4A | canon 4C(3)(d)(iv)
- Cal. Code Jud. Ethics, canon 5A judge or candidate for judicial office shall not engage in political or campaign activity that is inconsistent with the independence, integrity, or impartiality of the judiciaryPrinted as Canon 5B(1)(a)
Cited by 4 provisions
Provisions in this library whose text cites Cal. Code Jud. Ethics, canon 2. Each shows the citation as that text prints it.
California Code of Judicial Ethics
- Cal. Code Jud. Ethics, TerminologyPrinted as Canon 2 | Canons 2 | Canons 2B(2)(b) | Canons 2B(3)(c) | Canons 2C
- Cal. Code Jud. Ethics, canon 3A judge shall perform the duties of judicial office impartially, competently, and diligentlyPrinted as Canon 2 | Canon 2A | Canon 2C
- Cal. Code Jud. Ethics, canon 4A judge shall so conduct the judge’s quasi-judicial and extrajudicial activities as to minimize the risk of conflict with judicial obligationsPrinted as Canon 2 | Canon 2A | Canon 2B | Canon 2C | Canons 2 | Canons 2A | Canons 2C
- Cal. Code Jud. Ethics, canon 6Compliance with the Code of Judicial EthicsPrinted as Canons 2B(1)
Procedural information only. Not legal advice and not a substitute for the advice of an attorney. Confirm the current text with the official publisher before relying on it.