According to the United States Census Bureau, the city has a total area of . of it is land and of it (63.20%) is water.
Dunedin is bordered by the city of Clearwater to the south and east, the Gulf of Mexico to the west, and by Palm Harbor (an unincorporated community of Pinellas County) to the north.