Background: Ceftriaxone upregulates GLT1 glutamate transporter in the brain and may have anti-CFC and anti-OCD effects. Methods: Twenty WZ-5HT rats were used to investigate the effects of ceftriaxone on obsessive-compulsive (OCD)-like behaviour in the marble-burying (MB) test, freezing behaviour in contextual fear conditioning (CFC) and expression of GLT1 protein in the hippocampus or amygdala using immunoblots. Fifteen DBA/2J mice were used in the MB test. We also compared diazepam with ceftriaxone in open-field, beam-walking, and wire-hanging tests on 47 DBA/2J mice. Ceftriaxone (200 mg/kg) and saline were applied intraperitoneally, once daily for 7 (rats) or 5 (mice) consecutive days. A single dose of diazepam (1.5-3.0 mg/kg) or saline was injected 30 min before the behavioural tests. Results: Ceftriaxone significantly diminished OCD-like behaviour (↓ number of marbles buried) and freezing behaviour in CFC context session (↑ latencies, ↓ total duration, ↓ duration over four 2 min periods of the session) but increased GLT1 protein expression in the amygdala and hippocampus of rats. Diazepam induced sedation, ataxia and myorelaxation in mice. Ceftriaxone did not have these side effects. Conclusions: The results of this study confirm the anti-CFC and anti-OCD effects of ceftriaxone, which did not produce the unwanted effects typical of diazepam.