Using public transportation to reach Berkeley or Oakland is ideal. The under- and aboveground BART (Bay Area Rapid Transit) trains make stops in both cities as well as other East Bay destinations. Trips to either take about a half hour one-way from the center of San Francisco. BART does not serve Marin County.
BART. 510/465–2278; www.bart.gov.