It is safe to use any food safe metal in the Instant pot including aluminum foil. But you do not need to wrap the potatoes in foil to cook!