In 1798, French Revolutionary troops annexed the land. Administratively, Odenbach formed together with Adenbach, Ginsweiler, Reiffelbach and Schmittweiler a "mairie" (“mayoralty”) belonging to the Canton of Lauterecken, the Arrondissement of Kaiserslautern and the Department of Mont-Tonnerre (or Donnersberg in German). After French rule, once Napoleon had been driven out of the country, the Congress of Vienna drew new boundaries yet again. After a transitional time, Odenbach was grouped into the "bayerischer Rheinkreis", later known as "Rheinpfalz" (“Rhenish Palatinate”), an exclave of the Kingdom of Bavaria in 1816 with the rank of "Bürgermeisterei" (“mayoralty”). In the 1870s, three coal pits were opened and almost 500 miners were employed. In the course of administrative restructuring in Rhineland-Palatinate, the 1,000-year-old administrative entity of Odenbach was dissolved in 1970, and the municipality was grouped into the "Verbandsgemeinde" of Lauterecken.