Eating before bed can cause weight gain if you consume too many calories or eat foods that are high in sugar or fat. However, a small snack that is high in protein and low in sugar can actually help you feel full and may prevent overeating the next day.