Doctors use a detailed medical history and EEG to diagnose JME. They look for specific patterns in the brain. Genetic tests might also be done to check for family traits.