Patterned magnetic elements are being proposed as media for the future ultrahigh density storage systems. The equilibrium states of different patterned magnetic dots at zero temperature have been studied in numerous micromagnetic works while in the last year some studies have begun to include the effect of temperature in the computations. In this research a stochastic dynamic micromagnetic study is carried out for rectangular magnetic dots with size 10 by 3.1 times the exchange length, patterned in a film with a thickness of 5 times the exchange length. Two kinds of nonuniform magnetized nanodots are studied in detail: those in which the state prior to the switching follows the shape of a ‘C’ and those following an ‘S’. In both cases a field near to the zero-temperature switching field is applied and then the thermally activated switching is observed. The dependence of the switching time on temperature is analyzed. It is observed how for the ‘C’ configuration an Arrhenius-like behavior is obtained in a large temperature window while this is not the case for the ‘S’ configuration. The micromagnetic structure of the switching thermally activated modes leading to these behaviors is also studied.