Cristiano Ronaldo scored his 400th goal for Real Madrid as Zinedine Zidane's side closed in on a first La Liga title since 2012, easing to a 4-1 win over Sevilla while Neymar hit a hat-trick for Barcelona, who thrashed Las Palmas 4-1.
The two sides are equal on 87 points with Barcelona leading on their head-to-head record although Real have a game in hand and need only four points from their final two matches to take the title.
"When the going gets tough we know we ... will find solutions with our play," Zidane said. "We fully deserved the victory."
Defender Nacho Fernandez put Real ahead in the 10th minute with a free-kick, sidefooting the ball into the bottom corner to flummox Sevilla, who were still preparing their defensive wall.
Ronaldo netted his milestone goal in the 23rd minute from close range and then added number 401, restoring Real's two-goal advantage in the 78th minute with a curling shot into the top corner after Stevan Jovetic had pulled one back for Sevilla early in the second half.