In advance longwall mining, the safety of mine network, production rate, and consequently, economic conditions of a mine are dependent on the stability conditions of gate roadways. The gate roadway stability is a function of two important factors: 1) characteristics of the excavation damaged zone (EDZ) above the gate roadway and 2) loading effect due to the caving zone (CZ) above the longwall working, which can extend the EDZ size. Generally, due to the coal seam dip, the failure possibility of main gate roadway is more severe than tail gate roadway. The aim of this work is to determine the longwall working effect on the EDZ extension above main gate roadway. To achieve this purpose, considering three factors involved in the CZ characteristics, the coal seam properties (dip and thickness) and the geomechanical properties of hangingwall, a new geometrical model is developed. Then, based on the geometrical calculations, a new relationship is presented to determine the working influence coeffiecint. Furthermore, taking into account the new geometrical model, an algorithm is suggested for the stability analysis of main gate roadways. Validation of the new geometrical model is carried out by the instrumentation and monitoring results of a longwall working carried out in the Parvade-2 coal mine of Tabas, Tabas, Iran. The results obtained show that there is a good agreement between the values obtained by the new model and the actual measured values. Finally, a sensitivity analysis is carried out on the effects of pillar width, bearing capacity of support system, and coal seam dip.