In this paper, simulation of the His-Purkinje system (HPS) electrogram based on a three-dimensional model is proposed. The simulation is based on transformation of a two-dimensional HPS into a three-dimensional curvilinear system. Furthermore, the proposed HPS takes into consideration not just the left bundle branch but also the right bundle branch. Results obtained from normal and abnormal HPS electrograms show great similarity with those obtained experimentally.