How to get a restraining order: a step-by-step guide
Deciding to file for a restraining order often comes after weeks of wondering whether things are "bad enough" to involve the courts. They don't need to be at a breaking point for you to ask a court for protection. Here's what the process actually looks like, step by step, from filing to the final order.
If you're in immediate danger, call 911. For confidential, 24/7 support, you can also reach the National Domestic Violence Hotline at 1-800-799-7233.
Getting a restraining order generally follows five steps: filing a petition, requesting an emergency order if you need one right away, having the other person served, attending a hearing, and receiving a final order.
An emergency "ex parte order" can often be granted the same day you file, before the other person is notified, if a judge finds you're in immediate danger.
The process varies by state: some states call this an "order of protection" or "protective order" instead of a restraining order, so the forms, fees, and exact steps in your county may look different from the general outline below.
What is a restraining order, and who can file one?
A restraining order, sometimes called a "protective order" or "order of protection" depending on the state, is a civil court order that requires someone to stop contacting you, stay a certain distance away, or both. It's issued by a judge, not the police, though police can enforce it once it's in place.
Generally, you can petition for one if someone is threatening you, has physically harmed you, is stalking you, or is harassing you in a way that makes you reasonably afraid for your safety. Many states extend this to family members, current or former domestic partners, and in some cases roommates or coworkers. Exactly who qualifies, and what counts as a reason to file, varies by state. Restraining order vs. protective order goes into more detail on how the terminology and categories differ.
How to get a restraining order: step by step
Courts generally handle restraining order petitions through the same five-stage process, whatever they call the order in your state. The exact forms and filing fees differ by county, but the structure below holds in most places.
Step 1: File the petition
You'll start by filing a petition, sometimes called a "complaint" or "application," with the civil or family court in the county where you or the other person lives. The petition asks you to describe what happened: specific incidents, dates, and why you're afraid. Courts weigh specificity heavily here. A petition that says "he threatened me" carries less weight than one that says "he texted me on [date] saying he'd come to my apartment if I didn't respond."
Most courts provide the petition forms for free, and many let you file without a lawyer, though an attorney can help make sure the incidents are documented in a way the court is likely to find compelling.
Step 2: Request an emergency order, if you need one
If you're in immediate danger, you can usually ask the judge for a short-term emergency order at the same time you file. This is sometimes called a "temporary restraining order" or, more formally, an "ex parte order," meaning it's granted without the other person present or notified in advance. Courts typically review ex parte requests quickly, often the same day, because the standard is whether you're at risk right now, not whether the final case has been proven yet.
An emergency order usually lasts only until the full hearing, typically a window of one to three weeks depending on the court's calendar. It's not a final decision. It's a bridge meant to keep you safe in the meantime.
Step 3: Have the other party served
Before a court can rule against someone, that person generally has to be formally notified, a step called "service of process." In most states, you can't personally serve the papers. It has to be a sheriff's deputy, process server, or another adult not involved in the case. If you don't know where the other person is, courts typically have a process for alternative service, though it can add time to the case.
This step trips up more petitioners than any other part of the process. If service isn't completed properly, the hearing usually gets postponed, which can leave you without protection in the interim if your emergency order has expired.
Step 4: Attend the hearing
At the hearing, both you and the other person have the chance to present evidence and testimony. The judge decides whether to grant a longer-term order, and if so, for how long. Hearings are generally shorter and less formal than a criminal trial, but they're still a real court proceeding, and the other person, or their attorney, gets to respond to what you say.
You don't need a lawyer to attend, but having one represent you at this stage is where legal help tends to matter most, since the hearing is where the case is actually decided.
Step 5: Receive the final order
If the judge grants the order, how long it lasts varies significantly by state, anywhere from several months to a few years, and in some states a final order can run indefinitely, with no expiration date at all, until either party asks the court to modify or dissolve it. The order spells out exactly what the other person can't do (contact you, come within a certain distance, possess a firearm, and so on), and it's enforceable by police the moment it's in effect. Violating it is generally a separate criminal offense, regardless of whether the underlying conduct that led to the order was.
Quick reference: the restraining order process
Step
What happens
Typical timing
1. File the petition
Submit your written statement to the court
Same day
2. Request an ex parte order
Ask for emergency protection before the hearing
Often same day
3. Service
The other person is formally notified
Days to a few weeks
4. Hearing
Both sides present their case to a judge
1–3 weeks after filing, in most courts
5. Final order
Judge rules on a longer-term order
Day of hearing
Of the restraining order and protective order cases Marble Law has handled, about 62% were filed by the person seeking protection rather than someone responding to one already filed against them.
Does the process vary by state?
Yes, in both terminology and procedure. Marble currently handles restraining order services in 11 states, and it's not just a naming difference. The process itself can have more or fewer steps, and a final order's lifespan can differ by years depending on where you file.
Illinois is a good example of a structurally different process. Instead of the two-step emergency-order-then-hearing model described above, Illinois uses three separate order tiers: an emergency order, granted ex parte and lasting 14 to 21 days; an interim order, which can bridge the gap for up to 30 days if more time is needed before the full hearing; and a plenary order, entered after the hearing and valid for up to two years, renewable. A petitioner in Illinois may pass through an extra stage that doesn't exist in most other states' processes.
How long a final order lasts also varies far more than "a few months to a few years" suggests in practice. In Texas, the standard maximum is two years, extendable only with specific findings. In California, a final order can run three to five years by default and be renewed indefinitely, including for five more years or permanently, without having to show any further abuse. In Florida, a final order can run with no expiration date at all until either party asks the court to modify or dissolve it. And in Michigan, a Personal Protection Order has a statutory floor of 182 days, about six months, before it can expire.
Even the name for this kind of order isn't consistent. Illinois, New York, and Arizona generally call it an "order of protection." Maryland typically uses "protective order." Michigan calls its version a "PPO," short for Personal Protection Order. Justia's 50-state survey is a useful starting point for seeing just how much the specifics shift from one state to the next.
Filing a petition doesn't make you safe the moment you submit it. Courts generally need time to review it, and even an emergency order takes at least a few hours to process. A safety plan fills that gap. This typically means thinking through where you'd go if you needed to leave quickly, keeping copies of important documents somewhere the other person can't access, and identifying a few people you can call if you feel unsafe.
WomensLaw.org and the National Domestic Violence Hotline both offer free, confidential safety-planning tools, and the Hotline's advocates can also walk through state-specific resources by phone or chat, 24/7.
A restraining order attorney can help in ways that go beyond filling out forms. Attorneys generally help petitioners document incidents in the specific, court-ready language judges respond to, identify when an ex parte emergency order is realistically available versus when it's likely to be denied, and prepare for cross-examination at the hearing, often the single biggest predictor of whether a judge grants a longer-term order. If service becomes a problem because you don't know where the other person is, an attorney can also help pursue alternative service methods without losing the protection of an existing emergency order.
Because Marble works on a step by step fixed-price model, you'd know the cost of legal help with a restraining order case upfront, without hourly billing.
Final thoughts
The restraining order process can feel intimidating from the outside, mostly because so much of it is unfamiliar: legal terms you've never had to use, deadlines you don't want to miss, and a hearing you may be dreading. The five-step structure is the same almost everywhere, even though the specifics shift by state. If you're unsure whether your situation qualifies, a consultation with a family law attorney licensed in your state is generally the fastest way to find out. And if you're in danger right now, that conversation can wait until after you've called 911 or the National Domestic Violence Hotline.
Frequently Asked Questions
Disclaimer: This article is for general informational purposes only and is not legal advice. Laws vary by state and change over time, and your situation may differ from the examples described here. For advice about your specific circumstances, consult a licensed attorney in your state.
Share with
Author Bio
The Marble Team
Your family & immigration law firm
We are Marble - a nationwide law firm focusing on family & immigration law