Racing Club de Montevideo
Viera began his career in Uruguayan Segunda División club Racing Club de Montevideo in 1995. The next year, Viera was transferred to Peñarol, with which he won the 1996 Uruguayan Primera División, with just 18 years old. In 1998 Viera returns to Racing Club de Montevideo, who was promoted to the Primera División in 2000, but was relegated back to the Segunda División in 2002.