Depending on the type of air fryer and the size of your mushrooms, cook them for around 10 minutes.