Qezel Qapi () is a village in Mokriyan-e Gharbi Rural District of the Central District in Mahabad County, West Azerbaijan province, Iran.
At the time of the 2006 National Census, the village's population was 1,935 in 395 households. The following census in 2011 counted 2,142 people in 410 households. The 2016 census measured the population of the village as 2,134 people in 518 households.