Its own fuel blend. California requires a cleaner-burning gasoline formulation (CARBOB) that few refineries outside the state make, so supply is tight when an in-state refinery has problems.
Taxes and fees. California's state excise tax is among the highest in the U.S., and state climate programmes (cap-and-trade and the Low Carbon Fuel Standard) add to the cost per gallon.
Isolated market. There are no major pipelines bringing gasoline in from other states, so shortfalls are filled by tanker, which takes weeks.
Seasonal switch. Summer blends cost more to make; prices usually ease in fall after the switch to winter blend.