The invention relates to a digital anti-reversal circuit for an escalator, and the digital anti-reversal circuit provided by the invention is used for solving the problems that the detection principle adopted by the escalator anti-reversal circuit in the prior art is related with the motor speed, and the control logic is not complete, so that the escalator cannot be started, an auxiliary circuit is required for supplement, the circuit is more complicated, and the cost is increased. The digital anti-reversal circuit comprises a signal generation module, a signal processing module, a counting module and an execution module which are connected in sequence, wherein the execution module is connected with an escalator safety chain circuit. In the anti-reversal circuit, whether the escalator motor is in a speed-reducing state or not is detected, if the motor is in a speed-reducing state, the escalator has a reversing trend, and the safety chain is disconnected to stop the escalator. The digital anti-reversal circuit for the escalator has the advantages that a digital circuit is adopted, so that the circuit structure is simpler, used elements are fewer, and the production cost is reduced;the detection principle of the anti-reversal circuit is not related with the motor speed, so the problem that the escalator cannot be started is solved, and the auxiliary circuit is omitted; the digital anti-reversal circuit does not require to be tuned one by one, so the reliability is better.