Demolishing half a packet of biscuits while staying up trying to finish an assignment, swapping fruit for a chocolate bar for your snack at work after an early start or longing for a croissant upon landing from a long-haul flight, there could now be a reason why you reach for the bad food after a bad night's sleep.

Researchers at Feinberg School of Medicine, Northwestern University in Chicago recently presented their results of a study looking into the effects of sleep deprivation upon high-calorific food consumption at the Cognitive Neuroscience Society’s annual meeting in San Francisco, reports Science News.

Participants were allocated different amounts of sleep, eight hours or four hours, and then their reaction to smells of high-calorific foods were tested.

The exercise it takes to burn off high-calorie foods Show all 10 1 /10 The exercise it takes to burn off high-calorie foods The exercise it takes to burn off high-calorie foods Sugary soft drink - 330ml - 138 calories Walk off: 26 minutes. Run off: 13 minutes. JOEL SAGET/AFP/Getty Images The exercise it takes to burn off high-calorie foods Standard chocolate bar - 229 calories Walk off: 42 minutes. Run off: 22 minutes. Koichi Kamoshida/Getty Images The exercise it takes to burn off high-calorie foods Chicken and bacon sandwich - 445 calories Walk off: 1 hour 22 minutes. Run off: 42 minutes. Justin Sullivan/Getty Images The exercise it takes to burn off high-calorie foods One quarter of a large pizza (449kcal) Walk off: 1 hour 23 minutes. Run off: 43 minutes. Getty Images The exercise it takes to burn off high-calorie foods Medium mocha coffee - 290kcal calories Walk off: 53 minutes. Run off: 28 minutes. Getty Images The exercise it takes to burn off high-calorie foods Packet of crisps - 171 calories Walk off: 31 minutes. Run off: 16 minutes. Evan-Amos/Creative Commons The exercise it takes to burn off high-calorie foods Dry roasted peanuts - 50g - 296kcal Walk off: 54 minutes. Run off: 28 minutes. Getty Images The exercise it takes to burn off high-calorie foods Iced cinnamon roll - 420 calories Walk off: 31 minutes. Run off: 16 minutes. Justin Sullivan/Getty Images The exercise it takes to burn off high-calorie foods One bowl of cereal - 172 calories Walk off: 31 minutes. Run off: 16 minutes. Getty Images The exercise it takes to burn off high-calorie foods Blueberry muffin - 265 calories Walk off: 48 minutes. Run off: 25 minutes. Isabelle Hurbain-Palatin/Creative Commons

Participants slept for both lengths of time, separated by a week of normal sleep. On the day after they either had full or partial sleep, participants rated the pleasantness and intensity of sweet and savoury high-calorific food smells such as crisps and cinnamon rolls. They were then asked to rate the smell of non-foods like fir trees.

Researchers found that those who were sleep-deprived had “specifically enhanced” brain activity to the food smells compared to when they had a good night’s sleep.

The experiment supports the long-held association between sleep deprivation and excessive eating and weight gain.