protein has many benefits and having a certain amount of it before sleep optimizes its advantages. slow-digesting protein in a bedtime shake prolongs the duration of muscle protein synthesis, building muscles as you sleep. a protein shake at bedtime enhances your quality of rest and fuels you for the day ahead.