Andy Murray revealed his hip was causing him so much pain it hurt to put shoes and socks on.
Speaking at a news conference in Melbourne on Friday, the British three-time grand slam champion said he would retire no later than Wimbledon.
Murray will play the Australian Open and admitted it could be his last tournament as he struggles with his troublesome hip despite surgery last year.
The 31-year-old said another operation was an option, but that was more likely just to improve his quality of life.
"You guys see me running around a tennis court and walking between points and I know it doesn't look good and it doesn't look comfortable," Murray said.
"But there's little things day to day that are also a struggle and it'd be nice to be able to do them without any pain, putting shoes on, socks on, things like that. That's the main reason for doing it.
"If I was to have an operation like that, I would rehab correctly and do it properly to give my hip the best chance of being as good as it can be, but I'm also realistic in knowing that's not an easy thing to come back to or play professional sport at a high level."
The start to Andy Murray's press conference was very emotional pic.twitter.com/hObwoj71uo— #AusOpen (@AustralianOpen) January 11, 2019
Murray revealed he had been speaking to 23-time grand slam doubles champion Bob Bryan, who underwent a similar operation last year.
However, Murray ruled out playing doubles and said a decision on his future was made in December.
"I can still play to a level, not a level that I'm happy playing at, but also it's not just that, the pain is too much really and I don't want to continue playing that way," he said.
"I think I've tried pretty much everything that I could to get it right, that hasn't worked, so middle to end of December during my training block, I spoke to my team and I told them I can't keep doing this and I needed to have an end point because I was just sort of playing with no idea of when the pain was going to stop and I felt like making that decision.
"I said to my team, 'Look, I think I can kind of get through this until Wimbledon, that is where I would like to stop playing.' But I'm also not certain I'm able to do that."
|Awesome Kvitova ends Barty´s home run in Melbourne|
|CA rejects Thunder appeal for full points in abandoned Heat clash|
|Emiliano Sala: Concerns grow for Cardiff striker after plane goes missing|
|Harden unimpressed with refs in Rockets´ 76ers disappointment|
|Ronaldo arrives for sentencing in tax fraud case|
|Record-breaking evening ´one of those nights´ for Warriors star Thompson|
|Hazard still interested in Real Madrid but won´t rule out Chelsea stay|
|Collins moves past Pavlyuchenkova, into Australian Open semis|
|Kohli makes history with ICC awards sweep|
|Thompson sets NBA record with 10 straight made three-pointers to open game|
|76ers hand Rockets largest loss of season, Harden scores 37 points|
|Tsitsipas overcomes Bautista Agut to continue Aus Open run|
|Barcelona move a ´dream come true´ for Boateng|
|Rams coach McVay on Gurley: I´ve got to get him more opportunities|
|Butler´s sprained wrist not expected to keep him out ´long term´|
|Saints owner Benson will ´aggressively pursue changes in NFL policies´|
|Levante to take Copa case to CAS|
|It can happen – Allegri plays down Ronaldo penalty miss|
|Mavericks´ Doncic becomes second-youngest player to record triple-double|
|Yankees send Sonny Gray to Reds|
|Ashley Cole reunited with Frank Lampard at Derby County|
|Arnold ready to mix things up in 2019 Asian Cup quarter-finals|
|Arum: Joshua desperately needs to fight in the United States|
|South Korea v Bahrain: Bento optimistic of continuing unblemished campaign|
|Bolton Wanderers 0 West Brom 2: Baggies bounce up to third after tennis ball protest|
|Confident Moeen ready to shine for England in the Caribbean|
|Juventus 3 Chievo 0: Allegri´s men cruise despite Ronaldo penalty save|
|Boateng completes shock Barcelona switch|
|United Arab Emirates 3 Kyrgyzstan 2 (after extra time): Khalil penalty sets up Socceroos showdown|
|West Indies add Drakes to new-look coaching team|
|Barcelona is a huge opportunity – Boateng confirms shock move is close|
|Donnarumma wishes Higuain luck ahead of expected Chelsea switch|
|Qatar v Iraq: Katanec anticipating ´huge challenge´ in last 16|
|Nuno hit with FA misconduct charge for pitch celebration|
|Furious Carreno Busta and Zverev bow out, Djokovic marches on|
|#NotMartinFromWakefield – Siewert shows viral sensation the door|
|Djokovic feeling the strain after late-night Medvedev battle|
|Henderson sidelined again ahead of Six Nations|
|Australia 0 Uzbekistan 0 (aet, 4-2 on penalties): Ryan heroics see holders hobble onwards|
|Halep exit leaves four-way fight to be crowned number one at Australian Open|
|Super Bowl-bound Rams set for London return, Chiefs to face Chargers in Mexico|
|Huddersfield appoint Siewert as Wagner´s replacement|
|Genoa 0 AC Milan 2: Borini and Suso step up with Higuain left out|
|McTominay signs new Manchester United contract|
|Pizzi to stand down after Saudi Arabia elimination|
|Boateng closing in on shock Barcelona switch - reports|
|Catalans to defend Challenge Cup after resolving RFL dispute|
|Djokovic wears down Medvedev to reach last eight|
|Mouratoglou: I knew ´loyal´ Serena would not fire me after US Open turmoil|
|Barcelona B defender Wague accuses Ejea fans of racist abuse|
|I felt like I had been hit by a train - Halep upbeat despite losing Serena battle|
|Arsenal confirm Mislintat departure|
|Icardi will renew, 100 per cent - Wanda Nara offers latest Inter assurance|
|Japan 1 Saudi Arabia 0: Four-time winners send Pizzi´s men out|
|A souvlaki maybe named after him, a growing fan base – Tsitsipas creating Melbourne buzz|
|Barca winger Dembele out for 15 days|
|Strikers blown away by Hurricanes in Adelaide|
|Ireland lose Beirne for England and Scotland clashes|
|´Innate fighter´ Serena says character key to beating Halep|
|Hudson-Odoi ´an outstanding talent´ - Bayern great Ballack hails Chelsea youngster|
|Scotland call up four as hand injury forces Watson out|
|Serena comes through major Halep battle to reach last eight|
|Better than Rafa? Camacho cameo leaves Klopp unconvinced by transfer options|
|England job ´a privileged position´, says Southgate|
|Emery has confidence in Arsenal outcast Ozil|
|Zverev destroys racquet in Aus Open meltdown|
|From Villarreal to Aus Open quarters – Bautista Agut breaks major duck|
|Brees: I plan on being here next year and making another run at it|
|´Unf******-believable bro!´ - Brady stunned after reaching third straight Super Bowl|
|New England find answers, penalty costs Kansas City – three takeaways from Patriots´ win over Chiefs|