An explosion-proof structure comprising: a partition wall that partitions a sealed space in a container ; and wiring that connects an interior and an exterior of the sealed space ; wherein the partition wall comprises a filling portion through which the wiring passes; and wherein the filling portion comprises an inner peripheral wall surface that defines an opening having a central axis (O) that passes through the partition wall ; a filler that seals a gap between the inner peripheral wall surface and the wiring ; a first peripheral groove provided on the inner peripheral wall surface and filled with the filler ; and a second peripheral groove provided on the inner peripheral wall surface and filled with the filler , characterized in that the wiring comprises a substrate that passes through the filling portion , an internal fixing member fixed to the container inside the sealed space and an external fixing member formed by a substrate fixed to the partition wall so as to cover the opening at an outside of the sealed space ; and wherein an axial gap (G) is provided between the substrate and the internal fixing member to allow the substrate and the internal fixing member to approach each other closely in an axial direction along the central axis (O) in order to absorb expansion and contraction in the axial direction, produced along the entire substrate and internal fixing member due to heat. a partition wall that partitions a sealed space in a container ; and wiring that connects an interior and an exterior of the sealed space ; wherein the partition wall comprises a filling portion through which the wiring passes; and wherein the filling portion comprises an inner peripheral wall surface that defines an opening having a central axis (O) that passes through the partition wall ; a filler that seals a gap between the inner peripheral wall surface and the wiring ; a first peripheral groove provided on the inner peripheral wall surface and filled with the filler ; and a second peripheral groove provided on the inner peripheral wall surface and filled with the filler , an inner peripheral wall surface that defines an opening having a central axis (O) that passes through the partition wall ; a filler that seals a gap between the inner peripheral wall surface and the wiring ; a first peripheral groove provided on the inner peripheral wall surface and filled with the filler ; and a second peripheral groove provided on the inner peripheral wall surface and filled with the filler , characterized in that the wiring comprises a substrate that passes through the filling portion , an internal fixing member fixed to the container inside the sealed space and an external fixing member formed by a substrate fixed to the partition wall so as to cover the opening at an outside of the sealed space ; and wherein an axial gap (G) is provided between the substrate and the internal fixing member to allow the substrate and the internal fixing member to approach each other closely in an axial direction along the central axis (O) in order to absorb expansion and contraction in the axial direction, produced along the entire substrate and internal fixing member due to heat. <EOS>