With rapid urbanization in China, many underground utility tunnels have been established these years. This huge underground construction facilitates city life, but may introduce societal risks due to the installation of high‐risk pipelines. Natural gas pipelines have the potential to cause catastrophic accident if a gas leakage and a subsequent explosion occurs. The potential hazards in the gas compartments of a utility tunnel are quite different from those in conventional directly buried gas pipelines. This study developed a dynamic quantitative risk analysis method for natural gas pipelines in a utility tunnel. First, potential accident scenarios of natural gas pipelines situated in a utility tunnel were identified and implemented in a Bow‐tie diagram based on case studies of typical gas pipeline accidents and expert experience. Then, a Bayesian network was established from the Bow‐tie diagram using a mapping algorithm. Based on a comprehensive analysis of the results of probability updating and sensitivity analysis, critical influencing factors were identified. The proposed framework provides a predictive analysis of the gas pipeline accident evolution process from causes to consequences and examines key challenges in gas pipeline risk management in utility tunnels. © 2019 American Institute of Chemical Engineers Process Saf Prog: e12051 2019