The mechanisms underlying acid secretory failure in patients with HIV disease are unknown. We evaluated, in a series of preliminary studies, changes associated with parietal cell structure and function in early and late HIV disease, in an attempt to elucidate possible underlying mechanisms. Gastric acid and intrinsic factor secretion, vitamin B12 absorption, and light and electron microscopic evaluation of gastric mucosa were evaluated in patients with early and late HIV infection (AIDS) and compared to non-HIV-infected controls. Immunolocalization of HIV-related antigens in gastric mucosa was also examined. Fasting gastric juice pH and intrinsic factor (IF) concentration in AIDS and HIV infected subjects were significantly different from controls (P = 0.012 and P = 0.025, respectively for pH, and 0.029 and 0.035 for IF; ANOVA LSD test). By contrast, maximal acid output (MAO) was significantly lower in AIDS, but not HIV-infected subjects (P = 0.043 and P = 0.322, respectively). Similarly, Schilling test phases 1 and 2 results were significantly lower in AIDS, but not HIV-infected subjects. Varying degrees of vacuolar degeneration of parietal cells were seen on light microscopy. On electron microscopy (EM), tubulovesicles were reduced and intracellular canaliculi dilated with striking loss of microvilli. Immunofluorescent staining with antibodies to gp120, gp41, p24, and p17 demonstrated positive punctate signals in the cytoplasm of gastric glands, which includes parietal cells. Immunogold EM with anti-gp120, localized predominantly to the microvilli of intracellular canaliculi in parietal cells. Abnormal secretory function of parietal cells occurs early in HIV disease, affects acid as well as intrinsic factor secretion, and is associated with morphological changes in the acid secretory apparatus.