The Bad Krozingen and Münstertal Railway, also the Münstertal Railway (German: Münstertalbahn), is a branch line in Baden-Württemberg, in southwest Germany, running from Bad Krozingen to Münstertal (Schwarzwald) in the Black Forest. In Bad Krozingen the link has a junction with the Rhine Valley Railway. The owner and operator of the Münstertal Railway is the Südwestdeutsche Verkehrs-Aktiengesellschaft (SWEG). Its depot is located in the station at Staufen. Passenger traffic on the former branch to Sulzburg was closed in 1969.