Petrolia is an unincorporated community in Humboldt County, California, 10 miles southeast of Cape Mendocino. The site of the first oil well drilled in California, it lies at an elevation of 121 feet above sea level, within ZIP Code 95558, and area code 707.