"I am made up to be staying at United. In August I will have been at the club for 10 years and during that time I have played with some fantastic players and won everything that I hoped I would when I first signed.
I now have the chance as one of the club's senior players to help the younger players coming through and to be a part of another great United team."The fans have always been a huge part of this club and the support they have given me since my debut against Fenerbahce has been amazing.
"I am very grateful to all United fans around the world for their continued support.
"I am really excited to be a part of the club's future and want to thank David Moyes and Ed Woodward for their belief and support.
"I am convinced this is the start of another successful chapter in Manchester United's history."
Manchester United also said Rooney will also become a club ambassador.
David Moyes said "Wayne has been the best player in England since I put him into the Everton first team in 2003. Since becoming United manager, I've enjoyed working with him and seeing how he has developed his incredible talent