Rotzberg or Rotzburg is a ruined castle in the municipality of Ennetmoos in the canton of Nidwalden in Switzerland. Traditionally the destruction of the castle was an important event in the creation of the Swiss Confederation, though research over the last century indicates that the story is probably a later invention.