POLICE were called after a pupil at Branksome Heath Middle School in Poole said she was followed home on Tuesday night.
The young student was not attacked by the man, and was unable to recall much about his appearance to officers.
Head Stuart Fox has alerted parents and spoken to children during the assembly on Wednesday about the incident.
He said: “A little girl said she was followed along Livingstone Road and Churchill Road as she walked home after school.
“Whenever anything like this happens, we always alert the parents through a text system. We understand it can be alarming, but we feel that’s better than for parents not to know what’s happening. We also alert neighbouring schools so they can tell their students too.”
The pupil told her mother about the incident as soon as she returned home, and police were called.
“We have told our students about the importance of not walking home alone now it’s dark so early,” said Mr Fox.
“We’ve told pupils to walk home with parents or friends.”
A Dorset police spokesman said they had received a report of a man acting strangely in the vicinity of the school at around 5.30 pm on Tuesday.
He added: “Officers attended and conducted an area search. No offences have been disclosed and the local Safer Neighbourhood Team has been made aware.”