Greyhound USA operates a bus from San Francisco to Nevada City once daily. Tickets cost $8 - $50 and the journey takes 4 h 35 min. Alternatively, Amtrak operates a train from San Francisco to Nevada City once daily. Tickets cost $30 - $75 and the journey takes 2 h 59 min.
From San Francisco bus to Colfax, CA then taxi to Nevada City. 4 h 57 min $80. From Civic Center/UN Plaza BART to Richmond Transit Station Amtrak, train to Colfax Amtrak, then taxi to Nevada City. 5 h 3 min $119. From San Francisco drive to Nevada City. 2 h 37 min $17.