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."
|Wozniacki enjoyed status as defending champion in Melbourne|
|Solskjaer backs Mourinho to return to football´s big time|
|Murray to miss Open 13 Marseille|
|Solskjaer´s United turnaround no easy task, says Hughton|
|The big Friday Premier League quiz|
|How James Harden´s 2018-19 numbers compare to his MVP campaign|
|It´s insane! - Tsitsipas excited to face ´legend´ Federer|
|Sharapova ends Wozniacki title defence|
|American teen Anisimova sends records tumbling at Aus Open|
|Lakers survive Ball´s gaffe to beat Thunder in OT|
|Federer expects ´athletic´ and ´attacking´ Tsitsipas clash|
|Alcacer is fit and available – Favre|
|Fantastic Federer breezes past Fritz|
|Pogba happy with Man United approach under Solskjaer|
|Mickelson leads Desert Classic, ties career-low with 12-under 60|
|Warriors´ Durant on Curry: He´s a once-in-a-generation, once-in-a-lifetime talent|
|Patriots owner says Brady is greatest player, not just quarterback, of all time|
|Inglis to retire from representative duty this year, NRL in 2020|
|Is Beal better without Wall? Wizards star says it´s ´absolutely nonsense´|
|Rockets C Capela undergoes thumb surgery, expected back after All-Star break|
|This Week in U.S. Sports: Irving apologises, Machado´s agent isn´t happy|
|Knicks in woeful shape, but 2019 could still be bright in New York|
|Valverde not worried about Levante´s Copa appeal|
|Nowell an option for England at flanker, reveals Jones|
|Pellegrini: Arnautovic available for the right price|
|Knicks throw away 19-point lead and lose on last-second goaltending call|
|Tebow invited back to Mets´ major league spring training|
|Canelo and Jacobs agree unification fight|
|Barcelona 3 Levante 0 (4-2 agg): Dembele at the double as Barca advance|
|Levante to lodge complaint over Barcelona Copa selection|
|Kanter´s London absence ´very unfortunate´, says NBA commissioner|
|NBA could swap London for Paris in 2020|
|Spurs coach Popovich uncertain if he will return next season|
|Pistons´ Griffin fined for verbal abuse of official|
|Everton do not have financial conditions to enter transfer market - Silva|
|Andy Cole joins Sol Campbell´s coaching staff at Macclesfield|
|Atletico confirm Saul has thigh injury|
|Wood replaces injured Stone in England squad|
|Lebanon 4 North Korea 1: Disciplinary record cruelly denies Radulovic´s men|
|Saudi Arabia 0 Qatar 2: In-form Ali bags brace as Qatar top group|
|Robertson signs new Liverpool deal|
|Vunipola backs Farrell to thrive in solo leadership role|
|People don´t know what´s going on behind the scenes - Mourinho defends United stint|
|Indefatigable Muguruza knocks out Konta at 3:12am|
|Serena coasts, difficulties for Halep and Muguruza´s marathon|
|Lowry retains Abu Dhabi lead|
|Djokovic battles past Tsonga, young guns flourish|
|Louisville airport to be renamed in Muhammad Ali´s honour|
|Emery not thinking about Ozil speculation|
|Sri Lanka hopeful over Kusal Mendis finger injury|
|Oman 3 Turkmenistan 1: Last-gasp Al-Musallami guarantees progression|
|Emery wants Cech to end career ´in a good moment´|
|Japan 2 Uzbekistan 1: Shiotani stunner seals comeback and top spot|
|Calhanoglu deal ´financially impossible´ for Leipzig|
|Not seen at Aus Open since Nadal, Djokovic and Murray in 2009 – ´Next Gen´ make move|
|Martial: Solskjaer lets me express myself|
|Djokovic sees off Tsonga to reach third round|
|Returning Cousins calls Warriors ´the most hated team in sports´|
|Halep injury ´nothing dangerous´|
|Warner picks up elbow injury in Bangladesh|
|Mkhitaryan returning to Arsenal training next week|
|Leeds United pounce for Real Madrid goalkeeper Casilla|
|Watson lights up Gabba before power cut forces abandonment|
|Superb Serena blows Bouchard away|
|Tevez, Hulk, Oscar, Lavezzi - how the CSL stars Dembele is following to China fared|
|Thiem retires from Australian Open|
|Osaka ´not telling´ when it comes to injury niggle|
|Fabinho enjoying Klopp´s management style|
|Halep battles past Kenin in Melbourne|
|Hartley to miss England´s Six Nations opener|