The village church of St. Martin was built during the Frankish Empire. In 1036, Count Ulrich I von Lenzburg granted the patronage right over the village church to the monastery at Beromünster. They transferred the rights in 1351 to the monastery at Olsberg. The current church was built in 1620. When the Capuchin monastery in Rheinfelden was suppressed in 1811, their three altars were transferred to Magden. In 1806 the church came under the authority of the Canton of Aargau. In 1872 the majority of the villagers converted to the Christian Catholic faith. Then, in 1906 the Christian Catholic congregation took over the church. A Catholic church was built in 1969 and a Reformed church was built in 1976.