Stress
Lessons From a Code Blue
The conversation that matters should happen long before a code blue is called.
Posted September 30, 2026 Reviewed by Monica Vilhauer Ph.D.
Key points
- Modern medicine can keep a body alive long after meaningful recovery is possible, sacrificing quality of life.
- Fewer than one in four adults who suffers from a cardiac arrest in the hospital survive to go home.
- Families making end-of-life decisions without knowing a loved one's wishes carry lasting guilt and doubt.
- Sharing your end of life wishes ahead of time is a gift that often brings your loved ones peace of mind.
You never really forget a code blue.
When you hear it called overhead on the hospital speakers, your stomach drops because it is every doctor's worst nightmare. It means a patient has stopped breathing or has gone into cardiac arrest. In that moment, every available resource races to the bedside in an effort to save a person's life.
As a new doctor, what I felt was fear. Although we had all been taught what to do, I wasn't confident yet.
Now, almost a decade later as an attending, an automatic reflex occurs as the Advanced Cardiac Life Support algorithm starts running through my head even before I reach the room. For those moments, the person in the bed becomes a body we are trying to restart with medications, chest compressions, and electricity to shock the heart back into rhythm. We often place a tube down the throat so a machine can breathe for them. There is no room for feelings in those minutes; we compartmentalize the fear and grief to focus on what needs to be done.
What happens after the code is another story. Medicine has so much to offer these days, so much technology that can keep the body going for a very long time. And yet we often have so little to offer the family when it comes to quality of life or a better future.
Two Patients, Two Stories
Years ago, I cared for a man who had suffered a stroke that left him in a near vegetative state. He could only breathe through a machine via a tube in his throat. Our testing showed he still had some brain activity, but meaningful recovery was very unlikely. His wife couldn't bear to let him go, and for her, choosing to stop treatment carried a deeply religious implication. We stabilized him and sent him to a long-term facility that would keep his body alive indefinitely.
I also remember a young man whose heart suddenly stopped while he was driving. A series of fortunate events got him to the hospital in time, and CPR and a ventilator saved his life. He went on to make a full recovery and was discharged home.
These two patients, with polar opposite outcomes, both show what modern medicine can do. We begin every resuscitation effort hoping for the second, but the statistics tell a different story. Fewer than one in four adults whose hearts stop in the hospital survive to go home, and some who do are left far from the person they once were. CPR, when performed well, often breaks ribs, bruises or punctures the lungs, and in people taking blood thinners can cause serious internal bleeding.
Why We Avoid the Conversation
Understandably, most of us would rather not think about our own death. Avoiding the topic protects us from fear and uncertainty of facing our own mortality, but it doesn't make the decision disappear. It only hands the burden of that decision to someone else.
And that decision is rarely about whether medicine can keep a body alive. The real question is whether the life that follows, after the trauma of CPR and everything that comes with it, would be one the person would want to live.
When a patient cannot make medical decisions for themselves, the responsibility falls on the family, usually the people who love them the most. Research shows that at least one-third of family members who make these decisions experience significant, long-lasting emotional burden, including stress, guilt, and doubt. Many are left wondering whether they made the "right" choices for their loved one.
I think about that wife often. I don't know what her husband would have wanted, and neither did she. I believe that uncertainty became its own complicated grief layered on top of the loss.
The Conversation I Have at Home
So what would I want if something happened to me?
It's not a pretty conversation, but it's one I have with my husband all the time. Because the more I learn and live, the more I see how limited medicine can be. Yes, it can keep a body alive for a long period of time, but is that what we really want?
For me, the answer is clear. What matters most is quality of life, the soul and joy of living, the feeling of sunlight on my skin, grass beneath my feet, laughter with my family, and connection with the people I love. Even grief and sorrow, experienced alongside that joy, are part of what makes a life fully lived.
Your answer may be different from mine, and it may even change through various stages of your life. You might choose every available intervention for as long as possible, try full treatment for a limited period, or decline resuscitation efforts and focus on comfort care. These are all valid choices. What truly matters is that the people you love know how you feel.
That knowledge is a gift. Research shows that when people participate in advance care planning and share their wishes with their families, their loved ones experience less stress, anxiety, and depression after they die. Knowing what someone wanted doesn't erase grief, but it can certainly bring peace of mind knowing we are honoring our loved ones' wishes.
I, as a physician, never really forget a code blue. After all these years, I still feel that familiar drop in my stomach when I hear one called overhead, and I still run to the bedside ready to do everything I can. But I've also learned that the most important conversations often happen long before that moment. They occur at kitchen tables where the people we love tell us what makes their lives worth living. Those conversations don't take away our hope for a miracle. They simply make sure that whatever happens, the person in that bed is still being honored as who they are, even in their last moments on earth.
References
American Heart Association. 2025 American Heart Association guidelines for cardiopulmonary resuscitation and emergency cardiovascular care. Published October 22, 2025. Accessed September 30, 2026. https://professional.heart.org/en/science-news/2025-aha-guidelines-for-cpr-and-ecc
Detering KM, Hancock AD, Reade MC, Silvester W. The impact of advance care planning on end of life care in elderly patients: randomised controlled trial. BMJ. 2010;340:c1345.
Wendler D, Rid A. Systematic review: the effect on surrogates of making treatment decisions for others. Annals of Internal Medicine. 2011;154(5):336-346.