A breathing assistance apparatus has a main body. A humidification compartment is defined within the main body and is adapted to receive a humidification chamber. A flow generator is positioned within the main body. The flow generator and the humidification compartment are fluidly connected and a liquid containment compartment is interposed between the flow generator and the humidification compartment. The liquid containment compartment is fluidly connected to both the flow generator and the humidification compartment.