The explosion tests of thermobaric explosive (TBX) in L-shaped and gallery tunnels were carried out on a self-established large-scale tunnel platform. According to the shock wave overpressure, positive pressure duration and specific impulse acquired from the tests, the propagation laws of shock wave in the two kinds of tunnel are studied, and the influence of tunnel shape on the waveform evolution and attenuation ability, and the forming mechanism of attenuation difference to the shock wave are analyzed. The results indicate that, in the L-shaped and gallery tunnels, the shock wave generates multiple interactions with wall surfaces to form the multi-waveforms with multi-peaks after entering the main tunnel through branch tunnels. The specific impulse in L-shaped tunnel is not significantly different from that in long straight tunnel, and the reduction coefficients of the overpressure of air explosion at and in tunnel entrance are 1 and 1. 2, respectively. Compared to the long straight tunnel, the gallery tunnel has a significant attenuation effect on the shock wave, and the coefficients of overpressure and specific impulse at turning are both about 0. 6. The difference in shock wave attenuation effect between L-shaped and gallery tunnels comes from the difference in propagation paths of shock waves after reaching the connected positions of the main and branch tunnels. © 2023 China Ordnance Industry Corporation. All rights reserved.