Antibiotic resistance in infectious diseases has been a serious problem for the last century, and scientists have focused on discovering new natural antimicrobial agents. Pinus pinea has been used as a natural pharmacotherapeutic agent with antimutagenic, anticarcinogenic, and high antioxidant properties. In this study, GC‐MS and LC‐HR/MS were employed to analyze Pinus pinea L. nut and nutshell extracts. DPPH radical scavenging assay was performed to analyze the antioxidant properties of the extracts, but no activity was determined. GC‐MS analysis showed that linoleic, oleic, and palmitic acids were the three most dominant fatty acids in nut and nutshell extracts, with ratios between 6.75% and 47.06% (v/v). LC‐HR/MS revealed that the nutshell methanol extract had a higher phenolic content than other extracts, with vanillic acid (1.4071 mg/g). Antimicrobial activity assays showed that the minimum inhibitory concentrations (MIC) of the extracts varied between 5.94 and 190 mg/mL, and the most significant inhibition was seen in the nutshell methanol extract (MICs: between 5.94 and 47.5 mg/mL). Consequently, the antimicrobial activity of the extracts can be attributed to the dense fatty acids they contain, and the nutshell methanol extract showed the most potent inhibition related to the abundance of phenolic compounds in the extract.