Oakdale is a city in the San Joaquin Valley and Stanislaus County, California. As of the 2010 census, 20,675 people lived there. It is about 19.3 km (12.0 mi) northeast of Modesto.