Centrally located in Marin County, just 18 miles north of San Francisco, San Rafael is the oldest, largest, and most diverse city in Marin. With its lively downtown and Marin Civic Center offset by acres of open space and natural beauty, San Rafael has a little something for everyone.