Providing good environmental conditions for educational buildings has always been critical because of the negative influence of thermal and visual discomfort on students’ learning and performance. Unsatisfactory conditions mostly caused by overheating and glare due to the presence of direct solar radiation, could be compensated by appropriate window configurations. Since occupants are obligated to sit in defined positions in classrooms, spatial analysis of the thermal and visual field are necessary in addition to temporal evaluations. This paper applies both spatio-temporal thermal and visual comfort metrics, to assess the effect of window design on comfort by dynamic simulations in a south and north faced classroom model in Tehran’s Climatic condition. The SolarCal method, which considers the direct effect of solar radiation on occupants, validated by field measurements, is used to assess local thermal comfort. A solution space, presented in graphs has been defined for each orientation by the defined comfort targets. These graphs could be used to select the optimum glazing properties based on the desired window wall ratio. The defined solution areas are larger in the south orientation and could be extended by considering shadings. Results show that low U-values and low Solar Heat Gain Coefficient (SHGC) are needed in both north and south faced classrooms to decrease the overheating risk. Also the use of double glazing units is not always required or the most favorable option for all window sizes. Based on the results the most effective factors for window design in regard to spatio-temporal thermal comfort are Window Wall Ratio (WWR), glazing SHGC and window shadings, orientation, and window U-value respectively. However, WWR, orientation, and glazing Visual Transmittance (VT) and shadings have almost equal effect on spatio-temporal visual comfort.