Around 5:45 Friday evening, fire crews responded to 288 Dexter Road in garland.
Authorities say a barn on the property was fully involved, and the fire was beginning to threaten a close-by home.
Quick work by firefighters helped save the residence and keep the fire contained to the barn.
Garland's Assistant Fire Chief says the smoke detectors played a big role in making sure the family escaped unharmed.
"The wife could smell smoke and she heard the smoke alarms. They were able to get themselves and their kids out. They were not able to get their dogs out, but smoke detectors are a key factor," said Asst. Chief Justin Gudroe of the Garland Fire Dept. "This time of year everybody needs to check the batteries and replace them. They save lives."
A portion of the road was shut down for a couple of hours while nine crews battled the flames.
Authorities believe heat lamps in the barn could be to blame, but the exact cause of that fire is under investigation.
The state fire marshal is expected on scene on Tuesday.
The Red Cross has been notified to help the family.