The S&P 500 closed lower Tuesday for the first time in nine sessions as investors took some profits after an October rally and awaited key inflation data ahead.

The broad equity index retreated nearly 0.4% to 4,685.25. The Dow Jones Industrial Average shed 112.24 points, or 0.3%, to close at 36,319.98. The Nasdaq Composite ticked down 0.6% to 15,886.54.