A viral infection in a pregnant woman not only affects her subsequent ability to provide maternal care but can also trigger depression in her offspring, which can then even extend into the next generation as a result of changes to genetic mechanisms in the brain.