What Is a Moat in Business? Free Cash Flow Is the Proof
"Moat" is now attached to almost anything a company does well — brands, networks, habits, patents. But a competitive advantage is only real if it eventually shows up in one place: the cash a business keeps after paying to stay alive and grow. Here is how to tell the genuine article from the story, and where even the best test has its limits.
Warren Buffett borrowed a word from castles, and the whole industry ran off with it. He described the businesses he wanted to own as economic castles protected by wide moats — a defensible position that stops competitors from wading in and eroding the profits. It was a vivid image, and vivid images travel. Decades later, "moat" is stamped on almost everything: a beloved brand, a large user base, a habit customers can't easily break, a patent, a favorable regulation, a founder's reputation. Ask ten people to name a company's moat and you'll get ten confident answers — most of them describing something the company does well rather than proving it's protected.
For founders who have just exited a business and are now deciding where a large pool of long-term capital should live, this is not a semantic quibble. The word "moat" gets used to justify a lot of expensive purchases and a lot of patient waiting. So it's worth cutting through the vocabulary to a single, unsentimental test — one that anyone who built a real company, met a real payroll, and watched real cash come in and go out will recognize on sight.
What a Moat Actually Is — and What It Isn't
Strip away the castle metaphor and a moat is a plain economic claim: this business can earn returns well above its cost of doing business, and it can keep doing so because something stops rivals from competing those returns away.
That second half is the part people forget. In a normal, healthy market, high profits are an invitation. When a business earns unusually good returns, competitors notice, capital floods in, prices get bid down, and returns drift back toward ordinary. This isn't a flaw in the system — it is the system, and it's why most industries are only modestly profitable over time. A moat is whatever prevents that drift. It's the reason a business can be highly profitable this year and still be highly profitable ten years from now, instead of having its lunch eaten by someone willing to charge a little less.
Notice what this rules out. A great product is not a moat — competitors can build great products too. A fast-growing customer base is not a moat — growth attracts imitation. Being first is not a moat — pioneers get overtaken constantly. Even a genuinely superior operation isn't a moat if a well-funded rival can copy it in a couple of years. These are all good things. None of them, by itself, is protection.
The categories people cite are usually pointing at something real, so it's worth naming them plainly:
- Brand — customers will pay more, or choose reflexively, because the name carries trust a cheaper alternative doesn't.
- Network effects — the product gets more valuable as more people use it, so the leader pulls ahead and newcomers start from behind.
- Switching costs — once a customer is embedded in a system, leaving is painful, expensive, or risky, so they stay even when a rival is a little cheaper.
- Cost advantage — the business can produce or deliver for structurally less than anyone else, thanks to scale, location, a proprietary process, or a resource nobody else has.
- Intangible assets — patents, licenses, or regulatory approvals that legally keep others out for a stretch of time.
These are useful lenses. But here is the trap: each is a story about why a business might be protected. A story is not proof. Plenty of companies have a brand customers adore and still can't raise prices. Plenty have network effects that turned out to be shallow. Plenty have switching costs on paper that customers cheerfully paid to escape the moment something better appeared. The category tells you where to look. It does not tell you whether the moat is actually there.
Free Cash Flow Is the Proof
So how does an owner know whether the protection is real rather than narrated? The answer is almost boring in its plainness: look at the free cash flow, and look at it over years.
Free cash flow is the cash a business has left after paying for everything it needs to keep running and to fund its ordinary growth — wages, suppliers, taxes, and the reinvestment in equipment, technology, and working capital that keeps the doors open and the business competitive. It is the money that is genuinely free to hand to owners or to reinvest at the owner's discretion, without starving the business. Any founder who has run a company understands this in their bones, even if they never used the phrase. Accounting profit can be dressed up. Cash that has actually arrived and is actually spendable is much harder to fake. It is the closest thing in business to ground truth.
Here is why cash flow is the honest test, and not just one number among many.
A moat, if it's real, has to show up as pricing power or a cost advantage that persists — and neither of those stays abstract. They convert into cash. If a company can genuinely charge more than rivals because customers won't leave, that premium lands in the cash flow. If it can genuinely produce for less than everyone else, that gap lands in the cash flow. If the protection is real and lasting, the cash flow isn't just healthy — it stays healthy and grows, year after year, through competitive attacks and changing conditions. The moat is the cause; durable, growing free cash flow is the visible effect.
Now flip it around, because this is where the test earns its keep. If a company has a celebrated brand, a huge network, high switching costs — every ingredient of the story — but the cash flow is thin, erratic, or shrinking, then whatever the company has, it is not functioning as a moat. Something is competing the returns away despite the story. Maybe customers love the brand but won't pay a premium. Maybe the network is real but a rival is stealing the growth. Maybe a competitor is quietly paying the switching cost on the customer's behalf. The narrative can stay intact while the economics rot underneath it. The cash flow tells the truth the story is hiding.
That is the discipline in one line: treat every claimed moat as a hypothesis, and let the free cash flow over time be the experiment.
The Tell: What a Moat Does to Margins Over Time
There is a more specific pattern worth watching. A genuine moat tends to show up as stable or expanding profit margins over a long stretch — especially when the business is under pressure. Margin is simply how much of each dollar of sales survives as profit. In a competitive market with no protection, margins get compressed: a rival undercuts on price, the incumbent matches to keep customers, and the profit per sale shrinks. A protected business doesn't have to play that game. It holds its prices, or raises them, and the margin holds or widens.
So the interesting question isn't "does this company have good margins today?" — a lucky year or a temporary shortage can produce that. It's "have the margins held up across a full cycle — through downturns, new entrants, and cost spikes the company had to pass along?" A decade of steady-to-rising margins alongside steady-to-rising free cash flow is about as close to proof of a moat as the real world offers. It's evidence that when the business was tested, the protection held.
Two Companies, One Story, Different Cash
Abstract principles are easy to nod along to and hard to use. So consider two businesses — the same story told twice.
Both sell software that companies run their operations on. Both make the same pitch: customers are deeply embedded, ripping out the system means retraining staff and migrating years of data, and switching costs are enormous. On a slide, the two are indistinguishable.
Now watch the cash over a decade.
Company A raises its prices a few percent every year. Customers grumble and stay — the pain of leaving is real, and the product keeps earning its place. Because customers rarely churn, the company spends relatively little chasing replacements. It doesn't have to rebuild the product from scratch every couple of years just to hold its ground. So as revenue climbs, the cost of holding onto that revenue climbs more slowly, and the free cash flow grows faster than sales. Ten years on, it generates several times the cash it started with, and it returns a rising share of that cash to owners while still funding growth. The switching-cost story was true — and the cash flow proves it.
Company B tells the identical story, and it isn't lying, exactly. Customers are embedded. But a cheaper, "good enough" rival appears, and to keep customers from doing the painful thing anyway, Company B has to discount hard at every renewal. It also has to pour money into new features just to justify the price it's already charging. Revenue still grows on the top line — the story still looks alive — but the free cash flow flattens, then wobbles, then slips. The switching costs were real; they simply weren't large enough to protect the pricing. The narrative survived. The moat didn't. And only the cash flow ever said so.
The point isn't that switching costs are fake. It's that "switching costs" is a category, not a verdict. Two businesses can sit in the same category and have wildly different economics — and the cash flow, tracked over years, is what separates them. An owner who leads with the cash and treats the story as commentary will make better decisions than one who does it the other way around.
Why Durability Is What Makes Compounding Work
Long-term returns for an owner come primarily from the growth of free cash flow over time. A business that produces one dollar of free cash flow today and two dollars in ten years has doubled the economic output that ultimately supports value. When that growth continues across decades and the cash is reinvested at attractive rates, the effect compounds. Small, repeated increases in free cash flow, sustained for a long period, produce results that look extraordinary only in hindsight — because the math is quiet and the timeline is long.
A moat supplies the time required for that process. Without protection, high returns tend to be temporary. Competitors arrive, margins compress, and the growth in free cash flow slows or stops before compounding has had much effect. With protection, the business keeps earning returns worth reinvesting because rivals cannot easily match the economics. The cash flow has room to grow rather than merely defend its current level.
Owners who have recently exited an operating business often feel the pull toward faster-growing or more visible opportunities. Excitement is not the same as durability. The businesses that compound capital over long horizons are those whose free cash flow can be expected to keep expanding because something structural continues to limit competition. That quality is quieter than rapid headline growth, yet it is what allows patient capital to do its work across multiple economic cycles.
The Honest Limit of the Test
Here is where it's worth parting company with the tidy version of this argument, because a test worth using is worth stress-testing.
Free cash flow over time is the best available proof of a moat — but it is proof of a moat that was there, in the years the cash was earned. It is a rear-view mirror. And a moat is fundamentally a claim about the future: that the protection will keep holding. History is the strongest evidence available for that claim, but it is not a guarantee.
Businesses with beautiful decade-long cash-flow records have watched their moats drain when technology shifted the ground beneath them. A cost advantage built on a manufacturing process can be made obsolete by a new process someone else invents. A switching-cost moat built on proprietary software can be undercut when a rival offers migration tools that absorb the pain of leaving. A brand moat can erode when a generation of customers simply doesn't share the prior generation's loyalty. None of these failures showed up in the historical cash flow — they showed up after it.
This is not an argument against using the cash-flow test. It is an argument for using it with clear eyes. The test answers the question "has this business been protected?" with more honesty than almost any other tool available. It does not answer "will it stay protected forever?" That question requires judgment about whether the source of the advantage is durable or fragile in the face of what is changing in the world — in technology, in customer behavior, in regulation, in the competitive landscape.
In practice, this means the cash-flow record is the starting point, not the ending point. Once the historical pattern confirms that a moat has been functioning, the next question is whether the mechanism behind it is becoming stronger, holding steady, or quietly eroding. A brand that is gaining cultural relevance is different from one that is coasting on past loyalty. A network that is still pulling in new participants is different from one that has plateaued. A cost advantage rooted in a process that keeps improving is different from one that depends on a single facility or a single supplier relationship.
The owners who get this right tend to combine the discipline of the cash-flow test with genuine curiosity about the business itself — talking to customers, watching how competitors behave, noticing where the company is investing and where it is pulling back. The cash flow tells them whether the moat has been real. The qualitative work tells them whether it is likely to remain so. Neither is sufficient alone. Together, they are about as good a foundation as long-term capital allocation gets.
The word "moat" will keep being overused. That is fine — it is a useful shorthand when handled carefully. The discipline is simply to treat it as a question rather than an answer, and to insist that the cash flow, over enough years and enough cycles, have the final say.