An Ontario family is lucky to walk away unharmed after their Christmas tree spontaneously burst into flames.

The terrifying incident, which was captured by a home surveillance camera, shows the tree igniting on the night of Dec. 21 at the home in Emsdale, a small town 350 kilometres north of Toronto.

鈥淢y one daughter screamed, 鈥楩ire!鈥欌 Doug Ashenden told CTV Barrie. 鈥淚 turned around to see my Christmas tree going up in flames.鈥

Although Ashenden had a fire extinguisher, it wasn鈥檛 working. His instincts quickly kicked in.

鈥淚 don鈥檛 think much was running through my mind to be honest, other than just get it out,鈥 he recalled.

In the video, you can see Ashenden wrestling the burning tree from his living room before running it outside to smolder in the snow.

鈥淚f I was thinking like you're supposed to, I should have gotten everybody responsibly out of the house,鈥 he said. 鈥淏ut no, I got the tree out.鈥

Fortunately, there was little damage to the home. Ashenden walked away with just a few scrapes and a minor burn. His partner and three children also got out of the house unscathed. They believe the fire could have been caused by the tree鈥檚 lights.

Mike Vadjla, who works for the fire department in the nearby town of Huntsville, says the family should have just fled.

鈥淏y taking the tree and trying to get it out, he got lucky,鈥 Vadjla opined. 鈥淏ut we don't recommend that because obviously it could have spread through the house.鈥