El Portal vs. Midpines vs. Mariposa: Where to Stay on Hwy 140 for Yosemite

Last verified: November 2026

Instant answer

El Portal is the closest gateway town to Yosemite Valley: 30 minutes and 14 miles, right outside the Arch Rock Entrance. Mariposa is 1 hr 15 min away but has the supermarket and restaurants. Midpines sits between them, about an hour from the Valley, with cabins and little else.

Featured direct-booking cabins · Sponsored
El Portal slotOpen. Your cabin, with a "Book direct" button to your own site. Claim it
Midpines slotOpen. Your cabin, with a "Book direct" button to your own site. Claim it
Mariposa slotOpen. Your cabin, with a "Book direct" button to your own site. Claim it

El Portal vs. Midpines vs. Mariposa at a glance

El PortalMidpinesMariposa
To Yosemite Valley30 min (14 mi)~1 hr (estimate)1 hr 15 min (44 mi)
To Arch Rock Entrance~10 min~40 min (estimate)~55 min
LodgingA few river hotelsCabins and small lodgesMost choice
GroceriesVery limitedVery limitedFull supermarket
GasYes, 24 hours with a cardNoYes
YARTS bus stopYesYesYes
Best forShortest drive to the ValleyQuiet cabin staysBudget and services

Hwy 140 is the lowest road into Yosemite, so all three towns are good winter bases. The trade is simple: every mile closer to the park means fewer places to eat and shop. Buy groceries in Mariposa on the way in.

Recommended stop on Hwy 140

Sponsored
Coffee or grocery slot, MariposaOpen. One business per category per highway. Claim it

Check conditions before you drive

Questions travelers ask

What is the closest place to stay outside Yosemite Valley?

El Portal. NPS lists El Portal at 30 minutes and 14 miles from Yosemite Valley, closer than any other gateway town. It is just outside the Arch Rock Entrance on Hwy 140. Rooms are limited, so book early.

Is Midpines a good base for Yosemite?

Yes, for a quiet cabin stay. Midpines is on Hwy 140 between Mariposa and El Portal, about an hour from Yosemite Valley by our estimate. It has almost no shops or restaurants, so stock up in Mariposa first.

Is there gas in El Portal?

Yes. NPS lists El Portal as one of three places with gas available 24 hours a day with a credit card, along with Wawona and Crane Flat. There is no gas in Yosemite Valley itself, so fill up before you go in.

Can I take the bus to Yosemite from Mariposa?

Yes. YARTS runs on Hwy 140 all year, with stops in Mariposa, Midpines and El Portal, and continues into Yosemite Valley. It is the only YARTS route that operates in winter. Reservations are limited and walk-ons ride as space permits.

Is El Portal worth the higher price than Mariposa?

It is if you want early starts. Staying in El Portal saves about 45 minutes each way compared with Mariposa, or 1 hour 30 minutes a day. Mariposa usually costs less and has far more places to eat.

Basecamp Matcher: 3 questions

Related guides

Sources: NPS driving times · YARTS routes · Caltrans road information (800-427-7623). El Portal and Mariposa times are NPS figures. Midpines times are our estimates. Times assume dry roads and no entrance line. Sponsored slots are paid placements and are always labeled.