What are the steps to manage a code blue situation?

Medical Advisory BoardAll articles are reviewed for accuracy by our Medical Advisory Board
Educational purpose only • Exercise caution as content is pending human review
Article Review Status
Submitted
Under Review
Approved

Last updated: July 10, 2025View editorial policy

Personalize

Help us tailor your experience

Which best describes you? Your choice helps us use language that's most understandable for you.

Managing a Code Blue Situation

The most effective approach to running a code blue is to follow the 2020 American Heart Association guidelines for cardiopulmonary resuscitation, which prioritize early recognition, immediate chest compressions, and a systematic team-based approach to maximize survival outcomes. 1

Initial Steps in Code Blue Management

  1. Ensure scene safety - Verify the environment is safe for rescuers 1
  2. Check for responsiveness - Determine if the patient is responsive 1
  3. Activate the emergency response system:
    • Shout for nearby help
    • Activate the code blue team
    • Get the AED/defibrillator and emergency equipment 1
  4. Assess breathing and pulse simultaneously (within 10 seconds):
    • If no breathing or only gasping, and no pulse → Begin CPR
    • If breathing but no pulse → Begin CPR
    • If breathing and has pulse → Monitor and provide supportive care 1

High-Quality CPR

  • Push hard and fast: Compress at least 2 inches (5 cm) deep at a rate of 100-120/min 1
  • Allow complete chest recoil between compressions
  • Minimize interruptions in chest compressions (aim for chest compression fraction >60%)
  • Change compressor every 2 minutes or sooner if fatigued to maintain quality
  • Compression-to-ventilation ratio:
    • Without advanced airway: 30:2
    • With advanced airway: Continuous compressions with 1 breath every 6 seconds (10 breaths/min) 1

Rhythm Assessment and Defibrillation

  1. Check rhythm as soon as monitor/defibrillator is available
  2. If shockable rhythm (VF/pVT):
    • Deliver one shock
    • Resume CPR immediately for 2 minutes
    • Reassess rhythm every 2 minutes 1
  3. If non-shockable rhythm (asystole/PEA):
    • Continue CPR
    • Reassess rhythm every 2 minutes 1

Medication Administration

  1. Establish IV/IO access as soon as possible
  2. Epinephrine:
    • First dose: 1 mg IV/IO
    • Repeat every 3-5 minutes 1
  3. For persistent/recurrent VF/pVT:
    • Amiodarone: 300 mg IV/IO first dose, 150 mg second dose, OR
    • Lidocaine: 1-1.5 mg/kg first dose, 0.5-0.75 mg/kg second dose 1

Advanced Airway Management

  • Consider advanced airway (endotracheal tube or supraglottic airway)
  • Confirm placement with waveform capnography
  • Once advanced airway is placed: Provide 1 breath every 6 seconds (10 breaths/min) with continuous chest compressions 1

Team Dynamics and Roles

Effective code management requires clear role assignment:

  • Team Leader: Directs resuscitation efforts, makes treatment decisions
  • Compressor(s): Performs chest compressions, rotates every 2 minutes
  • Airway Manager: Manages ventilation and airway
  • Medication Administrator: Prepares and administers medications
  • Recorder: Documents all interventions and timing

Post-Resuscitation Care

If return of spontaneous circulation (ROSC) is achieved:

  • Optimize ventilation and oxygenation
  • Maintain blood pressure with fluids/vasopressors if needed
  • Consider targeted temperature management
  • Identify and treat the underlying cause 1

Common Pitfalls to Avoid

  1. Delayed recognition of cardiac arrest - Check for responsiveness and pulse quickly
  2. Delayed or poor-quality CPR - Start compressions immediately and ensure proper depth/rate
  3. Prolonged interruptions in chest compressions - Minimize pauses for procedures
  4. Delayed defibrillation - Use AED/defibrillator as soon as available
  5. Uncoordinated team response - Assign clear roles and communicate effectively 2
  6. Failure to identify reversible causes - Consider H's and T's (Hypoxia, Hypovolemia, Hydrogen ion/acidosis, Hypo/Hyperkalemia, Hypothermia, Tension pneumothorax, Tamponade, Toxins, Thrombosis-pulmonary, Thrombosis-coronary)

Special Considerations

  • For suspected opioid overdose, administer naloxone if available
  • For pediatric patients, use age-appropriate equipment and modify compression depth (at least one-third of chest diameter) 1
  • In COVID-19 patients or during pandemic conditions, ensure proper PPE use, recognizing this may delay care processes 3

Research shows that prompt and effective code blue response significantly improves survival rates, with factors such as presenting rhythm and duration of CPR having significant effects on outcomes 2. Regular mock code training in the actual clinical environment can help teams identify facility-specific issues and improve response times 4.

References

Guideline

Guideline Directed Topic Overview

Dr.Oracle Medical Advisory Board & Editors, 2025

Research

Using simulation to orient code blue teams to a new hospital facility.

Simulation in healthcare : journal of the Society for Simulation in Healthcare, 2008

Professional Medical Disclaimer

This information is intended for healthcare professionals. Any medical decision-making should rely on clinical judgment and independently verified information. The content provided herein does not replace professional discretion and should be considered supplementary to established clinical guidelines. Healthcare providers should verify all information against primary literature and current practice standards before application in patient care. Dr.Oracle assumes no liability for clinical decisions based on this content.

Have a follow-up question?

Our Medical A.I. is used by practicing medical doctors at top research institutions around the world. Ask any follow up question and get world-class guideline-backed answers instantly.