During the procedure, you will drink 1 or 2 cups of barium. Barium is a chalky and thick liquid. It is about as thick as a milkshake. The liquid coats your esophagus and helps it show up on an x-ray.