Objective: to compare the ideologies of liberalism and socialism in economic science in the context of the current stage of their evolution. For this purpose, the paper identifies the goals of these ideologies by analyzing the scientific narratives of economists. The study is also aimed at identifying similarities and differences between the ideologies of liberalism andsocialism. Methods: qualitative methods, narrative analysis, review of scientific literature. Results: the comparison of common interpretations of the “ideology” concept in various branches of economics and in other social sciences shows differences in terminology. The comparison of the liberalism and socialism ideologies in economics shows the difference between the declared goals of liberals and socialists. The goal of liberalism ideology is human freedom,and of socialism ideology – distribution equality. The ideologies considered are internally heterogeneous and have evolved over time. At present, liberalism is continued in neoliberalism, which aims at increasing the population wealth rather than freedom as an end in itself. There are non-egalitarian interpretations of the essence of socialism, which reduce it to the economy governmentalization. There are also debates about the advantages of the market over centralized planning in socialism. The extremes of the ideologies of liberalism and socialism can be clearly distinguished, but in practice, many studies take an intermediate position. A common feature of liberalism and socialism is their modernist character and criticism of archaic economic institutions designed to redistribute wealth from the poor to the rich. Scientific novelty: it consists in identifying the economic goals proclaimed by the ideologies of liberalism and socialism, based on the analysis of the relevant theoretical narratives in scientific literature. Practical significance: it is determined by the need to understand the factors influencing the economists’ worldview. Studying the ideologies of liberalism and socialism is useful for understanding the intent of the authors of recommendations for improving the institutions of the modern Russian economic order.