Cut the head of garlic crosswise, exposing the flesh of the cloves, about ¼ to ½ of an inch.
Place on a piece of tin foil. Drizzle or brush with olive oil, ensuring the olive oil gets between the cloves.
Seal the tin foil in a ball and place it in the basket of the air fryer. Cook at 300 degrees Fahrenheit for 30 minutes. Turn off the air fryer and let the garlic sit inside for about 10 minutes.
Check for doneness before 30 minutes have elapsed by carefully removing from the basket, peeling back the foil, and examining the color and texture.
Poke a paring knife into one of the cloves. If there is no resistance, the color is golden brown, and the garlic is fragrant, it is ready to serve! If not, seal the foil ball again and return to the air fryer and continue with instructions.