Genetic factors have been associated with the vulnerability to suicidal behavior. We previously reported decision-making impairment in suicide attempters and hypothesized that these cognitive alterations may represent an endophenotype of suicidal behavior. In this study, we aimed to investigate the influence of four serotonin-related genes relevant to suicidal behavior on decision-making, in a large population of suicide attempters. The Iowa Gambling Task was used to assess decision-making in 168 patients with a personal history of attempted suicide. Patients were genotyped for four serotonergic polymorphisms: 5HTTLPR, TPH1 A218C, MAOA u-VNTR, and TPH2 rs1118997. Patients carrying the 5HTTLPR-ll and -sl, TPH1-CC and -AC, MAOA-HH (in women) and TPH2-AA genotypes significantly improved their performance during the task, suggesting a genetic modulation of the learning process required for advantageous decision-making. In contrast, genotypes previously associated with a higher risk of suicidal behavior, a greater sensitivity to the environment and a higher propensity to negative feelings are those conferring poorer learning abilities. We hypothesize that the influence of genetic factors on the vulnerability to suicidal behavior may partly be achieved through their modulation of decision-making and particularly its learning component.