The amount of time depends on the degree of dehydration.
If you are perspiring after a workout and drink as much as you wish, you will rehydrate within an hour.
If you are seriously depleted, it may take 8-12 (or more) hours to rehydrate.
...Do you have a follow-up question? Consult Dr. Kempf, a
with years in practice: