Wild pigs are omnivores that eat just about anything, including plants, larvae, insects, worms, small animals and large animals. Most domesticated farm and pet pigs are raised on a diet of feed, fruits and vegetables.
Although wild pigs are omnivores, they mostly feed on plants. They prowl for items such as tubers, acorns, grass, bulbs and mushrooms. A great deal of their diet depends on the season, and feral pigs gravitate to agricultural crops that include corn, rice and wheat. Feral pigs also eat eggs and birds that nest at ground level. These pigs are opportunistic omnivores, and they therefore also eat dead animals. They also prey on non-mammals in the form of lizards and amphibians.
Domestic pigs, such as pot-belly pigs, also have large appetites and eat whatever comes their way. Depending on the age and weight of a pig, it may be given various types of feed by its owner. Pet pigs also eat vegetables in the form of celery, potatoes, peppers and greens. Owners can give them certain fruits as treats, including grapes, raisins and apples. Hay is typically part of a pig's diet, and alfalfa in particular is a good source of fiber for them. Bran is another healthy alternative for pet pigs. Domestic pigs should also graze for grass, twigs, branches and brush.
Farm pigs also eat compost and root vegetables, including pumpkin, squash, kale and beets. Farm hogs can also eat goats' milk and eggs.