Essential oil components (EOCs) are potent natural antimicrobial agents, but their high volatility and reactivity limit their potential applications. Here, we report the preparation of a series of nanomaterials containing EOCs (i.e., allyl isothiocyanate, carvacrol, cinnamaldehyde, diallyl disulphide, eugenol and thymol). The materials were prepared by simple adsorption of the EOCs onto a montmorillonite nanoclay. The antimicrobial activities of these materials were assessed against Aspergillus niger and Staphylococcus aureus as typical models of agricultural fungal pathogens and foodborne bacterial pathogens, respectively. In addition, the activities of the encapsulated EOCs were compared with those of the corresponding free forms with or without Tween‐80 in two types of assays: microdilution assays for determining the minimum inhibitory concentration (MIC) and agar‐based assays mimicking surface treatment. Enhanced antifungal activity of the encapsulated form was observed for all EOCs. In addition, against S. aureus, the MICs of all EOCs were remarkably lower in encapsulated form than in free form. These results indicate that EOCs encapsulated in low‐cost nanoclays have favourable potential as antimicrobials compared with the pure compounds.