U.S. stocks fell Friday, threatening to end the longest winning streak for the Dow Jones industrial average in nearly 17 years.

The Dow Jones industrial average dropped 23 points to 14,516 in midday trading. The Standard & Poor’s 500 index fell a fraction to 1,563. The Nasdaq composite index dropped 3 to 3,256.

The S&P 500 was just a few points below its all-time closing high of 1,565, reached in October 2007. On Thursday, the Dow closed out a 10-day winning streak, its longest since November 1996.

Trading was tentative because investors fear that rising inflation will cause the Federal Reserve to retreat from policies aimed at boosting markets. The government said that consumer prices increased in February at the fastest pace in more than three years.

The increase was driven by a spike in gas prices; the core index, which excludes the volatile energy and food categories, increased more modestly. But both figures rose 2 percent compared with a year earlier, enough to get investors’ attention, said Peter Tchir, who runs the hedge fund TF Market Advisors.

“It’s real and it’s a drag, and I think people are growing concerned that it can get out of control quickly,” Tchir said. He said signs of economic improvement and inflation “make them wonder if there will be continued market pressure on the Fed” to end its bond-buying programs.

The market’s recent rally to multiyear highs was fueled in part by the Fed’s efforts to keep interest rates low and encourage investment.

A separate government report showed that U.S. factory output rose strongly in February because of an increase in auto production. Manufacturing is helping to drive economic growth after lagging for much of 2012.

Traders are processing big banks’ scores on “stress tests” administered by the Federal Reserve. The Fed said late Thursday that JPMorgan Chase and Goldman Sachs both need better plans to cope with a severe recession. It gave them until September to revise their plans.

Still, the Fed allowed both banks to increase their dividends and buy back their stock, signaling that regulators believe the banks are fundamentally sound.

The stock of JPMorgan fell 85 cents, or 2 percent, to $50.15. Goldman’s stock rose $1.07 to $155.09.

The yield on the 10-year Treasury note fell to just below 2 percent from 2.06 percent early Thursday, as demand increased for ultra-safe investments.

Among the other companies making big moves:

— Cruise ship operator Carnival Corp. fell 92 cents, or 3 percent, to $34.81. The company said passengers have been booking vacations at a slower pace after a series of high-profile mishaps.

— Krispy Kreme Doughnuts Inc. plunged after saying its fiscal fourth-quarter net income dropped sharply and fell short of expectations. The stock fell 60 cents, or 4 percent, to $14.35.

— Teen apparel chain Aeropostale Inc. fell $1.16, or 8 percent, to $13.35, after posting a loss in its fiscal fourth quarter and saying it expects another one in the current quarter.


Daniel Wagner can be reached at www.twitter.com/wagnerreports .