Novel fluorescent polyacrylonitrile nanoparticles were synthesized by microemulsion polymerization and Schiff base modification. By further modification with europium, the polyacrylonitrile nanoparticles could be used as a highly sensitive and rapid sensor for Bacillus anthracis spore detection in aqueous solution. The europium-modified polyacrylonitrile nanoparticles were readily combined with dipicolinic acid as a unique biomarker of B. anthracis, leading to high fluorescence emission. These nanoparticles enabled ratiometric detection without instrument-specific calibration due to the internal fluorescence reference. Additionally, the europium-modified polyacrylonitrile nanoparticle sensors exhibited a remarkable limit of detection (10pM) for dipicolinic acid and outstanding selectivity (160×) over aromatic ligands in aqueous solution. The ultrafine nanoparticle sensor showed a high capability for detecting anthrax due to the increased surface area-to-volume ratio and enhanced dispersibility.