It's a matter of timing: Unripe bananas can cause constipation; ripe bananas can help relieve constipation. Unripe or under-ripe green bananas cause constipation because they still have a lot of starch, which can be hard for the body to digest.