Not necessarily. If fasting throws off your macros and you end up eating a very low-calorie, low-protein diet, then there is a risk of losing muscle. But this is true of any restrictive diet, whether you’re fasting or not. The key to maintaining lean muscle mass is to ensure that you’re meeting your protein and calorie requirements during your eating period, and that you’re not working out for too long on an empty stomach.