Bananas that are either just ripe or slightly underripe can work wonderfully for this recipe. You could use overripe bananas too, but they can get slightly mushy and soft during the cooking process, and may even fall apart by the time they are done.  When shopping, pick bananas that have little or no black or brown spots on them and avoid choosing ones that have green skin.