Two of the world's great long trails cross the Sierra here, and both run through Yosemite: the John Muir Trail, which begins at Happy Isles in Yosemite Valley and runs 211 miles south to the summit of Mt. Whitney, and the Pacific Crest Trail, which traverses the range's crest from Mexico to Canada. This page is about walking them — whole or in pieces.
The Muir Trail is the classic first long walk: resupply-friendly and pass-dense, stringing Yosemite's high country, the Ansel Adams Wilderness, and Kings Canyon's basins into three to four weeks of above-treeline travel, ending on Whitney itself. Permits leaving Yosemite are the golden tickets they sound like; the quota season books out instantly.
The PCT crosses the park quietly along the Tuolumne's high country — past Lyell Canyon and the northern lakes — and most hikers meet it as a section: Tuolumne to Sonora Pass, with the Sierra's snow years and river fords as the route's great question mark. Section hiking both trails is increasingly the norm.
Whichever you choose, the rules are the same: wilderness permits, bear canisters, and an honest training season. The page collects the Yosemite-side entry points, permit windows, and resupply logic.