District officials received a tip stating that a student had a gun in his backpack and intended to harm himself.
The student and the backpack were immediately taken into custody, and the building was placed on a short lockdown as a precaution, Huffman ISD officials said.
Parents are able to pick up their kids.
An investigation is underway.
No one was injured.