Two appliances and crews from High Wycombe attended.
A water leak within a four-storey block of flats was affecting the main fuse board of the building.
The flats were evacuated while the firefighters worked to isolate the water and electricity supplies.