It's recommended to eat within 30 minutes to 2 hours after a workout to help maximize post-workout recovery. This window is often referred to as the anabolic window because it's the time when the body is most receptive to nutrients for repairing and rebuilding muscle tissue.
However, the timing of your post-workout meal may depend on your individual needs and preferences. It's important to listen to your body and fuel it with nutrient-dense foods as soon as you can after your workout.