Dimethyl ether (DME) is a promising alternative fuel for gas turbines, considering its renewable nature and potential for large-scale synthesis from CO2 feedstock. However, there are limited studies on the swirl combustion characteristics of DME, particularly regarding the stability performance. This work investigates the effects of wall confinement on flow, mixing, and lean blowout (LBO) characteristics of partially premixed DME/air swirl flames in a gas turbine model combustor. Flow and flame macrostructures are captured using particle image velocimetry and planar laser-induced fluorescence (PLIF) measurements, respectively. The results show remarkable differences in flame topologies between unconfined and confined flames, especially the formation of inner recirculation zone and outer recirculation zone. The LBO limits are measured over various Reynolds numbers and flame dynamics approaching LBO are captured using 10 kHz OH* chemiluminescence imaging. Unconfined flames have unexpectively lower LBO limits (∼0.4) than the LBO limits of confined flames (over 0.5). Approaching LBO, unconfined flames display a quiet blowout mode featuring swirling spiral blow-off behaviors. In contrast, confined flames exhibit a violent blowout mode featuring large-scale quasi-instability behaviors, including periodic events of local extinction, flame lift-off, and re-ignition. Based on the numerical simulations and simultaneous OH- and CH2O-PLIF measurements, the large discrepancy in the measured LBO limits between the two configurations is found to result from different re-ignition processes related to the low-temperature ignition before the final blowout. These findings highlight the crucial roles of wall confinement in determining the stable flame topologies, LBO characteristics, and mechanisms driving the LBO physics for partially premixed DME/air swirl flames.