Ludwigsburg is a city in Baden-Württemberg, Germany, about 12 kilometres north of Stuttgart city centre, near the river Neckar. It is the largest and primary city of the Ludwigsburg district with about 88,000 inhabitants. It is situated within the Stuttgart Region, and the district is part of the administrative region of Stuttgart.