The town of Virajpet also spelled as Virajapete is the second town of the district of Kodagu, in Karnataka. It is the main town of the Virajpet taluka, in the south of the district. The name is an abbreviation of Virarajendrapete after the former ruler of Kodagu, Virarajendra, and this latter form is still sometimes used.It is a small town of importance for the local coffee and spice crops. Nearby towns are Gonikoppal, Ammathi and Ponnampet. Virajpet is around 30 km away from Madikeri, the district headquarters and is about 250 km from Bangalore and 165 km from Mangalore. The only way to reach Virajpet is by road.