A western Sydney school is considering a knife amnesty due to fears students are arming themselves for their own safety.

Granville Boys High School staff have been told the amnesty - whereby students hand in blades and undergo safety education - is an option in an attempt to end knife trade between students. Police say seven knives were handed in anonymously to the school on June 2 after officers were called to the campus following reports of an armed student.

The NSW Education Department confirmed a program to “educate students and collect the knives” was developed.

“A few weeks ago, the school learned a number of students were in possession of knives,” a department spokesman said.

“These knives were procured outside of the school and no threats were made.

“The school has been working closely with local community organisations on this issue.”

media_camera Police at Granville Boys High School. The school is concerned at students arming themselves.

Police plan on holding a weapons and gangs presentation at the school soon but say it is not in response to any recent spike in knife activity.

The school posted a notice on its website this month reminding students of the department’s zero tolerance approach to carrying knives at school.

Four years ago a student was stabbed multiple times in the stomach during a schoolyard fight with two teens.

The school was placed in lockdown but police at the time denied there was a culture of violence at the facility.

The high school has been credited with taking steps to rebuild its reputation and the environment for students, including establishing a before-class cafe run by students.