The Wauconda Fire District responded to Liberty Arms, 260 Larkdale Row Drive, at 3:09 p.m. and found a fire in a second-floor unit was being kept in check by a sprinkler head, according to a news release.
Crews extinguished the fire, which officials said was related to unattended cooking.
Five people were taken to the hospital with injuries that were not life-threatening, the news release said.
Damage was estimated at $300,000. The Red Cross was helping displaced residents.