He was appointed a Deputy Judge of the District Court of Hong Kong in 1982 and a Deputy High Court Judge in 1991.
In 2000, Li set up a working party, consisting of judges, lawyers and academics, to introduce reforms on minimising the complexity of High Court civil litigation procedures, widening judges' discretionary powers to manage the progress of cases and requiring lawyers to justify their charges.