Pontefract is a historic market town in the City of Wakefield, a metropolitan district in West Yorkshire, England. It lies to the east of Wakefield and south of Castleford. Historically part of the West Riding of Yorkshire, it had a population of 30,881 at the 2011 Census.