If you are passionate about coffee, it is best to leave it to the early hours. According to scientists, the problem is not just take it just before going to bed, consuming the drink up to six hours before bedtime can cost up to one hour less of sleep.