An optical fibre long period grating (LPG) sensor modified with molecularly imprinted polymer nanoparticles (nanoMIPs) for the specific detection of antibiotics is presented. The operation of the sensor is based on the measurement of changes in refractive index induced by the interaction of nanoMIPs deposited onto the cladding of the LPG with free vancomycin (VA). The binding of nanoMIPs to vancomycin was characterised by a binding constant of 4.3 ± 0.1 × 10(-8) M. The lowest concentration of analyte measured by the fibre sensor was 10 nM. In addition, the sensor exhibited selectivity, as much smaller responses were obtained for high concentrations (∼700 μM) of other commonly prescribed antibiotics such as amoxicillin, bleomycin and gentamicin. In addition, the response of the sensor was characterised in a complex matrix, porcine plasma, spiked with 10 μM of VA.