Linfen is on the main rail line which runs through Shanxi. It is also accessible by bus from most major cities nearby.