Windsor High School was placed in lockdown Thursday morning after a student brought what was initially believed to be a gun to school.
Police responded to the school just before 11 a.m. after getting a report that a male student had a gun in the bathroom.
The 16-year-old student was located and detained. It was determined the student had a fake gun on him.
He was arrested and charged with second-degree breach of peace and turned over to a parent, according to police.
Get Connecticut local news, weather forecasts and entertainment stories to your inbox. Sign up for NBC Connecticut newsletters.
No one was injured, and the lockdown was lifted after about 30 minutes, police said.
Sign up for our Breaking newsletter to get the most urgent news stories in your inbox.