"I am most disappointed with this judgement. It feels very intolerant and violative of basic human rights. It's a shame," Aamir said in a statement.
Section 377 of the IPC holds that a same gender sexual relationship is against the order of nature and is an offence.
"My Brother…Nikhil" director Onir expressed his views on his Twitter handle.
He wrote Wednesday: "A dark day in the history of judiciary and human rights in India. I am angry by the Supreme Court ruling on IPC 377."
Actor-producer John Abraham, who acted as a cross-dresser in Vishal Bhardwaj's "7 Khoon Maaf", is also disappointed by the decision.
"India has harboured archaic prejudices once again. The Supreme Court has criminalised homosexuality," John tweeted post the judgement.