How does closing an old credit account affect your credit score?

Closing old credit accounts can hurt your credit score by shortening credit history, increasing credit utilisation ratio, and reducing overall score temporarily.