A two-channel real-time intelligent electroencephalography (EEG) measurement system with electrical and optical stimulations is presented for seizure detection and suppression. Based on software control through a wireless interface, this system provides closed-and open-loop feedback control with programmable waveform for electrical and optical stimulations. Matlab graphical user interface is used to monitor the intracranial EEG, perform the algorithm for seizure detection, and adjust the required intensity, frequency, duty cycle, and duration of electrical and optical stimulations. The whole hardware device is embedded on a printed circuit board with the size of 27.3 mm × 23.6 mm. C57BL/6 mice with Thy1-ChR2-YFP gene transfer and drug-induced seizure are used to demonstrate epileptic seizure suppression according to electrical and optogenetic stimulation in the proposed wireless EEG measurement system.