Riells i Viabrea is a municipality in the province of Girona, in the autonomous community of Catalonia, Spain. It covers an area of about 27 square kilometres (10 square miles).
The municipality had a population of 4,000 in 2014. It is one of the smaller municipalities of the Girona province, located in the comarca of Selva within Catalonia.