Lamphey (Welsh: Llandyfái pronounced [ɬandəˈvaɪ]) is both a village, a parish and a community near the south coast of Pembrokeshire, Wales, approximately 2 miles (3.2 km) east of the historic town of Pembroke, and 2 miles (3.2 km) north of the seaside village of Freshwater East. The 2011 census reported a population of 843. Freshwater East is in the community as is the village of Hodgeston. The village includes the ruins of the fourteenth-century Lamphey Bishop's Palace; a palace of the Bishop of St David's.