Sir MV was born in 1861 in a Telugu Brahmin family to Mokshagundam Srinivasa Shastry and Venkatalakshmamma in Muddenahalli village, 40 miles from Bangalore, India. Their family migrated from Mokshagundam village in Prakasam district in Andhra Pradesh. His father was a Sanskrit scholar and an authority on Hindu Dharmashastras (theology), besides being an Ayurvedic practitioner. Visvesvaraya lost his father at the age of 15. He enrolled for primary school in Chikballapur and attended high school in Bangalore. He earned his Bachelor of Arts from Central College,Bangalore affiliated to Madras University in 1881 and later studied civil engineering at the prestigious College of Engineering, Pune, popularly known as CoEP.
Upon graduating as an engineer, Visvesvaraya took up a job with the Public Works Department (PWD) of Mumbai and was later invited to join the Indian Irrigation Commission. He implemented an extremely intricate system of irrigation in the Deccan area. He also designed and patented a system of automatic weir water floodgates that were first installed in 1903 at the Khadakvasla Reservoir near Pune. These gates were employed to raise the flood supply level of storage in the