SUMMARY On 6 February 2023, the Mw 7.8 Kahramanmaraş, Türkiye, earthquake occurred on the East Anatolian Fault Zone (EAFZ). This study examined the spatial variation of the stress field in and around Türkiye, particularly along the EAFZ, better to understand the rupture process of this event. We first combined focal mechanisms around Türkiye, created a data set consisting of 2984 focal mechanisms, and conducted stress tensor inversion. The results showed that the maximum compressional axis near the EAFZ was oriented north–south and slightly varied along the strike. Moreover, the relative magnitude of north–south compressional stress gradually increased from south to north, and the stress regime changes from a normal fault regime to a strike-slip fault regime. The static stress change caused by the 2023 Mw 7.8 and 7.7 events does not explain this lateral pattern, implying that this stress regime transition existed before the main shock. This suggests that shear stress on the EAFZ was low in this southern segment because it was unfavourably oriented to the regional stress field. Dynamic stress changes due to rupture propagation and dynamic weakening may have triggered the slip at the southern segment under low background shear stress. Previous studies have reported that the Mw 7.8 main shock rupture started at a splay fault, first propagated through the central and northern segments and then backpropagated with a time delay towards the southern segment, where it caused a significant but relatively small slip. The pre-existing along-strike shear stress variation on the fault may have contributed to the smaller and delayed coseismic slip in the southern segment than in the central and northern segments. The main shock rupture possibly caused stress rotation locally near the central segment where the magnitudes of the vertical and north–south compressional stresses were almost equal.