Zillow based their list on four criteria – the value of homes in single-family residences, local crime data, the proximity of each house and age of residents.

“This data combines to give us the safest cities to trick or treat, where trick-or-treaters can get the best candy, in the least amount of time,” the website states.

California made high marks on the list with three of its cities in the top three. San Francisco ranked No. 1 for the fifth time in a row according to Zillow. San Jose, Calif., and Los Angeles came close behind at No. 2 and 3.

Here's the full list:

20. Jacksonville

19. Nashville

18. Seattle

17. Dallas

16. Portland

15. Albuquerque

14. Columbus

13. Philadelphia

12. Las Vegas

11. Charlotte

10. Sacramento

9. Denver

8. San Diego

7. Boston

6. Chicago

5. Phoenix

4. Milwaukee

3. Los Angeles

2. San Jose

1. San Francisco

Read more at Zillow.com