Systems and methods for the treatment of gastroesophageal reflux disease (GERD) include at least one electrically stimulating electrode coupled to a pulse generator. Individuals with GERD are treated by implanting a stimulation device within and/or proximate the patient's lower esophageal sphincter, gastric fundus, or other nearby gastrointestinal structures and applying electrical stimulation to the patient's lower esophageal sphincter and/or fundus, in accordance with certain predefined protocols. Electrical stimulation provided by the disclosed systems results in an increase in the length of the high pressure zone of the LES and/or modulation of the receptive relaxation response of the fundus to decrease gastric pressure, creating a longer barrier to the reflux of gastric contents or increasing functional lower esophageal pressure respectively, thereby treating GERD.