Schwandorf is a town in the Upper Palatinate in Bavaria, Germany, which is the seat of the Schwandorf district. It lies on the river Naab.