However, it has faced scrutiny over recent years as enrolment has been made mandatory for the filing of tax returns, opening of bank accounts and any purchases above 50,000 rupees ($780). It is estimated that over 99 percent of Indians aged 18 and above are now enrolled in the scheme.
The Indian government's lawyers said during the hearing of the case that citizens did not have an absolute right over their bodies, meaning that citizens could be forced to give their biometric data to the state.
The nine-judge bench unanimously opposed this argument. A smaller bench will now look at the specific implications of the ruling on the validity of the Aadhaar scheme.
Firat Unlu, leading India analyst at the Economist Intelligence Unit, said that the privacy and data protection concerns raised over Aadhaar were "justified", but said that the review should also consider the "large economic and social benefits" the program brings in combating inefficiencies and corruption.
He added that the ruling is likely to have implications for private companies, too.
"The ruling will set the backdrop for changes going well beyond just Aadhaar. For instance, we may see an impact on data collection in the private sector or India's libel laws. In the longer term, private companies may be impacted by this ruling just as much as the government," Unlu told CNBC via email.
The fundamental right of citizens to privacy was previously voted against in India by an eight-judge bench in 1954 and again in 1962 by a six-judge bench.
Follow CNBC International on Twitter and Facebook.