It happened at Oakwood Middle School in Lemont.
The message was found Sunday on a wall. It allegedly mentioned a bomb at the school on Tuesday.
Police patrolled the school as a precaution and officials say attendance has been down the past two days.
Investigators say the girl will be charged as a juvenile and could be expelled from school.