A humidifier can be integrated with a ventilator allowing it to continue humidification during patient transport. The humidifier can be placed at the ventilator outlet port and have a size that adds minimal resistance and compliance in the inspiratory arm of the patient circuit. The innermost core of the humidifier is the heater element that is positioned inside a hydrophobic membrane, allowing for humidification of the gas flowing around the hydrophobic membrane.