South Africa beat Australia by 40 runs in Hobart to win their one-day series 2-1 and inflict another defeat on Justin Langer’s misfiring side.

Set 321 to win after David Miller and Faf du Plessis hit centuries, Australia could only manage 280-9 off their 50 overs despite a battling 106 from Shaun Marsh.

A composed Marsh cracked a fighting 106 in the run chase, ably supported by Marcus Stoinis (63) and Alex Carey (42) – an improvement on recent batting displays but still not good enough.

Pace spearheads Kagiso Rabada and Dale Steyn both took three wickets in controlled and disciplined spells.

“I thought we played our best game of cricket (of the tour),” said du Plessis after clinching the series 2-1.

“We challenged ourselves to put in a performance. From a batting point of view we were good, but from a bowling point of view we were excellent.”

Australian captain Aaron Finch praised the partnership between Marsh and Stoinis, but admitted the South African attack was too hot to handle.

“They bowled exceptionally well at the end, credit to them in the last 10 overs,” he said.

“After 35 overs we were in a great position but they took it away at the end.”

South Africa clinch the series after winning the opening game by six wickets and Australia snapping their seven-game losing streak to clinch the second by seven runs.

Australia's worst year in ODIs

Year Matches Win / Loss / Tie W/L
2018 13 2-11-0 0.181
1972 3 1-2-0 0.500
1977 3 1-2-0 0.500
1982 15 5-9-0 0.555
1997 19 7-12-0 0.583
2017 15 5-8-0 0.625
1979 13 5-7-0 0.714
1983 23 9-12-0 0.750
1985 21 9-12-0 0.750
1980 9 4-5-0 0.800

This was the Proteas’ first ODI series win in Australia since 2009, as the home team’s struggles continue ahead of the arrival of India for a three-format tour.

The pair of du Plessis and Miller came together at 55-3 in the 16th over with Miller swatting 139 for his fifth limited-overs century and du Plessis smashing 125 – his 10th one-day ton.

Mitchell Starc, with 2-57, was the best of the Australian bowlers who were ruthlessly taken apart in the later overs.

Both sides opted for unchanged line-ups and, after winning the toss and putting the visitors into bat, Australia got a dream start with Quinton de Kock out in the third over.

Mitchell Starc did the damage, bowling a perfect line and length, with de Kock getting a tickle on the ball and wicketkeeper Alex Carey taking the catch.

Reeza Hendricks was dropped by Travis Head on eight, but was gone five balls later when Marcus Stoinis was brought into the attack and Carey took another good catch.

Aiden Markram smashed three sixes, including one huge blow off Marcus Stoinis that went out of the ground and down the street, with a new ball needed, on his way to 32.

But as he looked set for a big score, he tried to flick a Starc delivery down the leg side and Carey grabbed his third catch of the game to leave South Africa struggling.

Then hard-hitting Miller joined skipper du Plessis and the scoreboard began racing along.

Du Plessis was dropped on 29 and Miller escaped an lbw dismissal on 41 that was overturned on review.

They made the most of their second lives and began swinging their bats as du Plessis reached his century in 105 balls with 11 fours and one six before falling to Stoinis going for another big hit at the death.

Miller made the landmark in 95 balls, including eight fours and two sixes, and was finally caught at deep midwicket off Josh Hazlewood in the last over.