Although both Austria and Germany use the same voltage as Switzerland, only specially adapted trains are able to run to and from those two countries, because narrower pantographs are used in Switzerland.
The German national railway company Deutsche Bahn (DB) owns cross-border lines from the German border to Basel Badischer Bahnhof station, which is also operated by DB. It also owns and operates an east-west line across the Canton of Schaffhausen that forms a link in the largely German Upper Rhine Railway, and jointly owns Schaffhausen railway station with the Swiss Federal Railways.
The DB operates longer-distance trains from Germany to Swiss cities, including ICE services to Basel and Zurich.