It is important to note that a change from a generally inefficient economic allocation to an efficient one is not necessarily a Pareto improvement.
Under certain idealized conditions, it can be shown that a system of free markets, also called a competitive equilibrium, will lead to a Pareto efficient outcome.