The federal Bankruptcy Code provides one of the most powerful single defenses available to a tenant facing eviction. The moment a tenant files a Chapter 7 or Chapter 13 petition, 11 U.S.C. § 362 imposes an automatic stay that immediately halts the unlawful detainer action, and almost every other collection effort against the tenant. The landlord cannot proceed with the UD, cannot enforce a writ of possession, cannot continue collection efforts, and cannot make most contact about the alleged debt without first obtaining relief from the stay through the Bankruptcy Court.
The stay has limits. Two specific carve-outs in 11 U.S.C. § 362(b)(22) and (23) limit the protection where the landlord has already obtained a pre-petition judgment for possession (subject to specific procedural requirements) or where the eviction is based on endangerment of the property or illegal drug use. Outside those narrow carve-outs, the stay generally protects tenant possession through the bankruptcy process and creates room to negotiate a structured resolution.
We are a tenant-only firm. Bankruptcy as an eviction defense requires careful analysis, it is the right tool in some cases and not in others. The analysis is case-specific.
How the automatic stay actually works
The bankruptcy petition is filed in the Bankruptcy Court for the Central District of California (most LA cases). The petition is electronic and effective immediately on filing. The Notice of Bankruptcy can be sent to the landlord and the state court simultaneously. From that moment, 11 U.S.C. § 362(a) prohibits the landlord from continuing the unlawful detainer, executing a writ of possession, or taking any collection action against the tenant or the bankruptcy estate. The state-court UD case is suspended, any hearings on calendar within the stay period are vacated.
The landlord’s recourse is to file a Motion for Relief from Stay in Bankruptcy Court. The motion is briefed, heard within a few weeks, and decided on the merits of whether continuing the eviction is appropriate under the bankruptcy framework. Where the carve-outs apply (pre-petition possession judgment or endangerment), the motion is straightforward. Where they don’t, the analysis turns on adequate protection, the equities, and the tenant’s ability to cure within the bankruptcy plan.
The two carve-outs, and when they matter
11 U.S.C. § 362(b)(22) excludes from the stay landlords who obtained a judgment for possession BEFORE the bankruptcy filing. However, even this carve-out is narrowed by § 362(l), which permits the tenant to file specific certifications that may restore the stay, particularly where the tenant has the ability to cure within 30 days under applicable nonbankruptcy law. The certifications are technical and time-sensitive, getting them filed correctly is the difference between an effective stay and no stay at all.
11 U.S.C. § 362(b)(23) excludes from the stay evictions based on the tenant’s endangerment of the property or illegal use of controlled substances on the premises within the 30 days preceding the bankruptcy filing. These exceptions are narrow and require specific procedural steps by the landlord, most landlords don’t invoke them. When they do, the underlying conduct allegations themselves are contestable.
Chapter 7 vs. Chapter 13, which one applies
Chapter 7 is a liquidation bankruptcy: the tenant’s qualifying assets are sold to satisfy debts, and most unsecured debts (including past-due rent) are discharged. The process takes roughly four months. The automatic stay applies throughout. Chapter 7 is generally useful where the tenant wants out of the unit but wants to discharge the rent debt and avoid the credit-report hit of a money judgment. The tenant moves out under negotiated terms during the case, the landlord’s rent claim is discharged in the bankruptcy.
Chapter 13 is a reorganization: the tenant proposes a 3- or 5-year plan to repay debts over time. The automatic stay applies throughout. Chapter 13 is generally useful where the tenant wants to STAY in the unit and cure the rent default through the plan. The plan can include a provision for paying ongoing rent plus back rent over time, with the lease assumption built into the plan. Successful Chapter 13 plans can preserve tenancies that would otherwise be lost, particularly long-term rent-controlled tenancies where the value of staying far exceeds the cost of the back rent.
When bankruptcy is the right move, and when it isn’t
Bankruptcy as eviction defense makes the most sense when the tenant has substantial debt beyond the rent, credit cards, medical bills, personal loans, that would otherwise persist after the UD resolves. Filing once to discharge or restructure all of it produces lasting financial relief. It makes less sense when the only debt is the back rent and the underlying UD has strong defenses on the merits (defective notice, habitability, LARSO failure-to-register, etc.) — those defenses defeat the case without the bankruptcy filing and without the eight- to ten-year credit-report impact.
Bankruptcy also has costs the tenant should understand: filing fees, attorney fees, the requirement to attend the meeting of creditors, financial counseling courses, the long credit-report shadow, and limited future bankruptcy eligibility (Chapter 7 has an 8-year repeat-filing bar). The right analysis weighs the eviction stakes, the overall debt picture, the tenant’s long-term housing goals, and the relative strength of nonbankruptcy defenses. Our firm handles both the eviction defense and the bankruptcy where the two are intertwined.
What to do right now
- If a UD is pending and the sheriff lockout is days away, bankruptcy can be filed today to stop the immediate enforcement.
- Identify whether a judgment for possession has been entered, that triggers § 362(b)(22) carve-out and requires careful certification handling.
- List ALL debts, not just the rent, bankruptcy makes sense holistically, not just for the UD.
- Get counsel before filing. The procedural mistakes in pro se bankruptcy filings often defeat the stay.
Related pages
- Eviction Defense overview
- Bankruptcy practice page
- Default Judgment Set-Aside
- UD Timeline
- Cash-for-Keys Settlement
- Looking for a Los Angeles eviction defense attorney? Our main tenant defense page covers the full eviction defense playbook.
- Eviction Defense Information Hub: comprehensive topic index for California tenants.
- What Happens After You File Your Answer
- How Long Does an Eviction Case Take in LA
- Neighborhood guides: Santa Monica, West Hollywood, Long Beach, Hollywood, Downtown LA
Frequently asked questions
Does bankruptcy stop my eviction?
Filing Chapter 7 or Chapter 13 triggers the automatic stay under 11 U.S.C. § 362, which generally halts eviction proceedings. There are important exceptions: if the landlord already has a judgment for possession, the stay may not stop the lockout without additional steps.
How long does the stay last?
In Chapter 7, the stay lasts until discharge, dismissal, or relief from stay (typically 60-90 days for the routine eviction context). In Chapter 13, the stay can last the duration of the repayment plan, sometimes years.
Will my landlord just file for relief from stay?
Landlords routinely file motions for relief from stay in eviction cases. The bankruptcy court usually grants relief for residential leases. The stay still buys time and can support a negotiated resolution.
Should I file bankruptcy just to stop an eviction?
Rarely. Bankruptcy has long-term credit consequences and is not a strategic tool for a single eviction case unless there are other debts you would also discharge. Talk to a bankruptcy attorney about whether the broader filing makes sense.
Can the bankruptcy also discharge the back rent?
Pre-petition rent debt is dischargeable in Chapter 7. The landlord can no longer collect it. Post-petition rent that accrues during the case is not dischargeable.