The Ecker Dam is a dam near Bad Harzburg in the Harz mountains of Germany that went into service in 1942. It impounds primarily the waters of the river Ecker. The dam is operated by the Harzwasserwerke. It is used for the supply of drinking water, flood protection, raising water levels during times of low rainfall and electricity generation through hydropower. Its power generation capacity is 270 kW. The Ecker Dam has an average discharge of 16 million m³ per year.