Whether peanuts kick you out of ketosis depends on your portion size, your body, and the rest of your diet. That being said, large amounts of peanuts tend to kick people out of ketosis.