Oxytetracycline (OTC), a tetracycline antimicrobial, is one of the antimicrobial drugs frequently used in the aquaculture and livestock industries. Due to its extensive usage and emissions, OTC has been identified as a significant new emerging pollutant (EP) in a number of environments. OTC frequently causes toxic effects on the central nervous system, but it can be challenging to monitor, and it is still unclear how these toxicities are caused. We used bioinformatic analysis techniques to screen for OTC targets and discovered that NMDA receptors are potential targets of OTC neurotoxicity. To confirm this finding, we exposed zebrafish embryos to 5 mg/L OTC-containing rearing water from 2-hour post fertilization (hpf) to 8-day post fertilization (dpf), performed spontaneous movement and light-dark stimulation assays at 6 and 8 dfp, and discovered that OTC inhibited locomotor activity and attenuated anxiety-like responses in zebrafish larvae. Meanwhile, the qPCR and immunofluorescence staining results suggested that OTC inhibited the expression of multiple subtypes of NMDA receptors (grin1a, grin1b, grin2bb, grin2ca) and induced apoptosis in the brains of zebrafish embryos. Simultaneous administration of NMDA, an NMDA receptor agonist, completely antagonized the inhibitory neurobehavioral changes in zebrafish larvae, as well as the downregulation of N-methyl-D-aspartate (NMDA) receptor expression and apoptosis in the embryonic brains caused by OTC exposure. In conclusion, OTC exhibited significant inhibitory neurobehavioral toxicity in zebrafish larvae during early development, which may be dependent on its suppression of NMDA receptor activity and expression. Furthermore, OTC-induced neurodevelopmental toxicity may be associated with NMDA receptor-regulated neuronal apoptosis.