He's being held in Cook County on unrelated attempted murder and battery charges. Last week, the boy allegedly stabbed his teacher, Carolyn Gilbert, in her classroom at Elgin High School.
She has recovered but lost sight in her eye.
Prosecutors say they could decide to charge the teenager as an adult.