It happened just before 10:30 a.m. at the Amli Apartments located at 900 South Clark.
Five ambulances were sent to the scene as a precaution. Firefighters were able to ventilate the building and allow residents back inside.
No one had to be hospitalized.
There is no word on how the pepper spray was discharged.