TrkB overexpression in mice buffers against memory deficits and depression-like behavior but not all anxiety- and stress-related symptoms induced by developmental exposure to methylmercury. Here, NTRK2 is linked to depressive disorder.