What Happens When You Die, According to Science

When you die, your heart stops pumping blood, your lungs stop drawing air, and your brain begins losing oxygen. But death isn’t a single moment. It’s a process that unfolds over minutes, hours, and days, with different parts of your body shutting down on different timelines. What happens during that process is more complex, and in some ways more surprising, than most people realize.

Clinical Death vs. Biological Death

There are two distinct phases of death, and the difference between them matters. Clinical death happens the moment your heart stops beating and you stop breathing. These are the two functions necessary to sustain life, and when both cease, you are clinically dead. But clinical death is potentially reversible. CPR, defibrillation, and emergency medicine can restart the heart and restore circulation, sometimes minutes after both have stopped.

Biological death is different. It begins when cells and tissues are deprived of oxygen long enough that they start dying permanently. Brain cells are the most vulnerable. Without oxygen, they begin to die within minutes, and the damage is irreversible. When all brain function, including the brainstem, permanently stops, that’s brain death. In most countries, brain death is the legal definition of death. No medical intervention can reverse it.

The gap between clinical death and biological death is the window where resuscitation is possible. How wide that window is depends on temperature, the cause of death, and how quickly treatment begins. In some cases, people have been revived after 10 or even 20 minutes of cardiac arrest, though the risk of brain damage increases sharply with every passing minute.

What Your Brain Does in Its Final Minutes

One of the most striking discoveries in recent years is that the dying brain doesn’t simply go quiet. In a study published in the Proceedings of the National Academy of Sciences, researchers monitored the brain activity of patients during cardiac arrest and found something unexpected: two of four patients showed a rapid, intense surge of gamma wave activity within seconds of losing oxygen. Gamma waves are the type of brain activity associated with conscious perception, memory retrieval, and dreaming.

The surge wasn’t subtle. In some brain regions, gamma power increased up to 391-fold compared to baseline levels. The activity was concentrated in areas involved in processing sensory information, memory, and higher-order thinking, including the temporal lobes and prefrontal cortex. Connectivity between different brain regions also spiked, with the left and right sides of the brain communicating more intensely than they had before cardiac arrest began. The highest coherence appeared in frequencies between 60 and 150 Hz, a range linked to complex cognitive processing.

This doesn’t prove that dying people are having vivid conscious experiences, but it does show the brain is far more active during death than anyone previously assumed. Some researchers believe this surge could be the biological basis for the vivid experiences reported by people who survive cardiac arrest.

Awareness During Cardiac Arrest

The AWARE II study, one of the largest investigations into consciousness during cardiac arrest, tracked 567 in-hospital cardiac arrests. Of the 53 patients who survived, 28 completed interviews. Among those, about 39% reported memories or perceptions that suggested some form of consciousness while they were clinically dead. These weren’t vague impressions. Some patients described detailed perceptions of events happening around them during resuscitation.

Separately, research from the University of British Columbia found that the dying brain can respond to sound even after a person becomes completely unresponsive. Using EEG to monitor hospice patients in their final hours, researchers found that some patients’ brains responded to auditory tones in patterns similar to those of healthy, conscious people, even when the patients showed no outward signs of awareness. The researchers couldn’t confirm whether these patients were truly “hearing” in any meaningful sense, or whether they could understand language or recognize voices. But the brain was still processing sound.

The Chemistry of the Dying Brain

As oxygen drops to critical levels, the brain’s chemistry shifts dramatically. The severe oxygen deprivation, called hypoxia, triggers the release of various compounds that don’t normally flood the brain in large amounts. One area of active investigation involves DMT, a powerful psychoactive compound that the body produces naturally in small quantities. Research has shown that DMT production can be influenced by hypoxia and extreme physiological stress, both of which are present during the dying process. DMT has been linked to neuroplasticity, protection against oxygen deprivation, and effects on how cells manage energy under stress. Whether DMT is released in large enough quantities during death to produce conscious experiences remains unconfirmed, but the conditions for increased production are clearly present.

What Happens to the Body Immediately After

Once circulation stops permanently, oxygen deprivation triggers a process called autolysis, where your own cells begin breaking themselves down. Enzymes that normally help with digestion and other functions are released from their cellular compartments and start digesting the tissues around them. This happens fastest in organs that are rich in digestive enzymes, particularly the pancreas and stomach.

At the same time, your body’s internal ecosystem of bacteria begins to change. In life, your immune system keeps gut bacteria confined to the intestines. After death, with no immune response to hold them back, those bacteria begin breaking through the intestinal walls and spreading to surrounding organs. The body’s own cellular contents, released during autolysis, provide a rich food source that fuels rapid bacterial growth. Within the first week, bacteria like Clostridium can be found proliferating in the blood, bone marrow, and liver. By nine to twelve days, Lactobacillus, normally a gut bacterium, shows up in multiple tissues throughout the body as the intestinal barrier fully breaks down.

The Stages of Decomposition

Decomposition follows a predictable sequence, though the speed varies enormously depending on temperature, moisture, and whether the body is exposed to the environment.

In the first zero to three days, the body looks relatively unchanged from the outside. Inside, gut bacteria are already digesting the intestinal walls and beginning to spread. The body’s own digestive enzymes contribute to internal breakdown. This is the initial decay stage.

Between roughly four and ten days, putrefaction begins in earnest. Bacteria, now working largely without oxygen, produce gases as byproducts: hydrogen sulfide, methane, and compounds called cadaverine and putrescine, which are responsible for the characteristic smell of decay. Gas pressure builds inside the body, causing visible bloating and forcing fluids out of cells and blood vessels.

From about ten to twenty days, the bloated body collapses as gases escape. Exposed skin turns black. A large volume of fluids drains from the body into the surrounding environment. The smell of decay is at its strongest during this stage.

Between twenty and fifty days, the remaining soft tissue is consumed and the body dries out. A cheesy odor, caused by butyric acid, replaces the smell of active decay. Mold often develops on surfaces in contact with the ground.

After about fifty days, dry decay sets in. The body decays very slowly at this point. Over the following months, hair disappears, and eventually only bones remain. This final stage can stretch out to a year or longer depending on conditions.

How Brain Death Is Determined

When doctors need to determine whether someone has died, the criteria for brain death are rigorous. Three conditions must all be met: the patient must be in a complete coma with no response to any stimulation, all brainstem reflexes must be absent, and the patient must be unable to breathe on their own. The cause of the brain injury must also be known and clearly catastrophic.

Testing brainstem reflexes involves checking for any pupil response to light, any eye movement when the head is turned or cold water is introduced to the ear canal, any gag or cough reflex, and any motor response to pain applied to the face, trunk, or limbs. In adults, at least one formal breathing test is required: the patient is taken off mechanical ventilation under controlled conditions, and doctors monitor whether any spontaneous breath occurs as carbon dioxide levels rise. If no breath is taken and CO2 reaches specific thresholds, the test is consistent with brain death. If the patient takes even a single breath, the test is stopped and brain death cannot be declared.