Corfe Castle is a village and civil parish 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.