The invention discloses an electroencephalogram (EEG) signal virtual-keyboard design method based on multiple modes. An event-related potential (ERP) of the method is a special brain-evoked potential,and reflects nerve-electrophysiology changes of a brain in a cognitive process. SSVEP is periodic response of the brain to external visual stimuli modulated at certain frequency (greater than 6Hz), and EEG of a brain visual-cortex under the paradigm shows distinct peak value features at the stimulation frequency and harmonics thereof. Early components of N1 and P2 of ERP of all brain regions aresignificantly different from amplitudes in an incubation period, and also have differences in scalp distribution. SSVEP can extract frequency spectrum features of 12Hz, 15Hz, 18Hz and 20Hz through a canonical correlation analysis (CCA) method, thus the early components of N1 and P2 of ERP can be used as row coordinates of a virtual keyboard, and the frequency spectrum features corresponding to SSVEP can be used as column coordinates of the virtual keyboard, and accuracy of the virtual keyboard based on EEG signals is greatly increased.