The 31-year-old was last year linked with a move abroad.
He said: “I want to retire while at United.
“It would be great to do what Ryan Giggs, Gary Neville and Paul Scholes have done and stick with one club for a long time.
“Finishing my career at United would be a dream come true and those guys are such inspirations.
“They are all synonymous with Manchester United and I want to achieve that as well.”