If engineers can't find a fix, the failure could mean an end to the $600 million mission's search, although the space agency wasn't ready to call it quits Wednesday. The telescope has discovered scores of planets but only two so far are the best candidates for habitable planets.

NASA said the spacecraft lost the second of four wheels that control its orientation in space. With only two working wheels left, it can't point at stars with the same precision.

In orbit around the sun, 40 million miles from Earth, Kepler is too far away to send astronauts on a repair mission like the way Grunsfeld and others fixed a mirror on the Hubble Space Telescope. Over the next several weeks, engineers on the ground will try to restart Kepler's broken wheel or find a workaround. The telescope could be used for other purposes even if it can no longer track down planets.

Kepler was launched in 2009 in search of Earth-like planets. So far, it has confirmed 132 planets and spotted more than 2,700 potential ones. Its mission was supposed to be over by now, but last year, NASA agreed to keep Kepler running through 2016 at a cost of about $20 million a year.

Just last month, Kepler scientists announced the discovery of a distant duo that seems like ideal places for some sort of life to flourish. The other planets found by Kepler haven't fit all the criteria that would make them right for life of any kind - from microbes to man.

While ground telescopes can hunt for planets outside our solar system, Kepler is much more advanced and is the first space mission dedicated to that goal.

For the past four years, Kepler has focused its telescope on a faraway patch of the Milky Way hosting more than 150,000 stars, recording slight dips in brightness - a sign of a planet passing in front of the star.

Now "we can't point where we need to point. We can't gather data," deputy project manager Charles Sobeck told The Associated Press.

Scientists said there's a backlog of data that they still need to analyze even if Kepler stopped looking for planets.

"I think the most interesting, exciting discoveries are coming in the next two years. The mission is not over," said chief scientist William Borucki.

Kepler is managed by the NASA Ames Research Center in Northern California.