The northernmost span of the Tamsui-Kavalan Trails follows the course of the Keelung River upriver from Taipei almost as far as the coast before veering south towards Jiufen. The section between Xizhi and Ruifang jumps from small town to small town, passing lots of temples and traces of history along the way.