Eating too many carbohydrates can kick your body out of ketosis. Foods that should be avoided on a ketogenic diet include grains, sugar, and sugar-sweetened beverages, too much fruit, processed meats, low-fat and diet products, beans and legumes, milk, and all low- and reduced-fat dairy products, and starches such as cereal, rice, and pasta.