 Dover is located in York County at (40.003846, -76.849397), northwest of the county seat of York.The borough is entirely surrounded by Dover Township.According to the United States Census Bureau, the borough has a total area of , all of it land.