Shares of Sears Holdings Corporation fell 12 percent on Thursday in Nasdaq trading after the retailer reported an unexpected second-quarter loss.

Excluding some items, the loss was 17 cents a share. Analysts had projected profit of 35 cents, the average of six estimates compiled by Bloomberg News.

Sales at Sears stores in the United States open at least 12 months declined 13 percent as consumers bought fewer washers, dryers, refrigerators and clothing, the company said in a statement. Same-store sales at Kmart, which is owned by Sears, fell 3.9 percent.

The retailer’s net loss was $94 million, or 79 cents a share, in contrast to a profit of $65 million, or 50 cents a share, a year earlier, the company said. Sales fell to $10.6 billion, from $11.76 billion in the year-ago quarter. The results were below the $10.7 billion average estimate of analysts.