A fixation device for holding stimulating electrodes in electrical contact with the wall of a portion of the gastrointestinal tract is provided. The fixation device includes an expandable member that fixes the electrodes in electrical contact with the gastrointestinal tract wall.