NEW YORK (CNNMoney) -- Despite higher gas prices, auto sales rose in the Untied States in April, including a larger-than expected gain for General Motors.
GM reported Tuesday that U.S. sales were up 27% last month versus a year ago, driven by strong demand for fuel-efficient passenger cars and crossovers.
"Rising fuel prices have led many to re-think their vehicle choice," said Don Johnson, GM's vice president of sales.
Sales of the company's flagship economy car, the Chevrolet Cruze, were the best since it was launched in 2008.
But GM (GM) wasn't the only one benefiting from renewed interest in fuel efficient cars.
Hyundai said total U.S. sales in April were a record 61,754 units, up 40% from last year and the second best month in the automaker's history. Kia Motors, which is partly owned by Hyundai, also reported record sales for the month.
"Hyundai picked up the slack for Japanese automakers," said Jessica Caldwell, a senior analyst at Edmunds.com.
Caldwell said Hyundai was "dangerously close" to selling more cars than larger rival Nissan, which reported a 12% sales gain for April.
Jesse Toprak, vice president of industry trends at TrueCar.com, said U.S. auto sales were helped last month by the "limited hysteria" over shortages of Japanese cars following the earthquake and tsunami that struck the nation on March 11.
"A lot of customers ran out and bought in April with the fear that these cars would run out," he said. But he added that Toyota and Honda may have missed an opportunity by failing to have sufficient cars in stock.
The general trend in auto sales reflects a growing appetite for cars that get better fuel mileage, now that gas prices are approaching record highs, analysts said.
In April, the national average price for a gallon of regular gas increased more than 30 cents, rising above $4 a gallon in many parts of the country.
"The change in consumer preference for smaller vehicles will be in place as long as gas prices stay or go above where they are now," said Toprak. "It's unlikely that we'll see a change in this pattern unless gas prices go down dramatically."
While Japanese automakers have traditionally led the market for fuel efficient cars, the main U.S. automakers have been increasing production of smaller cars in recent years to catch up with the shift in consumer sentiment.
"With gasoline prices eclipsing $3.90 a gallon, consumers are placing an even higher priority on fuel efficiency in every size and kind of vehicle," said Ken Czubay, Ford vice president of sales and marketing.
Powerball jackpot tops $400 million, as change in the game to create longer odds against winning allows for more frequent big prizes. More
Trump supporters say they found deductibles and out-of-pocket costs under Obamacare to be unaffordable, according to a new Kaiser survey. More
In 1998, Ntsiki Biyela won a scholarship to study wine making. Now she's about to launch her own brand. More
America's three biggest banks -- JPMorgan Chase, Bank of America and Wells Fargo -- earned over $6.4 billion last year from ATM and overdraft fees, according to an analysis by CNNMoney. More