Shilin District
Wanli is bordered to the northwest by Jinshan District, to the northeast by the Pacific Ocean, to the east by the Anle and Qidu Districts of Keelung. To the south is a short border with Xizhi District of New Taipei City, and to the southwest is Taipei City's Shilin District. The topography of the area is marked by the rocky Pacific coastline and the forested, mountainous interior.