Starbucks Corp. on Tuesday effectively ended its era of blanket expansion by saying it will close 500 more locations in the U.S. and cut 7% of its work force.

The pullback is a sign that the Seattle-based coffee giant is continuing to see weak sales as high gas prices and other pressures on consumer spending prompt Americans to cut back on extras.

It...