The earliest water wells were probably shallow pits dug by hand in regions where the water table approached the surface, possibly with masonry walls lining the interior to prevent collapse. Modern drilling techniques utilize long drill shafts, producing holes much narrower and deeper than could be produced by human labor.