Mehdiabad () is a village in Aq Bolagh Rural District of Sojas Rud District in Khodabandeh County, Zanjan province, Iran.
At the time of the 2006 National Census, the village's population was 414 in 79 households. The following census in 2011 counted 423 people in 99 households. The 2016 census measured the population of the village as 386 people in 106 households.