Firefighters were called to the 200 block of Northampton Street in Bath around 8:30 a.m.
Residents say at least three people jumped out of a window to escape the blaze.
They say all three were hospitalized but the extent of their injuries is not known.
A firefighter was also taken to the hospital for treatment of minor injuries.