During 1988, Farlam acted for the first time as a judge in the Orange Free State Provincial Division of the High Court and on 1 October 1993, he was appointed judge of the Cape Provincial Division of the High Court. In 2000 he was appointed as a Judge of Appeal in the Supreme Court of Appeal, a position he held until his retirement in 2009.
