Late Night Eating Does Not Cause You to Gain Weight:

Weight gain occurs when you consume more calories than you expend, whether that occurs in the middle of the day, the morning or night. However, in reality, people who eat a lot of food late at night tend to consume more calorie-dense foods thus eat more calories, which can cause weight gain.