There is a genetic component to PCOS, meaning it can run in families, but other factors also contribute to its development.