Schematic diagram for the preparation process of β-NaGdF 4 :Yb3+, Er3+@MIPs responding to 4-aminobiphenyl (4-ABP). Up-conversion nanoparticles (UCNPs) β-NaGdF 4 :Yb3+, Er3+ are used as fluorescent signal component, 4-ABP as template molecules, 3-aminopropyltriethoxysilane (APTES) as functional monomer, tetraethyl orthosilicate (TEOS) as crosslinking agent, and ammonia water (NH 3 ·H 2 O) as initiator. After eluting 4-ABP from β-NaGdF 4 :Yb3+, Er3+@MIPs, the specific three-dimensional imprinted cavities complementary to the size, shape and chemical groups of 4-ABP were obtained. After binding with 4-ABP again, the fluorescence intensity of NaGdF 4 :Yb3+, Er3+@MIPs suffer from decreasing. [Display omitted] • •β-NaGdF 4 :Yb3+, Er3+ is the first time to be used as light-emitting signal component. • •An up-conversion molecularly imprinted nanoprobe is successfully constructed. • •The nanoprobe applies to detecting 4-aminobiphenyl in water environment. • •The detection mechanism is proved to be based on Langmuir adsorption and IFE. • •This developed new method is rapid and straightforward compared to other methods. A new method was developed for selectively and rapidly detecting carcinogen 4-aminobiphenyl, with lower limit of detection and wider linear range. Up-conversion nanoparticles β-NaGdF 4 :Yb3+, Er3+ was the first time to choose as light-emitting signal component. Molecularly imprinted polymers (MIPs) with specific recognition ability were successfully coated on the surface of β-NaGdF 4 :Yb3+, Er3+ to obtain a nano fluorescent probe for detecting 4-aminobiphenyl. The effect of addition amount of β-NaGdF 4 :Yb3+, Er3+ on the detection ability of β-NaGdF 4 :Yb3+, Er3+@MIPs was studied, and composite fluorescence nanoprobe with the best performance was obtained. β-NaGdF 4 :Yb3+, Er3+@MIPs were characterized by transmission electron microscopy, X-ray powder diffractometer, Fourier transform infrared spectroscopy and thermogravimetric analysis. The fluorescence intensity of β-NaGdF 4 :Yb3+, Er3+@MIPs decreased significantly compared with molecularly non-imprinted polymers β-NaGdF 4 :Yb3+, Er3+@NIPs (the maximum emission peak is at 541 nm) in the presence of 4-aminobiphenyl. Adsorption isotherm and adsorption kinetics between UCNP@MIPs and 4-ABP have been investigated and a satisfactory imprinting factor is 2.5. The detection mechanism is proved to be based on Langmuir adsorption and internal filtration effect. Under optimal experimental conditions, the limit of detection and quantification are 0.16 μM and 0.53 μM, respectively. The linear range of response is 1–50 μM, and RSD is less than 6.7%. This method was applied to determining river water samples in order to evaluate the practicability, and the good recovery rate is between 98.89% and 109.7%. These evidences demonstrate that β-NaGdF 4 :Yb3+, Er3+@MIPs is successfully used for the detection of 4-aminobiphenyl. [ABSTRACT FROM AUTHOR]