Firefighters were called to the Comfort Inn in Bangor for a fire on the third floor of the Comfort Inn late Monday afternoon.

A fire at a Bangor hotel led to the evacuation of about 50 people late Monday afternoon, according to the Bangor Fire Department.

Firefighters responded to a fire in the ceiling of a third-floor room at the Comfort Inn on Bangor Mall Boulevard at about 4:30 p.m.

“The fire alarm system went off to notify the occupants to get out quickly,” Deputy Fire Chief Eric Pelletier said. “And [the] sprinkler system in the attic kept the fire in check.”

The fire started in the ceiling of the third-floor room’s bathroom. The room occupant noticed that the lights went out. The occupant notified the front desk, and returned to the room to find smoke and flames coming from the bathroom ceiling.

The alarm system helped all occupants get out without smoke inhalation, Pelletier said, while the sprinklers kept the fire small until firefighters could extinguish it.

The cause is under investigation, but it does not appear to be suspicious.

The occupants of the hotel were displaced overnight and put up in other hotels in the area. No one was injured, Pelletier said.

The hotel is closed to deal with the fire damage. The extent of repairs needed was unknown as of Monday evening, Pelletier said.