Linfen is located in the southwestern part of Shanxi with the Yellow River to the west and it spans 170 kilometers.
Linfen is a prefecture-level city in the southwest of Shanxi province, People's Republic of China, bordering Shaanxi province to the west. The prefecture ranges in latitude from 35 23 N to 36 37 N, spanning 170 kilometres (110 mi), and in longitude from 110 22 E to 112 34 E, spanning 200 km (120 mi). Linfen is located in the southwestern part of Shanxi, on the lower reaches of the Fen River, bounded by Changzhi and Jincheng to the east, the Yellow River to the west (which also forms the border with Shaanxi), Jinzhong and Luliang to the north, and Yuncheng to the south. 
