Black pepper (Piper nigrum L.) and pink pepper (Schinus terebinthifolius Raddi) are two plant-based spices, which despite having a common popular name, have a botanical family and distinct centers of origin. Its fruits are known worldwide in cuisine as condiments; in addition, the extraction of essential oil from these species is interesting from a pharmacological and industrial perspective. In this sense, the present study aimed to analyze the chemical profile of volatile organic compounds (VOC's) present in black pepper and pink pepper. The solid phase microextraction method in headspace mode (HS-SPME) was used, using the fiber, polydimethylsiloxane-divinylbenzene (PDMS/DVB) for the extraction of VOCs. In the extraction of volatile compounds, 2g of the seeds of each sample were used, previously ground in an analytical mill, and placed in a 20 ml headspace flask. The adsorption of the compounds was carried out at a temperature of 60ºC, for 20 minutes, with the exposed PDMS/DVB fiber, after extraction, the desorption was carried out in the gas chromatograph injector coupled to mass spectrometry (CG-MS), where the fiber was exposed for 5 minutes. The identification of VOCs was performed by comparing the mass spectra obtained with data from the NIST library. Thirty-six volatile organic compounds (VOCs) were identified and quantified among pink pepper and black pepper seed samples. Of which 16 were found in black pepper, and 20 in pink pepper. These compounds are divided into monoterpenes, sesquitepenes, and other classes such as alkaloids and sesquiterpenoids. The volatile organic compounds found in higher concentrations in black pepper were Carnegine with 36.32 %, beyerene (30.84%), alpha-gurjunene (6.10%) and 1R,4S,7S,11R-2, 2,4,8-Tetramethyltricyclo [5.3.1.0 (4.11)] undec-8-ene also with 6.10%. In pink pepper, the compounds with the highest concentrations were, phyllocladene (36.16%), 3-carene (12.49%), and 1R,4S,7S,11R-2,2,4,8-tetramethyltricyclo [ 5.3.1.0 (4.11)] undec-8-ene (12.43%).