Background: Migraine is one of the common diseases, which has been considered as one of the reasons of disability and since this disease is widespread, attention to this subject is necessity. Objectives: The aim of study was to determine the relationship between mindfulness and self-compassion with perceived pain in migraine patients. Methods: This was a descriptive analytic cross-sectional study, which was carried out on the 168 patients with migraine in the west of Iran, in Ilam, during year 2018. The tools used included several sections of mind-consciousness questionnaires, self-compassionate questionnaire, and numerical scale pain. Patients with migraine referring to Ilam health centers (hospitals, clinics, and offices) were studied in the research with the sampling method. The researcher collected data by referring to the required centers in order to sample. After data collection, data entry to SPSS statistical software version 16 was performed. Results: Mean ± SD of the total score of mind-consciousness variables was 53.33 ± 4.69, self-compassion was 71.48 ± 4.85, and pain was 3.33 ± 1.75. Findings showed that there is a correlation between mindfulness and pain (F = 81.78, P = 0.000, r = 0.57), and there is no relationship between self-compassion and pain (F = 0.004, P = 0.95, r = 0.005). Conclusions: Considering the effect of mindfulness in controlling pain, it is necessary to perform interventions based on mindconsciousness. Also, due to there being no relationship between self-compassionate behavior and pain, more research is needed in this area to provide researchers with complete information.