Neunburg vorm Wald is a municipality in the district of Schwandorf, in Bavaria, Germany. It is situated 21 km east of Schwandorf on the river Schwarzach, a tributary of the Naab. The mayor is Martin Birner. He was elected in 2014 with 77,98 % of the votes, and re-elected in 2020.