To dream of maggots implies that you harbor fears regarding your own demise. It may also symbolize some situation that you have been ignoring and is causing you great anxiety. You must overcome this obstacle in order to achieve spiritual peace.
In particular, to dream that you are stepping on maggots implies that you are carrying feelings of regret and uncleanliness. You are concealing negative emotions and actions. On a positive note, this can represent your determination and drive to face hardship and emerge victorious.