He had a strong run in the 2007 UK Championship, reaching the semi-finals where he met the eventual winner of the event, Ronnie O'Sullivan. Selby led 7–5, but fell 7–8 behind before levelling the match at 8–8; however, O'Sullivan made a 147 break in the deciding frame to win the match 9–8.