Oberdorf is a municipality in the canton of Nidwalden in Switzerland. It has a population of 30000 of which 5% is of foreign nationality (2002). The area of Oberdorf is 1620 hectares.

There are 150 local businesses which employ 800 people. 30% of these are in the agricultural sector, 43% in trade and industry, 27% in services.

The main sight of Oberdorf is the pilgrimage chapel Niederrickenbach.