They said law enforcement got an anonymous tip that a student had a handgun with him at school.
Deputies went to 16-year-old Steven Michael Carrera's classroom and took the loaded Leinad DD 45 pistol without incident. The ninth grader was then arrested. He is being held in the Durham County Jail under a $100,000 bond.
Officials say Carrera refuses to answer questions, and they do not know why he had the weapon.
No students were hurt and officials said the campus was secure.