The Doctrine of Philosophical Necessity (1777) is one of the major metaphysical works of 18th-century British polymath Joseph Priestley.
Between 1774 and 1778, while serving as an assistant to Lord Shelburne, Priestley wrote a series of five major metaphysical works, arguing for a materialist philosophy even though such a position "entailed denial of free will and the soul."
Continuing the arguments he had started in The Examination of Dr. Reid's Inquiry… Dr. Beattie's Essay… and Dr. Oswald's Appeal (1774) and Disquisitions relating to Matter and Spirit (1777), Priestley published The Doctrine of Philosophical Necessity Illustrated (1777), an "appendix" to the Disquisitions that "suggests that materialism and determinism are mutually supporting." Priestley explicitly stated that humans had no free will: "all things, past, present, and to come, are precisely what the Author of nature really intended them to be, and has made provision for." He was the first to claim that what he called "philosophical necessity" (a position akin to absolute determinism) is consonant with Christianity. His philosophy was based on his theological interpretation of the natural world; like the rest of nature, man's mind is subject to the laws of causation, but because a benevolent God created these laws, Priestley argued, the world and the men in it will eventually be perfected. He argued that the associations made in a person's mind were a necessary product of their lived experience because Hartley's theory of associationism was analogous to natural laws such as gravity. Priestley contends that his necessarianism can be distinguished from fatalism and predestination because it relies on natural law. Isaac Kramnick points out the paradox of Priestley's positions: as a reformer, he argued that political change was essential to human happiness and urged his readers to participate, but he also claimed in works such as Philosophical Necessity that humans have no free will.
Philosophical Necessity influenced the 19th-century utilitarians John Stuart Mill and Herbert Spencer, who were drawn to its determinism. Immanuel Kant, entranced by Priestley's determinism but repelled by his reliance on observed reality, created a transcendental version of determinism that he claimed allowed the mind and soul freedom.