For the 1987 season, Berger signed for Ferrari, partnering the Italian Michele Alboreto and replacing Stefan Johansson. After mechanical failures robbed him of the chance to perform, Berger came on strongly in the latter half of 1987, winning the final two rounds of the season. The 1987 &lt;a href="Ferrari%20F1/87"&gt;Ferrari F1/87&lt;/a&gt; benefitted from the work of ex-McLaren designer John Barnard although the car was designed by Austrian Gustav Brunner. Ferrari were back competing for race honours for the first time since mid-1985 from the Hungarian Grand Prix onwards. Berger was running a close second to Nigel Mansell at the Hungaroring before he was forced to retire. At Estoril for the Portuguese Grand Prix Berger dominated the race from pole position before spinning in the latter stages to finish second after pressure from Alain Prost. The Austrian then looked to be heading for a second consecutive victory at the Hermanos Rodriguez circuit for the Mexican Grand Prix as he once again dominated the race but mechanical problems forced him to retire when leading. Success at both Suzuka and Adelaide for the Japanese and the Australian Grands Prix, including pole positions in both events and the fastest lap in Adelaide, ensured Ferrari and Berger went into the winter season with boosted confidence and both team and driver were tipped as favourites for the 1988 Championship. As he had done to Fabi in 1986, Berger out-qualified teammate Alboreto 12–4 in 1987. Berger's wins also gave Ferrari its first back to back victories since the late Gilles Villeneuve won the Monaco and Spanish Grands Prix in .