In this thesis, the feasibility of the electroencephalography (EEG) analysis in evaluating the mental workload of gaming was studied, primarily by giving an overview on the related research, and secondarily as a proof-of-concept type experiment on existing EEG recordings, with a tool implemented for the purpose. In a relation to the EEG analysis, a selective overview on underlying mathematical methods and techniques was given as well.As a result of the review on various studies and their outcome, it was evident that the EEG analysis provides a plausible means to objectively measure and evaluate mental load imposed by gaming. The EEG indicators, that had been successfully deployed in mental load evaluation in the reviewed studies, utilized power spectrum, event related potential and brain connectivity related measurement methods.In the experimental part of the thesis, a tool to process EEG signals and to calculate EEG metrics, was implemented in Matlab environment. The existing EEG recordings (20 recordings in total), that were used in the experiment, had been acquired by groups of students and staff of Tampere University during n-back gaming sessions, as a part of course projects. The ratio of theta and alpha power, calculated over the EEG signal segments that were time-locked to game events, was selected as EEG metrics for mental load evaluation. The expectation, based on the reviewed studies, was that the value of the calculated ratio should increase with increasing mental load. The Wilcoxon rank-sum test was applied to test this hypothesis for the ratio values combined from all recordings. The rank-sum test results revealed that the theta-alpha power ratio performed as a confident indicator for the evaluation and comparison of mental load. It should be noted that this was valid only for the frontal channels Fp1 and Fp2, of the recordings, and at the highest game difficulty level the calculated ratio values started to appear inconsistent, which could be a consequence of possible concentration issues, as the task became too demanding.