And yes it is legal in every school in the world, unless a school makes a rule which says that all students must be allowed to use toilet during class.
Is it illegal to deny a student to go to the bathroom?
Unless you have a medical condition that causes you more frequent bathroom breaks than normal, it is not illegal.
What do I do if my teacher won't let me use the bathroom?
- If your teacher says “yes,” thank them and exit the room. After using the bathroom, return to the room quietly.
- If your teacher says “no” or “in a minute,” ask again in a little while.