At Hungaroring, both cars made it into Q3 for the first time since Abu Dhabi in 2014, their last race with engines supplied by Mercedes, with Alonso qualifying 7th and Button qualifying 8th. In the first few laps of the race, Button experienced a problem with the brake pedal sensor which lead to a drop in pace, a pit stop, and then a penalty for illegal radio communications when discussing the problem. Button eventually retired with an oil leak on lap 60 after making some progress moving from the back of the field. Alonso had a stronger race, heading the front of the midfield. While not troubling the faster Mercedes, Red Bull, and Ferrari cars, Alonso was able to keep the Toro Rosso of Sainz a comfortable distance behind him and finished in 7th.