A mouthpiece for being worn on the upper dentition of a user includes electrodes and a microprocessor that operate as an electroencephalograph for detecting electrical activity in the user's brain. The mouthpiece may be useful in a variety of applications, such as athletics, gaming, and personal hobbies.