Acidity occurs half an hour or one hour after consuming a meal, it doesn’t matter if it is day or night. Heartburn is felt more when you lie down after having food. Since most people lie down after dinner, acidity usually occurs at night.