Andy Murray has revealed he will be out injured for 'an extended period' after he ruptured his ankle ligaments during his three-set defeat to Tomas Machac at the Miami Open.

The former world No.1 received treatment on his ankle late in the third set of the last-32 loss but took to Instagram late on Monday night to explain the full extent of the injury.

The Scot, 36, has talked about ending his glittering career this summer and had admitted he is now "looking forward to the end" after the match, but hinted that he may play on despite the severity of his CFL issue.

"Yesterday towards the end of my match in Miami I suffered a full rupture of my ATFL and near full thickness rupture of my CFL," he said in a post on social media. 

"I will see an ankle specialist when I return home to determine next steps.

"Goes without saying this is a tough one to take and I’ll be out for an extended period. But I’ll be back with 1 hip and no ankle ligaments when the time is right." 

Murray had been reflective in his post-match press conference in Miami.

"I wasn't thinking about all the matches I played," the three-time Grand Slam winner said. "Just more that that's the last match that I am going play here which is sad because I love it here.

"I've spent so much of my tennis career here and I would have liked it to have gone on a little bit longer. This tournament particularly for me is an important one so it was a bit more emotional leaving the court today than it might be at some of the other events.

"I am looking forward to the end now, give my best the next few months and get to be at home with my family. Miami has been a special place for me during my career. It's been my tennis home really. I've done so much of my work and training and preparation here. I love the city."