Electromagnetic transient programs (EMTPs) are widely used for simulating electromagnetic transient in power systems. With the increasing interest in integrated energy system (IES), it would be beneficial to extend the scope of EMTP‐type application to multi‐physics transients in integrated electrical and gas networks. An efficient and accurate model of gas pipeline is proposed in EMTP for the simulation of pneumatic transients. The pipeline is split into a number of segments using spatial discretization. Analogies between pneumatic and electric quantities, such as flow and pressure, current, and voltage, are used to create a circuit representation of pipe segment. The pipeline is represented by a distributed‐element model. In order to enhance the computational efficiency, the nodal equation for pipeline model is reformulated. The pipeline model appears as a two‐port Norton equivalent with constant admittances. Case studies are performed to demonstrate the accuracy and efficiency of the proposed pipeline model. The implementation of the proposed pipeline model in the EMTP‐type program power systems computer aided design (PSCAD) enables the analysis of diverse transients in integrated electrical and gas systems (IEGSs).