Donaustauf is a market town in Bavaria, 5 km (3 mi) east of Regensburg at the foothills of the Bavarian Forest.