Hamilton looked on course for victory, but Vettel took advantage of running longer and pitting during a virtual safety car period to lead the race before absorbing massive pressure from his old rival to secure his 48th career victory.
Reigning world champion Hamilton has now converted just two of his seven pole positions in Melbourne while Vettel’s victory means he has now achieved 100 podiums, joining Michael Schumacher, Alain Prost and Hamilton in that elite club.
Vettel's team mate Kimi Raikkonen kept Red Bull's Daniel Ricciardo at bay to secure the final podium position, but there was heartbreak for Haas as both Kevin Magnussen and Romain Grosjean retired from fourth and fifth following a wheel gun issue during their pit stops, which stewards are investigating.
Hamilton got away cleanly from pole to maintain the lead into Turn 1 and then held off an optimistic attack from Raikkonen into Turn 3.
The duo then traded fastest laps across the first stint, with Hamilton gradually stretching his lead as the first round of pit stops approached.
Ferrari were the first to blink, calling Raikkonen in from second on lap 19 with the Finn swapping the ultrasoft tyres for the more durable softs and rejoining in third.
Mercedes responded immediately, bringing Hamilton in next time around and mirroring Raikkonen’s tyre strategy, with the Briton re-joining in second. Vettel stayed out, as Ferrari rolled the dice, with Hamilton slowly chipping away at the German's lead as he made the most of his fresher tyres.
However, the race was turned on its head when Haas drivers Magnussen and Grosjean, who were running fourth and fifth, retired within a lap of each other. The team had an issue with the wheel gun, as both pulled off the track on their outlaps after visiting the pits.
Haas team boss Guenther Steiner dumped his head in his hands on the pit wall, as the reality of the loss of a huge haul of points hit.
The virtual safety car was activated, allowing drivers who had not pitted to gain an advantage by diving in as the rest of the field was driving to a permitted minimum lap time. Vettel was one of those drivers and a clean stop by Ferrari helped him emerge from the pits ahead of Hamilton.
Hamilton was gutted, asking his team on team radio what happened and whether he had made a mistake. His team responded that they thought they were safe but “there’s obviously something wrong”.
Vettel and Hamilton traded fastest laps, with Hamilton keeping himself within one second to give him access to the DRS, but he struggled to find a way past.
Further back, Ricciardo, who had started eighth after a three-place grid penalty, pulled off a brilliant pass on Renault's Nico Hulkenberg to begin his recovery drive. The Australian came from miles back, going deep on the brakes into Turn 13 to make the pass stick.
As the two Haas drivers retired and his team mate Max Verstappen survived a 360-degree spin, he soon found himself fourth and heaping the pressure on Raikkonen, with the chance of becoming the first Australian to score a podium on home soil within touching distance.
Up front, it was nip and tuck between Vettel and Hamilton. The reigning world champion asked his team: “Can I push yet? You know how much you want it. Come on. I’m going for it”.
Hamilton put the hammer down, closing to within half a second, but he had a lock-up into T9, running wide and dropping back to 2.9s from Vettel, who then controlled things to the chequered flag.
McLaren kicked off their season strongly, with Fernando Alonso’s fine fifth the team’s best result since the 2016 United States Grand Prix and earning him the driver of the day award, with team mate Stoffel Vandoorne ninth.
Verstappen crossed the line sixth, with Hulkenberg seventh and Valtteri Bottas, who started from 15th after crashing his Mercedes in qualifying, eighth. Carlos Sainz completed the top 10 in the second Renault.
Force India finished just outside of the points with Sergio Perez and Esteban Ocon 11th and 12th respectively, with Charles Leclerc impressing on his debut with 13th for Sauber. Williams' Lance Stroll and Toro Rosso's Brendon Hartley completed the finishers.
Sergey Sirotkin became 2018’s first retirement, following brake failure, while Pierre Gasly’s Honda engine expired to put the Toro Rosso driver out. Marcus Ericsson’s Sauber failed to finish, too, after he encountered a power steering problem.
The key quote
“I was praying for the safety car. When I saw a Haas had stopped in the exit of Turn 2 I was full of adrenalin - even though the race was frozen - to come into the pits with everything on the limit and race to get back out. They told me it was really close with Lewis and when I got out ahead I knew it would be difficult for him to pass. Obviously we were a little bit lucky today…” – Sebastian Vettel
The key stats
- As well as taking his second straight victory in Melbourne, Sebastian Vettel became just third man in F1 history to lead 3,000 laps in his career, after Michael Schumacher and Lewis Hamilton
- The German also scored his 100th F1 podium, becoming just the fourth driver to reach that milestone
- Vettel’s ninth win in 60 starts for Ferrari equals Kimi Raikkonen’s tally for the team over 131 starts
- For the fourth time in five years, Lewis Hamilton failed to convert an Australian pole into victory. From seven poles in Melbourne, the Briton has two wins
- McLaren scored points for the first time in Melbourne since 2014. Alonso’s fifth place matched his best result in three years with Honda power, while the team’s tally of 12 points also matched the best they ever achieved with the Japanese manufacturer ober the same period
- Haas had their second consecutive double DNF in Australia, while Force India failed to score points in Melbourne for the first time since 2009
Driver of the Day - Fernando Alonso
The teams and drivers have a short break before round two of the championship, which takes place in Sakhir, Bahrain from Friday 6 – Sunday 8 April.