Placebo and nocebo effects modulate symptom perception through expectations and learning processes in various domains. Predominantly, their impact has been investigated on pain and physical performance. However, the influence of placebos and nocebos on visual system functionality has yet to be explored. The present study aimed to test whether placebo and nocebo effects can intervene in altering participants' performance outcomes during a novel visual accuracy task and to examine the underlying neural mechanisms through EEG. After performing a baseline session, visual accuracy was said to be enhanced or disrupted by a sham transcranial electrical stimulation over the occipital lobe. Behavioural results showed a significant increase in visual accuracy for the placebo group, from the baseline session to the test session, whereas the nocebo group showed a decrease in visual accuracy. EEG analyses on the event-related potential P300 component, conducted on both a centro-parietal electrode patch and a parieto-occipital, one displayed an increase in the amplitude of P300 for the placebo group, and a decrease in the nocebo group. These findings suggest for the first time that placebo and nocebo effects can influence visual perception and attentional processes linked to it. Overall, the present study contributes to understanding how expectations affect sensory perception beyond pain and the motor system, paving the way for investigating these phenomena in other sensory modalities such as auditory or olfactory perception. KEY POINTS: Placebo and nocebo effects have been studied predominantly in pain and motor performance fields. In a novel visual task, the impact of placebo and nocebo effects on the visual system has been evaluated, in both early components (stimuli-related) and late components (attention-related). The placebo group showed an increase in visual accuracy and EEG-evoked potential amplitudes, whereas the nocebo group showed a decrease in both. This study shows how expectations and the related placebo and nocebo effects can shape basic stimuli sensory perception in the visual domain.