The quality of food eaten late at night also makes a difference. Healthy snacks such as fruits or nuts can be a good option, while processed snacks could lead to overeating and unhealthy weight gain.