The Hammers twice took the lead with two well taken goals but Sir Alex Ferguson's side managed to peg them back to move within six points of their 20th league title
Manchester United twice came from behind to earn a 2-2 draw against West Ham at Upton Park that moves them within six points of a record 20th Premier League title.
Ricardo Vaz Te headed the Hammers into an early lead but Antonio Valencia levelled the scores from close range midway through the first half.
Mohamed Diame regained the lead for the hosts in spectacular fashion only for Robin van Persie to snatch a point with his second in as many games 15 minutes from the end.
The first chance of the match fell to Andy Carroll early on, who, after initially hesitating, worked some space to sweep an effort at goal with his left foot. David de Gea was unsighted by Kevin Nolan, who tried to re-direct the shot, but fortunately for United the ball clipped the outside of the post on it's way out for a goal kick.
The Hammers continued on the front foot for the next quarter of an hour and were soon rewarded for their persistence. Matt Jarvis showed a good turn of pace to leave Rio Ferdinand on the left flank before floating a cross towards the back post for Carroll to nod down, with Vaz Te was on hand to head into the net.
The visitors had a spell in possession following the goal but didn't manage to manufacture a clear chance for themselves. They came close when Patrice Evra raced to the byline but the Frenchman's cut back was foiled by some fine tracking back by Mohamed Diame.
Moments later though, Shinji Kagawa found himself in the same position and he made no mistake in squaring for Valencia, who simply rolled the ball into an empty net from close range to level the scores.
Much of the Hammers' threat in the first half came on the break and they were presented with a glorious chance to regain the lead when Nemanja Vidic lost his footing, but a breakdown in communication between Vaz Te and Carroll let Sir Alex's men off the hook.
The visitors made a bright start to the second period and really should have been ahead inside the first minute of it. Rooney picked out Van Persie at the back post but rather than going for goal the Dutchman elected to head square for Phil Jones who snatched at his volley, sending it over the bar.
The Red Devils were made to pay for that miss 10 minutes later when the impressive Diame lifted the roof off Upton Park.
Rooney was expertly turned by the Senegal international as he drifted in from the right and he didn't pass up the invitation to shoot, with a deliciously powerful left-footed effort which sailed past De Gea into the corner.
A combination of Gary O'Neil and Jussi Jaaskelainen kept the Hammers' lead intact by clearing Rooney's effort from a United corner off the line just after the hour mark.
The Hammers' shot-stopper was to thank again minutes later when he tipped Van Persie's close range header over the bar.
But just under 15 minutes from the end the Dutchman was in the right place at the right time to tap home after Kagawa's shot from the edge of the area bounced off both posts.