Bad Mergentheim is a town in the Main-Tauber-Kreis district in the German state of Baden-Württemberg. It has a population of around 23,000. An officially recognized spa town since 1926, Bad Mergentheim is also known as the headquarters of the Teutonic Order from 1526 until 1809.GeographySubdivisionsSince administrative reform in the 1970s the following villages have been part of the municipality: Althausen , Apfelbach , Dainbach , Edelfingen , Hachtel , Herbsthausen , Löffelstelzen , Markelsheim , Neunkirchen , Rengershausen , Rot , Stuppach , Wachbach