Methods: Investigators will conduct a 3-arm randomized controlled trial to evaluate the efficacy of mindfulness-based intervention for insomnia ('Joyful sleep'). Patients with insomnia at the age of 18-60 in China will be recruited for this study.The two steps to be implemented include: 1) conducting a pilot study to finalize the design of 'Joyful Sleep' program and evaluate the feasibility, acceptability and preliminary outcomes of the 'Joyful Sleep' program: The final sample is expected to include18 patients who meet inclusion criteria. Participants will receive 8-week 'Joyful Sleep' intervention. The efficacy of 'Joyful Sleep' program will be assessed by PSQI, and feasibility and acceptability of 'Joyful Sleep' program will be examined by attendance, completion of homework and feedback of participants on the feeling of the program collected by focus group. 2) conducting a randomized controlled trial to evaluate the efficacy of 'Joyful Sleep' program: The final sample is expected to include 150 patients who meet inclusion criteria. Participants will be randomly assigned to one of 3 groups, receiving 'Joyful Sleep' intervention, receiving 'Cognitive Behavior Therapy for insomnia (CBT-I)', not receiving any psychological intervention (on the waiting list for psychological intervention).Participants will be assessed at 3 time points by PSG and self-reported measures including PSQI, CPSS, BDI, STAI, the baseline (1 week before treatment), the middle of the treatment (4 weeks after treatment starts), end of the treatment (8 weeks after treatment starts). Participants will be assessed at 2 time points by NF-κB, the baseline (1 week before treatment), end of the treatment (8 weeks after treatment starts).