Travel to UCSF from SFO and Oakland takes about the same amount of time, but SFO is a bit more convenient.
FROM OAK:
Take the AirBART bus shuttle to the Coliseum/Oakland Airport BART stop (it is the only stop for the shuttle). Tickets are $2 and machines are inside the terminal or at the airports AirBART stops. Shuttle runs every 10-20 minutes til midnight. Trip to BART takes about 15-20 minutes.
At the BART station, board a "Daly City" or "SFO/Millbrae" bound train. Trains run about every 5-10 minutes. Cost is $3.15, schedule at
www.bart.gov. Exit at Civic Center, BART trip will be about 25 minutes.
FROM SFO:
SFO has a BART station on the Departures/Ticketing (Level 3) of the International Terminal, on the Boarding Area G side of the terminal. You can also access the BART stop from any terminal by taking the AirTrain to the Garage G/BART Station stop. This AirTrain is a free monorail that runs every few minutes from terminal to terminal.
In the BART station, you will need to take any of the northbound BART trains (Richmond, Pittsburg/Bay Point, Dublin/Pleasanton, Freemont). Trains run every 15-20 minutes until 11pm.
Cost is $4.95, schedule at
www.bart.gov. Exit at Civic Center, BART Trip will be about 28 minutes.
FROM CIVIC CENTER:
After getting off the train, you'll have to go up an escalator, through a turnstyle. Go to another set of turnstyles marked for MUNI and put in $1.25 in quarters (there are change machines nearby). After going down the escalators, you'll want to go to the side of the tracks that say "Outbound". Wait for the N train (runs about every 10 minutes) and take it to Carl and Arguello/2nd. It's a big stop and you'll see a parking entrance off to your left. Head in the elevators and you'll be taken to the top floor which is ground level of the hospital/UCSF, across the street at Parnassus.
N schedule is at
http://transit.511.org/schedules/routeinfo.asp?cid=SF&rte=5675