The ketogenic diet, usually shortened to keto, is a way of eating that is very low in carbohydrate, moderate in protein and high in fat. It was developed in the 1920s as a treatment for epilepsy and is now used much more widely, mostly for weight loss and blood sugar control.
This guide explains how the diet works, what people eat on it, what the research does and does not show, and who should be cautious. It is general information, not medical advice. If you have a health condition or take medication, talk to your doctor before changing your diet; our medical disclaimer explains why that matters more with keto than with most diets.
How ketosis works
Your body normally runs on a mix of glucose, from carbohydrate, and fat. When you eat very little carbohydrate, glucose and the hormone insulin fall. Fat cells release more fatty acids, and the liver converts some of them into molecules called ketones: beta-hydroxybutyrate, acetoacetate and acetone.
Ketones travel in the blood and can fuel most tissues, including the brain, which cannot use fatty acids directly. When blood ketones reach about 0.5 mmol/L or higher, you are in nutritional ketosis. The liver still makes the small amount of glucose the body requires from protein and glycerol, so blood sugar stays in a normal range.
Ketosis is a normal physiological state. It is what happens during fasting. A ketogenic diet reaches it through food choice instead of going without food.
How much carbohydrate, protein and fat
There is no single official definition, but most ketogenic diets look like this:
| Macronutrient | Typical amount | Share of calories |
|---|---|---|
| Net carbohydrate | 20 to 50 g a day | 5 to 10% |
| Protein | 1.2 to 2.0 g per kg of body weight | 15 to 25% |
| Fat | The remainder, to appetite | 65 to 80% |
Net carbs means total carbohydrate minus the fiber and sugar alcohols the body does not absorb as glucose. Food labels simply subtract all fiber. On this site we use a stricter method, the Pure Keto Net Carb Standard, which deducts each fiber and sugar alcohol according to how much of it is actually absorbed.
People vary in how much carbohydrate they can eat and stay in ketosis. Twenty grams works for nearly everyone. Many active people remain in ketosis at 40 to 50 g.
What to eat
A ketogenic diet is built from foods that are naturally low in carbohydrate:
- Meat, poultry, fish and eggs. Fattier cuts and oily fish suit the diet best. Bacon, shrimp and ham all fit.
- Fats. Butter, olive oil, avocado oil, mayonnaise and heavy cream.
- Cheese and full-fat dairy. Most cheese, cream cheese, sour cream and plain whole-milk Greek yogurt.
- Low-carb vegetables. Leafy greens, broccoli, cauliflower, zucchini, asparagus, cabbage and others that grow above ground.
- Nuts and seeds. Pecans, macadamias, walnuts and almonds, with cashews and pistachios in smaller amounts.
- Avocado, olives and a few berries. Strawberries, raspberries and blackberries in small portions.
Foods that do not fit in normal servings include bread (sprouted loaves such as Ezekiel bread included), pasta, rice, oatmeal and other grains; potatoes and corn; beans and lentils; most fruit; sugar, honey and sweetened drinks; and milk by the glass.
Our keto food list scores each of these individually, with net carbs per serving. For how we separate foods that merely fit from foods that fuel ketosis, see What Is Pure Keto?.
What the research shows
Epilepsy. This is the diet's oldest and best-established use. Systematic reviews, including a Cochrane review, find that ketogenic diets reduce seizures in children with epilepsy that has not responded to medication. It is prescribed and monitored by specialist teams.
Weight loss. In randomized trials, very low carbohydrate diets produce somewhat more weight loss than low-fat diets over the first six months. A meta-analysis of trials lasting a year or more found the low-carb groups lost about 0.9 kg more on average. By one to two years the difference between diets mostly narrows, and how well people stick to a diet matters more than which diet it is. Much of the rapid loss in the first week is water.
Type 2 diabetes. Lowering carbohydrate lowers blood glucose and often reduces the need for medication. The American Diabetes Association recognizes low and very low carbohydrate eating patterns as options for adults with type 2 diabetes. Because medication doses may need to come down quickly, this should be done with a doctor.
Heart health markers. Triglycerides usually fall and HDL cholesterol usually rises. LDL cholesterol responds unpredictably: it falls in some people, stays the same in many, and rises substantially in a minority. A statement from the National Lipid Association recommends checking lipids after starting a very low carbohydrate diet.
Other conditions. Ketogenic diets are being studied in several neurological and metabolic conditions. The evidence is early, and none of these is an established use.
Long term. Good data beyond two years are limited. That is a reason for regular check-ups, not a finding of harm.
Side effects and risks
Keto flu. Headache, fatigue, dizziness and cramps in the first one to two weeks, mainly from losing sodium and water. Most people need more salt on keto than before, often 3 to 5 g of sodium a day unless they have been told to restrict it, along with potassium from foods such as avocado and spinach and, for some, a magnesium supplement.
Constipation. Common if vegetables and fluids are low. Non-starchy vegetables, water and adequate salt help.
Bad breath. Acetone, one of the ketones, is exhaled. It usually fades after a few weeks.
Reduced exercise performance for the first few weeks, particularly at high intensity.
Raised LDL cholesterol in some people, as noted above.
Kidney stones. Somewhat more common on long-term ketogenic diets, mainly documented in children treated for epilepsy. Staying hydrated lowers the risk.
Nutrient gaps. A badly planned keto diet can be short on fiber, potassium, magnesium and some vitamins. Eating a range of vegetables, nuts, seeds and seafood covers most of them.
Who should not do keto without medical supervision
- People with type 1 diabetes, and anyone with type 2 diabetes who takes insulin or sulfonylureas, because of the risk of low blood sugar.
- Anyone taking SGLT2 inhibitors (drugs ending in -gliflozin), which can cause ketoacidosis at normal blood sugar levels when combined with a ketogenic diet.
- People taking blood pressure medication, since blood pressure often falls.
- People with kidney disease, liver disease, pancreatitis, gallbladder disease or rare disorders of fat metabolism.
- Anyone who is pregnant or breastfeeding.
- People with a history of eating disorders.
- Children and teenagers, except under specialist care.
How to start
- Check with your doctor if any item in the list above applies to you, or if you take any regular medication.
- Set a carb limit. Twenty to 30 g of net carbs a day is a reliable starting point.
- Plan meals around protein and fat. Eggs cooked in butter. A burger without the bun, with cheese and salad. Salmon with buttered broccoli. Chicken thighs with cauliflower mash.
- Add vegetables cooked in fat to most meals.
- Salt your food and drink water. This prevents most early side effects.
- Read labels. Sauces, dressings, "low-fat" products and drinks are where carbohydrate hides. Our guides to ranch dressing, soy sauce and corn starch cover common examples.
- Give it three to four weeks before judging how you feel.
You do not need supplements, special products or ketone test strips to follow the diet. Be skeptical of anything that promises ketosis in a bottle; see our review of keto ACV gummies for why.
The bottom line
The ketogenic diet restricts carbohydrate to about 20 to 50 g a day so that the body burns fat and makes ketones. It is an established therapy for some forms of epilepsy, and trials show it can help with weight loss and blood sugar control, particularly in the first six to twelve months. It has side effects, most of them temporary and manageable, and it is not suitable for everyone. If you decide to try it, build it from whole foods, keep up your salt and fluids, and involve your doctor if you have any medical condition.
Sources
- Martin-McGill KJ, Bresnahan R, Levy RG, Cooper PN. Ketogenic diets for drug-resistant epilepsy. Cochrane Database of Systematic Reviews, 2020.
- Bueno NB, de Melo IS, de Oliveira SL, da Rocha Ataide T. Very-low-carbohydrate ketogenic diet v. low-fat diet for long-term weight loss: a meta-analysis of randomised controlled trials. British Journal of Nutrition, 2013.
- Evert AB, Dennison M, Gardner CD, et al. Nutrition therapy for adults with diabetes or prediabetes: a consensus report. Diabetes Care, 2019.
- Kirkpatrick CF, Bolick JP, Kris-Etherton PM, et al. Review of current evidence and clinical recommendations on the effects of low-carbohydrate and very-low-carbohydrate (including ketogenic) diets for the management of body weight and other cardiometabolic risk factors: a scientific statement from the National Lipid Association. Journal of Clinical Lipidology, 2019.
- U.S. Food and Drug Administration. Drug Safety Communication: FDA warns that SGLT2 inhibitors for diabetes may result in a serious condition of too much acid in the blood, 2015.
Frequently asked questions
What is the keto diet in simple terms?
It is a way of eating that keeps carbohydrate very low, usually 20 to 50 g of net carbs a day, with moderate protein and most calories from fat. With little glucose coming in, the liver turns fat into ketones, and the body uses fat and ketones as its main fuel. That state is called ketosis.
How long does it take to get into ketosis?
Most people reach nutritional ketosis within two to four days of eating under about 20 to 50 g of net carbs a day. It can take a week or longer for some. Full adaptation, when energy and exercise performance settle, typically takes three to six weeks.
What is keto flu?
A set of temporary symptoms in the first week or two: headache, tiredness, dizziness, irritability, muscle cramps and nausea. It is largely caused by losing water and sodium as insulin falls. Extra salt, fluids, potassium-rich foods and magnesium usually relieve it.
Is ketosis the same as ketoacidosis?
No. Nutritional ketosis raises blood ketones to about 0.5 to 3 mmol/L with normal blood sugar and normal blood acidity. Diabetic ketoacidosis is a medical emergency in which ketones rise far higher, usually with very high blood sugar and too little insulin, and the blood becomes acidic. It occurs mainly in type 1 diabetes and, rarely, in people taking SGLT2 inhibitor drugs.
How much protein can I eat on keto?
Most guidance suggests 1.2 to 2.0 g of protein per kilogram of body weight per day, toward the higher end if you are active or losing weight. Protein at these levels does not prevent ketosis for most people and helps preserve muscle.
Can I ever eat carbs again?
Yes. Some people follow keto for a defined period and then move to a moderate low-carb diet. Others cycle carbohydrate around training. What matters for health over the long term is a way of eating you can sustain, built mostly from whole foods.
Is the keto diet safe?
For most healthy adults it appears safe in the short to medium term. It is not appropriate for everyone. People with type 1 diabetes, those taking insulin or SGLT2 inhibitors, people with kidney, liver, pancreatic or gallbladder disease, and anyone pregnant or breastfeeding should only follow it under medical supervision.





