Rayakottai, also spelled Rayakotta is a town in Denkanikottai taluk, Krishnagiri District, Tamil Nadu, India.
The fort was built by erstwhile Vijayanagara Raya Kings[4] in 14th century.
Later post 16th century the fort became part of Mysore Wadiyar Kings.
During the Third Anglo-Mysore War The fort was captured by Major Gowdie in 1791 from Tipu Sultan and as per the Treaty of Srirangapatna, the fort and settlements were annexed to Madras Presidency by the British.It is now one of the protected monuments by the Archaeological Survey of India.
In 2024 the town became part of Indian National Highway network with Rayakottai as mid point between Dharmapuri and Hosur by the newly constructed 6 lane NH 844 2.Government's Krishnagiri District website 3.