They made their supporters wait until the final 10 minutes, but Manchester United's late strikes earned a fine win over a Leeds side who gave them problems at Elland Road.
Erik ten Hag saw his team move seven points clear of fifth-placed Tottenham as Marcus Rashford's header and a fine finish from substitute Alejandro Garnacho got the job done in a febrile atmosphere, with Leeds giving as good as they got for most of the game.
Crysencio Summerville had threatened in both halves for the hosts, while Leeds had Illan Meslier to thank for a fine stop from Bruno Fernandes.