Police were called to a Whangarei school after a young man attempted to enter the property and allegedly made threats after he was asked to leave.
Staff and students at Whangarei Girls' High School were alerted to the incident about 2pm yesterday.
Principal Anne Cooper said prefects manning the gate during lunch hour stopped the man from entering the school.
He then allegedly made some comments that were viewed as a threat.
"The prefects are always trained to seek help if there's any trouble," she said.