This study determined the effects of cooking Taşköprü garlic, which is grown with a geographical indication in Turkiye, in three cooking materials (unbleached parchment paper (UP), bleached parchment paper (BP), and oven bag (OB)) and four vegetable oils (sunflower oil (SO), hazelnut oil (HO), corn oil (CO), and olive oil (OO)) on total phenolic content, antioxidant activity, phenolic compound profile, and chemical compound profile. The effects of cooking material (CM) and oil type (OT) on garlic samples’ TPC were found to be insignificant (p > 0.05). However, cooking material (CM) and oil type (OT) impacted antioxidant activity. According to cooking material, statistically, the highest antioxidant activity with the DPPH method was identified in garlic cooked using UP and BP, while the highest antioxidant activity with the ABTS method was found in garlic cooked with BP and OB. The garlic samples roasted with the mentioned oils and cooking materials were analyzed by LC-MS/MS in terms of thirty-five phenolic compounds. However, only five of these compounds (quinic acid, fumaric acid, hesperidin, ferulic acid, and rosmarinic acid) were detected in the samples. The chemical components of the cooked garlic samples primarily consist of terpenoids (β–sitosterol and squalene). The use of cooking material affected the amount of squalene compound in all garlic samples cooked with olive oil. Among these samples, the lowest squalene rate (52.11%) was found in only roasted garlic. In addition, according to GC-MS results, we can say that the use of hazelnut oil and unbleached parchment paper in the roasting process has a protective effect on the cis-vaccenic acid compound, which is known to show anticancer properties.Graphical