The answer to this question varies depending on the individual. Generally speaking, it can take anywhere from 24-72 hours for the body to enter into a state of ketosis.
This is the time it takes for the body to switch from using carbohydrates as its main source of energy to using fat as its main source of energy. Factors that can affect the time it takes to enter ketosis include the amount of carbohydrates consumed, the type of exercise being done, and the individual's metabolic rate.
Additionally, for those who are fasting, the time it takes to enter ketosis may be shorter since the body has no carbohydrates to break down. Ultimately, it is important to note that the time it takes to enter ketosis is different for everyone and can depend on many factors.
Check best keto diet plans here