Kantian ethics refers to a deontological ethical theory ascribed to the German philosopher Immanuel Kant. The theory, developed as a result of Enlightenment rationalism, is based on the view that the only intrinsically good thing is a good will; an action can only be good if its maxim – the principle behind it – is duty to the moral law. Central to Kant's construction of the moral law is the categorical imperative, which acts on all people, regardless of their interests or desires. Kant formulated the categorical imperative in various ways. His principle of universalizability requires that, for an action to be permissible, it must be possible to apply it to all people without a contradiction occurring. If a contradiction occurs the act violates Aristotle's "Non-contradiction" concept which states that just actions cannot lead to contradictions. Kant's formulation of humanity, the second section of the Categorical Imperative, states that as an end in itself humans are required never to treat others merely as a means to an end, but always, additionally, as ends in themselves. The formulation of autonomy concludes that rational agents are bound to the moral law by their own will, while Kant's concept of the Kingdom of Ends requires that people act as if the principles of their actions establish a law for a hypothetical kingdom. Kant also distinguished between perfect and imperfect duties. A perfect duty, such as the duty not to lie, always holds true; an imperfect duty, such as the duty to give to charity, can be made flexible and applied in particular time and place.
American philosopher Louis Pojman has cited Pietism, political philosopher Jean-Jacques Rousseau, the modern debate between rationalism and empiricism, and the influence of natural law as influences on the development of Kant's ethics. Other philosophers have argued that Kant's parents and his teacher, Martin Knutzen, influenced his ethics. Those influenced by Kantian ethics include philosopher Jürgen Habermas, political philosopher John Rawls, and psychoanalyst Jacques Lacan. German philosopher G. W. F. Hegel criticised Kant for not providing specific enough detail in his moral theory to affect decision-making and for denying human nature. German philosopher Arthur Schopenhauer argued that ethics should attempt to describe how people behave and criticised Kant for being prescriptive. Michael Stocker has argued that acting out of duty can diminish other moral motivations such as friendship, while Marcia Baron has defended the theory by arguing that duty does not diminish other motivations. The Catholic Church has criticised Kant's ethics as contradictory and regards Christian ethics as more compatible with virtue ethics.