Retail sales rose less than expected in January, hurt by discounting in the auto sector, but a rebound in an underlying measure of sales suggested a solid underpinning for the economy's recovery.

Total retail sales increased 0.4 percent last month, the Commerce Department said on Tuesday, below economists' expectations of a 0.7 percent increase.

Sales excluding autos, gasoline and building materials rebounded 0.7 percent after falling 0.4 percent the prior month.

I don't think there's anything here that really brings into question the fact that the economy has been improving, said Wayne Kaufman, chief market analyst at John Thomas Financial in New York.

U.S. stocks opened weaker on the date, while Treasury debt prices rose. The dollar rose against a basket of currencies.

Fears of a sharp slowdown in the U.S. economy have faded in recent weeks on signs that the job market is picking up and manufacturing is accelerating.

Another report on Tuesday showed confidence among small U.S. business owners hit a four year-high in January, according to the National Federation of Independent Business.

With the economy strengthening, there is a good chance the Federal Reserve will raise interest rates before the end of 2014, according to a Reuters poll of economists. The Fed has said it expects to hold rates low through the end of that year.

Still, with the unemployment rate at 8.3 percent in January, a significant minority still expect a further easing of monetary policy in coming months.

<^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Graphic on U.S. retail sales: http://link.reuters.com/guc66s

Graphic on U.S. import/export prices: http://link.reuters.com/muc66s

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

In the retail sales report, spending at gasoline stations rose 1.4 percent - the biggest gain since March 2011 - while receipts for electronics increased 0.5 percent.

Dampening the overall increase, sales of cars and autoparts dropped 1.1 percent, while purchases at non-store retailers, a category dominated by online sales, also fell 1.1 percent.

The decline in auto receipts was surprising given that motor vehicle sales in January were the highest in nearly two-and-a-half years.

But the increase in core sales, which correspond most closely with the consumer spending component of the government's gross domestic product report, suggested consumers were not growing more timid.

The headline number was a little weaker than expected but the core figure was better so net-net it was not entirely a negative report, said Boris Schlossberg, director of currency research at GFT in Jersey City, New Jersey.

The government revised downward its estimates of retail sales in both December and November, suggesting consumers did not spend as much as previously thought during the holiday shopping season.

In another report, the Commerce Department said business inventories rose 0.4 percent to $1.56 trillion in December. Economists polled by Reuters had forecast inventories increasing 0.5 percent in December.

The economy still faces threats from a potential worsening of Europe's debt crisis or the possibility or fiscal tightening at home, although comments by Republican lawmakers on Monday suggested a deal was within reach to extend a payroll tax cut.

An expiration of that tax cut - scheduled for the end of this month - would likely slow economic growth. Extended unemployment benefits are also due to expire at the end of February.

The economy could also take a hit if higher gasoline prices crimp consumer spending on other things.

A separate report from the Labor Department showed U.S. import prices rose a touch more than expected in January as petroleum and food prices rebounded strongly.