Marx's theory of the state comprises the political theories developed by Karl Marx and Friedrich Engels concerning the state as an institution, its origins, its development, and its role in society and class struggle. Marx's view of the state evolved throughout his life, moving from a youthful embrace of conventional republicanism to a later critique of the state as an instrument of class rule and ultimately to the conclusion that the state must be abolished. Rather than a single, coherent theory, Marx and Engels's work on the state contains a variety of perspectives that co-exist in an "uneasy and unstable relation", providing the basis for the subsequent diversification of Marxist state theories.

The scholarship of political scientist Richard N. Hunt has shown that Marx and Engels's mature thought contains two distinct, though interwoven, theories of the state, developed independently by each man before their later synthesis. Marx first developed a theory of the state as a "parasite", an alienated social institution separate from society with its own interests. Drawing on his experience as an editor of the Rheinische Zeitung and his critique of Georg Wilhelm Friedrich Hegel's philosophy, Marx saw the state's bureaucracy as its core, an entity that treated the state as its own "private property". Concurrently, Engels, based on his observations of the English political system in Manchester, developed a theory of the state as an instrument of class rule—a "class state" controlled by the propertied classes to oppress the propertyless.

The two men later synthesized these views in The German Ideology, positing that the state is generally an instrument of the ruling class but can, under certain conditions, achieve a degree of independence from all social classes. The "parasite state" model was later applied to historical forms such as absolute monarchy, Bonapartism, and Oriental despotism. In their mature work, Marx and Engels also analyzed the state as a factor of social cohesion, whose function is to moderate class conflict and maintain the social order.

In the transition to communism, Marx and Engels argued for a "dictatorship of the proletariat". For them, this was not a dictatorial regime in the modern sense but rather the democratic rule of the entire working class during a transitional revolutionary period. They sharply distinguished this majoritarian, democratic concept from the Blanquist model of a dictatorship by an elite revolutionary vanguard. In their late careers, Marx and Engels also developed new theories of revolutionary strategy, outlining a path for "legal revolution" in countries with democratic institutions and, conversely, a strategy for "skipping stages" of development in backward, peasant-based countries like Russia. The ultimate goal of communism was the establishment of a stateless society. They argued that the professional, bureaucratic "parasite state" would be transcended by a system of popular self-administration modeled on the Paris Commune—a "democracy without professionals". The coercive "class state" would "wither away" as class conflict ceased.

Early democratic republicanism (1842–1843)

Marx's earliest political theories, developed during his tenure as editor of the Rheinische Zeitung (1842–1843), were rooted in the democratic republican tradition and the philosophy of Georg Wilhelm Friedrich Hegel. During this period, Marx did not yet see the state as an expression of class interests but rather as an entity that stood in opposition to private interests. He defended liberal democratic principles, including freedom of the press, popular sovereignty, and the separation of governmental powers, seeing these as essential for a rational and ethical state. As a "democratic extremist", Marx criticised not only the Prussian government but also the liberal opposition, who he believed were compromising on the principle of democracy.

His critique of the Prussian state centred on its bureaucracy. Drawing on Hegel's distinction between the state and civil society, Marx initially conceived of the bureaucracy as the "universal class" meant to mediate between the particular interests of civil society and the general interest of the state. However, his direct experience with the arbitrary power of Prussian censors and the government's defense of landed interests (as in the debates on the wood-theft laws) led him to a radical revision of this view. He concluded that the bureaucracy, far from being a neutral arbiter, had become a self-interested "party against another party".

In articles such as his critique of the Prussian censorship instruction and his analysis of the distress of the Moselle winegrowers, Marx argued that the bureaucracy had become an alienated power that treated the state as its own private domain. He wrote that the state official "debases the interest of the state into his own private interest". The bureaucracy, with its internal hierarchy, secrecy, and "haughty conceit", transforms the state's aims into the aims of its own bureaus, standing in opposition to the very society it is supposed to serve. He championed a radical conception of democracy based on "democratic control from below", arguing that the authority of elected representatives stemmed entirely from the people they represent and not from any fetishistic reverence for the state itself. This analysis marked the beginning of Marx's theory of the state as a parasitic institution, a concept he would develop more fully in his critique of Hegel.

The "parasite state" theory (1843)

In the summer of 1843, after the suppression of the Rheinische Zeitung, Marx secluded himself in Kreuznach and produced his Critique of Hegel's Philosophy of Right. This manuscript contains his first systematic formulation of a theory of the state. According to Richard N. Hunt, this theory presents the state as a "parasite", an alienated power feeding on society. Influenced by Ludwig Feuerbach's "transformative method", which treated religious alienation as a projection of human qualities onto a divine being, Marx applied a similar critique to political alienation. He inverted Hegel's philosophy, arguing that the state does not produce civil society; rather, civil society produces the state. The state, for Marx, was not the "actuality of the ethical Idea" as Hegel claimed, but an emanation of the material conditions of civil society. There is considerable scholarly debate over the maturity of this early theory. Some, like Lucio Colletti, have argued that it represents a near-definitive Marxist theory of the state, while others, like Bob Jessop, contend that it remains heavily imbued with philosophical abstractions and lacks the foundations of historical materialism.

Marx traced the historical development of this separation between the "political state" and "civil society". In the polis of classical antiquity, the res publica was the "real private concern" of the citizen; there was no separation between public and private life. In the Middle Ages, political functions were diffused throughout society, with every private sphere (estates, guilds, corporations) having a political character. This was what Marx called the "democracy of unfreedom". The modern era, beginning with the French Revolution, completed the separation. The revolution "abolished the political character of civil society", reducing it to a sphere of atomistic, egoistic individuals, while simultaneously creating a separate, alienated political sphere in the modern state.

This modern state is a parasitic entity whose core is the bureaucracy. The bureaucracy "holds the state in its possession; it is its private property". It is an "imaginary state alongside the real state", with its own interests and logic, operating in opposition to civil society. This theory does not present the state as an instrument of a particular social class. Instead, the ruler and his bureaucrats are their own masters, serving only their own interests. The ultimate goal for Marx was to overcome this alienation and reabsorb the state into society, creating a "true democracy" where the separation between public and private life would be abolished, and public affairs would once again become the direct concern of every citizen.

Engels and the "class state" theory (1843–1845)

While Marx was developing his theory of the parasite state in Germany, Friedrich Engels was independently formulating a different theory based on his experiences in England between 1842 and 1844. Hunt identifies this as the theory of the "class state", where the state is an instrument used by a dominant economic class to oppress other classes. In contrast to Marx's Hegelian-inspired philosophical path, Engels's stay in Manchester was the "fundamental formative influence" that enabled him to anticipate the mature Marxian class theory of the state.

Engels's analysis of the English constitution, detailed in a series of articles written from Manchester, concluded that behind its formal structure of a balance of powers lay the reality of class rule. He argued that the monarchy had been reduced to a ceremonial role and the House of Lords was an impotent "old people's home for retired statesmen". Real power resided in the House of Commons, but this body was not "really democratic". Through property qualifications for voting and running for office, as well as outright corruption, the Commons was controlled by the propertied classes: the landed aristocracy and the rising industrial and commercial bourgeoisie. For Engels, "Property rules" was the essential truth of the English system.

Engels saw the state, including its legal system and police, as an apparatus of coercion designed to protect property and maintain the subjugation of the propertyless working class (the proletariat). He documented how rights such as freedom of the press, freedom of assembly, and even habeas corpus were effectively guaranteed only for the wealthy. From these observations, Engels concluded that "political history" was a struggle between classes for control of the state, which then becomes the primary instrument for the dominance of one class over another. This instrumentalist view of the state, where political power is a direct function of economic power, stood in contrast to Marx's contemporary view of the state as an autonomous, parasitic entity.

Synthesis and later applications When Marx and Engels began their close collaboration in Brussels in 1845, they merged their two distinct theories of the state into a more complex, unified whole. This synthesis is most clearly articulated in their joint work, The German Ideology (1846). The result was a dual theory that could account for both the state's typical role as an instrument of class rule and its ability, in certain historical circumstances, to achieve a degree of autonomy. Scholars like Jessop have identified several distinct but interconnected themes in their mature work, including the state as an instrument of class rule, a factor of social cohesion, an institutional ensemble, and a reflection of the economic base.