What Does Code Blue Mean in a Hospital?

Code Blue is a hospital-wide emergency announcement that a patient is in cardiac arrest, respiratory arrest, or both. It signals that someone’s heart has stopped beating, they’ve stopped breathing, or both, and need immediate resuscitation. The announcement triggers a specialized team to rush to the patient’s location with life-saving equipment.

What Triggers a Code Blue

A Code Blue is called specifically for cardiac or respiratory arrest. Cardiac arrest means the heart has stopped pumping blood, confirmed by the absence of a pulse, unresponsiveness, and loss of consciousness. Respiratory arrest means the patient has stopped breathing entirely. These are distinct from other medical emergencies like strokes, seizures, or drops in blood pressure, which are serious but handled through different alert systems.

Hospitals separate Code Blue calls from what are sometimes called “rapid response” or “medical emergency team” calls. Those lesser alerts cover situations where a patient is deteriorating but still has a pulse and is still breathing. Changes in mental status, dangerously high or low heart rate, plummeting blood pressure, or chest pain would prompt a rapid response call rather than a full Code Blue. The distinction matters because Code Blue mobilizes the most aggressive, time-critical intervention a hospital can deliver.

How a Code Blue Is Announced

When a nurse, doctor, or any staff member finds a patient without a pulse or not breathing, they call for help immediately. The hospital’s operator broadcasts the alert over the overhead paging system, typically announcing “Code Blue” followed by the exact location (floor, unit, and room number). In many hospitals, the alert also goes out through pagers, internal messaging systems, or badge-mounted devices so the response team can mobilize even if they didn’t hear the overhead page.

Some hospitals use “Code White” or “Code Blue Pediatric” to distinguish a child’s cardiac arrest from an adult’s, since the response requires different equipment sizes and medication doses. The terminology varies by institution, but the urgency is the same.

Who Responds and What They Do

A Code Blue activates a dedicated team that drops whatever they’re doing and converges on the location. A typical team includes a physician team leader (often a critical care fellow or attending), intensive care nurses, respiratory therapists, and sometimes a pharmacist. At the NIH Clinical Center, for example, the team includes a critical care fellow as leader, a surgery fellow, two ICU nurses, two respiratory therapists, and an attending physician.

Each person has a defined role. The team leader directs the resuscitation and makes decisions about medications and procedures. One or two people rotate through chest compressions, which need to be continuous and high-quality. A respiratory therapist manages the airway, using a bag-valve mask or inserting a breathing tube. A nurse establishes IV access and pushes medications. Another person tracks the time, records what’s been given, and calls out intervals. The coordination is rehearsed and protocol-driven so that no time is wasted on figuring out who does what.

The Crash Cart

The response team arrives with (or meets at) a crash cart, a large rolling cabinet stocked with everything needed for resuscitation. Every hospital floor keeps at least one, and they’re checked regularly to make sure nothing is expired or missing.

The cart carries a defibrillator for delivering electrical shocks to restart a normal heart rhythm. Inside, drawers are organized by category. The first drawers hold emergency medications: adrenaline (epinephrine) to stimulate the heart, drugs to correct dangerous heart rhythms, sodium bicarbonate to manage blood chemistry, and medications to reverse opioid overdoses or treat allergic reactions. Other drawers contain IV supplies like saline bags and tubing, ECG patches and defibrillator pads, blood pressure cuffs, a pulse oximeter, suction equipment, oxygen masks, and intubation kits for securing an airway. The cart also carries sterile procedure kits for placing emergency IV lines into large veins.

What Happens During Resuscitation

The team follows standardized algorithms developed by the American Heart Association, known as Advanced Cardiovascular Life Support (ACLS). The first priority is high-quality chest compressions, which manually pump blood through the body when the heart can’t. Compressions start immediately and are interrupted as little as possible.

Within minutes, the defibrillator pads are placed on the patient’s chest to analyze the heart’s electrical activity. Some types of cardiac arrest respond to an electrical shock (defibrillation), while others do not. The team checks the rhythm every two minutes and shocks when appropriate. Between checks, compressions continue while medications are given through an IV. Adrenaline is administered in cycles to support blood flow to the heart and brain. If the patient has a rhythm that responds to shock but keeps reverting, additional rhythm-stabilizing drugs are given.

Resuscitation efforts typically continue for at least 20 to 30 minutes, sometimes longer depending on the circumstances. The team leader ultimately decides when to stop if the patient does not respond.

What Happens After the Heart Restarts

When resuscitation succeeds and the patient regains a pulse, a phase called “return of spontaneous circulation” begins. This is not the end of the emergency. The hours and days that follow are broken into distinct phases, starting with an immediate phase in the first 20 minutes, an early phase lasting up to 12 hours, and an intermediate phase extending to about 72 hours before recovery and rehabilitation begin.

The patient is transferred to an intensive care unit for close monitoring. Blood pressure, heart rhythm, oxygen levels, temperature, and brain activity are all tracked continuously. One of the most important interventions is targeted temperature management, where the patient’s body temperature is carefully cooled and kept at or below 36°C (about 97°F) using specialized cooling devices. This protects the brain from damage caused by the period it went without adequate blood flow. The medical team also watches for seizures, organ dysfunction, and dangerously low blood pressure, all common complications after cardiac arrest.

How DNR Orders Affect a Code Blue

Not every patient who goes into cardiac arrest receives a Code Blue response. Patients with a Do Not Resuscitate (DNR) order have made a legal decision, documented in their medical chart, that CPR and advanced life support should not be performed if their heart stops. The concept has been part of medical practice since the mid-1970s and is rooted in the principle that patients have the right to decline aggressive intervention, particularly when they have a terminal illness or a condition where resuscitation is unlikely to restore meaningful quality of life.

A DNR is a specific legal form, not a verbal request. When a patient with a valid DNR goes into cardiac arrest, staff do not call a Code Blue and do not initiate chest compressions or defibrillation. This can create difficult situations for physicians, particularly in emergency departments where the full scope of a patient’s wishes may not be immediately clear. A DNR applies only to cardiac arrest. It does not mean a patient declines all treatment. Patients with DNR orders still receive medications, oxygen, and other care for their conditions.

How Often Code Blues Succeed

Survival after an in-hospital cardiac arrest has improved over the past two decades thanks to better monitoring, faster response times, and standardized training. Current estimates place survival to hospital discharge at roughly 25 to 30 percent for patients who arrest inside a hospital, though rates vary significantly depending on the patient’s age, underlying health, the initial heart rhythm, and how quickly compressions and defibrillation begin. Patients whose arrest is witnessed and who have a “shockable” rhythm have considerably better odds than those found unresponsive with no shockable rhythm.

For survivors, the recovery trajectory depends heavily on how long the brain went without adequate blood flow. Some patients recover fully, while others face neurological challenges ranging from mild memory problems to severe disability. Early brain monitoring in the ICU helps doctors predict which patients are likely to regain function, guiding decisions about ongoing care.