What Is a Code 5 in a Hospital and What Triggers It?

A Code 5 in a hospital typically signals a call for an emergency response team to handle a situation involving a person in behavioral crisis, whether that person is a patient, visitor, or employee. At Johns Hopkins Medicine facilities, for example, Code 5 is defined as a “Public or Employee Emergency Response Team” activation. It’s essentially the hospital’s way of quickly assembling trained staff to manage a volatile or potentially dangerous situation on a specific unit or floor.

What Triggers a Code 5

Code 5 calls are generally activated when someone becomes agitated, threatening, or physically combative in a way that poses a safety risk to themselves, staff, or other patients. This could be a patient experiencing a psychiatric emergency, someone under the influence of drugs or alcohol, a visitor who has become aggressive, or an employee in crisis. The situation has typically escalated beyond what the staff on the unit can safely manage on their own.

The goal of calling a Code 5 is to bring additional personnel to the scene quickly. This usually includes security officers, nursing supervisors, and sometimes mental health professionals or social workers, depending on the hospital. The immediate priority is protecting everyone involved, including the person in crisis.

What Happens During the Response

When a Code 5 is announced over the hospital’s communication system, a team converges on the location. The first approach is almost always verbal de-escalation, where trained staff try to calm the person down through conversation, creating physical space, and reducing stimulation in the environment. OSHA guidelines for healthcare facilities emphasize training in de-escalation techniques and trauma-informed care as core components of managing these situations.

If verbal techniques don’t work, the response may escalate in stages. A “show of force,” where multiple team members are visibly present, can sometimes be enough to defuse the situation. When it isn’t, hospitals have protocols for physical holds or, in some cases, medication to help sedate the person safely. These interventions are used as a last resort. Some hospitals, like Providence Behavioral Health Hospital, have adopted no-restraint policies in certain units, particularly those serving children and adolescents, finding success with alternative approaches.

Why It’s Called “Code 5” and Not Something Else

Hospital emergency codes have historically been a patchwork system. Different hospitals use different colors, numbers, and terms for the same types of emergencies. What one facility calls a Code 5, another might call a Code Gray, a Code Silver, or something else entirely. There has never been a single national standard for these codes.

This inconsistency has caused real problems. A nurse who transfers from one hospital system to another might hear a code announcement and not know what it means, or worse, confuse it with a completely different emergency type. Staff who work at multiple facilities or travel nurses face this challenge regularly.

The broader trend in healthcare is moving away from coded language altogether. The Joint Commission, which accredits most U.S. hospitals, has supported adopting plain language for emergency announcements. Washington State, for instance, began strongly recommending in 2024 that hospitals stop using color codes (with limited exceptions for Code Blue and Amber Alerts) and switch to clear descriptions. Instead of announcing “Code Gray, 7th floor south,” a hospital would say something like “Security Alert, Security Assistance, 7th Floor South, Behavior Escalation.” The idea is that anyone hearing the announcement, including new staff, patients, and visitors, can immediately understand what’s happening and where.

How Code 5 Differs From Other Hospital Codes

Code 5 is distinct from medical emergency codes. A Code Blue, for example, is one of the few codes used almost universally across hospitals and signals a cardiac or respiratory arrest. Code Blue brings a resuscitation team with crash carts and defibrillators. Code 5 brings a security and behavioral response team. The equipment, personnel, and approach are completely different.

It’s also worth noting that some hospitals may use the number 5 for entirely different purposes. One facility might use Code 5 for a fire, an internal disaster, or something else. If you’re asking because you heard a Code 5 at a specific hospital or you work at one, the only reliable answer comes from that facility’s own emergency code list, which is typically posted in hallways, break rooms, and on staff badges.

Why Hospitals Use Coded Announcements at All

The original rationale for codes was to communicate urgency to staff without alarming patients and visitors. Hearing “Code 5, third floor” over the intercom sounds routine to most people, while “security emergency, combative patient, third floor” could cause panic. Codes also keep announcements brief, which matters when seconds count.

That said, the shift toward plain language reflects a growing recognition that clarity matters more than discretion. A code that staff don’t immediately recognize is worse than a plain announcement that sounds alarming but gets the right people moving in the right direction. Many hospitals are now navigating this transition, keeping some legacy codes while phasing in clearer language for others.