Death is not one moment but a sequence. The Cleveland Clinic lists the end points: the last breath, the heart stopping, the brain stopping, the kidneys, the liver and every system they power. Before that comes a slower run of changes that doctors and nurses learn to recognise. What follows the last of them is a question medicine cannot test, so the answers come from religion instead, and they differ.

How long does dying take?

It depends on the cause, and the range is wide. The Cleveland Clinic says an untreated sudden cardiac arrest can kill within minutes, while a chronic illness can take weeks or months. Heart disease, chronic lung disease and cancer, which are among the commonest causes of death worldwide, are often treatable. The clinic points out that treatment delays death and also lengthens the dying, which makes its signs easier to spot.

Dr Kathryn Mannix, a palliative care doctor writing for BBC Science Focus, compares dying to giving birth. Both have recognisable stages, and both run at different speeds in different people.

What changes in the final weeks

Appetite fades for most people. The Cleveland Clinic says it can fall sharply in the days, weeks or months before death, as the digestive system struggles to process food. Families often find this hard. We learn in infancy that being fed is an act of love, so relatives may press a dying person to eat. Mannix says small tastes for pleasure are still welcome when a meal is too much.

Sleep changes character too. The heart pumps less oxygen-rich blood, so the body’s cells lack the energy to stay awake for long. A dying person sleeps because they have no energy, not to recharge.

The clinic lists several quieter changes:

  • constipation as the gut slows, and less control of the bladder
  • loss of weight and muscle, so that shifting in bed or talking can exhaust someone
  • thinner skin, because new cells no longer replace old ones fast enough, which raises the risk of bedsores

Withdrawal is normal. A dying person may lose interest in old pleasures and prefer to be alone, and the Cleveland Clinic says this reflects changing needs rather than less love.

The last hours

The readings on the monitor shift. Body temperature drops and the skin can feel cold or clammy, while pulse and blood pressure become irregular. The breathing rate falls steadily as the final hours approach.

Two changes alarm families most. The first is restlessness. A burst of energy after long sleep can signal that death is close, and the person may try to leave the bed or pull out a drip. Perception can shift as well. A familiar sound may seem threatening, one person may be mistaken for another, and the clinic says these effects are often stronger at night.

The second is the breathing. Mannix explains that the unconscious brain stem runs breathing on automatic, so noisy breaths near the end carry no sign of distress. She describes the pattern as cycling between deep and shallow, then pausing and stopping.

What the religions say comes next

Here the question leaves medicine. BBC Bitesize, in a religious studies guide for school pupils, sets out the main positions.

Christians and Muslims generally hold that God judges each person at death and sends the soul to a place of reward or punishment. Christians call these heaven and hell, and Catholics add purgatory, where souls not ready for heaven are purified. Muslims call the place of reward Janna and the place of punishment Jahannam. Many Jewish people believe God judges a person on how they lived, though most focus on the present life.

Hindus, Sikhs and Buddhists hold that people pass through repeated cycles of birth and rebirth, called samsara. Karma decides how good the next life will be, and the aim is to escape the cycle. Buddhists call that state nirvana, and Hindus and Sikhs call it moksha.

Most atheists and some agnostics, the guide says, find too little evidence for an afterlife and conclude that death is the end. For many of them that is no cause for fear, and it can push them to make the most of their time.

Why knowing the pattern helps

Mannix’s case for learning the stages is practical. A relative who knows that noisy breathing is not suffering can sit with it calmly, and can call for help when a symptom does need treating. Whatever someone believes about what comes after, the hours before it follow a shape that a companion can learn.