Raw green beans should generally be avoided because they contain lectins and a toxic protein called phasin. These compounds can cause symptoms such as nausea, diarrhea, vomiting, bloating, and more severe digestive issues if consumed in significant amounts. Phasin, found especially in the seeds and pods, can be harmful even in small doses and is only destroyed by cooking at high temperatures for a sufficient time (usually boiling for 10 to 20 minutes). While some people might eat small amounts raw without immediate problems, it is safer to cook green beans to neutralize these toxins and improve digestibility and flavor. Cooking methods like boiling, steaming, or roasting are recommended to make green beans safe and enjoyable to eat.