Dettelbach is a town in the district of Kitzingen in the Regierungsbezirk Unterfranken in Bavaria, Germany. It is situated on the right bank of the Main, 17 km east of Würzburg, and 7 km north of Kitzingen.Dettelbach was first named as a settlement in 741 AD; the town was founded in 1484 AD.Dettelbach has a nearly complete medieval city wall including towers, and two remaining town gates.