The Spaniard has not played a competitive match since his shock fourth-round exit at the hands of Nick Kyrgios at Wimbledon back on 1 July.
But the 14-time Grand Slam champion returned to action in an exhibition match against Jo-Wilfried Tsonga on Thursday in front of a packed crowd in the Kazakh capital of Astana.
The 28-year-old French Open champion came from a set down to beat Tsonga 6-7(2) 6-3 6-4.
Nadal posted the picture above on Facebook after the match and wrote: “Happy to be back on the court. The best feeling is this one…”
Nadal has missed almost three months of the 2014 season due to injury but has already booked his place at the season-ending ATP World Tour Finals in London in November.
He is now due to head to China where he will make his competitive return to action in Beijing next week, ahead of the Shanghai Masters.
MORE: The latest football news
MORE: The latest tennis news