An innovative sensor for the detection of nerve agents in the gas phase based on a carbon nanotube field-effect transistor was developed. A high sensitivity to organophosphorus gases was obtained by modifying gold electrodes with specific tailor-made self-assembled monolayers.