In Marxist theory, socialism, also called the socialist mode of production, refers to a specific historical phase of economic development and its corresponding set of social relations that supersede capitalism in the schema of historical materialism. The Marxist definition of socialism is a mode of production where the sole criterion for production is use-value and therefore the law of value no longer directs economic activity. Marxist production for use is coordinated through conscious economic planning, while distribution of economic output is based on the principle of to each according to his contribution. The social relations of socialism are characterized by the working class effectively owning the means of production and the means of their livelihood, either through cooperative enterprises or by public ownership or private artisanal tools and self-management, so that the social surplus accrues to the working class and society as a whole.
This view is consistent with, and helped to inform, early conceptions of socialism where the law of value no longer directs economic activity, and thus monetary relations in the form of exchange-value, profit, interest and wage labor would not operate and apply to Marxist socialism.
The Marxian conception of socialism stands in contrast to other early conceptions of socialism, most notably early forms of market socialism based on classical economics such as mutualism and Ricardian socialism. Unlike the Marxian conception, these conceptions of socialism retained commodity exchange (markets) for labor and the means of production, seeking to perfect the market process. The Marxist idea of socialism was also heavily opposed to utopian socialism.