The primary aim of this study is to investigate the effect of Internet-delivered Acceptance and commitment therapy for emotional distress and comorbid chronic pain. A pilot study ( N=5-10) will be conducted to test the intervention and assessment procedures. The participants will go through an active internet-based ACT treatment focused on education about emotional distress and pain, as well as behavior change through exercises targeting the processes mindfulness, cognitive defusion and acceptance. The treatment is delivered on a safe internet platform. Participants have planned telephone contact with their assigned psychologist 2 times during the program and can also contact their psychologist via a message system in the platform and expect answer within 48 hours.