Olius is a municipality in the comarca of Solsonès, in the autonomous community of Catalonia, Spain. It lies in the province of Lleida, in the inland part of Catalonia.
The municipality has a population of 990. It is one of the smaller municipalities of the Solsonès comarca, a predominantly rural district in central Catalonia.