When a public address announcement declares a "code purple," the atmosphere in an emergency room shifts instantly. This specific alert signals a critical situation involving a potential active threat, such as an armed intruder or a violent individual, requiring an immediate and coordinated security response. Understanding the protocol and purpose of a code purple is essential for both healthcare staff and patients, as it dictates a rapid transition from normal clinical operations to a heightened state of lockdown and defense.

Defining a Code Purple in the ER Context

A code purple in an emergency room is a standardized hospital alert used to notify personnel of an active violent situation or external threat. Unlike medical codes that refer to cardiac or respiratory arrest, a code purple is a security designation. It is called when there is a reported shooter, a dangerous fugitive on the loose, or any scenario where an immediate, armed response is deemed necessary to protect life. The primary goal is to neutralize the threat as quickly as possible while safeguarding everyone inside the facility.
Distinguishing from Other Emergency Codes

It is vital to differentiate a code purple from other emergency signals to prevent confusion. A code blue indicates a medical cardiopulmonary arrest, a code red signals a fire, and a code white often refers to a pediatric emergency or missing infant. Because these codes trigger specific resource mobilization, mistaking a violent threat for a medical emergency could divert critical security personnel away from an active shooter, escalating the danger. The purple designation ensures that law enforcement response is the absolute priority.
The Activation and Immediate Protocol

The activation of a code purple usually originates from a hospital security office or directly from clinical staff who witness a threat. Once initiated, the public address system broadcasts the code along with a specific location, such as "Code Purple, Emergency Department." Upon hearing this, the following actions typically occur immediately:
- All non-essential personnel are instructed to shelter in place or evacuate to safe zones.
- Clinicians move patients away from hallway windows and secure doors with locks or heavy furniture.
- Electronic access points are locked down to contain the threat within a specific area.
- Security teams and local law enforcement are alerted with precise entry points and suspect descriptions.
Staff and Patient Responsibilities

During a code purple, the role of healthcare providers shifts from caregivers to safety officers. Doctors and nurses are trained to prioritize situational awareness, communicating silently via text or hospital phones if possible, and moving horizontally to safety rather than vertically through main entrances. For patients, especially those in wheelchairs or unable to walk, the staff implements rapid evacuation protocols or hardens their current location. The emphasis is on maintaining silence, turning off lights, and staying out of sight to protect everyone involved.
Integration with Law Enforcement
Effective management of a code purple relies heavily on the seamless integration of hospital security and external law enforcement. Police teams are trained to coordinate with hospital command centers, establishing communication channels to receive real-time updates about the suspect’s location. This partnership ensures that the response is not only fast but also tactically sound, minimizing the risk of crossfire between officers and the perpetrator inside the complex ER environment.

De-escalation and Resolution
The resolution of a code purple scenario depends on the successful containment and apprehension of the threat. Security teams work to seal off exits and corner the suspect, while negotiators may be brought in if the individual is barricaded or holding individuals hostage. Once the threat is neutralized—whether through arrest, incapacitation, or surrender—the all-clear signal is issued. Following the incident, hospitals conduct thorough debriefings to analyze the response, update security measures, and provide psychological support to staff and patients who experienced the trauma.



















Preparation and Training
Hospitals invest significant resources into preparing for a code purple through rigorous drills and staff education. New employees often undergo orientation sessions that detail the differences between medical and security codes, while veteran staff participate in annual simulations. These drills cover everything from locking down the trauma bay to managing the emotional distress of patients who may not understand the sudden change in atmosphere. This constant vigilance ensures that when a purple alert is sounded, the emergency room can transition into a secure military-like operation in mere seconds.