A system for operating a hearing instrument is disclosed. The system comprises one or more electrodes for measuring the brain wave signals of a user wearing a hearing instrument. The electrodes are placed on the scalp of the user. Based on the measured brain wave signals, a detecting unit is configured to detect a relaxation state of the hearing instrument. A controller sets the hearing instrument to a relaxation mode setting in response to the detection of the relaxation state of the user.