Aub is a town in the district of Würzburg, in Bavaria, Germany. It is situated 29 kilometres southeast of Würzburg, and 21 kilometres northwest of Rothenburg ob der Tauber.
It is on the river Gollach, not far from the border of Baden-Württemberg. Aub is divided into three parts: Aub, Baldersheim, and Burgerroth.