When a code blue is activated in a hospital, should cardiopulmonary resuscitation be started immediately and should 100% oxygen be administered right away?

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: March 15, 2026 • View editorial policy

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.

When Code Blue is Called: Immediate Actions in Hospital Cardiac Arrest

Yes, when a code blue is activated in a hospital, CPR should be started immediately after confirming cardiac arrest, and oxygen should be administered right away as part of high-quality resuscitation.

Initial Response Sequence

Upon code blue activation, healthcare providers should follow this algorithmic approach 1:

Step 1: Scene Safety and Assessment (0-10 seconds)

  • Verify scene safety 1
  • Check for responsiveness while simultaneously assessing breathing and pulse 1
  • Pulse check must be completed within 10 seconds 1
  • Look for absent breathing or only gasping 1

Step 2: Immediate Activation and Equipment Retrieval

  • Shout for nearby help 1
  • Activate emergency response system (if not already done) 1
  • Retrieve AED and emergency equipment 1

Step 3: Start CPR Immediately (Box 4)

If no pulse is detected and patient is not breathing or only gasping 1:

  • Begin chest compressions immediately - this is the single most critical intervention 1
  • Perform cycles of 30 compressions and 2 breaths (single rescuer) 1
  • Push hard (at least 2 inches [5 cm]) and fast (100-120/min) 1
  • Allow complete chest recoil between compressions 1

Step 4: Oxygen Administration - YES, Immediately

Oxygen should be administered as soon as CPR is initiated 2. The 2020 AHA guidelines explicitly state in the CPR Quality section:

  • "Begin bag-mask ventilation and give oxygen" as part of starting CPR 2
  • This occurs simultaneously with chest compressions 2

Critical Evidence Supporting Immediate Oxygen Use

Why Oxygen is Essential During CPR

Oxygen is required for successful resuscitation 3. A landmark animal study demonstrated that:

  • CPR with 0% oxygen resulted in only 1/10 achieving return of spontaneous circulation (ROSC) 3
  • CPR with 21% oxygen (room air) achieved ROSC in 9/11 cases 3
  • CPR with 100% oxygen achieved ROSC in 10/12 cases 3
  • Without oxygen, ROSC was essentially impossible 3

In-Hospital Reality: Delays Must Be Avoided

Historical data reveals concerning delays in oxygen administration during hospital cardiac arrests 4, 5:

  • In one study, oxygen administration occurred at a median elapsed time of 2.25 minutes after arrest recognition 4
  • In another study, only 37% of arrests had ventilation initiated within 1 minute, and in 18% ventilation was delayed beyond 3 minutes 5
  • These delays were linked to omission of oxygen from earlier BLS guidelines and equipment availability issues 4

These delays are unacceptable and associated with worse outcomes 4, 5.

Practical Implementation in Hospital Setting

Equipment Preparation

  • Bag-valve-mask with oxygen connection should be immediately available 2
  • Attach to highest available oxygen concentration during initial resuscitation 2
  • Monitor/defibrillator should be attached as soon as available 2

CPR Quality Metrics (Simultaneous with Oxygen Delivery)

  • Minimize interruptions in compressions 1
  • Avoid excessive ventilation 1
  • Change compressor every 2 minutes or sooner if fatigued 1
  • If no advanced airway: 30:2 compression-ventilation ratio (single rescuer) or 15:2 (two rescuers for pediatrics) 2

Important Nuance: Post-ROSC Oxygen Management

While 100% oxygen is appropriate during active CPR, oxygen management changes after ROSC 6, 7:

  • After ROSC, avoid hyperoxemia (PaO2 ≥300 mmHg) as it is associated with increased mortality and worse neurologic outcomes 6, 7
  • Titrate oxygen to avoid both hypoxemia and hyperoxemia after ROSC 6, 7
  • This adjustment should occur as soon as possible after ROSC, particularly during the first hour 6

Common Pitfalls to Avoid

  1. Delaying oxygen administration while searching for equipment - have bag-mask with oxygen readily available 4, 5
  2. Prioritizing pulse checks over CPR initiation - if uncertain about pulse within 10 seconds, start CPR 1
  3. Excessive ventilation - avoid hyperventilation which can impede venous return 1
  4. Continuing 100% oxygen after ROSC - titrate to normoxemia once circulation is restored 6, 7
  5. Interrupting compressions - minimize all interruptions, including for ventilation 1

Algorithm Summary for Hospital Code Blue

  1. Confirm cardiac arrest (no pulse, no breathing/only gasping) - ≤10 seconds 1
  2. Start CPR immediately - chest compressions first 1
  3. Begin bag-mask ventilation with oxygen - as soon as CPR starts 2
  4. Attach monitor/defibrillator - use AED/defibrillator as soon as available 1
  5. Continue high-quality CPR with minimal interruptions 1
  6. After ROSC: titrate oxygen to avoid hyperoxemia 6, 7

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.