The commune of Vallée de l'Ernz was formed on 1 January 2012 from the former communes of Ermsdorf and Medernach.