the Wall, We Are Right There With You
California Civil Harassment Restraining Order Lawyers
A civil harassment restraining order is a California court order directing one person to stop harassing another, and usually to stay away from them, when the two are not in the close family or dating relationship a domestic violence order requires. It is filed under Code of Civil Procedure section 527.6.
It is also the hardest restraining order in California to win. The petitioner has to prove harassment by clear and convincing evidence, a higher standard than a domestic violence case requires, and that is where most of these petitions come apart.
Power Trial Lawyers handles California civil harassment restraining order cases on both sides. Free consultation at (888) 808-2179, answered 24/7.
Civil harassment restraining orders at a glance
| Governing statute | Code of Civil Procedure 527.6 |
| Who it covers | People outside a close family or dating relationship: neighbors, coworkers, roommates, distant relatives, classmates, strangers, online harassers |
| Standard of proof | Clear and convincing evidence, CCP 527.6(i)(1) |
| Time to hearing | 21 days from the temporary order, or 25 days on a finding of good cause, CCP 527.6(g) |
| Maximum duration | Five years, renewable for up to five more, CCP 527.6(j) |
| Attorney’s fees | The prevailing party may be awarded costs and fees, including a respondent who defeats the petition, CCP 527.6(s) |
| Firearms | Restrained person cannot own, possess, purchase, or receive a firearm or ammunition |
| Violation | Prosecuted under Penal Code 273.6 |
What is a civil harassment restraining order?
It is the civil restraining order California uses when the parties are not close family, spouses, partners, or people who dated.
California sorts restraining orders by the relationship between the parties, not by how serious the conduct is. A threat from an ex-spouse and an identical threat from a neighbor go down two different statutory tracks, with two different burdens of proof.
The civil harassment track covers everyone else. The California Courts self-help guide on civil harassment restraining orders walks through the forms. What it does not tell you is how demanding the standard becomes once you are in front of a judge.
Who can file a civil harassment restraining order, and who cannot?
Anyone who has suffered harassment as the statute defines it, as long as the relationship falls outside the Domestic Violence Prevention Act.

Section 527.6(w) says the statute does not apply to any action covered by Division 10 of the Family Code. That division is the domestic violence track. A CHRO is available where the parties are:
- Neighbors, including tenants in the same building and people in disputes with an HOA member
- Coworkers, where the employer has not sought a workplace violence order
- Roommates who are not cohabitants in the domestic sense
- Classmates, or people connected through a school or program
- Relatives more distant than the second degree, meaning aunts, uncles, cousins, and in-laws
- Former friends, business partners, or clients
- Strangers, including people known only online
It is not available where the parties are current or former spouses or registered domestic partners, people in a current or former dating relationship, people with a child in common, relatives within the second degree, or current or former cohabitants.
Those relationships belong to the domestic violence statute. A petition filed on the wrong side of that line has a problem before anyone reaches the facts.
Unsure which statute applies to your situation? Read us the relationship. (888) 808-2179
What legally counts as harassment under CCP 527.6?
Three things, and only three. Section 527.6(b)(3) defines harassment as unlawful violence, a credible threat of violence, or a knowing and willful course of conduct that meets a specific test.
Unlawful violence. Assault, battery, or stalking. Actual violence or an attempt at it.
A credible threat of violence. A knowing and willful statement or course of conduct that would place a reasonable person in fear for their safety or their family’s safety, and that serves no legitimate purpose.
A course of conduct that seriously alarms, annoys, or harasses. This is the prong most petitions rely on, and it carries four requirements that all have to be met:
- A knowing and willful course of conduct, meaning a pattern of acts over a period of time, however short, showing a continuity of purpose. One incident is generally not a course of conduct.
- Directed at a specific person. Conduct aimed at the world at large usually does not qualify.
- It serves no legitimate purpose. This is where a large share of neighbor and workplace petitions fail. Filing a complaint with a city agency, reporting a code violation, or pursuing a small claims action are all legitimate purposes, even when the other party finds them infuriating.
- It would cause a reasonable person substantial emotional distress, and actually causes it. Both halves matter. The test is not purely subjective.
Constitutionally protected activity is expressly excluded. Speech, petitioning the government, and lawful assembly do not become harassment because they upset someone.
Why clear and convincing evidence decides these cases
Section 527.6(i)(1) requires the judge to find, by clear and convincing evidence, that unlawful harassment exists. That is the highest evidentiary standard in California civil practice.
| Domestic violence restraining order | Civil harassment restraining order | |
| Standard | Preponderance of the evidence, applied by California courts under the Domestic Violence Prevention Act | Clear and convincing evidence, CCP 527.6(i)(1) |
| What it means | More likely than not | The judge has to find it highly probable |
| Can testimony alone carry it? | Frequently yes, if the petitioner is credible | Frequently no, without corroboration |
| One incident enough? | Sometimes, depending on the conduct | Generally not, under the course-of-conduct prong |
A petition built on one person’s account, without messages, recordings, photographs, medical records, or a witness who was present, has a real chance of being denied.
For respondents, that is the opening. The case is not won by insisting nothing happened. It is won by showing the record does not clear the bar the statute sets.
For petitioners, it is a warning. Preparation that would have been enough in a domestic violence courtroom is often not enough here.
When the wrong statute is used
A CHRO filed between parties who belong on the domestic violence track, or a domestic violence order filed between parties who do not, creates a problem the court cannot ignore.
Both happen more often than you would expect, usually because the petitioner filed at the wrong window or used the forms a clerk handed them.
A CHRO filed where a domestic violence order belongs. Section 527.6(w) removes these cases from the statute. The court may dismiss the petition or send the parties to the family law division, which resets the clock entirely.
A domestic violence order filed where a CHRO belongs. The family court has to find a qualifying relationship. Without one, the petition fails regardless of what the respondent did.
This is not a technicality. The statute is what gives the court authority to act. Raising a mismatch early is one of the cleanest defenses available, and self-represented respondents almost never spot it.
The line is closest in a few recurring situations: roommates who were never romantically involved, people who went on two or three dates, adult in-laws, and a coworker relationship that also involved brief dating.
Do you need an attorney for a civil harassment restraining order?
Not legally, and many people appear on their own. Whether you should comes down to the standard of proof and what the order would cost you.
These hearings are contests over evidence. The clear and convincing standard means the case turns on corroboration, authentication, and cross-examination, and most people who represent themselves have never cross-examined anyone. They argue with the other party instead of building a record, and the record is what an appellate court would eventually review.
A civil harassment restraining order attorney matters most when:
- You hold a professional license, a security clearance, or a job that runs background checks
- The order would affect where you live, because the parties are neighbors or share a building
- A criminal case is open or possible on the same facts
- You are not a United States citizen
- The petition arrived in the middle of an eviction, an HOA fight, an employment complaint, or a business dispute
- You want to pursue fees under section 527.6(s)
Cost is a fair concern. Court self-help centers assist with forms at no charge, though they cannot represent you at the hearing.
Call 24/7 for a free consultation. +1 (888) 808-2179
How the process works, from filing to hearing
The timeline is short and every step has a deadline.
Filing. The petitioner files a request in civil court, without a filing fee in most cases involving violence or threats of violence.
The temporary order. A judge reviews the petition, usually within a day, and decides whether to issue a temporary restraining order. That decision is made on the petitioner’s paperwork alone. It is not a finding that harassment occurred.
Service. The respondent has to be personally served with the petition, the temporary order, and the notice of hearing. Defective service is a defense worth checking.
The hearing. Section 527.6(g) requires the hearing within 21 days of the temporary order, or 25 days on a finding of good cause. Subpoenaed records rarely arrive inside that window, which makes a continuance request a serious consideration.
The response. The respondent files Judicial Council form CH-120 before the hearing. It puts your version in front of the judge and frames your case.
Beginning January 1, 2027, California courts are required to accept electronic filing of these petitions at no charge and to allow parties and witnesses to appear remotely without a fee. For what happens inside the courtroom, see our page on the California restraining order hearing.
What can a civil harassment restraining order actually order?
More than most respondents expect.
Personal conduct orders. No harassing, threatening, following, stalking, or contacting the protected person, in any form, including through third parties.
Stay-away orders. A set distance from the protected person, their home, their workplace, and their vehicle. Where the parties are neighbors, this creates an immediate practical problem, and the carveouts are worth negotiating carefully.
Protection for household members. The order can extend to family living with the petitioner.
Firearm and ammunition prohibition. The restrained person cannot own, possess, purchase, or receive either while the order is in effect. Surrender deadlines apply, and the California Courts explain the mechanics in their guidance on firearms orders.
Online conduct. Courts can address posting about the protected person, tagging them, and contact through social platforms.
Costs and attorney’s fees. Available to the prevailing party, in either direction.
What it cannot do is decide custody, divide property, or resolve the underlying dispute.
What a civil harassment restraining order costs you if it is granted
The order is one thing. The record it creates is another.
Firearm rights are suspended for the life of the order, which can be five years, with renewal available.
Law enforcement visibility. The order enters the California Restraining and Protective Order System. Any police contact surfaces it.
Employment and licensing. These are public civil court records. Background check companies find them, and licensing boards in healthcare, law, education, finance, and security ask about them.
Housing. Where the parties share a building, a stay-away order can make continued tenancy impossible.
Criminal exposure going forward. Section 527.6(t) makes willful disobedience punishable under Penal Code 273.6. A civil order acquires criminal teeth the moment it issues. See our page on restraining order violations.
Immigration. For non-citizens, an order and any related conviction can carry consequences a civil judge is not required to explain.
The first week after you are served
What happens in the first seven days shapes the hearing more than anything that happens in the courtroom.
Read the temporary order, not just the hearing date. Check the stay-away distance against where you live, work, park, and shop. Where the parties are neighbors or coworkers, a hundred-yard order can make your normal routine a violation before you have done anything wrong.
Stop all contact. No reply to a message they send you, no explanation, no message through a mutual friend, no post that is clearly about them. Necessary communication about a lease or a workplace schedule goes through a lawyer or back to the court.

Handle firearms and ammunition within 24 hours. The prohibition applies from service, and missing the surrender and filing deadlines is a separate violation.
Preserve evidence before it disappears. Security footage on a thirty-day cycle. Text threads you might be tempted to delete. Location history. Building access logs. Export rather than crop, with dates and identifiers visible.
Write the timeline. Every interaction with the petitioner, in order, with dates. Include the ones that make you look bad, because your attorney needs those before the petitioner raises them.
Check the relationship question. If you and the petitioner ever cohabited, dated, share a child, or are related within the second degree, the petition may be on the wrong track entirely.
Served in the last few days? The preservation window is closing. (888) 808-2179
The cases we see most, and how the elements apply
The statute stays abstract until it meets facts. These are the patterns that produce most California civil harassment restraining order filings.
Neighbor disputes. Fences, trees, noise, parking, cameras, shared driveways, pets. Take a typical one: eight months of friction, repeated confrontations, photographs taken over a fence, complaints filed with the city.

Course of conduct is probably satisfied, since eight months of repeated acts shows continuity of purpose. Directed at a specific person depends on whether the confrontations were aimed at the petitioner or at a property condition. The case turns on legitimate purpose, because a code complaint, a survey photograph, and documentation for a future civil action all have one, while yelling across a driveway at eleven at night does not. Courts separate these, and petitions that lump them together weaken the incidents that would otherwise qualify.
Coworker conflicts. Where the employer has not acted, an employee may file individually. An internal complaint to human resources is protected activity, so is reporting a safety concern, and after-hours messages about non-work subjects are a different matter. Where the conduct happened at work, a workplace violence restraining order filed by the employer may be the appropriate vehicle instead.
Roommates, extended family, and business disputes. Shared leases, unpaid rent, estates, caregiving, contractors, and former partners. The legitimate purpose defense is usually strong here, because collection efforts and contract disputes have obvious lawful purposes. Where an older adult is the protected party, an elder abuse restraining order may fit better.
Online harassment. Repeated messages, doxxing, impersonation accounts, coordinated posting. Attribution is the whole case. Screenshots do not prove who was behind an account. Subscriber records, payment information, admissions, and details only one person would know are what establish identity.
What evidence actually moves these cases: complete message threads exported with dates and identifiers, video with verifiable dates, records that establish location, witnesses who were physically present at the hearing rather than in a letter, contemporaneous logs kept as events occurred, and for respondents, the permit application or code complaint that documents a lawful purpose.
Where civil harassment cases actually fall apart

Defending one is not about denying that anything happened. It is about testing the petition against what the statute requires.
No course of conduct. One argument, one confrontation, one angry message. A single incident that is not violence and not a credible threat frequently does not qualify.
A legitimate purpose existed. This wins more cases than any other defense.
Not directed at a specific person. Posts about a situation, or complaints about a business, may not meet the requirement.
No substantial emotional distress a reasonable person would suffer. Annoyance and anger are not the same thing, and a petitioner whose daily life continued unchanged has an evidentiary problem.
Constitutionally protected activity. Excluded from the statute.
The record does not meet clear and convincing. Sometimes the strongest position is that the petitioner may believe every word and still has not produced the quality of proof the statute demands.
Defective service, or the wrong statute. Procedural, and dispositive when they apply.
The petition is retaliatory. When one arrives eleven days after the respondent filed a complaint against the petitioner, the sequence is evidence.
Can a respondent recover attorney’s fees?
Yes. Section 527.6(s) provides that the prevailing party may be awarded court costs and attorney’s fees, and a respondent who defeats the petition is a prevailing party.
This is a real difference between the civil harassment statute and the domestic violence statute, and it is underused. Fees are discretionary, which means they have to be requested and supported. Courts are more receptive where the petition was weak on its face, where it was filed for a purpose other than protection, or where the respondent tried to resolve the matter early and the petitioner refused.
The request has to be built into the case from the start. That means documenting the respondent’s conduct throughout, preserving the communications that show the petition’s real motivation, and making the request properly rather than mentioning it as the hearing ends.
If you were served with a petition you believe was filed to gain leverage, tell us. (888) 808-2179
Resolving a case without a contested hearing
Not every civil restraining order case should be tried.

A stipulated agreement without findings. Both parties agree to stay away and the judge signs it, with no finding that harassment occurred. For a respondent facing a professional license or immigration consequences, the absence of a finding can matter more than the order itself. It remains enforceable, and violating it still carries criminal exposure.
A private written agreement with dismissal. No court order, no database entry, no firearm prohibition. Enforcement becomes a breach-of-contract matter, which is the tradeoff.
A shorter or narrower order. One year with a workable stay-away radius is a very different outcome from five years with none.
Mutual stay-away terms. Where both sides want the conflict to end without two contested hearings and two sets of findings.
Negotiation works best before the hearing begins. Once testimony starts, positions harden and the judge may prefer to rule.
How long does a civil harassment restraining order last?
Up to five years under section 527.6(j). The judge sets the duration, and shorter orders are common where the conduct was limited or the parties have an ongoing practical connection.
The petitioner can seek renewal before expiration, for up to five additional years. Renewal under this statute is capped at five more years and is not automatic. That differs from a domestic violence order, which under Family Code 6345 may be renewed for five or more years, or permanently.
Either party can ask the court to modify or terminate an order early when circumstances change. That motion is materially easier when the respondent has complied with every term without exception.
How is a CHRO different from California’s other restraining orders?
The relationship determines the statute. The statute determines the burden of proof.
| Order | Statute | Who files | Standard of proof |
| Civil harassment | CCP 527.6 | Anyone outside a domestic relationship | Clear and convincing |
| Domestic violence | Family Code 6200 et seq. | Spouse, partner, dating relationship, co-parent, close relative, cohabitant | Preponderance |
| Workplace violence | CCP 527.8 | The employer, for an employee | Clear and convincing |
| Postsecondary school violence | CCP 527.85 | The school, for a student | Clear and convincing |
| Elder or dependent adult abuse | Welfare and Institutions Code 15657.03 | Adults 65 and older, or dependent adults | Preponderance |
| Gun violence | Penal Code 18100 et seq. | Family, household members, law enforcement, employers, coworkers, teachers | Clear and convincing |
Our California restraining order practice areas page covers each track in detail.
If you are seeking protection from harassment

This section is for petitioners. Everything above addresses the person who was served.
You can file on your own, and there is no fee in most cases involving violence or threats. What is worth understanding first is what clear and convincing evidence will require.
Build a chronology of specific acts with dates, not a narrative about how the situation felt. Corroborate every one you can, because your testimony alone is frequently not enough. Address legitimate purpose directly if the respondent will claim they were filing complaints or pursuing a legal claim. Do not include incidents you cannot support, because they give the respondent something to attack. And prepare to be cross-examined, since contradicting your own declaration on the stand is the fastest way to lose a winnable petition.
Section 527.6(s) also runs both directions. A petition that fails badly can result in a fee award against you.
How Power Trial Lawyers handles CCP 527.6 cases
Restraining orders are the practice here, not one item on a long list.
We take the petition apart element by element, because each one is a separate failure point. We build to the clear and convincing standard deliberately, which for respondents means showing the gap between what was alleged and what was proven. We check the statute question first, since a mismatch found before the hearing is worth more than any argument made during it. We cross-examine for the record, using short closed questions aimed at the points that can be tested against documents. And we ask for fees under section 527.6(s) when the facts support it.
Matthew Barhoma leads the firm’s restraining order and appellate practice and has appeared as a legal analyst on CNN, Fox News, Law & Crime, and in Forbes and the Los Angeles Times, analyzing trial strategy, cross-examination, and evidentiary rulings. Los Angeles County cases are handled out of the downtown office, and you can read more about local courthouse routing on our page for Los Angeles restraining order cases.
Civil harassment restraining order questions, answered
Yes. Section 527.6 does not require any relationship between the parties, and online harassment cases are increasingly common. The obstacle is attribution. Before a judge restrains anyone, the petitioner has to prove who was behind the account, which usually takes subscriber records, payment information, admissions, or distinctive details known only to a specific person.
It can. These are public civil court records and appear on many background checks. Licensed professions are the most affected, including healthcare, education, law, finance, real estate, and any role requiring a security clearance or a firearm. Some employers require disclosure of a protective order. If a specific job or license is at stake, say so early, because it changes how a case should be negotiated.
Yes. Mutual orders happen where both parties file and the court finds conduct on both sides meeting the standard. Courts are cautious about them, and each party takes on the same firearm prohibition and the same criminal exposure. Where both sides simply want the conflict to stop, a negotiated mutual stay-away without findings is often a better result than two contested hearings.
The order remains valid and enforceable, and other states are generally required to honor a California protective order. Enforcement becomes a practical question rather than a legal one, since law enforcement in another state needs a copy of the order and has to be willing to act on it. Registering the order in the new state is often worth the effort.
Your hearing is about three weeks out

A civil harassment petition moves faster than almost any other civil matter in California. Twenty-one days from the temporary order to a hearing that can produce a five-year order, a firearm prohibition, and a public court record.
The standard is high. Meeting it, or showing it has not been met, takes preparation that cannot be assembled the morning of the hearing.
Power Trial Lawyers handles CCP 527.6 cases throughout California, on both sides. Consultations are free and calls are answered 24/7.
Call (888) 808-2179
Los Angeles: 835 Wilshire Blvd, 5th Floor, Los Angeles, CA 90017
Costa Mesa: 695 Town Center Dr #1200, Costa Mesa, CA 92626
Power Trial Lawyers
Los Angeles Office
835 Wilshire Blvd, 5th Floor
Los Angeles, CA 90017
Restraining order hearings across California
Contact Us





















