With 18 months left on his previous deal some of Europe's top clubs began to take a keen interest in the England striker, but he has now committed his future to United until the end of the 2018-19 season.
"I'm very happy to have signed a new long-term contract with Manchester United," Rooney told his official website.
"This is one of the biggest clubs in the world and to know that I will be playing here for the majority of my career is something that I'm looking forward to.
"I'm happy that everything is now finalised and I can carry on concentrating on my football."
United may be 11 points adrift of the top four with 12 games left, but the possibility of missing out on the Champions League has not put Rooney off signing what may end up being the final contract of his career.
"I know that's what some thought but it's not a massive concern for me," Rooney said.
"This is because I know the direction that this club is going in, and if we don't make it this season then we will come back stronger and claim a Champions League spot next season.
"Let's not forget we still have a chance this year, some of the other teams are playing well but we have a strong squad here and if we have a positive end to the season then who knows what can happen?"
For breaking stories and all the great banter like us on Facebook: facebook.com/tribalfootball