There is substantial spatial and temporal variability in earthquake magnitude and occurrence across different sections of subduction zones. While temperature, sediment properties, and fluid content are known to influence this complexity, the associated mechanisms and their interactions remain uncertain. This study utilizes a 2D spring-slider model, MEFISTO, which considered cementation processes and fluid flow to investigate how multiple factors at the subduction interface influence the spatiotemporal distribution of megathrust earthquakes. We introduce pressure solution creep and dislocation creep flow laws, and shear heating processes enabling a more realistic representation of megathrust seismicity. We systematically conducted a series of simulations varying the friction coefficient, shear zone thickness ( h ), average grain size ( d ) (effect on viscous strain rate), and deep-sourced fluid production rate ( Rdp ). The results show that although coarser enhances shear heating, its negative effect on pressure solution strain rate relationship far outweighs the temperature-driven enhancement, thus leading to deeper locking depths. In contrast, has a strong impact on shear heating and is inversely related to locking depth. The b-value is proportional to and but inversely to . We then applied the updated version of MEFISTO to the Kodiak, Semidi, and Shumagin sections of the Alaska subduction zone, using parameter values that reflect specific segment trends in h , d , and Rdp inferred from prior studies. The modeled locking depths and recurrence intervals of great earthquakes (117.04 ± 87.53, 111.56 ± 72.96, and 379.00 ± 212.51 years for the three segments, respectively) are consistent with geodetic observations.