England returned to winning ways after their shock six-run defeat by Scotland with a three-wicket victory over Australia in their one-day international series-opener at The Oval on Wednesday.
However, the world's top-ranked ODI side made hard work of chasing down a modest target of 215 before finishing on 218 for seven with six overs to spare.
David Willey (35 not out) ended the match with a six off Australia debutant Michael Neser as England went 1-0 up in this five-match series.
The 2019 World Cup hosts had been cruising to victory during a fourth-wicket stand of 115 between England one-day captain Eoin Morgan (69) and Test captain Joe Root (50) that helped them recover from 38-3.
Earlier, England dismissed Australia for just 214, the world champions all out in 47 overs.
Off-spinner Moeen Ali took three top-order wickets on his way to three for 43, with paceman Liam Plunkett following up with 3-43.
Justin Langer assigns Ricky Ponting a role: Getting Glenn Maxwell back to his best
Meanwhile, Shoaib Malik blasted a quick-fire 49 as Pakistan powered to an 84-run rout of Scotland in the second Twenty20 international on Wednesday.
Malik's unbeaten innings took just 22 balls and containing five sixes and one four, setting the stage for Pakistan to seal a 2-0 series win.
Fakhar Zaman (33) and Ahmed Shehzad (24) rattled up a 60-run partnership for the first wicket in Edinburgh before Scotland hit back to reduce the tourists to 98-5.
Following on from Sunday's historic win over England - the world's top-ranked one-day international side - Scotland were hoping to claim another big win against the No 1-ranked T20 nation.
Michael Leask's three wickets gave Scotland hope, but Shoaib's brutal hitting kept Pakistan in charge as his side reached 166-6 after their 20 overs.
Scotland had scored 156 in a losing effort in the first T20 clash with Pakistan on Tuesday, but this time they were unable to muster a decent response.
George Munsey was caught for a zero after just two balls and Pakistan made short work of the rest as the Scots finished 82 all out after just 15 overs.
Faheem Ashraf took three wickets and Usman Khan claimed two in a commanding display from the Pakistan bowling attack.