Most business advantages erode within a few years. An economic moat is a structural, durable competitive advantage that lets a company defend its profits against competition over the long term. The term, popularized by Warren Buffett, comes from the water-filled trench around a medieval castle: it slows attackers enough that the castle can hold.
The question moat analysis asks is not "is this company good today?" It is: "if a well-funded competitor entered the market tomorrow, how long before they match the margins?" Under three years: not a moat. Five to ten years or more: probably one.
The five sources of an economic moat
Not all competitive advantages are structural. A talented CEO, a great product launch, or a hot brand can produce good returns for a few years. Competition copies what works. Profits compress. Only these five sources resist that cycle:
| Moat type | What creates it | Example |
|---|---|---|
| Network effects | Each new user makes the product more valuable | Visa's payment network |
| Switching costs | Customers are locked in by data, workflows, or contracts | Salesforce CRM history |
| Cost advantages | A structural cost floor rivals cannot match | Costco's buying volume |
| Intangible assets | Patents, licenses, or brand trust that cannot be bought | Moody's credit-rating franchise |
| Efficient scale | A market too small for a second profitable player | Regional utilities |
Most durable moats combine two sources. Switching costs plus network effects — as in Microsoft 365 — produce wider moats than either alone.
What a moat looks like in the financials
A moat leaves a signature in the numbers across time:
- Return on invested capital (ROIC) above cost of capital, sustained. ROIC measures how much profit a business generates per dollar of capital deployed. A company with a real moat holds ROIC above 15% across a full business cycle, not just in a good year.
- Gross margins stable or widening under competitive pressure. Margin compression is evidence of a narrowing moat; expanding margins under competition suggest the moat is deepening.
- Pricing power that holds. A company with a moat raised prices and volume did not fall. A commodity business cannot do this.
No single year proves a moat. The pattern across a decade does.
A concrete example: Visa
Visa processes payments between banks, merchants, and cardholders across more than 200 countries. Consider what a competitor needs to replicate it: simultaneous relationships with tens of thousands of banks, millions of merchants, and hundreds of millions of cardholders — all of whom must trust the network before it reaches scale. The network effect is self-reinforcing: merchants accept Visa because cardholders carry it; cardholders carry it because merchants accept it.
The financials reflect the structure. Visa's ROIC has consistently run above 20%. Gross margins exceed 75%. It has raised network fees repeatedly without meaningful volume loss. These are outputs of the moat, not the source of it.
Why it matters for investors
A business without a moat can earn good returns in a good year. A business with a moat earns good returns in most years, because competition cannot close the gap. This distinction separates a business you hold for twelve months from one you hold for twelve years.
Moat analysis also flags risk in the other direction. A company with strong current margins but a narrowing moat — a retail brand whose pricing power is slipping as purchasing moves online — looks attractive on a P/E screen and still makes a poor long-term hold. The margin of safety required on a moatless business is much larger than on one with a durable structural advantage.
Try this
Pick one business you currently own or are evaluating. Write a one-paragraph moat analysis: which of the five sources applies, what the ROIC trend shows over the past five years, and what a well-funded competitor would concretely need to do to close the gap within a decade. Save it as a note in JustJot.ai alongside your other research on the company — so when you revisit the thesis a year from now, you can compare what you believed about the moat against what the subsequent data shows.