Murray has struggled to regain form since undergoing hip surgery last year and was knocked out in the first round of the Australian Open earlier this month, having said the tournament could be his last as a professional, Reuters reported.
His post on Instagram featured an X-ray picture of his hip.
“I now have a metal hip,” Murray wrote in his post.
“Feeling a bit battered and bruised just now but hopefully that will be the end of my hip pain.”
In an emotional news conference in Melbourne ahead of the Australian Open, Murray announced he would retire this year, preferably after a farewell appearance at Wimbledon.
The two-time Olympic champion told BBC this month that surgery was the only option if he wanted to extend his career.
“There is a strong possibility I won’t come back and play after an operation. I want to play tennis, but not with the hip I have right now,” he said.
The ATP Tour posted a tweet in support for Murray, “Get well soon Andy, we know you will do everything to get back on tour!”
Three-time Grand Slam Murray initially had surgery on his right hip in January 2018 and has played 15 matches since returning to action last June.
He was due to play in next month’s Marseille Open but withdrew from the tournament last week.