Mohammad Nabi (L) holds David Warner as he takes a run during the World Cup group stage match at Bristol County Ground. AFP
The five-time champions bowled Afghanistan out for 207 in 38.2 overs on a warm day in Bristol and then made steady progress, reaching their target with more than 15 overs to spare, with Warner 89 not out.
The match was the first official Australian appearance in any format for Warner and former captain Steve Smith since the end of their year-long bans for ball-tampering.
The crowd booed the pair and two fans watched the game from a balcony dressed as sandpaper after the scandal last year in which Australia hatched a plot to use the material to alter the condition of the ball.
'Nerves getting back'
"It's good to be back and it's a good win for us," said man-of-thee-match Warner at the presentation ceremony.
"There were nerves getting back into the camp and getting back into the full intensity of training, but to come out and bowl the way we did helped us set the tone with the bat.
"It's a positive victory and now we move onto the West Indies...There's a great buzz about this team at this moment."
Left-handed Warner opened the batting with captain Aaron Finch in the evening sunshine but it was the skipper who set the tone, reaching his fifty off 40 balls with three sixes.
Warner, not at his belligerent best, had a narrow escape when he was on 19, scrambling back after chopping a delivery and losing sight of the ball as wicket-keeper Mohammad Shahzad whipped off the bails.
The breakthrough finally came in the 17th over when Finch mistimed a slower ball from Afghan skipper Gulbadin Naib and holed out to Mujeeb Ur Rahman at deep cover, smashing his bat into his pads in frustration.
Warner, 32, played watchfully during the early part of his innings but found his touch as he neared his fifty, reaching the mark off 74 balls and raising his bat to of a chorus of boos.
The dismissal of Usman Khawaja by Rashid Khan brought Smith to the wicket and he too was booed.
Smith was dismissed in tame fashion, caught by Hazratullah Zazai off the bowling of Mujeeb for 18 with the end in sight and had to endure more boos and apparent shouts of "cheat" as he left the field.
Earlier, Naib took the bold decision to bat in warm conditions in the southwest of England, hoping to post a score his spin bowlers could defend on the small ground.
But the move backfired badly, with openers Mohammad Shahzad and Zazai departing for ducks as Afghanistan slipped to five for two in the second over.
With their team in deep trouble, Rahmat Shah (43) and Hashmatullah Shahidi led a fightback for the minnows, playing in only their second World Cup, putting on a gritty 51 for the third wicket.
Rank outsiders Afghanistan were again wobbling badly at 77 for five but Najibullah Zadran took the fight to his illustrious opponents, smashing 20 runs in four balls off Zampa, including successive sixes.
The big hits brought the small knots of Afghan supporters to their feet and a line of flag-waving fans ran along the front of one of the stands.
Zadran brought up his fifty off 46 balls with an edge over the slips off a sharp Mitchell Starc bouncer but was dismissed for 51.
Rashid Khan enjoyed a late flourish but Afghanistan were all out with more than 11 overs of their innings remaining.
By John WEAVER
Reigning champions Australia made one change after a surprise 10-run defeat by South Africa at Old Trafford, with the recently called-up Peter Handscomb replacing injured batsman Usman Khawaja.
The Caribbean side scored 311 for six in their 50 overs in Leeds and although the Afghans put up a brave fight, they ultimately went down by 23 runs.
Reigning champions Australia are already through to the semi-finals, while South Africa cannot qualify for the last four.
Southampton: Opener Usman Khawaja shrugged off injury concerns to guide Australia to a five-wicket win over Sri Lanka in their final World Cup warm-up match on Monday. Australia’s disciplined bowling performance restricted Sri Lanka to 239-8, but they looked to have suffered a blow when Khawaja
The Argentine gave Courtois no chance with a shot on his left foot from 20 yards out that arrowed into the corner.
An unbeaten half-century from skipper Virat Kohli and disciplined bowling helped India beat South Africa by seven wickets in the second Twenty20 international on Wednesday.