A relaxation-type CD, asking children to imagine themselves in scenarios like floating on a cloud led to dramatic improvements in abdominal pain.
The US researchers said the technique worked particularly well in children as they have such fertile imaginations.
It has been estimated that frequent stomach pain with no identifiable cause affects up to one in five children.
The research, published in the journal Pediatrics, follows on from studies showing hypnosis is an effective treatment for a range of conditions known as functional abdominal pain, which includes things like irritable bowel syndrome.
In this study, the children had 20 minute sessions of "guided imagery" - a technique which prompts the subject to imagine things which will reduce their discomfort.
One example is letting a special shiny object melt into their hand and then placing their hand on their belly, spreading warmth and light from the hand inside the tummy to make a protective barrier inside that prevents anything from irritating the belly
The researchers, from the University of North Carolina and Duke University Medical Center, said a lack of therapists led them to the idea of using a CD to deliver the sessions.
In all 30 children aged between six and 15 years took part in the study - half of whom used the CDs daily for eight weeks and the rest of whom got normal treatment.
Among those who had used the CDs, 73.3% reported that their abdominal pain was reduced by half or more by the end of the treatment course compared with 26.7% in the standard care group.
In two-thirds of children the improvements were still apparent six months later.