Xylokastro (Approx: /zaɪˈlɒ.kɑːstrɒ/) (Greek: Ξυλόκαστρο) is a seaside town or village and a former municipality in Corinthia in the Peloponnese, Greece. Since the 2011 local government reform it is part of the municipality Xylokastro-Evrostina, of which it is a unit or component.
In 2011 its population was 5,715 for the town and 13,277 for the municipal unit.
Geographic features include a large beach and semi-arid forests on varied terrain, scattered with early churches and evidence of early settlements and religious sites. It has narrowly separated upper and lower coastal roads and forms a medium-sized touristic village on the Gulf of Corinth.