Rayachoti is a town in Kadapa district of the Indian state of Andhra Pradesh. It is a municipality in Rayachoti Mandal of the Kadapa revenue division. It is the 3rd largest town in Kadapa District, behind Kadapa and Proddatur in size and population. It is one of the oldest towns in Andhra Pradesh.