The explosion-proof two-way junction box and explosion-proof three-way junction box are composed of a box base, a cover plate, a compression block, a rubber sealing ring, and wiring terminals. The electric tracing band enters the wiring chamber through a rubber sealing ring through a compression block, and is connected to each other using wiring terminals on the wiring base.