A tax creates no deadweight loss only when demand is perfectly inelastic—that is, when the quantity demanded does not change at all as the price rises—or, symmetrically, when supply is perfectly inelastic. In either case, the tax changes prices and transfers money to the government but does not change the quantity traded, so it does not destroy any of the gains from trade that would otherwise have occurred. The deadweight loss from a tax comes from transactions that no longer happen because of the tax; if the tax causes no transactions to disappear, there is no deadweight loss.

That is the direct answer, but it is worth being precise about what it means and what it does not. Perfectly inelastic demand is a limiting case, not a description of most real markets. And even when deadweight loss is zero, a tax is not necessarily painless: it still transfers surplus from buyers or sellers to the government, and it can still create administrative costs. The question is specifically about deadweight loss—the efficiency cost—not about who bears the burden.

Why a Tax Usually Creates Deadweight Loss

Start with the standard partial-equilibrium picture. A competitive market without a tax trades at the price where the supply and demand curves cross. That equilibrium quantity is the one at which the marginal value of the last unit to buyers equals the marginal cost of producing it. Every unit traded up to that point creates surplus—value to the buyer above the price paid, plus value to the seller above the cost of production.

Now impose a tax, say a per-unit excise tax collected from sellers. The tax drives a wedge between what buyers pay and what sellers keep. Buyers respond by buying less; sellers respond by supplying less. The new quantity traded is lower than before. The units that are no longer traded were units that would have generated surplus—buyers valued them more than the cost of producing them—but the tax wedge made those transactions unprofitable or unattractive. The lost surplus on those foregone units is the deadweight loss. It is the classic triangle between the demand curve, the supply curve, and the tax wedge, and it grows with the size of the tax and with how responsive quantities are.

The key mechanism is the change in quantity. Deadweight loss is the value of the mutually beneficial trades that the tax prevents. If the quantity traded does not fall, there is nothing to count.

The Perfectly Inelastic Demand Case

Perfectly inelastic demand means the demand curve is vertical. Buyers will purchase the same quantity regardless of price, at least over the relevant range. A classic textbook illustration is a lifesaving medicine for which there is no substitute and no close alternative: patients buy the same amount whether the price is low or high.

When demand is vertical, a tax shifts the price buyers pay upward by the full amount of the tax (in the simplest case where supply is upward sloping), but the quantity bought stays the same. Sellers receive less per unit, buyers pay more per unit, and the government collects revenue—but every unit that would have been traded without the tax is still traded with the tax. No surplus-generating transactions are lost. The deadweight loss triangle collapses to zero because its base—the reduction in quantity—is zero.

Who bears the burden in that case? With perfectly inelastic demand, buyers bear the entire economic burden of the tax. They cannot reduce their quantity, so they absorb the higher price. Sellers' net-of-tax price is unchanged relative to the no-tax equilibrium (again, in the simple case). The tax is effectively a transfer from buyers to the government, with no efficiency loss from reduced trade.

The Symmetric Case: Perfectly Inelastic Supply

The same logic runs through supply. If supply is perfectly inelastic—a vertical supply curve—the quantity supplied does not change when the price changes. A tax then leaves the quantity traded unchanged, so again there is no deadweight loss. Sellers bear the entire burden: they receive a lower net price, buyers pay the same price as before, and the government collects revenue. A textbook example is a fixed stock of land or a fixed quantity of a resource that cannot be produced more or diverted elsewhere in the relevant time frame.

So a more complete statement of the answer is: a tax creates no deadweight loss when either demand or supply is perfectly inelastic, because in either case the tax does not change the equilibrium quantity. If either side of the market is completely unresponsive to price, the quantity channel through which deadweight loss operates is shut off.

Why the Zero Deadweight Loss Result Is a Limiting Case

Perfectly inelastic demand and supply are theoretical extremes. Real demand curves almost always slope downward: raise the price enough and at least some buyers will cut back, substitute, or go without. Real supply curves almost always slope upward, at least in the long run, because producers can adjust inputs, enter or exit, or reallocate resources. The perfectly vertical curve is the boundary case where responsiveness is exactly zero.

This matters for how to read the search phrase. "A tax creates no deadweight loss only when demand is perfectly inelastic" is often taught as a clean exam-style rule, but the fully accurate version includes the supply-side mirror image, and it is best understood as an if-and-only-if statement about quantity: deadweight loss is zero exactly when the tax does not reduce the quantity traded. Perfectly inelastic demand is one way that happens; perfectly inelastic supply is another. In between—with downward-sloping demand and upward-sloping supply—the deadweight loss is positive, though it may be small if demand or supply is very inelastic.

A closely related and often more useful point: deadweight loss is small, not zero, when demand or supply is highly inelastic. The elasticity of demand and the elasticity of supply jointly determine how much quantity falls and therefore how large the deadweight loss is. The familiar formula for the deadweight loss of a small tax is approximately one-half times the tax rate squared times the quantity traded times a term involving the elasticities of supply and demand. As either elasticity approaches zero, that expression approaches zero. The "only when perfectly inelastic" phrasing describes the exact zero; near-zero elasticities produce near-zero deadweight loss.

Situation Does quantity traded fall? Deadweight loss? Who bears the tax burden?
Demand perfectly inelastic No Zero Buyers bear all
Supply perfectly inelastic No Zero Sellers bear all
Demand and supply both elastic (normal case) Yes Positive Shared, depending on relative elasticities
Demand highly inelastic but not vertical Slightly Small but positive Mostly buyers

What Zero Deadweight Loss Does Not Mean

Several distinctions keep this result from being misread.

Zero deadweight loss is not zero burden. The tax still moves money from private parties to the government. Buyers or sellers are worse off by the amount of the tax revenue plus, in general, nothing extra in efficiency terms—but they are still worse off. The absence of deadweight loss means the tax does not shrink the total pie; it does not mean no one loses.

Zero deadweight loss is not zero cost. Taxes have administrative and compliance costs—filing, collection, enforcement—that are separate from deadweight loss. A tax with no efficiency loss from reduced trade can still be costly to administer. Those costs are usually analyzed separately from the deadweight loss triangle.

The result is about the taxed margin. Real tax systems have many margins. A tax on a good with inelastic demand may cause little reduction in the quantity of that good, but it can still distort other decisions—where to work, how to organize a business, whether to comply—if those margins are elastic. The clean zero-deadweight-loss result applies to the specific market and margin being taxed, under the standard partial-equilibrium assumptions.

It assumes competitive markets and no other distortions. The standard deadweight loss triangle is derived under competitive conditions. If the market already has a distortion—monopoly pricing, an externality, an existing tax—the welfare effect of adding a tax can differ, and in some second-best settings a tax can even improve efficiency by offsetting another distortion. The "no deadweight loss when demand is perfectly inelastic" rule is a statement about the simple competitive benchmark.

It depends on the relevant range. A demand curve can be inelastic at some prices and elastic at others. The zero-deadweight-loss claim requires that demand be perfectly inelastic over the range the tax actually moves prices. If the tax is large enough to push buyers past a threshold where they do start cutting back, the quantity will fall and deadweight loss will appear.

Why This Result Is Taught and Where It Shows Up

The perfectly inelastic case is a staple of public finance and microeconomics because it isolates the source of deadweight loss. It shows that the efficiency cost of a tax is not about the tax itself but about the behavioral response it triggers. A tax that raises revenue without changing behavior is, in efficiency terms, like a lump-sum transfer—though in practice no broad-based tax is truly behavior-free.

The idea also informs real policy debates. Taxes on goods with very inelastic demand—certain addictive substances, some necessities, fixed natural resources—are often described as having relatively low efficiency costs per dollar raised, though equity, administrative, and behavioral considerations beyond the simple triangle still matter. Conversely, taxes on highly elastic activities—certain financial transactions, mobile capital, easily substituted labor—are expected to have larger deadweight losses because quantities respond more.

The same logic underlies the distinction between the statutory incidence of a tax (who is legally required to pay it) and its economic incidence (who actually bears it). In the perfectly inelastic demand case, the statutory incidence could be on sellers, but the economic burden falls on buyers. The deadweight loss result and the incidence result are connected: both are driven by how much quantities can adjust.

How to State the Answer Accurately

If you are answering an exam or study question, the safe and complete formulation is:

A tax creates no deadweight loss when the quantity traded does not change because of the tax. That happens when demand is perfectly inelastic or when supply is perfectly inelastic. In the ordinary case where both demand and supply respond to price, the tax reduces the quantity traded and generates a positive deadweight loss.

If the question specifically asks about demand, the direct answer is that demand must be perfectly inelastic—vertical—so that buyers purchase the same quantity regardless of the tax-induced price change. Adding the supply-side mirror image makes the answer more accurate without changing the core point.

The reason is not that the tax is somehow "efficient" in a general sense. It is that deadweight loss is the value of lost trades, and a tax that causes no lost trades has no deadweight loss to speak of. The tax still raises revenue, still affects prices, and still shifts surplus between parties. It simply does not destroy the surplus that would have come from transactions the tax prevented—because it prevents none.

A Short Numerical Illustration

Suppose a market trades 1,000 units at a price of $10 with no tax. Demand is perfectly inelastic at 1,000 units. The government imposes a $2 per-unit tax. Buyers continue to buy 1,000 units, now paying $12; sellers receive $10 net; the government collects $2,000. The quantity is unchanged, so no surplus-generating trades are lost. Deadweight loss is zero, and buyers bear the full $2 per unit.

Now suppose demand is elastic enough that the same $2 tax reduces quantity from 1,000 to 900 units. The 100 units no longer traded had buyers willing to pay more than the cost of producing them—say, surplus averaging $1 per unit—so roughly $100 of surplus is lost. That is deadweight loss, and it exists precisely because the quantity fell.

The contrast is the whole answer in miniature: the tax's efficiency cost tracks the change in quantity, not the size of the check written to the government.

Common Confusions to Avoid

Confusing deadweight loss with tax revenue. Revenue is a transfer; deadweight loss is lost surplus. A tax can raise a lot of revenue with little deadweight loss (inelastic demand), or raise little revenue with substantial deadweight loss (elastic demand and a poorly designed base).

Assuming inelastic demand means "no effect." Prices still change, and the burden still falls somewhere. "No deadweight loss" is a statement about total surplus from trade, not about the well-being of individual buyers or sellers.

Forgetting the supply side. The "only when demand is perfectly inelastic" phrasing is incomplete unless supply is also considered. Perfectly inelastic supply produces the same zero-deadweight-loss outcome, with the burden on sellers.

Treating the result as a policy recommendation. The fact that a tax on a good with inelastic demand has low deadweight loss does not by itself make it good policy. Distributional effects, administrative costs, behavioral responses on other margins, and the reason for the tax all bear on the judgment. The zero-deadweight-loss result is a tool for understanding efficiency, not a complete welfare analysis.

The bottom line: a tax creates no deadweight loss when it does not change the quantity traded, which occurs when demand is perfectly inelastic—or when supply is. In any market where buyers or sellers can adjust quantities in response to the tax, some deadweight loss arises, and the more elastic the relevant side of the market, the larger that loss will be.