For some people, loss of hair is a very real ramification of the ketogenic (or keto) diet. “The ketogenic diet, which is an extremely low-carb but high-fat diet, is a really restrictive diet,” says Rachel Lustgarten, RD, of the Comprehensive Weight Control Center at Weill Cornell Medicine in New York City. Keto is not just a different version of a standard low-carb diet, such as the South Beach diet or Atkins, though. You must also stick to moderate protein intake (some proponents of the diet believe that higher protein consumption can kick you out of the state of ketosis, which is when the body burns fat for energy), and it also cuts out many healthy foods, including grains, beans, most fruit, and many vegetables, she says. RELATED: 11 Keto Diet Dangers You Must Know The restrictive nature of the keto diet is what can lead to hair loss (and what makes it an unhealthy and potentially dangerous pick for some individuals). Hair loss is one side effect among many that can occur during the initial stages of a keto diet, according to research. “If you’re not following keto in a careful way, something that’s difficult even for dietitians themselves to [guide you on], it’s quite possible that you miss out on important nutrients,” says Lustgarten. These are nutrients that fuel hair growth. Here are four potential reasons keto is causing hair loss:

1. You May Be Eating Too Few Calories on Keto

For a diet that allows butter and cheese, you’d think you’d be packing in the calories. “Because of the high fat intake, people generally are not as hungry and end up cutting calories,” says Alicia Galvin, RD, who is based in Dallas. This is one reason people following the keto diet may lose weight. Going too low on calories too quickly is a risk, however. It essentially sends a shock to your body that can lead to the shutdown of less critical functions, like hair growth, Galvin says.

2. You May Not Be Getting the Protein Your Body Really Needs

As mentioned, to keep your body in ketosis, at least on the standard keto diet, it is suggested that you limit your protein intake. While in a typical American diet, we get enough protein, “it’s possible that being so focused on fat in the keto diet, you’re not getting adequate protein,” says Lustgarten. There are 100,000 hair follicles on your head, of which 90 percent are in the growth phase, thus requiring adequate protein, vitamins, and minerals to maintain a healthy head of hair, notes a study published in December 2018 in the journal Dermatology and Conceptual. Without enough of these nutrients, including protein, your mane may suffer. RELATED: 10 Steps Beginners Should Take Before Trying Keto

3. You May Be Losing Weight Rapidly Due to Ketosis

Many people on the keto diet report quick, temporary weight loss, which is one reason why it remains popular. Yet the stress of both losing weight quickly and slashing protein intake can contribute to what’s called telogen effluvium (TE), points out a study published in January 2017 in Dermatology Practical and Conceptual. TE is the most common kind of hair loss, and occurs when hair shifts from the growing to resting phase, according to past research. It is often temporary, and can be triggered by hormonal, autoimmune, or nutritional imbalances. Many women experience TE after giving birth due to hormonal fluctuations, for instance. Certain medications, emotional stress, and crash diets are also known causes of TE.

4. You’re Missing Out on Key Nutrients That Contribute to Healthy Hair

Supplements that promote hair growth and a thick, shiny appearance are popular right now, and they almost universally have something in common: the B vitamin biotin, which promotes healthy hair. Despite the fact that biotin is plentiful in many animal-based foods like eggs and salmon, as the International Food Information Council Foundation notes, Lustgarten says there is a small amount of evidence that following a strict keto diet may lead to biotin deficiency, per a study on mice published in the journal Nutrition. One caution, she points out, is that the research is limited and only in animals (meaning it’s far from conclusive and human studies are needed). “The data isn’t strong enough to say that everyone on keto needs to take more biotin,” she says. Still, you may want to focus on eating biotin-rich foods at this time. RELATED: The 8 Best Supplements to Take on a Keto Diet

How Can You Prevent Hair Loss on the Keto Diet?

To help prevent hair loss, take a multivitamin to cover any potential deficiencies, says Galvin. “A multi will act like an insurance policy and at least provide some base nutrients,” she says. You should also aim to get the protein you need from high-quality sources, such as eggs and poultry, she says. Research has found that foods including eggs, liver (beef and chicken), and salmon are good sources of biotin as well. If you are already losing your hair and you’re struggling despite having a well-planned diet, “you may need to consider liberalizing your diet a bit or work with someone who can help personalize your eating plan based on your goals,” she says. If you are looking to lose weight and are experiencing side effects from keto, there are other diets you can follow to both lose weight and feel better doing it.