San Quentin State Prison (SQ) is a California Department of Corrections and Rehabilitation state prison for men, located north of San Francisco in the unincorporated town of San Quentin in Marin County. San Quentin opened in July 1852, it is