Murray, who is planning to retire later this year, had surgery 10 days ago on a back issue.
The 37-year-old, who won Wimbledon in 2013 and 2016
Was due to play Tomas Machac of the Czech Republic on Centre Court on Tuesday.
Former world number one Murray had a cyst close to his spinal cord removed
Because it was causing nerve pain in his right leg.
Speaking a few hours after his withdrawal was announced
Murray said: "I wanted to sleep on it, make sure I was happy with the decision
Give myself the chance when I woke up to see if it felt much better.