Guinea pigs should have a diet that consists mainly of hay, such as timothy hay, along with fresh vegetables like bell peppers, cucumbers, and leafy greens like romaine lettuce. Pellets specifically formulated for guinea pigs can also be given in moderation. Fresh water should always be available, and treats like fruits can be given occasionally. It's important to avoid feeding them foods like grains, seeds, nuts, or dairy products.