The essential anion exchanger (AE) involved in bicarbonate secretion is AE2/SLC4A2, a membrane protein recognized to be relevant for the regulation of the intracellular pH in several cell types. Here we report that gastrin, a major gastrointestinal hormone, upregulates the expression of AE2 mRNA and protein in a cholecystokinin B receptor dependent manner in gastric cancer cells. The upregulated species of AE2 mRNA originates from the classical upstream promoter of the AE2 gene (here referred to as AE2a1) which provides the binding site for transcription factors early growth response 1 (EGR1) and SP1. EGR1 upregulated the AE2 expression that can be competitively inhibited by SP1 in co-transfection experiments. This competitive inhibition was avoided in cells because the SP1 expression was time-staggered to EGR1 in response to gastrin. Overexpression or knockdown of EGR1 consistently increased or decreased the expression of AE2. Our data linked a novel signal pathway involved in gastrin-stimulated AE2 expression.