Corfe Castle is a village in the English county of Dorset. It is the site of a ruined castle of the same name. The village and castle stand over a gap in the Purbeck Hills on the route between Wareham and Swanage with the village lying in the gap below the castle. Both the current main A351 road Lytchett Minster to Swanage and the Swanage Railway thread their way through the gap and the village.