A person may obey the law without believing that it is right. Another may break a law because they believe that following it would be morally wrong. Between these two situations lies one of the oldest and most difficult questions in legal philosophy: should we judge morality by the law, or should we judge the law by morality?
The question is not merely theoretical. It appears whenever a government restricts individual freedom in the name of public order, whenever a court examines a practice defended by tradition, and whenever a citizen must choose between personal conscience and legal obligation. It also arises in ordinary situations. A person may follow every legal requirement while treating others unfairly. Another may act out of compassion in a situation where the law provides no clear guidance.
These examples suggest that law and morality are closely connected, but they are not identical. Law establishes enforceable rules for society, while morality concerns our understanding of right and wrong. Sometimes the two reinforce each other. At other times, they disagree. Understanding this relationship is essential to understanding not only what law does, but also what it ought to do.
The Difference Between What Is Legal and What Is Right
Consider a simple situation. A person discovers that a shopkeeper has accidentally returned more money than necessary. The person notices the mistake but decides to keep the extra amount. Depending on the circumstances and the applicable law, the conduct may raise a legal question. Even where no legal proceedings follow, however, the decision can still be criticised as dishonest.
Now consider a different situation. A person refuses to follow an unjust rule because compliance would violate a deeply held moral conviction. Whether that refusal is legally permissible depends on the particular rule and the circumstances. The person's moral intention does not automatically remove legal consequences.
The examples reveal an important distinction. Legality and morality ask different questions. Law asks whether conduct is permitted, prohibited, required or punishable under the applicable legal system. Morality asks whether conduct is right, fair, compassionate or justified.
The distinction matters because neither system can replace the other completely. If every immoral act were treated as a legal offence, the state would exercise excessive control over private life. People would face legal punishment for personal choices, unkind behaviour, selfish attitudes and failures to meet every social expectation. Such a system would leave little room for individual freedom.
At the same time, if legality were treated as the only standard of right conduct, the law itself would become immune from moral criticism. A rule would be considered acceptable simply because the appropriate authority had enacted it. History offers ample reason to reject that assumption. The more useful position is to recognise that law and morality have different functions while allowing each to question and influence the other.
Can a Law Be Valid Yet Morally Wrong?
This question lies at the centre of jurisprudence. Legal philosophers have approached it from different directions, and their disagreements continue to influence contemporary legal thinking.
H.L.A. Hart, one of the leading legal positivists, argued that the existence and validity of law should be distinguished from its moral merits. Under this approach, identifying a rule as law does not require us to conclude that the rule is morally good. A legally valid rule may still deserve criticism, resistance through lawful means or repeal.[1]
This distinction is valuable because it prevents legal analysis from becoming confused. If a rule is unjust, we should be able to identify it as law while explaining why it ought to change. Otherwise, the statement that an unjust rule is not really law may conceal the very problem that needs to be confronted.
Lon L. Fuller approached the relationship differently. In The Morality of Law, he examined the principles that make a functioning system of law possible. His account emphasised requirements such as generality, publicity, clarity, consistency, relative stability and congruence between announced rules and official action.[2] These principles concern the manner in which law is created and administered.
Fuller's argument draws attention to something easily overlooked. A government cannot reasonably demand that citizens follow rules that are secret, incomprehensible or constantly changing. Nor can it maintain the authority of law if officials routinely act contrary to the rules they announce.
Hart and Fuller differed in their understanding of the relationship between law and morality, but their work helps identify two separate questions. The first is whether a rule belongs to a legal system. The second is whether the rule and the system administering it deserve moral approval. A mature legal order must be capable of answering both questions honestly.
When Society's Morality Conflicts With Individual Freedom
One of the most difficult challenges arises when a majority considers a particular practice immoral and expects the state to prohibit it. Society needs shared standards. Laws against violence, exploitation and fraud reflect the importance of protecting people from harm. Yet the existence of a widespread moral belief does not automatically establish that the state should enforce it.
A majority may sincerely believe that a particular way of living is undesirable. The relevant question is whether that belief provides a sufficient justification for restricting another person's liberty. In a constitutional democracy, the answer cannot depend solely on the number of people who hold that belief. This is particularly important in matters involving personal identity, intimate relationships, religious conscience and individual choice. A person's freedom does not disappear merely because their choices differ from the preferences of the majority.
India's constitutional experience offers a significant illustration. In Navtej Singh Johar v. Union of India, the Supreme Court of India, in 2018, read down Section 377 of the Indian Penal Code, 1860, to the extent that it criminalised consensual sexual conduct between adults in private.[3] The decision rejected the use of prevailing social disapproval as a sufficient justification for denying constitutional protection to consenting adults.
The judgment emphasised constitutional morality, a concept that requires public institutions to remain faithful to constitutional values rather than simply reproduce dominant social attitudes. Equality, dignity, liberty and individual autonomy cannot be made dependent on whether a person's identity or relationships are accepted by the majority.
The importance of the decision extends beyond the particular provision involved. It illustrates that moral disagreement within society does not necessarily justify legal coercion. The state must offer a constitutionally defensible reason for restricting freedom. This does not mean that every moral concern is irrelevant to legislation. Moral reasoning can help identify injustice, exploitation and harm. The difficulty lies in distinguishing a genuine public justification from an attempt to impose one section of society's preferences on everyone else.
Constitutional Morality and Social Morality
The distinction between constitutional morality and social morality deserves particular attention in India. Social morality develops through family practices, religious beliefs, customs, community expectations and changing public attitudes. It is neither uniform nor permanent. Different communities may hold different moral positions, and the beliefs of the same community may change over time.
Constitutional morality, by contrast, refers to fidelity to the principles and institutional commitments of the Constitution. It requires public authorities to respect constitutional limitations even when popular opinion favours a different course. The Indian Constitution provides the framework for this distinction. Article 14 guarantees equality before the law and equal protection of the laws. Article 21 protects life and personal liberty, subject to the constitutional requirements governing their deprivation. Article 19 protects specified freedoms, subject to the restrictions permitted by the relevant clauses.[4]
These provisions do not eliminate every disagreement about morality. They provide standards against which state action can be assessed. Suppose a practice has existed for generations and is supported by a substantial section of society. Its age and popularity may be relevant to understanding its social significance, but they do not settle its constitutional status. A practice must still be examined in light of applicable constitutional guarantees and limitations.
Similarly, a law enacted by an elected legislature does not become constitutionally unquestionable merely because it reflects the preferences of the majority. Democratic authority is important, but it operates within constitutional boundaries.
This is one of the essential functions of judicial review. Courts do not possess unlimited authority to substitute their personal moral preferences for legislative choices. Their responsibility is to interpret and apply the Constitution, examine the legality of state action and provide remedies where constitutional rights have been violated. Constitutional morality therefore does not mean that judges should impose their own moral philosophy on society. It means that constitutional principles must guide the exercise of public power, including judicial power.
Should Every Immoral Act Be Illegal?
If morality is important to law, why not make every immoral act punishable?
The answer lies partly in the nature of freedom and partly in the limits of state authority. People may be selfish, dishonest in everyday dealings, discourteous or indifferent to the suffering of others without necessarily committing a legal offence. These behaviours may attract criticism, damage relationships or weaken social trust. Yet criminalising every moral failure would create an intrusive state with an unrealistic responsibility to regulate human character.
Law is not designed to produce perfect human beings. It establishes minimum standards of conduct that can be publicly justified and, where necessary, enforced. The distinction becomes clearer when we consider private choices. An individual may disapprove of another person's lifestyle, dietary preferences or personal beliefs. That disapproval alone does not establish a legitimate basis for legal prohibition. Unless a legally relevant justification exists, personal morality should not become a compulsory rule for everyone.
The opposite problem is equally serious. Some conduct that was once defended as a private or customary matter has required legal intervention because it involved coercion, discrimination or serious harm. Domestic violence, exploitation and practices that deny people equal legal protection cannot be dismissed simply by describing them as matters of family or tradition.
The proper question is therefore not whether morality should influence law in every situation. It is which moral concerns justify legal regulation, by what means, and within what limits. A sound legal response should consider the nature of the harm, the rights of those affected, the effectiveness of the proposed restriction and whether a less intrusive measure could achieve the same legitimate purpose. The stronger the interference with individual freedom, the more carefully its justification should be examined.
When Legal Duty and Moral Conscience Collide
The relationship between law and morality becomes especially difficult when a person believes that obeying a legal rule would violate conscience. Civil disobedience provides one example. A person may deliberately violate a law to protest against an injustice that they believe ordinary political processes have failed to address. Such conduct can have considerable moral significance, but moral conviction alone does not make the act legally permissible.
The distinction is important. If every person could disregard any law simply by declaring it immoral, the predictability and authority of the legal system would be seriously weakened. Different individuals would apply incompatible standards, and the protection offered by common rules would become uncertain. Yet the opposite approach, which demands unquestioning obedience to every law, is equally unsatisfactory. It would leave no room for principled criticism of unjust institutions or for movements seeking necessary legal reform.
Mahatma Gandhi's political practice demonstrated the significance of conscience, non-violence and public resistance in challenging injustice. His campaigns against colonial authority were grounded in a moral understanding of political obligation that did not treat the commands of the state as the final measure of right conduct. However, the lesson should not be reduced to the claim that conscience always defeats law. Conscience itself can be mistaken, influenced by prejudice or used to justify harm to others. A person may sincerely believe that discrimination is morally justified. Sincerity does not make that belief defensible.
Moral resistance is therefore most persuasive when it rests on reasons that can be examined publicly, recognises the dignity of others and accepts responsibility for the consequences of the chosen course. Where lawful remedies are available, they remain important avenues for challenging injustice. Where civil disobedience occurs, its moral justification must be assessed separately from its legal consequences. The relationship between legal duty and conscience is not resolved by declaring one universally superior to the other. It requires careful attention to the nature of the rule, the injustice alleged, the available alternatives and the rights of everyone affected.
Can Morality Improve the Administration of Justice?
The relationship between law and morality does not end when a legislature enacts a statute. It continues in the daily administration of justice. Judges interpret legal provisions, assess evidence and explain their decisions. Lawyers represent clients whose interests may conflict with their own personal beliefs. Police officers exercise powers that can affect liberty and dignity. Public officials make decisions that may determine whether citizens receive benefits, protection or fair treatment.
In each setting, legal authority must be exercised responsibly. A judge cannot decide a case merely according to personal sympathy. The decision must be grounded in law, evidence, relevant principles and reasoned justification. At the same time, interpretation often requires attention to the purpose of a provision, the consequences of competing readings and the rights affected by the decision.
Similarly, a lawyer's duty is not to secure a favourable result by any means available. Professional responsibility requires respect for the legal process and the duties governing advocacy. A person accused of a serious offence remains entitled to a fair procedure, regardless of public anger or the nature of the allegation. This is where morality becomes relevant without replacing legal rules. Fairness, honesty, impartiality and respect for human dignity help sustain the institutions through which law operates. They do not authorise officials to ignore statutes whenever they disagree with them. Instead, they inform how legal powers should be exercised within the limits of law.
The distinction is especially significant in criminal justice. Public outrage may create pressure for immediate punishment, but the purpose of a criminal trial is not to satisfy public emotion. It is to determine legal responsibility through a fair process. Punishing a person without adequate proof would remain unjust even if the public strongly believed that the accused was guilty. Justice requires more than a desirable outcome. It also requires a legitimate process through which that outcome is reached.
The Danger of Allowing Morality to Become Absolute
Although moral values can improve law, appeals to morality can also be dangerous when they are treated as unquestionable. Governments have sometimes justified restrictions on freedom by invoking public decency, social order, cultural preservation or the protection of traditional values. Such objectives may sometimes be legitimate, but their use does not remove the need for scrutiny.
The word morality can conceal important disagreements. Whose morality is being invoked? Is the restriction intended to prevent harm, protect vulnerable people or preserve the authority of a dominant group? Does the measure respect the equal rights of those who disagree?
These questions matter because moral language can be used to defend both compassion and exclusion. It can support efforts to protect vulnerable individuals, but it can also be used to stigmatise minorities and deny people equal participation in society. A constitutional democracy must therefore resist two extremes. The first treats law as sufficient justification for itself, regardless of its consequences. The second assumes that a moral conviction becomes a proper basis for coercion merely because it is sincerely held or widely shared.
Neither position provides an adequate foundation for justice. The better approach requires public reasons, constitutional limits, respect for individual dignity and an openness to criticism. Moral claims that influence legal rules should be capable of examination rather than insulated from disagreement.
Where Should the Balance Be Found?
Law and morality meet most productively when each performs its proper function. Morality encourages us to question whether existing rules are fair, whether institutions treat people with dignity and whether legal arrangements protect those who lack social or political power. Law gives certain shared standards an institutional form, establishes procedures for resolving disputes and provides enforceable protection against specified wrongs.
Their relationship is therefore neither complete separation nor complete identity. Moral values can influence legislation, constitutional interpretation and legal reform, but moral disagreement cannot always be resolved through legal prohibition. Likewise, the legal validity of a rule does not guarantee its moral legitimacy.
For India, the Constitution provides an especially important framework for managing this relationship. It recognises democratic government while placing limits on public power. It protects individual rights while permitting restrictions in circumstances authorised by the Constitution. It allows social values to develop while preventing majority preference from becoming the sole measure of constitutional justice.
The difficult task is to determine when moral concerns justify legal intervention and when they should remain matters of personal conviction, social persuasion or democratic debate. No single formula will answer every question. The circumstances, the rights involved and the nature of the proposed restriction must be examined carefully.
Ultimately, the quality of a legal system should not be measured only by how effectively it compels obedience. It should also be assessed by whether its rules can be justified to the people who must live under them, whether its institutions apply those rules fairly and whether it provides meaningful ways to challenge injustice. A society needs laws because individual interests conflict and good intentions alone cannot guarantee fairness. It needs morality because legal authority, left without criticism, can become an instrument of power rather than justice.
The most important meeting point between law and morality is therefore not the moment when the two happen to agree. It is the moment when a society is willing to examine its laws, question its assumptions and correct its injustices without abandoning the principles that make lawful government possible.
Endnotes
1. H.L.A. Hart, The Concept of Law, 3rd ed. (Oxford: Oxford University Press, 2012).
2. Lon L. Fuller, The Morality of Law, rev. ed. (New Haven: Yale University Press, 1969).
3. Navtej Singh Johar v. Union of India, (2018) 10 SCC 1, judgment dated 6 September 2018.
4. Constitution of India, arts. 14, 19 and 21. See also State of Madras v. V.G. Row, AIR 1952 SC 196.
Legal Narrative