Risks for autism and depression are higher if one's mother was in hospital with an infection during pregnancy. This is shown by a major Swedish observational study of nearly 1.8 million children.