Market failure happens when the price mechanism fails to allocate scarce resources efficiently or when the operation of market forces lead to a net social welfare loss
Market failure exists when the competitive outcome of markets is not satisfactory from the point of view of society. What is satisfactory nearly always involves value judgments.
Complete and partial market failure
Markets can fail for lots of reasons: