Two men were rescued after a fire broke out in a flat in Lancaster.
Three fire engines were called to Captains Row in Skerton at about 3.50am on Friday, where flames were coming out of the front door of a first floor flat.
Four firefighters wearing breathing apparatus were committed to the building and used a hose reel to put out the fire.
Teams rescued two men from the blaze, who were taken to the Royal Lancaster Infirmary suffering from smoke inhalation.
The cause of the fire was under investigation by police and fire officers.
Watch manager John Timperley said: “Without a doubt what saved these men’s lives was the fact the bedroom doors were closed.
“Considering the extent of fire and smoke when we arrived, it was confined to rooms other than the bedroom.
“People should close bedroom doors at night when they go to bed.
“In fact, they should close all the doors at home when they go to bed, particularly the kitchen door.”