Listen to this page
All articles

Planning

Code Blue: The Nurse's Role During a Hospital Emergency

A nurse responding to a code blue may begin CPR, activate the emergency response, bring equipment, administer ordered medications, document care or support another assigned role. Preparation, closed-loop communication and familiarity with facility protocols help the team work safely and efficiently.

Updated 2026-11-10 · Nursing CE editorial team

Enroll Now — $29.99/year

Every course included · Instant certificates · Renews yearly, cancel anytime before renewal

  • Board-approved provider (CA, FL, NV, NY, PA, OH)
  • Contact hours and accepted states listed on every course
  • Certificate issued the moment you pass
Diverse hospital team responding to a code blue around a patient bed

Quick answer

The code blue nurse role is to recognize cardiac or respiratory arrest, activate the emergency response system and begin appropriate basic life support while the code team arrives. During the event, nurses may provide compressions, manage equipment, administer medications under authorized orders or protocols, document interventions and participate in the debrief. Exact responsibilities depend on training, scope of practice and facility policy.

What is the nurse's role when a code blue begins?

The first nurse at the bedside should assess responsiveness, breathing and circulation according to current resuscitation guidance and facility policy. If cardiac or respiratory arrest is suspected, the nurse activates the code response, calls for help and begins appropriate life-saving measures within their training and scope of practice.

Early priorities generally include high-quality chest compressions, access to a defibrillator or automated external defibrillator, ventilation support and removal of immediate hazards. A nurse may also direct another staff member to bring the crash cart, contact the code team or clear the area.

Roles should transition smoothly as trained responders arrive. Nurses should follow current Basic Life Support or Advanced Cardiovascular Life Support guidance as applicable, along with their facility's code blue procedures.

What are the main roles on a code blue team?

A code team commonly includes a team leader, compressor, airway clinician, monitor or defibrillator operator, medication nurse, recorder and runner. Team composition varies by hospital, unit, staffing level and the clinical situation, so nurses should know how roles are assigned at their facility.

The compressor performs chest compressions and changes with another qualified team member when needed to limit fatigue. The monitor or defibrillator operator applies pads, identifies rhythms within their role and delivers shocks when indicated under the applicable protocol or team direction. The airway clinician manages ventilation and advanced airway tasks according to credentials and policy.

The medication nurse prepares and administers medications under authorized orders or approved protocols, confirms medication details aloud and communicates when each medication is given. A runner obtains additional supplies, blood products, laboratory materials or personnel without disrupting activity around the patient.

Finish all your CE hours in one place

Unlimited online courses for $29.99 a year, with certificates the moment you pass.

Apple Pay & Google Pay on supported phones Visa · Mastercard · Amex · DiscoverSecure checkout by Stripe

How should nurses communicate during a code blue?

Clear, brief communication helps reduce confusion in a crowded room. Closed-loop communication means the team leader gives a specific instruction, the assigned person repeats it back and then confirms when the task is complete.

Team members should identify themselves and their roles, report meaningful changes and speak up about safety concerns. Relevant updates may include a rhythm change, loss or return of a pulse, vascular access problems, medication administration, compressor fatigue or a need for additional equipment.

Only one person should direct the overall resuscitation whenever possible. If an instruction is unclear or appears unsafe, the nurse should seek clarification and use the facility's escalation or chain-of-command process.

What does the recording nurse document during a code?

The recording nurse creates a clear, time-based account of the event. Documentation typically includes when the patient was found, assessment findings, code activation, CPR initiation, rhythm assessments, defibrillation attempts, medications, airway interventions, vascular access, laboratory collection and the patient's responses.

The record should also identify key times, including return of spontaneous circulation, transfer to a higher level of care, termination of resuscitation or death pronouncement by an authorized clinician. The recorder may provide elapsed-time reminders or repeat documented information when requested, but local policy should define this responsibility.

Documentation must be objective, accurate and completed on the approved code record or electronic health record. After the event, the nurse should reconcile notes with the clinical record without guessing or changing details to create a more favorable account. Follow facility rules for corrections, late entries, equipment records and required notifications.

What happens immediately after a code blue?

If circulation returns, nurses help stabilize the patient and prepare for post-resuscitation care or transfer. Responsibilities may include continued monitoring, obtaining ordered tests, supporting ventilation, managing lines and tubes, communicating with the receiving team and safeguarding the patient's belongings.

The team should restore readiness by replacing used crash-cart supplies, addressing medication or equipment discrepancies and reporting malfunctioning devices. Nurses should complete required documentation and incident reporting according to policy; an incident report is generally separate from the medical record.

If the patient dies, nurses provide respectful postmortem care, support family communication within their role and follow organizational procedures for notifications, belongings and possible medical examiner or coroner involvement. Patient privacy remains essential during and after the emergency.

Why are code blue debriefs important for nurses?

A brief hot debrief may occur immediately after the event while details are fresh. The team can review what went well, identify equipment or workflow problems, clarify unresolved documentation and determine whether any immediate follow-up is needed.

A more formal debrief may examine response times, role clarity, communication, adherence to protocols and opportunities for system improvement. The discussion should promote psychological safety and learning rather than blame, while protecting patient and staff confidentiality.

Regular mock codes and continuing education help nurses practice role assignment, CPR skills, communication and documentation before a real emergency occurs. Nurses should maintain any required life-support credentials and confirm continuing education requirements with their nursing board and employer. This site offers self-paced online learning, including one free course on Improving Interprofessional Communication and Collaboration; our All-Access pass is $29.99 per year, renews yearly unless canceled before renewal, includes every course and provides instant certificates.

Frequently asked questions

State-required topics included in All-Access

Common mandatory subjects nurses need for renewal. Check each course for the states and hours it covers.

Every course, one price: $29.99 a year

Board-approved CE with instant certificates. Renews yearly at $29.99; cancel any time before renewal.

Get All-Access — $29.99/year

Apple Pay & Google Pay on supported phones Visa · Mastercard · Amex · DiscoverSecure checkout by Stripe