The course uses the role of law in the series to draw parallels between the stories and real-life situations.
Professor Shouvik Kumar Guha, who designed it, says it is an "experiment" to "encourage creative thinking."
Several universities in the US and at least one in the UK also offer courses inspired by the famous series.
The course in India, which is entitled "An interface between Fantasy Fiction Literature and Law: Special focus on Rowling's Potterverse", is expected to include a total of 45 hours of discussion-based teaching.
Some of the topics mentioned in the course module point out how social and class rights in India can be equated with the "enslavement of house-elves and the marginalisation of werewolves" in the fantasy series.
Mr Guha said the course, which begins in December, has already reached its capacity of 40 students and many other students have since approached him with requests to increase the class size.
Harry Potter's unmatched popularity in India is the reason Mr Guha decided to pick the series as opposed to Game of Thrones or Star Trek, he said.
The course will be offered as an elective to senior students at Kolkata's National University of Juridical Sciences.