Mariposa County, California was founded by pioneers of Yosemite Valley, miners and loggers by Americans who came to California during the Gold Rush.
In 1849, Sonoran Miners, that were part of the original 49ers, helped establish the busy town of Agua Fria, California, which was made as the county seat of Mariposa. After a flood destroyed the log cabin courthouse at Agua Fria in 1851, the town of Mariposa was made as the next county seat.

The town of Mariposa was named after the clusters of butterflies the Spanish saw at at Mariposa Creek in 1806 and the name “Mariposa” is Spanish and Portuguese for buttery. Explorer John C. Frémont was one of the first American landowner of part of the lands within Mariposa County after buying the title from the land from a Mexican resident.