What Is a Moat in Investing?
Quick answer: A moat is a durable competitive advantage — something a company has that rivals find genuinely hard to copy — that protects its profits over time. The term comes from Warren Buffett, who compared a great business to a castle surrounded by a moat that keeps competitors out.
Why moats matter for investors
A company without a moat can be highly profitable today and struggle badly tomorrow if a well-funded competitor enters its market. A company with a wide, durable moat can sustain high returns on capital for years or even decades, which is ultimately what drives long-term stock price appreciation.
The goal isn't to find profitable companies — it's to find profitable companies whose profits are protected.
The five main sources of moats
1. Brand strength
Customers consistently choose a product or pay a premium for it because of the brand name alone. The brand creates loyalty and pricing power that competitors can't easily replicate even with a technically equivalent product.
2. Switching costs
Once a customer is using a product or service, moving to a competitor is expensive, time-consuming, or risky. Enterprise software is the classic example — once a company's operations are built around a platform, switching means retraining staff, migrating data, and disrupting workflows.
3. Network effects
The product becomes more valuable as more people use it. A payment network, a social platform, or a marketplace becomes harder to displace as its user base grows, because the value of the network itself is the moat.
4. Cost advantages
The company can produce goods or services at a materially lower cost than competitors — through scale, proprietary processes, geography, or unique access to resources. The cost advantage either flows through to higher margins or allows the company to undercut rivals on price.
5. Intangible assets
Patents, licenses, regulatory approvals, or proprietary data that competitors can't access. A pharmaceutical company with a patented drug, or a company with an exclusive government license, has protection that's built into the legal system rather than dependent on ongoing competitive execution.
How to evaluate a moat before buying a stock
Three questions cut to the heart of moat analysis:
- Is there really an advantage? Not every profitable company has a moat. Some businesses are profitable because the market is growing fast, not because competitors can't erode their position.
- How durable is it? A moat that lasts five years is very different from one that lasts twenty. Technology shifts, regulatory changes, and well-funded competitors can all narrow a moat that looked wide.
- Is it widening or narrowing? A moat that's getting stronger is better than one that's holding steady; one that's narrowing is a warning sign even if the business is still profitable today.
Professor Michael Porter of Harvard Business School wrote that the collective strength of competitive forces determines the ultimate profit potential of an industry. Understanding those forces is the foundation of competitive advantage analysis. — Competitive Strategy, Harvard Business School Press
Warren Buffett has said a truly great business must have an enduring moat that protects excellent returns on invested capital. The moat question is inseparable from the quality question.
Common Mistakes
Confusing a good product with a moat. A great product can be copied. A moat is something structural — a reason competitors can't simply build a better version and take market share.
Assuming a large company has a wide moat. Size and moat are different things. A large company in a commoditized industry has no more protection than a small one.
Treating temporary advantages as permanent. A first-mover advantage is not a moat unless it converts into something structural — brand, switching costs, network effects, or cost advantages that persist after competitors arrive.
Knowledge Check
Did it land? 3 quick questions.
1. Which of these is the best example of a durable moat?
Price and one good quarter aren't durable — competitors can match both. Switching costs make it structurally expensive for customers to leave, which is what makes a moat last.
2. A moat protects a company's ability to do what, specifically?
A moat isn't about growth or legal protection — it's about sustaining above-average returns over time without competitors eroding them.
3. Which AlphaLens framework is built specifically to test moat strength head-to-head against competitors?
Framework 11 runs the head-to-head comparison. Try it on a company from this guide.
How AlphaLens evaluates moats
The Bull vs Bear + Moat Analysis framework and the Competitor Moat Comparison framework both directly address moat quality. The first evaluates one company's moat in depth; the second puts it head-to-head against the closest rivals to see whose advantages are actually widest and most durable.
Where to go deeper
For a detailed walkthrough of each research framework, see the complete guide to all 15 AlphaLens frameworks.
For definitions of investing terms, see the AlphaLens investing glossary.