In the wars of 1796-1815 the small town had to pay several contributions and provide billeting. In 1806 Blücher visited Berneck and the "Blüchersruh" was named after him. The former office ("Amt") of the Prussian principality of Bayreuth, established since 1792, fell to France in 1807 as a result of the Treaty of Tilsit and, in 1810, went to Bavaria. Around 1830 the first spa business was established (based on whey products). Within Bavaria, Berneck was initially the seat of a regional court ("Landgericht"), later a district office ("Bezirksamt"). The territory of the district was affiliated to the neighbouring district offices of Bayreuth, Kulmbach and Münchberg. The majority of the "Amt" territory was controlled by the district office at Bayreuth. In 1896 it was connected to the railway network.