Sometimes toilets turn on and off by themselves. Known as phantom flushing, it’s caused by a slow leak from the tank to the bowl. Usually, the leak is caused by a faulty flapper or flapper seat.