A French drain is a perforated pipe buried 1 to 4 feet below ground. The purpose of the drain is to remove excess moisture from the surrounding soils, commonly used to help reduce the swelling of soils under foundations. French drains should not be connected to surface drains or gutter downspouts.