Closing old accounts can harm your credit score by shortening your credit history and increasing your credit utilization ratio. Instead of closing accounts, consider keeping them open and using them responsibly to demonstrate a longer credit history and lower credit utilization.