The oldest code of law in India is the Manu Smriti, also known as the Laws of Manu.
It is an ancient legal text composed between 200 BCE and 200 CE and is considered one of the earliest and most important Dharmaśāstras, which are treatises on law and conduct in Hindu tradition.
The Manu Smriti lays down guidelines on various aspects of life, including social duties, moral conduct, civil law, and criminal law.
Its influence can be seen in the traditional legal and social systems in India, although modern Indian law is based on a combination of statutory laws and judicial decisions.
Conclusion:
The Manu Smriti is recognized as the oldest code of law in India.