The Minstermen leapfrogged Town courtesy of Patrick McLaughlin’s 50th minute strike at Twerton Park, putting York into the play-offs on goal difference.
Gary Mills’ side are now level on points with Luton, heaping even more importance on Friday night’s meeting between the two sides at Kenilworth Road, live on Premier Sports TV.
Hatters saw the gap to the chasing pack cut by a point too as Grimsby Town drew 1-1 at Tamworth.
At the top, Wrexham maintained their title chances with a 4-2 victory over Darlington.
For all the latest Luton Town FC news, reports, stats, player profiles, live match updates, prediction table and a complete fixture list, visit our Hatters Microsite.