Abstract The widespread contamination of soil and water with perfluoroalkyl substances (PFAS) has caused considerable societal and scientific concern. Legislative measures and an increased need for remediation require effective on-site analytical methods for PFAS management. Here we report on the development of a green-fluorescent guanidine-BODIPY indicator monomer incorporated into a molecularly imprinted polymer (MIP) for the selective detection of perfluorooctanoic acid (PFOA). Complexation of PFOA by the indicator, which is mediated by concerted protonation-induced ion pairing-assisted hydrogen bonding, significantly enhances fluorescence in polar organic solvents. The MIP forms as a thin layer on silica nanoparticles doped with tris(bipyridine)ruthenium(II) chloride, which provides an orange emission signal as internal reference, resulting in low measurement uncertainties. Using a liquid-liquid extraction protocol, this assay enables the direct detection of PFOA in environmental water samples and achieves a detection limit of 0.11 µM. Integration into an opto-microfluidic system enables a compact and user-friendly system for detecting PFOA in less than 15 minutes.