Daniel Farke has made a big deal of turning Elland Road into a fortress as the cornerstone of any Leeds United promotion push.
When Swansea took a surprise second-minute lead, it looked as though their defences may be breached.
But this Leeds side seem to draw confidence from the big crowds here and goals by Joel Piroe, Georginio Rutter and Dan James earned a necessary win to remain on the coattails of top two Leicester and Ipswich.
Leeds are the only Championship team with an unbeaten home record this season and this was their sixth consecutive home success.