Inner Mongolia borders , from east to west , the provinces of Heilongjiang , Jilin , Liaoning , Hebei , Shanxi , Shaanxi , Ningxia Hui Autonomous Region , and Gansu , while to the north it borders Mongolia and Russia . Inner Mongolia borders , from east to west , the provinces of Heilongjiang , Jilin , Liaoning , Hebei , Shanxi , Shaanxi , Ningxia Hui Autonomous Region , and Gansu , while to the north it borders the Republic of Mongolia and Russia .