A megacode is a simulated cardiac emergency used as the final skills test in Advanced Cardiovascular Life Support (ACLS) certification. During the test, you manage a mannequin patient whose condition changes through multiple life-threatening heart rhythms, and you’re evaluated on whether you follow the correct treatment steps in real time. It’s the hands-on portion of the course that determines whether you pass or need remediation.
How the Simulation Works
A megacode scenario typically runs through three or four distinct cardiac emergencies back to back. You might start with a patient in a dangerously slow heart rhythm, then the patient goes into cardiac arrest with a rhythm that requires a shock, then shifts to a different type of arrest, and finally you manage the patient after their pulse returns. Each transition tests a different set of skills: recognizing what’s happening on the monitor, giving the right treatment, and keeping the resuscitation organized.
The American Heart Association publishes several scenario combinations. One common sequence moves from a slow heart rate to a shockable cardiac arrest rhythm, then to a flatline (asystole), and finally into post-cardiac arrest care. Another might involve a fast heart rhythm that deteriorates into arrest. You won’t know which scenario you’ll get, so you need to be comfortable with all of them.
The whole thing is timed and team-based. You’re placed in the team leader role, directing other participants or instructors who act as your code team members. The instructor controls the mannequin’s heart rhythm on a monitor and watches your decisions against a standardized checklist.
What You’re Evaluated On
The checklist is broken into critical performance steps. Missing any one of them means you don’t pass and need remediation before retesting. These fall into a few categories.
Team leadership: You must assign roles to your team members, ensure everyone communicates clearly, and maintain high-quality CPR throughout the scenario. CPR quality has specific benchmarks: compressions at a rate of 100 to 120 per minute, a depth of at least 2 inches, and a chest compression fraction above 80%, meaning compressions are happening during more than 80% of the total arrest time.
Rhythm recognition: You need to identify each rhythm as it appears on the monitor and verbalize it to your team. The rhythms you’ll encounter include ventricular fibrillation (a chaotic, shockable rhythm), pulseless ventricular tachycardia (a fast, shockable rhythm), pulseless electrical activity (electrical signals but no pulse), asystole (flatline), symptomatic bradycardia (dangerously slow rate), and unstable tachycardia (dangerously fast rate). Instructors may display specific patterns like a third-degree heart block or a wide-complex tachycardia to test your interpretation skills.
Treatment steps: For shockable rhythms, you must clear the team before delivering a shock and immediately resume CPR afterward. For non-shockable arrest rhythms, you need to verbalize potential reversible causes (known in training as the “H’s and T’s,” a mnemonic covering things like low oxygen, blood loss, low body temperature, and blood clots). You’re also tested on ordering the correct medications at the correct doses and intervals. Epinephrine, for example, is given every 3 to 5 minutes during cardiac arrest, which in practice means every other CPR cycle.
Post-arrest care: Once the patient’s pulse returns, the scenario doesn’t end. You need to recognize the return of circulation, order appropriate monitoring, and verbalize the need for temperature management and further workup.
Critical Failures That End the Test
Two errors will stop your test immediately. The first is failing to clear the area before delivering a shock. In a real resuscitation, shocking while someone is touching the patient could injure or kill a team member. Evaluators treat this as a non-negotiable safety step. The second is failing to maintain high-quality CPR metrics. If compressions are too slow, too shallow, or interrupted for too long, it’s an automatic failure regardless of how well you manage everything else.
Where Students Struggle Most
Research validating the megacode scoring checklist found that the most problematic items were subjective communication tasks, like verbalizing the cause of an arrest or stating a diagnosis clearly to the team. There’s no single magic phrase required. You can use different wording as long as your team understands the diagnosis and plan. But many students either forget to say it out loud or mumble something vague under pressure.
The other common stumble is sequencing. During a shockable arrest, you need to cycle through compressions, rhythm checks, shocks, and medications in a specific order. When the rhythm changes mid-scenario, you have to shift to a completely different algorithm without hesitation. Students who memorize each algorithm in isolation sometimes freeze during the transitions. Practicing the scenarios as continuous sequences, not isolated protocols, is the most effective preparation.
Who Takes a Megacode
Megacodes are part of both initial ACLS certification and renewal courses. They’re required for physicians, nurses, paramedics, respiratory therapists, and other healthcare professionals who respond to cardiac emergencies. The ACLS course is designed by the American Heart Association and taught through authorized training centers. A similar hands-on testing format exists in Pediatric Advanced Life Support (PALS) courses, though the scenarios involve pediatric-specific rhythms and weight-based treatments.
If you don’t pass on the first attempt, you’ll receive targeted remediation on the specific steps you missed and get a chance to retest. The goal isn’t to trick you. It’s to confirm you can lead a resuscitation safely before you’re responsible for doing it on a real patient.
How to Prepare
The most effective preparation focuses on three things. First, learn the ACLS algorithms as flowcharts you can walk through step by step, not as blocks of text to memorize. Second, practice saying your decisions out loud. The megacode is as much a communication test as a knowledge test, and thinking the right answer silently doesn’t count. Third, drill the CPR metrics until they’re automatic. Compression rate, depth, and minimal interruptions are graded continuously throughout the scenario, not just during a single check.
Many training centers offer practice megacode stations before the graded test. Use every minute of that practice time. The students who struggle most are typically the ones who understood the material intellectually but didn’t rehearse performing it under time pressure with a team watching.

