This is an archived article and the information in the article may be outdated. Please look at the time stamp on the story to see when it was last updated.

Families searching for the perfect place to settle down face a difficult task. Finding the city with the best school system, low crime rates, quality health care and community support can leave prospective homebuyers feeling flustered.

In a new report by Fortune, researchers scoured the nation to find the 25 Best Places to Live for Families, with two Southern California cities making the list: Tustin (#12) and San Marcos (#20).

Nestled in the heart of Orange County, Tustin offers residents an excellent range of job, school and entertainment opportunities while offering world-class shopping and dining options, Fortune said. The town has a balanced offering of both historic architecture and modern development, according to the study.

With easy access to Los Angeles, the coastline and the San Gabriel Mountains, Tustin ranked 12th among the Top 25 best cities for families to live.

San Marcos, a suburb of San Diego with a population of nearly 100,000 people, was highlighted for its top-ranked school district and “mild, year-round climate, perfect for enjoying the city’s vast parks and trails program, as well as nearby lakes and beaches,” Fortune wrote.

The study analyzed around 2,000 cities and towns across the U.S. and more than 215,000 data points across five categories:

  • Education
  • Aging resources
  • General wellness
  • Financial health
  • Livability

Researchers specifically focused on the needs of the “Sandwich Generation,” those who are saddled with “simultaneous responsibilities of raising their children while regularly caring for their own parents.”

Fortune estimates around 45% of Americans are a part of this generation today.

To ensure the winning places were cities where residents could afford to buy homes, Fortune eliminated locations with home sale prices that “were more than twice as high as the state median and/or more than 2.75 times higher than the national median.”

Diversity was also prioritized. The study eliminated any town where “more than 90% of the population is white, non-Hispanic.”

No more than two cities per state and no more than one city per county/metro area were also chosen.

The 25 Best Cities to Live in according to Fortune are:

  1. Ann Arbor, Michigan
  2. Wylie, Texas
  3. Olathe, Kansas
  4. Mason, Ohio
  5. Morrisville, North Carolina
  6. Clearfield, Utah
  7. Gaithersburg, Maryland
  8. Leesburg, Virginia
  9. West Chicago, Illinois
  10. Novi, Michigan
  11. West Windsor, New Jersey
  12. Tustin, California
  13. South Portland, Maine
  14. Woodbury, Minnesota
  15. Parsippany-Troy Hills, New Jersey
  16. Brookline, Massachusetts
  17. Sugar Land, Texas
  18. Iowa City, Iowa
  19. Maryland Heights, Missouri
  20. San Marcos, California
  21. Walla Walla, Washington
  22. Sarasota, Florida
  23. Fountain, Colorado
  24. Statesville, North Carolina
  25. Maudlin, South Carolina