What is a competitive moat?
A structural advantage that makes a business hard to compete with over time — not because it is currently better, but because competing would be difficult even for someone with money and talent.
Why "we're better" is not a moat. Product quality can be copied, and generally is. A feature advantage lasts as long as it takes a competitor to build it. A moat is something that gets harder to overcome as you succeed, rather than something a well-funded rival can simply buy.
The recognised types:
Network effects. The product becomes more valuable as more people use it — marketplaces, social platforms, payment networks. A competitor must attract users to a product that is, by definition, worse until it has them, which is the hardest starting position in business. The strongest moat there is, and also the rarest genuine one.
Switching costs. Leaving is expensive — migrating data, retraining staff, rebuilding integrations, losing history. This is why enterprise software is so durable and why the incumbent frequently wins despite being disliked.
Economies of scale. Larger volume gives lower unit costs, so a smaller entrant cannot match prices profitably.
Brand. Not recognition, which is cheap, but trust that reduces perceived risk — which takes years and cannot be bought quickly.
Regulatory and licensing barriers, which are real and sometimes the entire business.
Proprietary technology or data, where the advantage compounds — data that improves the product, which attracts users, who generate more data.
Cost advantages from a unique asset, location or supply relationship.
What is usually mistaken for a moat: being first — priority alone protects nothing; a patent, which must be affordable to enforce; being cheapest, which anyone can copy by losing money; and a feature.
How to assess yours honestly. Ask what a well-funded, competent competitor would have to do to take your customers, and how long it would take. If the answer is "build the same thing", there is no moat — which is not necessarily fatal, but it means the business must keep earning its position through execution rather than resting on structure.
General information, not business advice.