Some forts announce themselves from miles off, and Rayakottai is one of them. Drive the back roads between Hosur and Krishnagiri and a single grey dome of granite rears out of the boulder-strewn plain, its bald summit ringed by broken walls that seem to grow straight out of the rock. This is the kind of hill that armies coveted: too steep to rush, too high to ignore, with a view that lets a garrison see trouble coming for a full day’s march in every direction. Little wonder that Tipu Sultan’s Mysore prized it — and that the British went to real trouble to take it.

Know before you go
  • Where: Rayakottai, Krishnagiri district, Tamil Nadu — roughly 35–40 km from both Hosur and Krishnagiri town.
  • What: A ruined hill fort on a granite outcrop, an Archaeological Survey of India protected monument; free to visit.
  • Climb: About 2.5 km up rocky, uneven and part rock-cut steps; 45 minutes to an hour at a steady pace. Moderate but genuinely steep in places.
  • Bring: 1–2 litres of water per person (there is none on the hill), sun protection and shoes with real grip.
  • Start early: Set off soon after dawn to beat the heat and leave daylight for the descent.

A fortress of the Baramahal

Rayakottai sits in the Baramahal — the tangled, hilly country that spills between the Mysore plateau and the Tamil plains, a land of red earth, thorn scrub and improbable heaps of rounded granite. The name means, roughly, “the fort of the Rayas”, a nod to the Vijayanagara kings credited with raising the first fortifications here in the fourteenth century. As Vijayanagara’s power waned, the hill passed to the Wodeyars of Mysore, and by the eighteenth century it had become one link in a chain of military outposts that Hyder Ali and his son Tipu Sultan used to guard the approaches to their Tamil campaigns. You can still read that layered history in the walls: rings of masonry wrapped around the natural rock, gateways, bastions and the shells of magazines where powder and stores were once kept. Today the Rayakottai Fort you climb to is a quiet ruin, but it was designed to be very hard to reach indeed.

Rolling forested slopes of the Bargur Hills in Krishnagiri district under a bright sky
The Bargur Hills, part of the wider fort-and-hill country that surrounds Rayakottai in Krishnagiri district.Photo: Saravankm / CC BY-SA 4.0 / Wikimedia Commons

The war that took the hill

In 1791 the fort changed hands for good. This was the Third Anglo-Mysore War, when Lord Cornwallis marched an enormous army against Tipu Sultan, aiming to break Mysore’s grip once and for all. While Tipu was drawn to the defence of his heartland, British columns fanned out to pick off the Baramahal forts, and Rayakottai — near-impregnable on its granite pedestal — was a prize target. It fell to a detachment under Major Gowdie in 1791. Captain Alexander Allan, who left an account of the campaign, recorded that the fort was held by a “respectable garrison” and that the victors carried off some thirteen guns and a quantity of military stores. When the war ended with the Treaty of Seringapatam the following year, Tipu was forced to cede the Baramahal, and Rayakottai passed with it into the new Madras Presidency — administered, famously, by the pioneering revenue officers Alexander Read and a young Thomas Munro.

It is worth being a little careful with the details that circulate about the storming — the exact rank and role attributed to Gowdie shift from telling to telling — but the essentials are well attested: a Mysore garrison, a determined British assault, and a capture in 1791 that ended the hill’s career as a fighting fortress.

The climb today

The reward for all this history is one of the more satisfying short treks in the district. The path runs about 2.5 km from the base and takes most people 45 minutes to an hour, though the word “path” flatters some stretches: you move over bare rock, uneven stone and steps cut into the granite, with big boulders offering natural rest stops around the midway point. It is not a technical scramble, but it is steep enough to get your heart going, and the surface can be slick, so proper footwear matters. Near the top the fortifications close in — walls following the contour of the rock, bastions with commanding sightlines, the crumbling outlines of old chambers and magazines. Then the ground falls away on every side and you get the payoff: a sweeping panorama over the hills, forests and boulder-fields of the Baramahal, the same view that made this rock worth fighting over.

Be honest with yourself about the conditions. There is no water on the hill and no shops or stalls at the top, so carry your own — one to two litres each — along with sun protection. The rock radiates heat by late morning, which is the real reason to start at dawn: cooler air on the way up, and plenty of daylight in hand for the descent, which on loose stone deserves as much respect as the climb.

Fort-and-hill country

Rayakottai is best enjoyed as part of a wider ramble through Krishnagiri’s fort-and-hill country. The district town has its own dramatic stronghold, the Krishnagiri Fort, perched on a rocky hill above the highway and likewise tangled up with the Mysore wars. To the south rise the forested Bargur Hills, home to a distinctive breed of hill cattle and a cooler, greener contrast to the sun-baked granite of the fort trails. Chained together, they make a fine day or two of history and legwork on the Tamil Nadu–Karnataka borderlands, well off the standard tourist circuit.

Visiting

Rayakottai is easiest with your own transport; it lies off the Hosur–Krishnagiri roads, and the trailhead is a short walk from the little town at the foot of the hill. Combine it with the town fort and the Bargur uplands, go early, carry water, and treat the descent with care. For a full itinerary around the region and its other strongholds, see /india/tamil-nadu/guides/krishnagiri-and-hosur-guide and /india/tamil-nadu/guides/forts-of-tamil-nadu .

Frequently asked questions

Who captured Rayakottai Fort from Tipu Sultan?

The fort was taken by a British detachment under Major Gowdie in 1791, during the Third Anglo-Mysore War, when Lord Cornwallis’s forces were reducing Tipu Sultan’s Baramahal strongholds. The precise rank and role given to Gowdie vary between accounts, but the 1791 capture itself is well documented.

How long and how hard is the Rayakottai Fort trek?

It is about 2.5 km to the top and takes most people 45 minutes to an hour. The route is moderate but genuinely steep, over bare rock, uneven ground and steps cut into the granite, so grippy footwear is important.

Is there water or food on the hill?

No. There are no water sources, shops or stalls on the hill or at the summit, so carry one to two litres of water per person and any snacks you may need.

When is the best time to climb?

Start soon after dawn. The granite heats up quickly, so an early start means cooler air on the ascent and enough daylight in hand for a safe descent.

How do I get to Rayakottai?

Rayakottai lies roughly 35–40 km from both Hosur and Krishnagiri town in Krishnagiri district. It is easiest to reach with your own vehicle; the trailhead is a short walk from the town at the base of the hill.

What else is worth seeing nearby?

Pair the fort with Krishnagiri Fort above the district town and the forested Bargur Hills to the south for a rounded tour of the area’s fort-and-hill country.