Home › Viessmann › Boilers › 540
Viessmann Boiler 540 Error Code
Condensate has backed up into the boiler on Viessmann boilers.
ViessmannAll Viessmann boiler codes
Water from the condensing process can't drain away and has built up in the heat cell, so the burner goes into a fault state. Viessmann's manuals point engineers at the condensate drain and trap. In winter, a frozen condensate pipe outside is worth ruling out first, since Viessmann says a frozen pipe stops the boiler. If water has reached the burner area, the engineer may have to renew insulation blocks, electrodes or the burner gauze.
Compatible models
Listed in Viessmann's manuals for the current Vitodens 050-W (B0HA, B0KA and B0KA-M) and the Vitodens 100-W heat-only B1GA.
Also shown as
Newer-generation code. On the older two-character models, a backed-up condensate drain is one of the checks listed under F4 (and under EE and F3 on the 200-W).
Difficulty
Start with the safe checks below; a worn part may need replacing.
Not sure you are reading the code right? See how to read Viessmann boiler codes.
How to fix Viessmann 540
Find the condensate pipe outside
It's the only plastic pipe coming off the boiler, and it runs to a drain or soakaway outside. Ice at the end, or a gurgling noise from the boiler, points to a freeze.
Thaw it with warm water
Work from the outlet back toward the wall with warm water from a jug or watering can, paying attention to bends. Boiling water can crack the plastic. Leave the pipe in place.
Reset once it drains
When water runs out of the end again, reset the fault from the display as your user manual describes.
When to call a technician
No ice, or the fault returns after thawing: the trap inside the boiler or the drain run needs a Gas Safe engineer, who can also check for water damage inside.
Parts linked to 540
These are the parts an engineer usually checks for this code. They sit inside the sealed casing, so leave them to a Gas Safe registered engineer.
Frequently asked questions
Which Viessmann models show the 540 code?
Listed in Viessmann's manuals for the current Vitodens 050-W (B0HA, B0KA and B0KA-M) and the Vitodens 100-W heat-only B1GA.
Can I fix Viessmann 540 myself?
Only the outside checks above. If they don't clear 540, the fix is inside the boiler and needs a Gas Safe registered engineer.
Other Viessmann boiler codes
- 74Heating system pressure too low
- 87Heating system pressure too high
- F4No flame detected, boiler failed to light
- EEBurner won't light on the Vitodens 200-W
- 361No flame signal when the burner starts
- 353Not enough gas reaching the boiler
- F2Overheat safety limiter has tripped
- F1Flue gases too hot
- EFFlame lit, then went out straight away
- F3Flame signal seen before the burner lit
- F9Fan running too slowly at startup
- E3Safety chain fault or failed calibration
- A8Air in the pump or water flow too low
- 89Internal circulation pump blocked
- 0CMains voltage too low
- 10Outdoor temperature sensor shorted
- 30Boiler water temperature sensor shorted
Last reviewed 2026-11-14. Codes and steps can vary by model; check your owner's manual.