Miami: World No. 1 Rafael Nadal advanced to the semi-finals of the ATP Tour’s Miami Masters tournament on Thursday by rallying to beat Canadian 12th seed Milos Raonic 4-6, 6-2, 6-4.

Spain’s Nadal, who has lost three times in the Miami final, clinched the victory on the first match point in the third set, when Raonic failed to reach a spinning serve out wide on hard courts at the Crandon Park Tennis Center.

“Today was a special opponent with an unbelievable serve and with a strong game from the baseline. Normally I have to be better than him, so I tried to use that strategy,” Nadal said.

Top seed Nadal advances to the semis, where he will face seventh seeded Tomas Berdych, who cooled off the red-hot Ukrainian Alexandr Dolgopolov in straight sets, 6-4, 7-6 (7/3), earlier in the day.

The other semi features Japan’s Kei Nishikori squaring off against second seeded Serb Novak Djokovic.

Raonic kept Nadal on his heels with his strong serving in the first set. But Nadal recovered quickly in the second to get a service break.

Nadal was on his toes and moving quicker side to side as he took advantage of Raonic’s slower second serve to win the final two sets to close out the two-and-a-half hour match. He tallied just two aces but won 47 of 63 points on his first serve.

“I was lucky at the beginning of the second set because I started with a break and that was very important for me,” Nadal said. “I felt that I finished the match playing better.

“I think I started the match playing OK, but not playing well on the break points.”

Raonic hammered eight aces but also made five double faults. Raonic won just 18 points on his second serve, or 39 per cent, compared to a 57 per cent second serve ratio for Nadal.

“He just had the right approach after that first set,” Roanic said.

“We were both struggling quite a bit. He let go a little bit more. He’s been in that situation much more than I have. He dealt with it from a mental and strategical side better than I did.”

Nadal has reached the quarter-finals or better in his last six appearances in Miami but he has failed to win the title. He lost three times in the final in 2011, 2008 and 2005.

Seventh-seeded Czech Berdych secured his semi-final berth by blasting 11 aces. He had one more service break than Dolgopolov during the one hour, 45 minute match played in windy conditions.