Indoor lodging options inside the park appear more expensive than initially seems warranted, but that premium pays off big-time in terms of the time you'll save—unless you are bunking within a few miles of a Yosemite entrance, you will face long commutes to the park when you stay outside its borders (though the Yosemite View Lodge, on Route 140, is within a reasonable half-hour's drive of Yosemite Valley).
Because of Yosemite National Park's immense popularity—not just with tourists from around the world but with Northern Californians who make weekend trips here—reservations are all but mandatory. Book up to one year ahead. If you're not set on a specific hotel or camp but just want to stay somewhere inside the park, call the main reservation number to check for availability and reserve (801/559–4884). Park lodgings have a seven-day cancellation policy, so you may be able to snag last-minute reservations.