We created a program, written in the CLIPS language for expert systems, to distinguish migraines from headaches. The system can be web-based, takes seconds to input data and quickly converges to the correct diagnosis. Over time such an application can result in enormous savings to doctors, patients, and health care institutions.