Edible dormice are primarily herbivorous, feeding mainly on berries, apples, and nuts. However, they are adaptable and have also been known to eat bark, leaves, flowers, invertebrates, and even eggs.