Sandhill cranes are mainly herbivorous, but eat various types of food, depending on availability. They often feed with their bills down to the ground as they root around for seeds and other foods, in shallow wetlands with vegetation or various upland habitats. Cranes readily eat cultivated foods such as corn, wheat, cottonseed, and sorghum. Waste corn is useful to cranes preparing for migration, providing them with nutrients for the long journey. Among northern races of sandhill cranes, their diet is most varied, especially among breeding birds. They variously feed on berries, small mammals, insects, snails, reptiles, and amphibians.