Crockett is located where the Carquinez Strait meets San Pablo Bay. The Carquinez Bridge, part of Interstate 80, links Crockett with the city of Vallejo to the north across the strait. To the east of Crockett along the strait are Port Costa and the city of Martinez. South of Crockett are the town of Rodeo and the city of Hercules. Farther southwest on I-80 are the cities of San Francisco and Oakland; in the opposite direction, northeast, is the capital of California, Sacramento.