That depends on what kind of protein powder it is. If it is a sports nutritional supplement, it should be drunk within half an hour after exercise. If you drink this protein powder before going to bed, it is easy to induce a stroke.
The other is called soybean protein, which, as the name implies, is extracted from soybeans. This protein powder is recommended to be drunk 2 to 3 hours before going to bed.