You can cook both peppers and onions at the same time in the air fryer. They both have about the same type of make up and thickness, so they will cook at the same time, evenly.