The unloaded weapon was found in the girl's backpack after teachers got a tip from another student.
The child's name and age wasn't released.
Administrators said the girl never made any threats. She was suspended for 10 days pending further disciplinary action. Local law enforcement is helping investigate how the child got the gun.