Former NSW homicide detective Gary Jubelin will stand trial in the new year over charges he illegally recorded four conversations with a person linked to the investigation of missing boy William Tyrrell.

The case against the retired detective will be heard over five days from February 3. A court heard on Tuesday that eight witnesses are expected to be called.

Mr Jubelin appeared at the Downing Centre Local Court for the brief mention, accompanied by a number of supporters including former NSW Police deputy commissioner Nick Kaldas.

It is the second time Mr Kaldas has appeared at court to support Mr Jubelin since the former detective chief inspector was charged with four offences alleging he made illegal recordings in Parramatta and Kendall while leading the investigation into William's disappearance.