Aim. To identify the differences in executive function (inhibitory control, working memory, cognitive flexibility) between patients with bipolar affective disorder and depressive episode.Materials and methods. A total of 72 patients with affective disorders aged 20–40 years were examined. Of them, 30 patients had bipolar affective disorder, a current episode of mild or moderate depression, and 42 patients had a mild, moderate, and severe depressive episode without symptoms of psychosis. The executive function was evaluated using PsyToolkit, a set of software tools for programming psychological experiments. Computerized Go/ No–go tasks (assessment of inhibitory control and psychomotor functions), the Corsi block-tapping test (assessment of visual and spatial working memory capacities), and the Stroop Color and Word Test (assessment of cognitive flexibility) were used.Results. An intergroup comparison of patients revealed that patients with bipolar disorder significantly more often demonstrated false button press in the Go/No–go task (p = 0.043); however, they exhibited a greater working memory capacity in the Corsi block-tapping test (p = 0.049) compared with patients with a depressive episode.Conclusion. Important data were obtained regarding the specifics of executive dysfunction depending on the type of affective disorder. The presented data expand and supplement available information about the cognitive characteristics of patients with bipolar affective disorder and depressive episode, which may be useful in clinical practice and serve a focus of future research.