Cooking with aluminum foil in an air fryer is safe as long as you do it the right way. If you use acidic foods then you could ingest parts of aluminum foil, which we don’t recommend.