Eating a large meal within two to three hours of bedtime can negatively impact sleep quality.