The invention discloses a special electronic detonator for a tunnel, which comprises a detonator body, a charging part is arranged on the detonator body, a reinforcing cap is arranged in the charging part, a through hole is formed in the reinforcing cap, a main charge is arranged between the charging part and the reinforcing cap, flame inhibitor lac granulation hexogen is arranged at the bottom of the main charge, the middle of the main charge is Taian, nickel hydrazine nitrate is arranged at the upper part of the main charge, and an electronic ignition part is installed in the detonator body. The special electronic detonator has the beneficial effects that a explosive head protection device is arranged to protect a explosive head in the blasting process, damage and early blasting of the explosive head caused by collision between the explosive head and the pipe wall due to blasting high-frequency vibration are avoided, and the detonating reliability of an electronic detonator detonating circuit is guaranteed; and by arranging the flame inhibitor lac granulation hexogen, the Taian, the nickel hydrazine nitrate and the reinforcing cap to be matched, the situation that no open fire is generated in explosion in the explosion environment containing gas and dust, gas and dust explosion accidents caused by tunnel explosion are avoided, and the safety of tunnel explosion is improved.