Bounded by the Cascade Range, Trinity Alps and Klamath Mountains to the north, the Sierra Nevada to the east, the Tehachapi Mountains to the south, and the Coast Ranges and San Francisco Bay to the west, the California central valley is a vast agricultural region drained by the Sacramento and San Joaquin rivers. The flatness of the valley floor contrasts with the rugged hills or gentle mountains that are typical of most of California's terrain. The valley is thought to have originated below sea level as an offshore area depressed by subduction of the Farallon Plate into a trench further offshore. The San Joaquin Fault is a notable seismic feature of the Central Valley.
The valley was later enclosed by the uplift of the Coast Ranges, with its original outlet into Monterey Bay. Faulting moved the Coast Ranges, and a new outlet developed near what is now San Francisco Bay. Over the millennia, the valley was filled by the sediments of these same ranges, as well as the rising Sierra Nevada to the east; that filling eventually created an extraordinary flatness just barely above sea level; before California's massive flood control and aqueduct system was built, the annual snow melt turned much of the valley into an inland lake.