A moat is a lasting competitive advantage that makes it hard for rivals to win a company's customers. The term comes from the image of a moat around a castle. Common sources include network effects, where a product gets more useful as more people use it, high switching costs, strong brands, scale and control of key technology or data.

It matters because investors and analysts use it to judge whether a company can keep its position and profits over time. In technology, people often discuss whether a new kind of product has a moat or can be copied.

A moat is a judgment, not a measurable fact. Opinions differ about whether a particular advantage is lasting, and advantages that seemed strong have been eroded by new technology or by changes in rules. Having a large user base does not guarantee a moat if users can switch easily.

When someone claims a company has a moat, ask what specifically makes switching hard or copying costly, and whether that holds up if a competitor offers something similar for free.