How to File an Unlawful Detainer: Notice, Complaint, and Writ

To file an unlawful detainer, you serve the tenant a written notice that matches your legal ground for removal, wait for the notice period to expire, file a complaint and pay the filing fee with the court clerk, have a neutral third party serve the summons and complaint on the tenant, and then either request a default judgment or go to trial. If you win, you request a writ of possession and the sheriff carries out the lockout. Each step has requirements that, if missed, send you back to the beginning.

Step 1: Match the Notice to Your Legal Ground

You need a legally recognized reason to remove the occupant, and you need to give written notice of that reason before a court will hear the case. Three grounds cover most filings, and each has its own notice.

A pay-rent-or-quit notice is used when rent is overdue. It must state the exact amount owed, how the tenant can pay, and where to deliver payment. Notice periods run from as few as three days to as many as fourteen days depending on the state. Some jurisdictions require the notice to include contact information for local rental assistance programs. If the tenant pays in full before the deadline, the matter ends.

A cure-or-quit notice applies when the tenant is violating a lease term, such as keeping an unauthorized pet or subletting without permission. The notice identifies the specific violation and gives the tenant a short window to fix it. For serious situations like illegal activity on the premises or repeated violations, some states allow an unconditional quit notice that offers no chance to cure.

A notice to terminate tenancy is used to end a month-to-month arrangement without alleging wrongdoing. The period is usually 30 days, though some jurisdictions require 60 days or more for tenants who have lived in the unit beyond a certain number of years. It states the date the tenant must vacate.

Pick the wrong notice, or use the wrong number of days, and the case fails on that alone.

Step 2: Serve the Notice the Right Way

A notice that never reaches the tenant, or reaches them through an unapproved method, is the single most common reason unlawful detainer cases get thrown out. The entire process depends on the occupant actually knowing about it.

The preferred method is personal service, meaning someone hands the notice directly to the tenant. If the tenant avoids personal delivery, most states allow substituted service: leaving the notice with another adult at the property or the tenant’s workplace, then mailing a copy. As a last resort, some jurisdictions permit posting on the property door with a mailed copy. Each fallback adds time to your overall timeline because courts want extra assurance the tenant received the notice.

Keep a record of exactly how and when you served the notice. Write down the date, time, method, and the name of the person who delivered it. A sworn statement about service will likely be required when you file. Do not file your lawsuit until the full notice period has expired. If the notice gave the tenant seven days and you file on day six, the court will dismiss the case.

Step 3: File the Complaint With the Court

Once the notice period expires without the tenant complying, you file the unlawful detainer complaint. Most courts have a standard form available from the clerk’s office or the court’s website. The form asks for the names of all occupants, the property address, the lease dates, the amount of any rent owed, the type of notice you served, how and when you served it, and what you are asking the court to do, which is almost always an order for possession plus any unpaid rent.

Accuracy here is not optional. A misspelled name, a wrong address, or an incorrect rent amount gives the tenant grounds to challenge the complaint. Before you submit the form, compare every detail against the original lease, the notice you served, and your payment records.

Filing requires paying a fee to the clerk. The amount varies enough by jurisdiction that quoting a single number would be misleading. If you cannot afford the fee, most courts offer a fee waiver application based on financial hardship. Once the clerk accepts your complaint, the court issues a summons, which is the formal document telling the tenant they are being sued and giving them a deadline to respond.

Step 4: Serve the Summons and Complaint

You cannot serve the summons and complaint yourself. A neutral third party at least 18 years old and uninvolved in the case must deliver the documents. This can be a sheriff, a marshal, a registered process server, or any other adult who meets the qualifications. Private process servers typically charge between $50 and $150 depending on the area and how difficult the service turns out to be.

The same methods used for the pre-filing notice apply: personal service is preferred, followed by substituted service if necessary. After delivery, the server must complete a proof-of-service form detailing who was served, when, where, and how. That form gets filed with the court and becomes part of the official record. Without a completed proof of service, the case cannot move forward.

Step 5: Handle Federal Requirements Before Judgment

Several federal laws apply on top of your state’s procedure. Ignoring them can void your judgment entirely.

Military Service Affidavit

If the tenant does not respond and you seek a default judgment, federal law requires you to file an affidavit stating whether the tenant is on active military duty. If the tenant is serving, the court must appoint an attorney to represent them and may stay the proceedings for at least 90 days. Filing a false affidavit about a tenant’s military status is a federal crime punishable by up to one year in prison.1Office of the Law Revision Counsel. 50 USC 3931 – Protection of Servicemembers Against Default Judgments

Beyond the affidavit, active-duty servicemembers and their dependents have broader eviction protections. A landlord cannot evict a servicemember from a primary residence without a court order, and if military service has materially affected the servicemember’s ability to pay rent, the court can stay the eviction for 90 days or longer.2Office of the Law Revision Counsel. 50 USC 3951 – Evictions and Distress

Fair Housing Act

An eviction that targets a tenant because of race, color, religion, sex, familial status, national origin, or disability violates federal law. The Fair Housing Act covers the terms, conditions, and privileges of a tenancy, which includes the decision to evict. If a tenant can show the eviction was motivated by a protected characteristic, the case can be dismissed and you can face separate liability for housing discrimination.3Justia Law. 42 USC 3604 – Discrimination in the Sale or Rental of Housing and Other Prohibited Practices

VAWA Protections

In federally assisted housing programs, it is illegal to evict a tenant because they are a survivor of domestic violence, dating violence, sexual assault, or stalking. Even criminal activity directly related to the abuse cannot be the sole basis for eviction under the Violence Against Women Act. These protections extend to all members of the tenant’s household.4U.S. Department of Housing and Urban Development. Your Rights Under the Violence Against Women Act (VAWA)

Step 6: The Tenant’s Response Deadline Passes

Unlawful detainer cases move faster than ordinary civil lawsuits. A defendant in a typical breach-of-contract case might have 20 or 30 days to respond. In an unlawful detainer, the window is often 5 to 10 court days depending on the jurisdiction and the method of service. Courts also give eviction cases scheduling priority, so trials happen within weeks.

If the Tenant Does Not Respond

When the deadline passes without a filing, you can ask the court for a default judgment. Submit a request for entry of default, a proposed judgment, and your military-service affidavit. The court reviews everything to confirm the notice was proper, the service was valid, and the federal affidavit requirement has been met. If it all checks out, the court enters a judgment granting possession and, in most cases, a money judgment for unpaid rent and costs.

If the Tenant Files an Answer

A tenant who responds will typically file an answer denying some or all of the allegations and raising defenses. The case proceeds to trial. Because unlawful detainer cases are summary proceedings, trials are usually short and bench-only, meaning a judge decides the outcome without a jury in most jurisdictions.

Defenses to Expect

The most effective defense a tenant can raise is defective notice. If the notice was served improperly, gave the wrong number of days, left out required information, or was filed with the court before the notice period expired, the case gets dismissed on procedural grounds. That does not mean you lose permanently, but you have to start the notice process over.

Habitability defenses are also common: the tenant argues the property had serious health or safety problems the landlord failed to fix, so the landlord cannot enforce the lease against a tenant who withheld rent because of those conditions. Courts weigh the severity, duration, and nature of the problem. Minor cosmetic issues do not qualify, but a broken furnace in winter or persistent mold likely would.

Retaliation defenses are frequent as well. Nearly every state prohibits landlords from evicting tenants in response to complaints about unsafe conditions, reports to code enforcement, or participation in a tenant organization. If your notice followed closely after the tenant exercised one of these rights, expect the argument that the timing was not coincidental. In many states, the burden shifts to you to prove the eviction was unrelated.

Other defenses include the landlord’s acceptance of partial rent after serving a notice (which can waive the notice in some jurisdictions), discrimination under the Fair Housing Act, and failure to return or properly account for a security deposit.

Step 7: Request the Writ and Have the Sheriff Enforce It

Winning does not put you back in the property. A judgment for possession is a court order saying you have the right to the property, but law enforcement carries it out.

After the court enters judgment, you request a writ of possession, sometimes called a writ of execution or writ of restitution depending on the jurisdiction. This document authorizes the sheriff or marshal to physically remove the occupant. Deliver the writ to the local sheriff’s or marshal’s office along with any required fees, which typically run a few hundred dollars.

The sheriff then posts a final notice to vacate on the property, giving the occupant a last window to leave voluntarily. That window ranges from 24 hours to several days depending on local rules. If the occupant is still there when the deadline passes, the sheriff returns for the lockout, the locks are changed, and you regain physical possession.

Do Not Attempt a Self-Help Eviction

Nearly every state prohibits landlords from removing a tenant without a court order. Changing the locks, shutting off utilities, removing the front door, hauling the tenant’s belongings to the curb: all of these are illegal self-help evictions. Depending on the state, penalties include two to three months’ rent in statutory damages, treble actual damages, attorney’s fees, and in some states criminal misdemeanor charges.

A tenant who gets illegally locked out can go to court, get an emergency order putting them right back in the unit, and then sue you for damages on top of it. The math never works in the landlord’s favor. File the case properly and let the sheriff handle the removal.

After the Lockout

Evicted tenants frequently leave personal property in the unit. Almost every state requires you to give the former tenant written notice and a reasonable window to retrieve their belongings before you can dispose of them. Notice periods and storage obligations vary, but the pattern is similar: notify the tenant, store the items for a set period (often 10 to 30 days), and only then discard or sell what remains. Throwing belongings away immediately after the lockout can create liability even when you have a valid judgment for possession.

A money judgment for back rent does not collect itself. If the former tenant does not pay voluntarily, enforcement tools such as wage garnishment, bank levies, or property liens may be available depending on your state. These require additional court filings and fees. Collecting from a former tenant who did not have money for rent is often difficult, and many landlords hold the money judgment in case the former tenant’s financial situation improves.