So what is the ketogenic diet? It’s a high-fat, low-carb diet that sends your body into a state of ketosis, during which it uses stored fat as energy. When you eat this way — typically we’re talking less than 50 grams of carbohydrates a day — “you’ll consume an enormous amount of fat,” says Shahzadi Devje, RD, CDE, a dietitian in Toronto, Canada. In fact, by following the keto diet, about 60 to 80 percent of your daily calories will come from fat. When you restrict carbs this way and eat more fat, your body takes about 24 to 48 hours to begin producing ketones, which are created when your body metabolizes fat for energy, says Pegah Jalali, MS, RD, a clinical coordinator at the New York University Comprehensive Epilepsy Center, where she counsels patients on the ketogenic diet. Normally, your body would metabolize carbohydrates as a primary source of energy.