The Hausen-Raitbach S-Bahn stop is located on the Wiesentalbahn line (Basel SBB/Weil am Rhein - Zell im Wiesental). Hausen-Raitbach is approx. 5.1 km from Schopfheim.
At the S-Bahn stop you have a connection to the Regio S6 to Basel SBB and Zell i. W. every 30 minutes.