Dogs can’t digest plastics, so it’s very dangerous for them to eat Styrofoam. If they eat large pieces of Styrofoam, that could be a choking hazard for them. Nevertheless, they can easily pass small fragments via stool within 72 hours