Marin City is an unincorporated community and census-designated place (CDP) in Marin County, California, United States. As of the 2020 census, it had a population of 2,993, up from 2,666 in 2010. It is located 1.5 miles (2.4 kilometers) northwest of downtown Sausalito, 8 miles (13 km) south-southeast of San Rafael, and about 5 miles (8 km) north of San Francisco from the Golden Gate Bridge, at an elevation of 23 feet (7.0 m). Marin City was developed for housing starting in 1942, to accommodate wartime shipyard workers and other migrants to California. Among those were African Americans from the South in the Great Migration, which continued until 1970.
After the war, the area became predominantly African-American, as white residents were able to move freely to private housing elsewhere in Marin County. Since the 1980s, additional development has changed the makeup of the population while providing more local jobs. In 2018, Marin City's socioeconomic and racial makeup (median household income of $40,000, and almost 40 percent Black) contrasts with the mostly wealthy and White population in Marin County overall (greater than $80,000 median income, less than four percent Black).