The pitaya (dragon fruit)Hylocereusis a genus which belongs to the Cactaceae family. It is native to Mexico, occurring also in other regions of Central and South America. Pitaya fruit is mainly intended for consumption and for this reason the species is grown commercially. The fruit is a rich source of vitamins, biologically active compounds, and dietary fibre. Using in vitro culture can accelerate the process of reproduction and growth of pitaya plants. Profiling of volatile compounds contained in the stem ofHylocereus undatuswas carried out using the SPME-GC-MS technique. The main compounds present were hexanal, 2-hexenal and 1-hexanol. The results showed differences in the occurrence of volatile compounds between plants grown in media with an addition of BA (6-benzylaminopurine) and IAA (indole-3-acetic acid), which have been used as plant growth regulators. Statistically significant differences between the contents of volatile compounds were observed in the case of 2-hexenal and 1-hexanol. The effect of BA on reducing the amount of volatile compounds was observed. However, introduction of IAA to the in vitro medium resulted in more compounds being synthesized. This study is the first to describe the volatile compounds in the pitaya stem. The results indicate that plant hormones are able to modify the profile of volatile compounds.