About 80% of folks I know with kids leave San Francisco before they turn 5. The big issues are high rent, variability of school quality and logistics getting kids+gear around. City has done some great work to upgrade the kid's parks but the rent, schools and logistics make it very expensive to raise kids in SF.