A family escaped just in time as their home went up in flames early Monday morning.
Firefighters say the fire started in the back bedroom of the home on Bellows Mill Road in Harrodsburg.
Inside sleeping were a mother and her two children.
They say they heard the smoke detector, woke up and got out.
A neighbor heard the smoke detector, as well, and called 911.
The cause of the fire remains under investigation.