Linfen is a prefecture-level city in the southwest of Shanxi province, China, bordering Shaanxi province to the west. It is situated along the banks of the Fen River.