The Munich–Herrsching railway is a branch line from Munich-Pasing to Herrsching in the German state of Bavaria. It is operated by DB Netz AG and is integrated into the Munich S-Bahn as part of line S8. The railway line is duplicated from Munich-Pasing to Weßling and electrified over its entire length.