 After playing for the county for two seasons the contract was terminated "by mutual consent" in January 2019, with Viljoen signing in June to play for Kent in the 2019 t20 Blast.In December 2018, he was bought by the Kings XI Punjab in the player auction for the 2019 Indian Premier League.In July 2019, he was selected to play for the Rotterdam Rhinos in the inaugural edition of the Euro T20 Slam cricket tournament.