To investigate the excitation effects of different shapes and quantities of obstacles in dust-containing gas explosions, this study utilized an Euler-Lagrangian model. This model simulated explosions involving dust-laden gas, applying various governing equations to address the roles of coal dust at different combustion stages and its dynamic forces within the flow field. The research examined a 9.5 % gas concentration explosion with 5 g/m3 coal dust in a straight pipeline, assessing the impacts of spherical, regular tetrahedral, and cuboidal obstacles, as well as combinations of 1–3 cuboidal obstacles and three differently shaped obstacles on the explosion's flow field structure, overpressure, and flame propagation speed. Key findings include: dust-containing gas explosions result in more complex flow field structures, and the excitation effects of coal dust and obstacles on flame propagation speed exhibit mutual inhibition. Obstacles increase the maximum overpressure locally without affecting the overall trend of increasing overpressure with distance in closed conduits. Cuboidal obstacles show the most pronounced excitation effects, followed by regular tetrahedral and spherical obstacles, respectively. The number of obstacles also progressively enhances their excitation effects. When three obstacles of different shapes are present, cuboidal and regular tetrahedral obstacles primarily affect the flow field structure, with flame propagation speed and maximum explosion overpressure slightly lower compared to the presence of three cuboidal obstacles alone. These findings offer valuable insights into the destructive effects of gas explosions and the excitation effects of obstacles, providing theoretical support for disaster prevention and recommendations for underground equipment design and layout.