Oakdale is a city in the San Joaquin Valley and Stanislaus County, California, United States. As of 2020 census, its population was 23,181. It goes by the slogan "Cowboy Capital of the World." The city was founded in 1871 when the Stockton and Visalia Railroad met the Copperopolis Railroad. The site of Taylor's Ferry Crossing is located in Oakdale, a crossing of the Stanislaus River on the 19th century Stockton - Los Angeles Road.