Firefighters responded to Main Street around 11:15 p.m. Wednesday.
The two people who lived their made it out, but firefighters said they are lucky to have escaped after flames quickly filled the home.
Crews from several departments helped put out the fire. Hot sports kept firefighters active until about 5:30 a.m. Thursday.
The Maine State Fire Marshal's Office will be investigating the cause.