A related pair of concepts resulting from moats are barriers to entry and barriers to exit, which prevent people or companies from either entering or exiting a situation or market. A new mobile operating system wanting to compete with Apple’s iOS or Google’s Android would need to re-create an app store populated with thousands of useful apps, a large barrier to entry. Some careers have high barriers to entry, such as expensive years of schooling required. Similarly, some personal contracts, such as noncompetes, partnership agreements, or even marriage, create significant barriers to exit.

