Llanafan is a small village between Tregaron and Aberystwyth, Ceredigion, in Wales. Llanafan is around ten miles from Aberystwyth and Tregaron. It is named for its parish church, St Afan's, which serves as the chapel for the nearby Trawsgoed Estate. Its eponymous saint supposedly founded the settlement in the 7th century. The village also has a hall and primary school founded in 1856 by Ernest Vaughan, 4th Earl of Lisburne, for which it was originally known as the Earl of Lisburne School.