Seeing maggots in your toilet is a clear indicator of having drain flies inside your pipes. Drain flies lay eggs across the pipes, and such eggs later convert to maggots (or larvae).