An irate mum has hit out at a school claiming pupils are only permitted access to the loo at certain times of day.
Nicola Walsh said Deyes High School in Maghull, Merseyside, has "barred" children from using the loos outside of break times.
The mum, whose 16-year-old daughter attends the school, said staff tightened access to the toilets after they were vandalised during half-term.
She compared the seemingly draconian rule to prison where inmates can use the facilities whenever they want.
"When my daughter told me what was happening I told her it was okay to come home and she won't be going back until she can access them when needed," she told the Liverpool Echo.
"They are only allowing them to be used at break-times, and then only two children can access them at a time.
"If they want to go to the toilet in lesson time, they have to go to the school office to get a key.
"It's a basic human right to go to the toilet. People in prison can go to the toilet whenever they want."
Headteacher Victoria Beaney wrote to parents in an email which was circulated by the school.
It read: "We have been experiencing a high number of telephone calls regarding the school toilets and our decision to close them at lesson time.
"We have listened and respect feedback from parents and on your request we have replaced the outer doors to all student toilets throughout the school.
"Of course we encourage, as we have always done, students not to leave lessons and interrupt their learning but if this is necessary and they have a toilet pass they will be allowed out of class briefly by their teacher.
"Keys for toilets can be collected from and returned to reception.
"We can then ensure that students are respectful in their behaviour, bathrooms are hygienic and staff supervision ensures that all students feel safe and confident.
"I hope this clears up any confusion on the matter."
The Mirror Online has approached Deyes High School for comment.
Deyes High School is one of several schools around the UK that have allegedly restricted pupils' access to the bathrooms.
Earlier in April, Lightcliffe Academy was met with complaints from angry parents after introducing a 'loo ban.'
Mums and dads launched a petition against the new rules claiming that it forces children to choose between using the toilet or having lunch.
The school, in Halifax, West Yorks, enforced a toilet timetable of lunch, break time and before or after school.
But it was met with backlash from parents who raised concerns that the "oppressive" rule caused huge queues at break time.
School head Roz Wood-Ives said: "In common with many other secondary schools, our policy is that students are encouraged to go to the toilet outside of lesson time to avoid disruption to lessons, unless they need to for medical or health reasons or it is an emergency."