Editor’s note: This is an educational explainer about how market making generally works in equity markets. It is general information, not investment advice, and does not describe any specific current event, company, or security.

Open a brokerage app, tap “buy,” and a trade fills almost instantly, often at a price fractions of a cent away from where the stock last traded. That near-instant, near-seamless matching feels automatic, but it is not free. Someone on the other side of that trade agreed, in advance, to be there, and to take on risk for the privilege of being first in line. Who is that counterparty, and why would anyone volunteer to constantly buy what others are selling and sell what others are buying? The answer lies in a narrow but crucial slice of the market called the bid-ask spread, and in a class of firms built entirely around capturing it.

The bid, the ask, and the job in between

Every liquid stock has two prices at any given moment: the bid, the highest price someone is currently willing to pay, and the ask (or offer), the lowest price someone is willing to sell for. A market maker is a firm, often a specialized trading company or a designated desk within a larger broker-dealer, that commits to continuously quoting both a bid and an ask for a given security. In doing so, it stands ready to buy from a seller who wants to exit immediately, and to sell to a buyer who wants in immediately, rather than making either party wait for a matching order to happen to arrive.

This function is often described as “providing liquidity,” meaning the market maker absorbs the timing mismatch between buyers and sellers. Without such intermediaries, a trader wanting to sell shares right now might have to wait minutes or longer for a natural buyer to show up, and prices could swing more sharply on each individual trade. Exchanges in many jurisdictions formalize this role: some list markets assign official “designated market makers” or “specialists” with obligations to maintain orderly, two-sided quotes, particularly during volatile periods, in exchange for certain privileges. Other markets rely on a more informal ecosystem of competing electronic firms that voluntarily post quotes because doing so is profitable.

Getting paid the spread, and other sources of compensation

The core compensation mechanism is the spread itself. If a market maker buys a share at 100.00 and sells it a moment later at 100.02, that two-cent difference is the gross reward for having supplied liquidity on both sides. Multiplied across thousands or millions of shares a day, these fractional spreads can add up to meaningful revenue, though competition among market makers tends to compress spreads over time, since a firm quoting a tighter spread than its rivals attracts more of the order flow.

Beyond the raw spread, several other mechanisms feed into market maker economics. Many exchanges use “maker-taker” fee schedules, paying a small rebate to orders that add liquidity to the order book (the “maker” side) while charging a fee to orders that remove it (the “taker” side). Some brokers also route retail customer orders to market-making firms in exchange for payment, a practice known as payment for order flow, which exists in some markets and is restricted or banned in others; regulators in different countries have taken different views on whether it serves investors well. Market makers may also earn income by capturing the difference between the price they show publicly and the price at which they can actually offset a position elsewhere, a process sometimes called internalization.

The risk side of the ledger

None of this compensation is free money, because quoting continuous two-sided prices exposes a market maker to real risk. If a market maker buys shares from a seller and the price then drops before it can resell them, it absorbs a loss on that inventory. This is known as inventory risk, and it grows sharply during periods of high volatility or when news breaks, which is exactly when liquidity is most valuable and hardest to provide safely.

A related danger is adverse selection: the risk that the counterparty on the other side of a trade knows something the market maker does not, meaning the market maker is systematically trading against better-informed participants and losing money on average to them. Sophisticated market-making firms manage these risks with automated systems that constantly adjust quoted prices, spread width, and position limits based on volatility, order flow patterns, and inventory levels, often widening spreads or stepping back from the market entirely when uncertainty spikes. That widening is itself informative: it is one reason liquidity tends to evaporate precisely during the most turbulent moments, even though those are the moments traders need it most. Understanding this tradeoff, between the steady toll collected during calm markets and the exposure absorbed during stressed ones, is central to understanding why market making exists as a distinct, regulated line of business rather than something any trader can do casually.