SUMMARY Previous studies have shown that it is difficult to determine whether the 2015 Pishan earthquake occurred on a uniform fault or a ramp-flat fault with variable dip angles due to the similar goodness of data fit to coseismic and afterslip models on these two fault models. Here, we first present the InSAR deformation obtained from both ascending and descending orbits, covering the coseismic period and cumulative 5-yr period after the 2015 Pishan earthquake. We then determine the preferred fault geometry by the spatial distributions between the positive Coulomb failure stress change triggered by main shock and the afterslip. Based on the preferred fault model, we finally use a combined model to determine the contributions of elastic and viscoelastic deformation in the post-seismic deformation. We find that the Pishan earthquake prefers to occur on a ramp-flat fault, and the coseismic slip is mainly distributed at a depth of 9–13 km, with a maximum slip of about 1.3 m. The post-seismic deformation is primarily governed by afterslip, as the poroelastic rebound-induced deformation fails to account for the observed post-seismic deformation and the contributions from the viscoelastic relaxation mechanism can be considered negligible in the combined model. Moreover, the modelled stress-driven afterslip and observed kinematic afterslip have good consistency, and the difference between the root mean square error of the two afterslip models is only 4.3 mm. The results from the afterslip model indicate that both of the updip and downdip directions distribute the afterslip, and slip in the updip direction is greater than that of the downdip direction. Meanwhile, the maximum cumulative afterslip after 5 yr is approximately 0.26 m which is equivalent to a released seismic moment of a Mw 6.47.