So says Zillow, a real estate data website, which took into account home values, population density, walkability and local crime (or, presumably, lack thereof.) Boston, Honolulu, Seattle and San Jose rounded out the top five. The website used the same data to calculate the best neighborhoods within each city to trick-or-treat.

“There is a common belief that wealthy neighborhoods are the Holy Grail for harvesting the most Halloween candy,” according to the website, while adding its calculations were devised to create a “more holistic approach.”

We’re not too sure how that worked out considering the best San Francisco neighborhoods were Presidio Heights, Sea Cliff, Noe Valley, Cow Hollow and Lake. (The latter is the neighborhood between Sea Cliff and Presidio Heights.) Sounds pretty darned wealthy to us.

Tell us in the comments section what your favorite ‘hood is for trick-or-treating and if you’ve come up with any great San Francisco-themed costume ideas. (Here’s hoping the Castro’s naked guys use the occasion to actually get dressed!)