Knighton ( or ) is a market town and community in Powys, Wales, on the River Teme. It lies on the England–Wales border, with a small part in the county of Shropshire, England, including its railway station. The Teme is not navigable in its higher reaches and the border does not follow its course exactly. Originally an Anglo-Saxon settlement, Knighton is located on Offa's Dyke, the ancient earthwork that divided the two countries. It later became a Norman defensive border town.