The present study describes the development of a new technique to measure melatonin contents in the pineal gland of freely moving rats, by means of on-line microdialysis. The transcerebral cannula was modified, and a sensitive assay of melatonin, using HPLC with fluorimetric detection, was set up. With this system it is possible to monitor the melatonin levels on-line in the pineal gland during day- and nighttime. The nightly increase in melatonin release was recorded. Tetrodotoxin had an inhibitory effect on nighttime levels, whereas even high concentrations did not alter the daytime level. From this we conclude that neuronal activity is necessary to synthesize melatonin and that during daytime no net neuronal activity is present. Melatonin levels could be greatly enhanced by systemic administration of the beta-agonist isoprenaline (ISO). Also, local infusion of ISO or 8-bromoadenosine 3',5'-cyclic monophosphate, an analogue of the second messenger cyclic AMP, resulted in increased melatonin levels, demonstrating the presence of beta-adrenergic receptors, coupled to a cyclic AMP-based second messenger system, on the pineal gland. Injection of phenylephrine had no effect on daytime levels. Only when administered during ISO-induced stimulation of melatonin release did it enhance this stimulated release. This proved the regulatory role of alpha 1-receptors on pinealocytes. The method presented is of special interest for investigating the innervation of the pineal gland and the biochemical processes that regulate the biosynthesis of melatonin. Also, for studies on the diurnal rhythms of melatonin release and factors that influence these rhythms in freely moving animals, this model will be of great value.