Please read the instruction manual for the model you wish to buy or have already purchased. This will have the best answer so that you cook safely. Foil for the most part should not be used. Sometimes it is ok to use parchment paper liners made specifically for air fryers.