A 12th grade student was arrested after authorities said a gun was found in a backpack, according to the Palm Beach County School District.
The arrest, thanks to a tip, happened Monday at Palm Beach Lakes High School.
School officials said the weapon was a handgun.
In a message to parents the principal said, "at no time did the student show the weapon or brandish it in any way while on campus."
The principal said officials don't believe this incident is related to gang activity but "a poor student decision."
The student identified as Elias Evens, 19, was ordered no contact with the school. Evens made a first appearance in court Tuesday, and his bond was set at $60,000.
Three weeks ago a student at the same school was arrested for having a firearm in his waist, according to a message the principal sent to parents.
The principal said it is possible that student was involved with gang activity.