A socialist state, socialist republic, or socialist country, sometimes referred to as a workers' state or workers' republic, is a sovereign state constitutionally dedicated to the establishment of socialism. The term communist state is often used synonymously in the West, specifically when referring to one-party socialist states governed by Marxist–Leninist communist parties, despite these countries being officially socialist states in the process of building socialism and progressing toward a communist society. These countries never describe themselves as communist nor as having implemented a communist society. Additionally, a number of countries that are multi-party capitalist states make references to socialism in their constitutions, in most cases alluding to the building of a socialist society, naming socialism, claiming to be a socialist state, or including the term people's republic or socialist republic in their country's full name, although this does not necessarily reflect the structure and development paths of these countries' political and economic systems. Currently, these countries include Algeria, Bangladesh, Guyana, India, Nepal, Nicaragua, Sri Lanka and Tanzania.
The idea of a socialist state stems from the broader notion of state socialism, the political perspective that the working class needs to use state power and government policy to establish a socialised economic system. This may either mean a system where the means of production, distribution, and exchange are nationalised or under state ownership, or simply a system in which social values or workers' interests have economic priority. However, the concept of a socialist state is mainly advocated by Marxist–Leninists and most socialist states have been established by political parties adhering to Marxism–Leninism or some national variation thereof such as Maoism, Stalinism, or Titoism. A state, whether socialist or not, is opposed the most by anarchists, who reject the idea that the state can be used to establish a socialist society due to its hierarchical and arguably coercive nature, considering a socialist state or state socialism as an oxymoron.