A mysterious technical glitch halted trading on the Nasdaq for three hours Thursday in the latest major electronic breakdown on Wall Street, embarrassing the stock exchange that hosts the biggest names in technology, including Apple, Microsoft and Google.

The problem sent brokers racing to figure out what went wrong and raised new questions about the pitfalls of the electronic trading systems that have come to dominate the nation’s stock markets.

Nasdaq said only that the problem lay in its system for disseminating prices. An investigation was underway.

The outage disrupted what had otherwise been a quiet summer day on Wall Street. It was another in a series of technical problems to disrupt financial markets, though less alarming than the “flash crash” that set off a stock-market plunge in May 2010.

“The market has gotten quite complex and needlessly so,” said Sal Arnuk, co-founder of the brokerage Themis Trading.

The Nasdaq, a stock exchange dominated by some of the largest, most prosperous technology companies, sent out an alert shortly after noon that said it would stop trading. The Nasdaq composite index spent much of the afternoon stuck at 3,631.17.

Trading resumed at 3:25 p.m. Thirty-five minutes later, the day ended day with the index up 38, or 1 percent, at 3,638.71.

Investors are not at risk of losing any money from these glitches unless they are unlucky enough to be buying or selling a stock at the exact moment when an error occurs, forcing them to cancel their trades.

“Clearly it’s an annoyance, but it doesn’t in any way affect the value of your underlying assets,” said Marty Leclerc, chief investment officer at Barrack Yard Advisors. “Warren Buffet used to say that if you own a stock you ought to be comfortable with it even if the market were to close for a year.”

During the outage, the Nasdaq said it wouldn’t cancel any orders stuck in limbo, but that customers were free to cancel their orders before trading resumed.

The shutdown did not upset other parts of the stock market. But one stock that did take a hit was the parent company of the exchange, Nasdaq OMX, which fell $1.08, or 3.4 percent, to close at $30.46 in heavy trading.

The White House, the Treasury Department and other government agencies said they would monitor the disruption.

Brad McMillan, chief investment officer of the independent brokerage Commonwealth Financial, said competition between rival exchanges for customers was partly to blame. The exchanges try to bring in more business with the promise of faster trading, which makes them more reliant on new technology.

“The more trading is tied to technology, the more computer crashes matter,” McMillan said.

He said he was not overly concerned about Thursday’s disruption, recalling a day in August 1994 when a mischievous squirrel caused a brief closure of Nasdaq by chewing into power lines near the stock market’s computer center in Trumbull, Conn.

The shutdown was another sign that the days of stock brokers in colorful jackets roaming the floor of the stock exchange have faded away. Now powerful computer programs dominate trading by sifting through reams of data and executing trades in fractions of a second. That makes trading faster and, arguably, more efficient. But it also introduces more possibilities for errors that can jolt the entire market.

Last year, BATS Global Markets tried to go public on its own exchange but had to back out after a computer error sent the stock price plunging to just pennies. Facebook’s public offering last spring was also error-riddled, as technical problems kept many investors from knowing if their trades had gone through and left some holding unwanted shares. And in April, the Chicago Board Options Exchange shut down for a morning because of a software problem.

Then there was the 2010 “flash crash” in which the Dow Jones industrial average fell hundreds of points in minutes before eventually closing 348 points lower. It was one of the first major blips that brought the potential dangers of computerized trading into the public sphere.

One of the lessons from the flash crash was that it’s better to stop trading and re-open a market in a fair and orderly manner than to have messy trading, said James Angel, a finance professor at Georgetown University who specializes in the structure and regulation of financial markets.

“I think people are so used to the fact that every once in a while the power goes out and a computer crashes,” Angel said. “As long as the trading is fair and orderly I don’t think that’s going to deter people from investing.”

Trading glitches can also change fortunes. A technical bug spelled the end for Knight Capital as a stand-alone company and marred its long-standing reputation as a stellar risk manager after the problem sent stocks of dozens of companies swinging wildly on Aug. 1 of last year.

It also left Knight, which takes orders from big brokers like TD Ameritrade and E-Trade, on the hook for many of the stocks that its computers accidentally ordered. Knight teetered near bankruptcy and this summer was taken over by the high-speed trading firm Getco.

Christina Rexrode, Steve Rothwell and Marcy Gordon of the AP and contributed to this report.