Photosensitive epilepsy (PSE) is the most common form of human reflex epilepsy, appearing in up to 10% of epileptic children. It also offers a highly reproducible model to investigate whether changes in neuronal activity preceding the transition to an epileptic photoparoxysmal response (PPR) may be detected. We studied 10 patients with idiopathic PSE (eight female, mean age 26 years, range 9-51 years) using magnetoencephalography. In addition, we also studied the responses of five normal controls (mean age 24 years, age range 9-35 years) and three non-photosensitive epileptic patients (mean age 10 years, range 8-11 years). Spectral analysis of the MEG signals recorded during intermittent photic stimulation revealed relevant information in the phase spectrum. To quantify this effect, we introduced a second order response feature of the stimulus-triggered visual response preceding the PPR: the phase clustering index, which measures how close the phases of successive periods are grouped for each frequency component for all periods of the stimuli applied. We recorded a total of 86 PPRs, including several absence seizures, in nine of the 10 patients. We found that an enhancement of phase synchrony in the gamma-band (30-120 Hz), harmonically related to the frequency of stimulation, preceded the stimulation trials that evolved into PPRs, and differed significantly from that encountered in trials not followed by PPR or in control subjects. This novel finding leads us to postulate that a pathological deviation of normally occurring synchronization of gamma oscillations, underlying perceptional processes, mediates the epileptic transition in PSE.