<P> Principal photography began on March 26 , 1964 at 20th Century Fox studios in Los Angeles , where scenes from Maria 's bedroom and the abbey cloister and graveyard were filmed . The company then flew to Salzburg where filming resumed on April 23 at Mondsee Abbey for the wedding scenes . From April 25 through May 22 , scenes were filmed at the Felsenreitschule , Nonnberg Abbey , Mirabell Palace Gardens , Residence Fountain , and various street locations throughout the Altstadt ( Old Town ) area of the city . Wise faced opposition from city leaders who opposed him staging scenes with swastika banners . They relented after he threatened instead to include actual newsreel footage of crowds cheering Hitler during a visit to the town . On days when it rained -- a constant challenge for the company -- Wise arranged for scenes to be shot at St. Margarethen Chapel and Dürer Studios ( Reverend Mother 's office ) . From May 23 to June 7 , the company worked at Schloss Leopoldskron and an adjacent property called Bertelsmann for scenes representing the lakeside terrace and gardens of the von Trapp villa . From June 9 to 19 , scenes were shot at Frohnburg Palace which represented the front and back façades of the villa . The `` Do - Re-Mi '' picnic scene in the mountains was filmed above the town of Werfen in the Salzach River valley on June 25 and 27 . The opening sequence of Maria on her mountain was filmed from June 28 to July 2 at Mehlweg mountain near the town of Marktschellenberg in Bavaria . The final scene of the von Trapp family escaping over the mountains was filmed on the Obersalzberg in the Bavarian Alps . </P>
where is the last scene of the sound of music filmed
Obersalzberg in the Bavarian Alps