Merit goods are "goods or services considered to be beneficial for people that would be under-provided by the market and so under-consumed." Examples include education, healthcare and vaccinations. Market failure is "the failure of markets to produce at the point where community surplus (consumer surplus + producer surplus) is maximised." Merit goods are underprovided and underconsumed for three main reasons. First, many create positive externalities of consumption, benefits to third parties that consumers do not take into account. Second, consumers may have imperfect information and underestimate the benefits of the good to themselves. Third, people on low incomes may be unable to afford them. In each case, the demand for the good is lower than it would be if it reflected the good's full benefit to society, so the market produces less than the socially optimal quantity.
Positive externalities of consumption are "the beneficial effects that are enjoyed by a third party when a good or service is consumed." A person who is vaccinated against a contagious disease protects not only themselves but also the people around them, because they cannot pass the disease on. Similarly, a person who receives education benefits themselves, but society also gains from a more productive workforce. Consumers decide how much to buy by comparing their own marginal private benefit (MPB) with the price. They do not take into account the external benefits to others, so the marginal social benefit (MSB) of the good is greater than its MPB.
In Figure 1, the demand curve, D = MPB, shows the benefit consumers receive themselves. MSB lies above it, and the vertical distance between them is the external benefit of each unit. Since there are no external costs or benefits in production, supply shows both marginal private cost and marginal social cost, S = MPC = MSC. The market reaches equilibrium where MPB = MPC, at Qm. The socially optimal output, however, is Qopt, where MSB = MSC. For every unit between Qm and Qopt, MSB > MSC: society values the unit more than it costs to produce, so producing and consuming it would increase community surplus. Because consumers base their decisions on MPB, these units are not bought, and because demand is low, firms have no incentive to produce them. The good is therefore underconsumed and underprovided. Resources are underallocated to it, and the surplus these units would have created is lost as the shaded welfare loss.
Merit goods may also be underconsumed because consumers lack information about their benefits. Many of the benefits of merit goods are long term and difficult to judge. A person may not realise how much a regular health check-up could reduce their risk of serious illness, or how much an extra year of education could raise their future earnings. Because they underestimate the good's benefit to themselves, their demand is lower than it would be if they were fully informed. Some consumers also give too little weight to future benefits compared with present costs, which lowers their demand further. As a result, the demand curve lies below the true benefit of the good, consumption falls below the optimal level, and resources are underallocated, even before any external benefits are considered.
Finally, demand reflects not only how much consumers value a good, but also whether they can afford it. Demand shows the quantities consumers are willing and able to buy at each price. People on low incomes may value healthcare or education highly, but be unable to pay for them, so their need does not appear as demand in the market. Market demand is therefore lower than the good's true benefit to society, and firms respond only to demand that is backed by the ability to pay. The market provides less of the good than society needs, and it is consumed mainly by those who can afford it. This is not only an underallocation of resources, but also an inequitable outcome, because access to goods that are important for people's welfare depends on income. For all three reasons, the market produces and consumes less of a merit good than the socially optimal quantity, which is a market failure.