The York Stakes was established in 2006, and the inaugural running was won by Best Alibi. It replaced the Scottish Derby, a discontinued race at Ayr.

The York Stakes serves as a possible trial for the following month's International Stakes, which is contested over the same course and distance. The first horse to win both races was Twice Over in 2011.