Andy Murray moved safely through to the fourth round of the US Open with a straight-sets win over Germany's Florian Mayer.

The defending champion struggled through the first set in hot and humid conditions in New York but won it on a tie-break and looked much better from there on.

Murray dominated the second and third sets to run out a 7-6 (7/2) 6-2 6-2 winner in one minute short of two hours.

The Scot said: "It was very tough conditions. He's a very tricky opponent. He plays strange shots and he takes your time away, it's tough to get into a rhythm. I'm really glad to come through in three sets.

"It cooled down a little bit towards the end but the first and second sets it was very hot. We've been told a thunderstorm is coming so hopefully that will take away some of the humidity."

Having beaten Leonardo Mayer not entirely convincingly on Friday, Murray faced a tricky customer in the Argentinian, ranked 47. A tricky customer with an unorthodox double-handed slice backhand, he had given Murray a tough time in both their previous meetings.

The Scot would have been happy to be back on Arthur Ashe after a trip to Louis Armstrong, where he always seems to struggle, and he was given a great welcome even though the stands were far from full.

The first game contained plenty of drama, with three break points, two HawkEye challenges and two overrules, but Mayer eventually held.

Murray did not look very comfortable, holding his left hip in the way he does when his troublesome back is playing up.

At times his first serves were well under 100mph, and his first-serve percentage was very low, but he was still not in any real danger of being broken.

And he made a great start to the tie-break, winning the first four points, which proved more than enough of a lead to clinch the set.

Murray had loosened up now and he took an early lead in the second set with a break in the second game, drilling two backhand winners down the line.

He had to save a first break point in the next game, coming up with a big first serve, but he was playing much closer to the baseline and with a lot more energy.

His groundstrokes were flatter and a fizzing forehand brought up a first set point on the Mayer serve, which Murray took.

The conditions looked to be sapping Murray's energy so finishing the match in three sets was a priority.

He took a big step towards that with another break in the fourth game of the third set, dismissively smacking a forehand return winner past the German.

Mayer did not look like he had any belief he could beat the world number three, but he staved off more break points to hold for 4-2.

Murray just wanted to get over the finish line and he did not have to wait too long. A terrific forehand dink at full stretch helped him set up two match points and he took the first when Mayer netted a forehand.

Murray, who will play either Andreas Seppi or Denis Istomin next, added: "I need to start matches a little bit quicker, I was a little bit slow out of the blocks."

Tomas Berdych served notice of his intent to Murray and all the title favourites with a demolition of Julien Benneteau to reach the fourth round of the US Open.

There the Czech will play Stanislas Wawrinka, and if he gets past the ninth seed then a clash with third seed Murray is likely to await in the quarter-finals.

It was at that stage last year that Berdych shocked Roger Federer before a gale undermined his efforts to do the same to Murray in the semi-finals.

The 27-year-old is a man all the top players are wary of facing, and he beat Murray in the quarter-finals in Cincinnati two weeks ago.

Benneteau is the 31st seed but he had no answer to Berdych today, the fifth seed racing to a 6-0 6-3 6-2 victory.

"Today it was good," said Berdych. "It was a bit hot, a bit humid, but otherwise the tennis was good.

"Finally I managed to stay focused from the first point until the last. I didn't have any ups and downs, I just took all the chances that I had."

Wawrinka had a much tougher time against Marcos Baghdatis, who has rediscovered his form after a terrible run between February and July where remarkably he lost 10 straight tour-level matches.

Wawrinka won the first two sets but Baghdatis responded in the third and had an early break in the fourth only for the Swiss to take the tie-break for a 6-3 6-2 6-7 (1/7) 7-6 (9/7) victory.

Wawrinka and Berdych have played each other 11 times, with the Swiss leading 6-5 having won four of their last five meetings.

Wawrinka said of Berdych: "He's a great player, a really strong, powerful player.

"It's always tough to play against him. Usually we had some great battles together. I need to adapt a little bit my game, because he's so powerful.

"He's not really happy to play against me. He doesn't like my game. We practised a few times together. I know if I'm fit and if I play well, I have some chance."