NEW YORK (CNNMoney) -- Gas prices jumped 4 cents overnight, with the average American driver now paying more than $3.40 a gallon.
The national average price for a gallon of regular gasoline rose to $3.427 on Thursday, according to a daily survey by motorist group AAA. That's up from $3.387 a gallon on Wednesday.
Gas prices have not averaged more than $3.40 a gallon since October of 2008. The record high was over $4.11 a gallon in July 2008.
The highest gas prices were in Hawaii, where drivers pay an average of $3.82 a gallon.
California also has gas prices above $3.80 a gallon, while Alaskans pay $3.77 on average.
Wyoming and Montana were tied for the cheapest gas in the nation. Drivers in both states pay an average of $3.12 a gallon.
Gas prices vary widely from state to state based largely on local tax rates.
But prices have been trending higher nationwide following a rise in the price of crude oil, the main ingredient in gasoline.
Nationwide, gas prices have gone up 25 cents over the past 10 days.
Oil prices were under pressure Thursday, but held firmly above $100 barrel.
The new Ford Focus RS combines outrageous performance with good manners. More
On Friday Janet Yellen reiterated again that the government has to spend more during crises. Both Hillary Clinton and Donald Trump want to boost spending. More
John Ellenby was ahead of the game when he sold a bulky laptop in 1982. More
In 1998, Ntsiki Biyela won a scholarship to study wine making. Now she's about to launch her own brand. More
Tesla started building its massive Gigafactory in June 2014. Since then, home prices in the nearby market have risen faster than the national average. More