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.
Better-than-expected iPhone sales and record Mac sales lifted Apple in its fiscal fourth quarter. More
The Fed official overseeing Wall Street says things need to change, and if the risky culture isn't turned around, it may be time to break up the big banks. More
In three years, all Chicago high school students will have to take a coding course in order to graduate. More
Detroit has 80,000 dilapidated properties and 100,000 empty lots. It's trying to get more people like Antjuan Wyatt to buy them. More