A man injured after a spark in a Hawke's Bay sleepout in the middle of the night caused a barbecue gas bottle to explode has been discharged from hospital.
The spark ignited a raging fire at the property about 2.10am on Thursday, which the man was lucky to escape, firefighters say.
Hawke's Bay area commander Ken Cooper said the cause of the fire was not known and was being investigated.
The fire, at an isolated rural property sleepout on Kaiwaitau Rd, Mahia, needed five fire trucks to quell the flames.
There was no smoke alarm in the sleepout, and the property had significant damage, Cooper said.
"It was a remote property, and the neighbouring properties alerted 111 to the fire.
"The occupant managed to self-evacuate and then passed out due to smoke inhalation."
Early intervention by the fire brigade prevented the fire spreading to neighbouring properties, he said.
Cooper said it should serve as a reminder for people to install smoke alarms, and in case of fire "get out and evacuate".
One ambulance and a rescue helicopter were also sent to the scene.
A St John Ambulance spokeswoman said the man was transferred "in serious condition" by air to Hawke's Bay Hospital.
He was discharged later on Thursday.