Legionella is a bacterium that the UK Health and Safety Executive (HSE) says multiplies in water between 20°C and 45°C, and does not survive above 60°C. So in a home, the answer comes down to two things: keeping hot water hot and cold water cold, and not letting water sit still in pipes, tanks or shower heads for long.
That is the whole of the HSE's approach in two lines. The rest of this explains why each part matters, where water in an ordinary house ends up sitting at the wrong temperature, and what the published guidance actually says to do.
Where legionella comes from in the first place
Legionella is not something that gets into a house by accident or through a fault. The World Health Organization (WHO) describes it as a bacterium that lives naturally in freshwater, such as rivers and lakes, and that can also settle in man-made water systems, including hot and cold water in buildings. The HSE says the same: the bacteria are common in natural water, usually in low numbers.
So the question for a householder is not really whether legionella is ever present. It is whether the water inside the house gives it the conditions to multiply.
Why temperature decides most of it
The HSE's guide for dutyholders sets out three temperature bands. Below 20°C, the bacteria are dormant. Between 20°C and 45°C, they multiply. Above 60°C, they do not survive.
Mains cold water usually arrives cool, and a hot water system is designed to run well above the growth band. The trouble is everything in between: water that has been allowed to drift into that 20°C to 45°C range and then left there.
A hot water cylinder shows how this happens. Hot water rises, and the cold feed usually enters near the bottom. If the cylinder is not heated all the way through, the water at the base can sit noticeably cooler than the water drawn off the top. That is why the HSE's guidance talks about the temperature the water is stored at, not just the number on the thermostat.
Still water, scale and sludge
Temperature is not the only factor. The HSE lists the other conditions that help legionella grow: water that is stored or sits still, and deposits that give the bacteria food and shelter. Those deposits include rust, sludge, scale and organic matter, along with biofilm. Biofilm is the thin, slimy layer that forms on the inside of pipes and tanks.
Scale matters here for a physical reason. It builds up as a rough crust on shower heads, inside cylinders and on heating elements, and a rough surface holds biofilm far more easily than clean metal or plastic. If you live in a hard water area, the crust is the same one described in what limescale actually is. It is the same deposit, doing a second job.

Where water sits warm in an ordinary house
Most homes have a few places where water can end up warm and still. Which ones apply depends on how the system is built.
- The hot water cylinder. This is the tank in the airing cupboard. If it is not heated to 60°C, the stored water can spend hours in the growth band, especially at the cooler bottom.
- The cold water tank in the loft. Older systems often have one, called a cistern. A loft heats up in summer, and so can the water stored there. A missing or loose lid also lets in dust, insects and debris.
- Taps and showers nobody uses. A spare bathroom, a guest shower or an outside tap leaves a length of pipe full of water that does not move. That water slowly takes on the temperature of the room around it.
- Shower heads and hoses. These are warm, wet, often scaled, and drain only partly between uses. The HSE's guidance pays particular attention to showers, because they turn water into a fine spray and the bacteria travel in tiny airborne droplets.
- After time away. A week or two away leaves the whole system standing still at room temperature.
A combination boiler (a "combi") heats water as it flows and does not store hot water in a cylinder, so the 60°C storage question does not arise in the same way. The cold water side, and any little-used outlets, still follow the same rules.

What the HSE guidance actually says to do
The HSE's technical guidance on hot and cold water systems turns the temperature bands into specific targets:
- Hot water should be stored at 60°C or above.
- Hot water should reach at least 50°C at the tap within one minute of running it.
- Cold water should run below 20°C within two minutes.
- Outlets that are used rarely should be flushed at least weekly, so the water in those pipes is replaced.
- Shower heads and hoses should be cleaned and descaled regularly. The guidance gives quarterly as the usual interval.
- Cold water tanks should have a tight-fitting lid and be kept clean.
None of these are about adding anything to the water. Each one does one of two jobs. It either keeps the water out of the 20°C to 45°C band, or it stops water sitting still long enough to matter.
The one-minute and two-minute figures are worth noticing, because they turn the guidance into something anyone can observe. If the hot tap in a far bathroom takes several minutes to run hot, the water in that pipe has been sitting at room temperature.
Who the guidance is written for
The HSE publishes an Approved Code of Practice, known as L8, on controlling legionella in water systems. Its legal duties fall on employers and on people in control of premises, and the HSE's brief guide makes clear this includes landlords who rent out homes. A landlord is expected to assess the water system in a rented property and keep it under control. For most domestic lets, that means the simple temperature and flushing steps above.
If you own the home you live in, these duties are not aimed at you. The physics is the same in any tank, though, and the guidance is the clearest public description of how domestic water systems behave.
In the United States, the Centers for Disease Control and Prevention (CDC) covers the same ground for building water systems. It describes legionella as growing in warm water, and it treats temperature, stagnation and sediment as the things to manage. The units and wording differ, but the principle matches the HSE's.
Where filters and testing fit
Everything above is about how the water is stored and moved. It is not about what is added to it or taken out. Whether a shower filter does anything for legionella depends entirely on what it is built to catch. That question is covered separately in what shower filters remove, and what they don't.
A routine tap water report from your supplier describes the water as it leaves the mains, not after it has sat in your cylinder or loft tank. How the free report and a lab test differ explains what each one actually measures. The HSE's own guidance for domestic settings leans on temperature checks and flushing rather than routine sampling.
If you take one number from all of this, I would make it 60°C. It is the temperature the HSE says hot water should be stored at, and the point above which, by its account, legionella does not survive.