Ystlyg (English: possibly curve or open country) was a medieval cantref in the Kingdom of Powys. It lay at the east of the kingdom on the border with England. It consisted of the commotes (cymydau) of Deuddwr in the north, Ystrad Marchell in the centre, Llannerch Hudol (also written Llannerchwdwl, Llanerchydol or Llannerchudol) in the south, and Y Gorddwr (or Corddwr) in the east beyond the River Severn and Offa's Dyke.
Ystad Marchell, Llannerch Hudol and Deuddwr formed the Teirswydd (English: three [commotes] (literally, swydd is post as in an office)) which were among the lands restored into the possession of Gruffydd ap Gwenwynwyn in return for his homage and fealty by Llywelyn ap Gruffudd at Ystumanner in 1263. Y Gorddwr had remained under the control of the Corbet family (barons of Caus) and therefore the English king.
- Jones, John (1824). The History of Wales. London: J Williams. p. 105.
- Cathrall, William (1828). The History of North Wales Vol II. Manchester. p. 342.
- Carlisle, Nicholas (1811). A topographical dictionary of the Dominion of Wales (see Llandrinio). London: Society of Antiquaries.
- Carlisle, Nicholas (1811). A topographical dictionary of the Dominion of Wales (see Garth). London: Society of Antiquaries.
- Rees, William (1951). An Historical Atlas of Wales from Early to Modern Times. Faber & Faber.
- Smith, J Beverley (2014). Llywelyn ap Gruffudd: Prince of Wales. University of Wales Press. p. 370.
- Smith, J Beverley (2014). Llywelyn Ap Gruffudd: Prince of Wales. University of Wales Press. p. 416.