NEW YORK (CNNMoney.com) -- Retail sales fell for the first time in eight months in May, the government said Friday, widely missing analyst expectations.
Total retail sales fell 1.2% to $362.5 billion last month, compared with April's upwardly revised 0.6% increase, the Commerce Department said.
It was first decline since last September, when retail sales fell 2.3%. Economists surveyed by Briefing.com expected sales would increase by 0.2% in May.
Sales excluding autos and auto parts dropped 1.1% last month. Economists had projected sales excluding autos to edge up 0.1% in May.
"The trend as of late has been modest growth, and around the trend of modest growth, you're going to get some ups and downs," said Scott Hoyt, a retail economist with Moody's Economy.com. "That's clearly what we're seeing here."
Sales declines were led by a 9.3% drop in building material and supplies.
But because sales growth in this area was up more than 6% in both March and April, Hoyt said last month's correction was not surprising.
"It was up so much [in March and April] partly related to the appliance incentives administrated by states that were mostly rolled out in March and April and part of it was probably pent up demand after winter weather," he said. "But once you work off that pent up demand, you go back to a normal level."
Sales at gasoline stations also fell significantly in May, dropping 3.3%.
"This has to do with seasonality, since gas prices usually increase at this time of year but were flat or even down last month," said Hoyt. "When there isn't an increase in gas prices, this shows up in retail sales."
Meanwhile, motor vehicle and parts sales dropped 1.7% in May. Hoyt said this was the most surprising part of May's report, since automakers such as Ford (F, Fortune 500) and General Motors posted large May sales increases earlier this month.
Excluding the weakness in these three areas -- building supplies, gasoline stations and motor vehicles -- Hoyt said overall sales would have increased 0.1% in May.
Total retail sales were up 6.9% over the same period last year.
Consumer spending accounts for two-thirds of U.S. economic activity, so related reports such as retail sales are closely watched to gauge whether a recovery is underway.
Despite May's disappointing data, Hoyt said that given the overall trend of growth this year, he expects retail sales to improve in the long run, just not as quickly as earlier this year.
"The pace of consumer spending growth we saw in the first quarter was too fast and couldn't be sustained," he said. "But if you put this [report] in the context of the last few months, where growth was quite strong, and smooth it all out a bit, we are still consistent with the story of modest spending growth, and this is where we should be."
The Oracle of Omaha joked that the impact on Corporate America would not be the biggest problem of a Donald Trump presidency. More
The Dow is down 300 points over the past two days, leaving the index on track for its worst week since early February. Blame fumbled earnings reports from the likes of Apple and Google as well as concerns about the Bank of Japan. More
Now you can watch the SpaceX Falcon 9 rocket land on a barge as if you were standing on the deck of the ship. More
In 1998, Ntsiki Biyela won a scholarship to study wine making. Now she's about to launch her own brand. More