A simple electrospinning method is developed to introduce signal transduction ability into molecularly imprinted nanofibers. © The Royal Society of Chemistry.