Mansion nightclub has successfully applied to have its opening hours extended.
The club had its bid to stay open until 5am every day of the week approved by the City of York Council at a meeting on Thursday.
It will be able to stay open even later on York racedays, with a 6am closing time.
Mansion currently closes at 3am.
The club’s license has also been extended, and they are now able to serve alcohol until 4:30.
The application faced opposition from North Yorkshire Police who were concerned about the additional stress the late-night drinking would place upon their forces.
Local residents had also voiced their apprehensions regarding possible disturbances due to noise from the venue.