The Finnish driver for Mercedes edged out Red Bull driver Max Verstappen, who came second, by 0.164 seconds.
The Dutch driver held his nerve to extend his lead over Hamilton to 33 points in the driver’s championship table.
Once again, however, it was a day to forget for Mercedes as Lewis Hamilton and Valterri Bottas as the two finished in fourth and fifth.
Hamilton emerged victorious in the Spanish Grand Prix in Barcelona, as he recorded a third first-place finish in four races.