The study of salivary microelements and their neurophysiological and behavioral correlates in patients with obsessive-compulsive disorder (OCD) is a pressing issue in modern psychiatry, which, however, lacks adequate research at this time. In this study, we tested the dynamics of behavioral parameters, resting-state electroencephalogram (EEG), and salivary iron, copper, manganese, magnesium, and zinc in 30 healthy volunteers and 30 individuals with OCD before and after an emotional antisaccade task. The eye-movement data served as a measure of behavioral performance. Our research revealed consistently higher manganese concentrations in the OCD group compared to healthy volunteers associated with a higher EEG ratio of amplitude transformation and symptom severity. The dynamics of salivary microelements and resting-state EEG, possibly influenced by cognitive and emotional load during the anticsaccade task, differed between groups. In healthy volunteers, there was a decrease in salivary iron level with an increase in high-frequency power spectral density of EEG. The OCD group showed a decrease in salivary copper with an increased Hjorth mobility of EEG.