Species identification - what kind of worm is this?
This is almost certainly not a millipede as it has no antennae and moves by compressing its body. My money is on insect larva, possibly a drain fly (which would make sense if you regularly see them in the bathroom).

It would be interesting if you could put one in a jar and see what it develops into.