Volatiles from fungi cultivated in Petri dishes were collected by a simple headspace polydimethylsiloxane (PDMS) sorptive extraction technique (HSSE), thermally desorbed into a gas chromatographic capillary column and detected and identified by gas chromatography–time-of-flight mass spectrometry (GC-TOFMS). The method was used to compare metabolite profiles of seven species of fungi grown on two types of sterile agars — potato dextrose and Sabouraud dextrose. Three species from the genus Penicillium (P. italicum, P. camemberti, and P. roqueforti) and four outgroups, each from a different phylum (Saprolegnia sp.; Sordaria fimicola, wild-type; Coprinus cinereus; and Rhizopus stolonifer) were grown on the two types of agars and analyzed. Multivariate analysis (PCA) was used to determine whether separate classes of fungi can be distinguished from one another based on their metabolite profiles. PCA showed clear class separation between the three Penicillium samples and the outgroups. Slight differences were observed in metabolite profiles as a function of growth medium. HSSE/GC-TOFMS appears to be a relatively simple and accurate technique for classification of fungi based on their volatile metabolite profiles. The volatiles sampling technique reported here is non-destructive, so it can be applied with traditional methods for studying fungal growth and metabolism.