The ketogenic diet is a mainstream dietary therapy that was developed to reproduce the success and remove the limitations of the non-mainstream use of fasting to treat epilepsy.[Note 2] Although popular in the 1920s and '30s, it was largely abandoned in favour of new anticonvulsant drugs.[1] Most individuals with epilepsy can successfully control their seizures with medication. However, 20–30% fail to achieve such control despite trying a number of different drugs.[9] For this group, and for children in particular, the diet has once again found a role in epilepsy management.[1][10]
The brain is composed of a network of neurons that transmit signals by propagating nerve impulses. The propagation of this impulse from one neuron to another is typically controlled by neurotransmitters, though there are also electrical pathways between some neurons. Neurotransmitters can inhibit impulse firing (primarily done by γ-aminobutyric acid, or GABA) or they can excite the neuron into firing (primarily done by glutamate). A neuron that releases inhibitory neurotransmitters from its terminals is called an inhibitory neuron, while one that releases excitatory neurotransmitters is an excitatory neuron. When the normal balance between inhibition and excitation is significantly disrupted in all or part of the brain, a seizure can occur. The GABA system is an important target for anticonvulsant drugs, since seizures may be discouraged by increasing GABA synthesis, decreasing its breakdown, or enhancing its effect on neurons.[7]

Insulin is a hormone that lets your body use or store sugar as fuel. Ketogenic diets make you burn through this fuel quickly, so you don’t need to store it. This means your body needs -- and makes -- less insulin. Those lower levels may help protect you against some kinds of cancer or even slow the growth of cancer cells. More research is needed on this, though.

Note: Because you'll be excluding some major food groups on the keto diet (grains, many fruits) you should definitely think about taking a multivitamin—especially one that contains folic acid, which helps your body make new cells and is often found in enriched breads, cereals, and other grain products, says Julie Upton, R.D., cofounder of nutrition website Appetite for Health.

The day before admission to hospital, the proportion of carbohydrate in the diet may be decreased and the patient begins fasting after his or her evening meal.[19] On admission, only calorie- and caffeine-free fluids[37] are allowed until dinner, which consists of "eggnog"[Note 8] restricted to one-third of the typical calories for a meal. The following breakfast and lunch are similar, and on the second day, the "eggnog" dinner is increased to two-thirds of a typical meal's caloric content. By the third day, dinner contains the full calorie quota and is a standard ketogenic meal (not "eggnog"). After a ketogenic breakfast on the fourth day, the patient is discharged. Where possible, the patient's current medicines are changed to carbohydrate-free formulations.[19]
Back to fasting: growth hormone is increased during fasted states (both during sleep [6]and after a period of fasting). Combine this increased growth hormone secretion:[7], the decrease in insulin production (and thus increase in insulin sensitivity [8]), and you’re essentially priming your body for muscle growth and fat loss with intermittent fasting.
Lose It! This two-week phase is designed to jump-start your weight loss, so you may lose up to 6 to 10 pounds (2.7 to 4.5 kilograms) in a safe and healthy way. In this phase, you focus on lifestyle habits that are associated with weight. You learn how to add five healthy habits, break five unhealthy habits and adopt another five bonus healthy habits. This phase can help you see some quick results — a psychological boost — and start practicing important habits that you'll carry into the next phase of the diet.