To investigate the effect of perinatal testosterone exposure, which simulates the endogenous testosterone peak, on neuron loss during aging, nuclear morphology was evaluated in male and female rats as well as in female rats treated with testosterone perinatally followed by ovariectomy (TE/Ovx). Additionally, neuronal apoptosis, which occurred primarily at postnatal day 8 (PND8), was identified by in situ TUNEL staining. Neuronal density, nuclear volume, total neuronal number and pyknotic ratio were estimated after HE stain at PND8, middle age and old age. The results showed that age-related decrease in neuronal nuclear volume and total neuron number in the sexually dimorphic nucleus of the preoptic area (SDN-POA) of female rats was significantly diminished by TE/Ovx. The pyknotic ratio in the SDN-POA of female rats at PND8 was significantly higher than that of males, and neuronal death was reversed by testosterone exposure, while no significant difference of pyknotic ratios was observed among male, female and TE/Ovx female rats at both middle and old age. Moreover, the high apoptotic incidence of female rats at PND8 was significantly diminished by testosterone exposure. These results suggest that neuron loss in the SDN-POA during aging may be predominantly determined by perinatal testosterone through modulation of postnatal neuronal apoptosis.