Rabeprazole is used to treat the symptoms of gastroesophageal reflux disease (GERD), a condition in which backward flow of acid from the stomach causes heartburn and possible injury of the esophagus (the tube that connects the throat and stomach) in adults and children 12 year of age and older.