moat, a depression surrounding a castle, city wall, or other fortification, usually but not always filled with water. The existence of a moat was a natural result of early methods of fortification by earthworks, for the ditch produced by the removal of earth to form a rampart made a valuable part of the defense system.