The Ranganatha Swamy and the Someshwara temples are located in the historic town of Magadi, about 41 km from Bangalore, the capital of the Indian state of Karnataka. These temples are protected monuments under the Karnataka state division of the Archaeological Survey of India.