The Ms 5.5 earthquake struck on 24 October 2023, in Subei County, Gansu Province, China, occurring along the eastern segment of the Altyn Tagh fault. It raises the question of whether this earthquake is linked to the ongoing shortening slip rate along this segment or triggered by other seismic events. Analyzing the fault geometry of the Subei earthquake and understanding the significance of the weakening activity rate for seismic hazards in neighboring regions is crucial. The surface deformation from small- and medium-sized earthquakes (magnitudes less than Mw5.5) is often subtle, and the coseismic deformation detected by interferometric synthetic aperture radar (InSAR) is vulnerable to atmospheric disturbances, leading to significant measurement errors. Moreover, inaccuracies in the regional crustal velocity structure can cause errors in earthquake localization based on seismic data. These challenges complicate the establishment of a rupture model for seismogenic faults and hinder the inversion of fault slip models. To overcome these limitations, we employed the time-series InSAR stacking method and aftershock relocation to determine the fault geometry of the Subei earthquake. A two-step inversion method was utilized to ascertain both the fault geometry and slip distribution. Our modeling indicates that the 2023 Subei earthquake had a thrust mechanism with a component of strike-slip. The rupture did not reach the surface, with the maximum fault slip measuring 0.45 m at a depth of 2.5–3.5 km. The fault dips westward, and the moment magnitude is calculated at 5.4. This earthquake is associated with the ongoing weakening of the left-lateral strike-slip rupture along the Altyn Tagh fault in the Subei region. Furthermore, retrograde thrust tectonics significantly contribute to the absorption of accumulated stress during this process.Our findings highlight the potential of utilizing time-series InSAR images to enhance earthquake catalogs with geodetic observations, offering valuable data for further studies of the earthquake cycle and active tectonics. This approach is also applicable in other tectonically active regions, enhancing understanding of seismic hazards and risk assessment.