In most situations, a hospital cannot keep you against your will. A mentally competent adult has the legal right to walk out at any time, even when doctors strongly disagree. The exceptions are narrow and defined by law: an involuntary psychiatric commitment, a temporary loss of your capacity to make decisions, a public health quarantine for a serious communicable disease, and certain situations involving children. Outside those categories, staying is your choice.
The Default Rule: You Can Leave
If you are a competent adult, no doctor, nurse, or security guard has the legal authority to physically stop you from leaving. When you go before the medical team thinks you should, it’s called leaving against medical advice, or AMA. Staff will explain the risks and ask you to sign a form acknowledging them. That form protects the hospital from liability. It is not what gives you permission to go.
The Joint Commission, which accredits hospitals nationwide, confirms that a signed AMA form is not required for discharge, though your chart will note that you left against advice.1The Joint Commission. Specifications Manual for Joint Commission National Quality Measures – Discharge Code If someone tells you that you can’t leave until you sign, that reflects a misunderstanding of hospital policy, not the law.
The Emergency Room Is Not Different
Emergency rooms have no special authority to hold you. Federal law requires hospitals to screen and stabilize anyone who arrives with an emergency condition, but the same law explicitly permits you to refuse examination or treatment. If you decline, the hospital must document your informed refusal and let you go.2Office of the Law Revision Counsel. 42 USC 1395dd – Examination and Treatment for Emergency Medical Conditions The duty to stabilize belongs to the hospital. It is not a duty on you to accept care.
Your Insurance Will Still Pay
A common piece of pressure applied at the bedside is that insurance won’t cover the stay if you leave AMA. There is no evidence that any payer, including Medicare, denies coverage solely because a patient left against advice. Medicare pays for inpatient services based on medical necessity, and when a stay qualifies, the hospital receives the full diagnosis-related group payment even if the patient leaves early.3Centers for Medicare and Medicaid Services. CMS Manual System – Pub 100-04 Medicare Claims Processing Private insurers work on similar principles. If staff tells you otherwise, they are mistaken or trying to persuade you.
Involuntary Psychiatric Commitment
The most common lawful reason someone is held is an involuntary psychiatric commitment. This is a legal process, not just a clinical judgment. It requires that you have a mental illness and that you either present a danger to yourself, a danger to others, or are unable to meet your own basic needs for food, shelter, or safety. That last category, sometimes called grave disability, means a cognitive or functional impairment that prevents self-care. It does not mean financial hardship.
What the Constitution Requires
The Supreme Court has set firm limits on this power. In 1975, the Court held that a state cannot confine a non-dangerous person who is capable of surviving safely on their own or with the help of willing family or friends.4Justia Law. O’Connor v. Donaldson, 422 U.S. 563 (1975) Four years later, the Court held that involuntary commitment must be proved by clear and convincing evidence, a standard well above the ordinary civil more-likely-than-not.5Justia Law. Addington v. Texas, 441 U.S. 418 (1979) The state has to prove its case, not merely assert that you need help.
Emergency Holds and What Follows
Most states allow an initial emergency hold, commonly 72 hours, so a mental health professional can evaluate whether you meet the commitment standard. The exact length varies. During that window, the hospital decides whether to release you or petition a court for a longer commitment.
Any commitment beyond the emergency period has to go through court. The Due Process Clause of the Fourteenth Amendment gives you the right to timely written notice, a hearing where you can present evidence and challenge the state’s case, and periodic judicial review afterward. Most states also provide the right to counsel, and there is a strong constitutional presumption that anyone facing loss of liberty is entitled to a lawyer, even in a civil proceeding.6Congressional Research Service. Involuntary Civil Commitment – Fourteenth Amendment Due Process Protections
When You Lack the Capacity to Decide
A hospital can also hold you temporarily when a medical condition has impaired your ability to understand your situation and make an informed decision. This is not a psychiatric hold. It applies to things like a head injury, severe intoxication, delirium from an infection, a major stroke, or the aftereffects of anesthesia, any of which can leave you unable to grasp where you are, what’s wrong, or what could happen if you walked out.
The team is acting on its duty to protect you until your judgment returns. The hold ends when your cognitive function comes back, and at that point you regain the full right to make your own decisions, including the decision to leave. If the incapacity is likely to be prolonged or permanent, the hospital must turn to a surrogate decision-maker.
A surrogate is someone legally authorized to make healthcare decisions for you. Ideally, you have already named that person in a durable power of attorney for healthcare or a healthcare proxy.7National Institute on Aging. Choosing a Health Care Proxy If no such document exists, hospitals follow a hierarchy set by state law, typically starting with a spouse, then an adult child, then a parent. The surrogate is expected to decide as you would have decided.
Public Health Quarantine
A hospital can detain you to prevent the spread of a serious communicable disease. This authority is independent of your mental state or capacity. Both the federal government and the states have the legal power to isolate or quarantine a person who poses a genuine public health threat.
Federal authority comes from the Public Health Service Act, which authorizes regulations to detain individuals reasonably believed to be infected with a quarantinable communicable disease who are moving or about to move between states.8Office of the Law Revision Counsel. 42 USC 264 – Regulations to Control Communicable Diseases The specific diseases are listed by executive order and include cholera, diphtheria, infectious tuberculosis, plague, smallpox, Ebola and other viral hemorrhagic fevers, and severe acute respiratory syndromes. The CDC administers this authority and can apprehend, examine, and isolate suspected carriers during interstate travel.9Centers for Disease Control and Prevention. Legal Authorities for Isolation and Quarantine
Anyone held under federal quarantine is entitled to adequate food, water, appropriate accommodation, medical treatment, and a means of communication.10eCFR. 42 CFR 70.6 – Apprehension and Detention of Persons With Quarantinable Communicable Diseases States have their own quarantine powers under their general police authority, and most public health holds are actually handled at the state or local level. The length depends on the disease’s incubation period and how long the person remains contagious.
When the Patient Is a Child
The analysis changes when the patient is a minor. Parents generally have the right to make medical decisions for their children, including the decision to take them home. But when the medical team believes that removing a child from the hospital would cause serious harm or death, the hospital can intervene.
The authority comes from the doctrine of parens patriae, which allows the state to protect people who cannot protect themselves. If a parent refuses treatment a child needs to survive, the hospital can contact child protective services, which can petition a court for authority to authorize the treatment over the parent’s objection. Courts have permitted state agencies to override parental decisions when the medical community agrees on the right course of treatment, the expected outcome is a reasonably normal life, and the child would die without the intervention. Restricting parental rights in these situations requires clear and convincing evidence that the parent’s decision is contrary to the child’s best interest.
In emergencies where there isn’t time to go to court, teams can provide life-saving treatment first and address the legal questions afterward.
Unpaid Bills Are Not a Legal Reason to Hold You
No hospital in the United States can lawfully detain you because you have not paid your bill. Debt is a civil matter. Holding a person against their will over a financial dispute is false imprisonment: intentional confinement without consent and without legal authority. The confinement doesn’t have to involve a locked door. Physical barriers, threats, and deliberately withholding discharge paperwork all count, and the length of the hold doesn’t change the analysis.
If you’re being told you cannot leave until a bill is settled, a payment plan is signed, or an insurance issue is resolved, that is unlawful. You can leave, and the hospital has to pursue the debt through ordinary collection channels afterward.
What to Do If You Think You’re Being Held Unlawfully
Say clearly to the staff that you want to leave, and ask for the specific legal basis for keeping you. If nobody can articulate one, or the reason doesn’t fit any of the categories above, push it up the chain. Ask to speak with the hospital’s patient advocate. Every accredited hospital has one, and their job is to resolve disputes between patients and the facility. Ask for a written copy of the patient bill of rights. Many of these situations turn out to be communication breakdowns that get sorted out once someone with authority is involved.
If You’re Under a Psychiatric Hold
Your rights are formal. You’re entitled to written notice of the commitment proceeding and a hearing before a judge, where the hospital must produce clear and convincing evidence that you meet the commitment standard.5Justia Law. Addington v. Texas, 441 U.S. 418 (1979) You can present your own evidence and cross-examine the state’s witnesses. Most states provide the right to an attorney, and if you can’t afford one, there is a strong constitutional basis for asking that one be appointed.6Congressional Research Service. Involuntary Civil Commitment – Fourteenth Amendment Due Process Protections Ask to speak with a lawyer as soon as the hold is placed, rather than waiting for the process to unfold on its own.
Habeas Corpus and False Imprisonment
If a hospital has confined you with no valid legal authority, two legal routes are available. A writ of habeas corpus lets you, or someone acting for you, petition a court to review the legality of the detention. The petition has to be in writing, name the person or institution holding you, and explain why the detention is unlawful. A court can order your release if the basis is missing. You can also bring a civil claim for false imprisonment after the fact, with damages available for both the physical and psychological harm the confinement caused.