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.
HSBC banker arrested at JFK airport as he prepared to leave the country. He and former trader face federal charges they manipulated currency trades. More
Bernie Sanders takes credit for forcing for forcing Hillary Clinton and the entire Democratic Party to get a lot tougher on Wall Street. But how likely is that to happen? More
A cutting-edge Chinese tech firm that you've probably never heard of just snapped up top U.S. electronics maker Vizio for $2 billion. More
In 1998, Ntsiki Biyela won a scholarship to study wine making. Now she's about to launch her own brand. More
Only 3% of employers offer so-called "vacation stipends" that help pay for their employees' vacations. But those that do make taking time off a must. More