Feeding in both trees and on the ground, it takes a wide range of invertebrates including many pest insects, acorns (oak seeds, which it buries for use during winter), beech mast and other seeds, fruits such as blackberries and rowan berries, young birds and eggs and small rodents.