Crystal Palace's Michael Olise scored a stunning last-minute free-kick to deny Manchester United a victory that would have taken them second in the Premier League.
United were on course for their 10th successive victory after Bruno Fernandes scored just before half-time when he finished well following Christian Eriksen's pull-back.
But Olise struck in dramatic style with a brilliant curling free-kick to ensure a point apiece.
The draw does take United above Newcastle into third but keeps them behind rivals Manchester City, who play at home to Tottenham on Thursday.
Palace again show fighting spirit
For Palace it ends a run of three successive defeats in all competitions and Patrick Vieira's side will feel they got a deserved point.
United goalkeeper David de Gea had produced a wonderful save to tip Odsonne Edouard's powerful strike on to the crossbar when it was goalless, two minutes before Fernandes struck.
De Gea also made another fine stop in the 75th minute, punching away Marc Guehi's header.
But the Spaniard was finally beaten in injury time with Olise's brilliant 25-yard free-kick going in off the underside of the crossbar as Palace again showed their fighting spirit.
The Eagles have now secured 13 points from losing positions in the Premier League this season, only Tottenham Hotspur with 14 have recovered more.
"It feels like a win because we are happy with not losing the game," said Vieira.
"It was tough. Important not to concede the second goal and to stay strong in the second half. We built the momentum and belief and we got rewarded with Michael's free-kick.
"We wanted to have the ball and possession but we couldn't because of Manchester United's quality. We showed discipline and not conceding that second goal was important. We believed and then came the free-kick."
Erik ten Hag handed a Manchester United debut to Dutch striker Wout Weghorst following his loan move from Burnley earlier this month, but the closest he came to scoring was when he looped a header on to the roof of the net.
United, who have not won the Premier League since 2012-13, are now eight points behind leaders Arsenal, with the Gunners having a game in hand, and the two teams meet at Emirates Stadium on Sunday.
However, United will be without key defensive midfielder Casemiro as he will be serving a one-game suspension after picking up his fifth booking of the league season following a late challenge on Wilfried Zaha in the 80th minute.
United now with only one loss in 20 matches
The disappointment was clear for Ten Hag, although there will still be plenty of positives to take for the Dutchman.
Ten Hag was in the stands watching at Selhurst Park for United's last game of the 2021-22 season in May when, in Ralf Rangnick's final match as interim manager, the Eagles won 1-0.
That result saw United finish sixth in the Premier League, 35 points behind champions Manchester City, and they only just scraped into the Europa League.
Bruno Fernandes' goal was his fourth in the Premier League this seasonBut United have improved vastly since then and, following the 6-3 humiliating defeat at City on 2 October, they have now only lost once in 20 matches in all competitions.
Nevertheless, with the manner of the late equaliser, United's fans, players and coaching staff will be annoyed at letting the win slip away.
"When you're winning with two minutes to go, we dropped two points," said Ten Hag.
"You don't expect to drop points. We have to invest more to get that second goal and then not be in that situation that a lucky moment costs you two points.
"We were 1-0 up. In the second half we had a lot of space to kill them and go for the second. I never saw we really went for the second goal.
"I have to criticise my team. Go for the second."
Player of the match
OliseMichael Olise
Crystal Palace
Squad number7Player nameOlise
Squad number19Player nameHughes
Squad number6Player nameGuéhi
Squad number10Player nameEze
Squad number26Player nameRichards
Squad number3Player nameMitchell
Squad number15Player nameSchlupp
Squad number13Player nameGuaita
Squad number22Player nameÉdouard
Squad number17Player nameClyne
Squad number28Player nameDoucouré
Squad number11Player nameZaha
Squad number14Player nameMateta
Squad number9Player nameJ Ayew
Squad number4Player nameMilivojevic
Line-ups
Crystal Palace
Formation 4-2-3-1
13Guaita
17Clyne26Richards6Guéhi3Mitchell
28Doucouré19Hughes
7Olise22Édouard11Zaha
14Mateta
13Guaita17Clyne26Richards6Guéhi3Mitchell28DoucouréSubstituted forSchluppat 71'minutes19HughesBooked at 77minsSubstituted forMilivojevicat 84'minutes7Olise22ÉdouardSubstituted forJ Ayewat 71'minutes11Zaha14MatetaSubstituted forEzeat 56'minutesSubstitutes
2Ward4Milivojevic5Tomkins9J Ayew10Eze15Schlupp21Johnstone44Riedewald77OzohMan Utd
Formation 4-2-3-1
1de Gea
29Wan-Bissaka19Varane6Li Martínez23Shaw
18Casemiro14Eriksen
21Antony8Bruno Fernandes10Rashford
27Weghorst
1de Gea29Wan-Bissaka19Varane6Li MartínezBooked at 47mins23Shaw18CasemiroBooked at 80mins14EriksenSubstituted forFredat 83'minutes21AntonySubstituted forGarnachoat 70'minutes8Bruno Fernandes10Rashford27WeghorstSubstituted forMcTominayat 69'minutesSubstitutes
2Lindelöf5Maguire12Malacia17Fred22Heaton28Pellistri36Elanga39McTominay49GarnachoReferee:Robert JonesAttendance:35,853Live Text
Match ends, Crystal Palace 1, Manchester United 1.
Second Half ends, Crystal Palace 1, Manchester United 1.
Attempt saved. Alejandro Garnacho (Manchester United) right footed shot from outside the box is saved in the top centre of the goal. Assisted by Marcus Rashford.
Attempt missed. Casemiro (Manchester United) left footed shot from very close range misses to the left. Assisted by Bruno Fernandes with a cross following a corner.
Corner, Manchester United. Conceded by Luka Milivojevic.
Goal! Crystal Palace 1, Manchester United 1. Michael Olise (Crystal Palace) from a free kick with a left footed shot to the top right corner.
Foul by Luke Shaw (Manchester United).
Jeffrey Schlupp (Crystal Palace) wins a free kick in the attacking half.
Attempt missed. Wilfried Zaha (Crystal Palace) right footed shot from outside the box is too high. Assisted by Marc Guéhi.
Substitution, Crystal Palace. Luka Milivojevic replaces Will Hughes.
Substitution, Manchester United. Fred replaces Christian Eriksen.
Attempt saved. Eberechi Eze (Crystal Palace) right footed shot from outside the box is saved in the top centre of the goal.
Casemiro (Manchester United) is shown the yellow card for a bad foul.
Foul by Casemiro (Manchester United).
Wilfried Zaha (Crystal Palace) wins a free kick in the attacking half.
Christian Eriksen (Manchester United) wins a free kick in the defensive half.
Foul by Jeffrey Schlupp (Crystal Palace).
Foul by Casemiro (Manchester United).
Eberechi Eze (Crystal Palace) wins a free kick in the defensive half.
Will Hughes (Crystal Palace) is shown the yellow card for a bad foul.
Our coverage of your Premier League club is bigger and better than ever before - here's everything you need to know to make sure you never miss a moment