how long after you eat something can you get heartburn?
If heartburn occurs within 2 hours after eating, especially when bending over or lying down, it is classified as postprandial heartburn. Nocturnal heartburn refers to the type of heartburn that occurs during sleep and is often responsible for waking an individual.