It takes about 20 minutes to cook foil packet dinners over a campfire. When the fire turns to coals, make a flat surface and place tin foil dinners in the fire. Cook about 20 minutes and turn it over at least once while cooking so it cooks evenly.