U.S. stocks gave up gains as the close neared to end lower Wednesday, after the conclusion of Fed Chair Janet Yellen's press conference and the Federal Reserve meeting.
The Dow Jones industrial average and S&P 500 posted their first five-day losing streak since the one ending Feb. 11. The Nasdaq composite had its first five-day losing streak since late April.
"I don't think this was a good day at all for Fed credibility and it wasn't a good day at all for them generating confidence for monetary policy," said Ward McCarthy, chief financial economist at Jefferies. "The impression they create is that monetary policy is just a drift. It's not clear it's being driven by the dual mandate and the decision-making is just knee-jerk."
The Federal Reserve kept rates unchanged at its June meeting. Six members projected only one hike this year, although the median expectation remained two hikes this year.
The Fed's "been so consistently wrong on where fed funds will be," said Lee Ferridge, head of macro strategy, North America at State Street.
"The market's been consistently below the dots and the market's been right," he said.
Stocks initially held higher throughout Yellen's comments and the Fed statement. Traders attributed the late-session decline in stocks to concerns about Fed credibility and post-settle declines in oil prices to May 19 lows, amid focus on the Brexit vote.
"I do think the Fed changes their tone a little too quickly on data," said Eric Stein, co-director of global fixed income at Eaton Vance Management.
Given the surprising miss on the May jobs report and Brexit, analysts generally did not expect the Fed to raise rates but were watching for clues on the likelihood of a July hike.
"It feels as though 2016 may be like 2015 where you have one and done," said Art Hogan, chief market strategist at Wunderlich Securities. "It feels like they walked back a little bit."
"We are more concerned about Brexit now than we were about the Fed," he said.
Fed Chair Janet Yellen said in a press conference following the statement release that the Brexit vote was one of the factors in Wednesday's decision.
"She can't do anything about Brexit. One way or the other you're left with one of the major risk factors for the market that she has no say over," said Bill Stone, chief investment strategist at PNC Asset Management.
Treasury yields declined after the statement release, with the 2-year yield (U.S.:US2Y) falling sharply to near 0.67 percent, its lowest since mid-February, and the 10-year yield (U.S.:US10Y) near 1.58 percent. Earlier in the day, the 2-year yield hit 0.746 percent, its highest since June 10.
The U.S. dollar index was last about a third of a percent lower, with the euro near $1.126 and the yen around 105.9 yen versus the greenback. Sterling was near $1.42.
"You're basically back to status quo of being data dependent and being hyper-focused on every piece of data that comes in," said Aaron Clark, portfolio manager at GW&K Investment Management.
Gold extended gains after the early afternoon settle to briefly top $1,300 an ounce, hitting its highest since early May.
The Dow transports and Russell 2000 gave up much of their earlier gains to close just mildly higher.
Materials led S&P 500 advancers, with utilities the greatest laggard. Financials clung to gains, while consumer discretionary was among the top advancers with the S&P Retail ETF (XRT) (NYSE Arca: XRT) up 1.2 percent.
"I think we're still in a market that still sees a lot of uncertainty. (It) would like to see some good news and push to new highs," said Bruce McCain, chief investment strategist at Key Private Bank.
As of the close Wednesday, the major U.S. stock indexes were down more than 1 percent for the week so far.
Concerns about next Thursday's U.K. vote on whether to leave the European Union have weighed on global stocks in the last few days as recent polls generally indicated greater support for leaving.
U.S. crude oil futures settled down 48 cents, or 0.99 percent, at $48.01 a barrel. Earlier, oil came well off session lows to briefly attempt gains after EIA data showed U.S. crude oil stocks declined 933,000 barrels. Late Tuesday, the American Petroleum Institute said crude inventories rose by 1.2 million barrels versus expectations for 2.3 million barrel decline.
In U.S. economic news, industrial production declined 0.4 percent in May and April's figure was revised lower to show a 0.6 percent increase versus the previously reported 0.7 percent. May capacity utilization edged lower from the prior month to 74.9 percent.
The producer price index rose a slightly more-than-expected 0.4 percent in May, following a 0.2 percent rise the prior month, the Labor Department said. In the 12 months through May, PPI fell 0.1 percent after being unchanged in April.
The core PPI that excludes food, energy and trade services fell 0.1 percent last month after rising 0.3 percent in April, for a 0.8 percent rise in the 12 months through May.
The June Empire State Manufacturing Survey rose to 6.0 from a negative 9 print last month. Sub-index components on new orders and shipments also recovered positive territory, while inventories fell further into negative territory and the employment index was zero.
The German 10-year bund yield traded in negative territory, but off record lows touched Tuesday.
In Europe, the German DAX and STOXX Europe 600 were about 1 percent higher.
The Bank of Japan is set to release its statement on monetary policy overnight.
"If there's anybody that has a penchant for surprise it could be (BOJ Governor Haruhiko) Kuroda. There's a little concern there and possibility of a Bank of Japan move tomorrow," said Ben Pace, CIO of HPM Partners.
Asian stocks closed mostly higher, with the Nikkei 225 up almost 0.4 percent and the Shanghai composite rising more than 1.5 percent. Late Tuesday, MSCI delayed inclusion of the Chinese mainland-traded A shares in its benchmark emerging market index.
The iShares MSCI Emerging Market ETF (EEM) (NYSE Arca: EEM) held more than 1 percent higher in the close.
Overnight, China loan data showed Chinese banks extended a more-than-expected 985.5 billion yuan ($149.56 billion) in new yuan loans in May, Reuters reported. However, a broader measure of credit and liquidity, total social financing, fell to 659.9 billion yuan in May from 751 billion yuan in April.
The Dow Jones industrial average (Dow Jones Global Indexes: .DJI) closed down 34.65 points, or 0.20 percent, at 17,640.17, with Intel (INTC) the greatest decliner and Home Depot (HD) leading advancers.
The S&P 500 (^GSPC) closed down 3.82 points, or 0.18 percent, at 2,071.50, with utilities leading six sectors lower and materials the top advancer.
The Nasdaq (^IXIC) composite closed down 8.62 points, or 0.18 percent, at 4,834.93.
The CBOE Volatility Index (VIX) (^VIX), widely considered the best gauge of fear in the market, came off lows to trade near 20.2.
About three stocks advanced for every two decliners on the New York Stock Exchange, with an exchange volume of 886 million and a composite volume of nearly 3.5 billion in the close.
Gold futures for August delivery settled up 20 cents at $1,288.30 an ounce.
— CNBC's Patti Domm contributed to this report.
On tap this week:
8:30 a.m. Initial claims
8:30 a.m. CPI
8:30 a.m. Philadelphia Fed survey
8:30 a.m. Current account
10 a.m. NAHB survey
8:30 a.m. Housing starts
8:30 a.m. Building permits
*Planner subject to change.
More From CNBC