the valley is the main attraction in the park for the majority of visitors. yosemite valley is located on the western slope of the sierra nevada mountains, 150 miles (240 km) due east of san francisco.