The best time of year to visit Yosemite National Park is in May or September. Crowds are smaller in these months since the summer season isn't in full swing, but the weather is pleasant and visitors can hike, bike, and do plenty of outdoor activities.