Match ends, Real Madrid 2, Valencia 1.
Real Madrid scored a late winner to beat Valencia and take another step towards the La Liga title.
Cristiano Ronaldo struck early for Real - making him the all-time leading scorer in Europe's top five leagues - but missed a second-half penalty.
Dani Parejo equalised on 82 minutes but Marcelo's late curling effort secured the win.
Real stay second in the table behind Barcelona, who beat Espanyol 3-0 later on Saturday.
However, Real will claim the title if they win each of their remaining four league matches as they have a game in hand on Barca.
Zinedine Zidane made nine changes to the Real side that beat Deportivo La Coruna 6-2 on Wednesday, with Ronaldo and Luke Modric among the returnees.
Ronaldo headed Dani Carvajal's fine cross beyond Diego Alves to record his 20th goal of the La Liga season.
It was also the Portuguese's 367th league goal, surpassing England, Tottenham and Chelsea striker Jimmy Greaves, who scored 366 goals between 1957 and 1971.
The home side increased the pressure after the break, forcing Valencia to concede a penalty after Parejo brought down Modric, but Alves got down quickly to save Ronaldo's low strike.
Parejo's free-kick looked to have ended Valencia's four-match losing streak but Brazilian full-back Marcelo kept his composure to curl the ball beyond Alves from 18 yards out.
Real next face city rivals Atletico on Tuesday in the Champions League semi-finals, while 12th-placed Valencia host bottom-of-the-table Osasuna on Sunday 7 May.
'We'll have to dig in until the end'
Real Madrid boss Zinedine Zidane: "Valencia kept playing their game and we couldn't find the second goal to kill the game off. We're going to have to dig in until the end.
"If you don't finish the game off, you're going to struggle. We had chances to close the game out earlier, so that's something we can still improve on.
"It's true that we had half-an-hour when we slipped into our comfort zone, but that changed after the Valencia goal."
Race for the La Liga title
|6 May: Villarreal (h)||6 May: Granada (a)|
|14 May: Las Palmas (a)||14 May: Sevilla (h)|
|21 May: Eibar (h)||21 May: Malaga (a)|
|Celta Vigo* TBA (a)|
|* match was postponed in February|
- 19ModricBooked at 82minsSubstituted forVázquezat 90+3'minutes
- 14CasemiroBooked at 52mins
- 10RodríguezSubstituted forAsensioat 66'minutes
- 9BenzemaSubstituted forMorataat 72'minutesBooked at 77mins
- 7Cristiano Ronaldo
- 24GarayBooked at 56mins
- 5MangalaBooked at 64mins
- 26Latorre GruesoBooked at 25minsSubstituted forGayáat 86'minutes
- 10ParejoBooked at 21mins
- 9El Haddadi
- 15OrellanaSubstituted forBakkaliat 89'minutes
- 17Almeida da CunhaSubstituted forRodrigoat 70'minutes
- 22Mina Lorenzo
- 39Valderrama Domenech
- Jesús Gil Manzano
- Shots on Target
Second Half ends, Real Madrid 2, Valencia 1.
Álvaro Morata (Real Madrid) wins a free kick in the attacking half.
Foul by Ezequiel Garay (Valencia).
Substitution, Real Madrid. Lucas Vázquez replaces Luka Modric.
Corner, Valencia. Conceded by Daniel Carvajal.
Offside, Real Madrid. Álvaro Morata tries a through ball, but Marco Asensio is caught offside.
Substitution, Valencia. Zakaria Bakkali replaces Fabián Orellana.
Attempt blocked. Casemiro (Real Madrid) right footed shot from outside the box is blocked. Assisted by Toni Kroos.
Goal! Real Madrid 2, Valencia 1. Marcelo (Real Madrid) right footed shot from the centre of the box to the bottom right corner. Assisted by Álvaro Morata.
Substitution, Valencia. José Gayá replaces Toni Lato.
Attempt blocked. Luka Modric (Real Madrid) right footed shot from outside the box is blocked.
Goal! Real Madrid 1, Valencia 1. Daniel Parejo (Valencia) from a free kick with a right footed shot to the top left corner.
Luka Modric (Real Madrid) is shown the yellow card.
Foul by Casemiro (Real Madrid).
Fabián Orellana (Valencia) wins a free kick in the attacking half.
Foul by Toni Kroos (Real Madrid).
Daniel Parejo (Valencia) wins a free kick in the attacking half.
Delay over. They are ready to continue.
Delay in match Cristiano Ronaldo (Real Madrid) because of an injury.