Semi-natural environments within cities can provide habitats for vulnerable reptile species. Better understanding of their habitat use and home range sizes is important for their conservation. We investigated the spatial ecology of Caspian whipsnakes (Dolicophis caspius) in a peri-urban habitat in Budapest, Hungary. We used radiotelemetry to track five adult snakes and analyzed their microhabitat preferences, home range sizes and daily movements. The Caspian whipsnakes intensively utilized areas covered with woody vegetation, with a high density of hibernacula. The tracked snakes used an area of 40.15 ha during the activity period from spring to autumn, but for the winter, they withdrew to a central area of 1.75 ha, abundant in hibernacula. During the activity period the individual home range sizes varied between 6.1 and 15.5 ha, estimated using the minimum convex polygon (MCP); however, for the entire datasets of the individuals, the adaptive kernel method gave the highest mean (13.8 ha), while the LoCoH-R yielded the smallest home ranges (5.19 ha). We found that the average daily displacement for the different individuals ranged between 12.6 and 36.6 m during their main activity season. In the study area, the whipsnakes currently have enough space for foraging, but the restricted spatial distribution of hibernacula, which is mainly available in the central dry rocky forest and partly in the shrubby areas, can limit the extent of the suitable habitat. Human activities and anthropogenic disturbances, especially around hibernacula, may exert pressure on this peri-urban snake population.