AbstractThe impact of upstream terrain on the diurnal variability of downslope windstorms on the south‐facing slopes of the Santa Ynez Mountains (SYM) is investigated using numerical simulations. These windstorms, called Sundowners due to their typical onset around sunset, have intensified all major wildfires in the area. This study investigates the role of the orography upstream of the SYM in the diurnal behavior of Sundowners. Two types of Sundowners are examined: western sundowners (winds with dominant northwesterly direction) and eastern Sundowners (winds with dominant northeasterly direction). By using semi‐idealized simulations, in which we progressively reduce the upstream terrain, we show that the onset of the lee slope jet occurs in the late afternoon only when the flow approaches the SYM from the northeast, after interacting with a considerably higher mountain barrier. We demonstrate that during the eastern regime, the progressive reduction of the upstream terrain results in strong lee slope winds throughout the day. Conversely, the diurnal cycle of downslope winds during the western regime is less sensitive to the reduction of the upstream terrain. The Sundowner diurnal cycle during the eastern regime can be explained by boundary‐layer processes in the valley and the blocking effect of high mountains upstream of the SYM. These results contribute to a better understanding of the influence of upstream orography in the cycle and intensity of downslope windstorms in coastal mountains.