Rūjiena is a town in Valmiera Municipality, in the Vidzeme region of Latvia. It is located in the northern part of the country, near the Estonian border.
As of 2017, Rūjiena had a population of 3,007. It is one of the smaller towns in the Vidzeme region.