The real estate market is a tough one for first-time home buyers, but a new study finds there are still areas of the nation that remain viable for new home seekers.

The study by personal finance website WalletHub looked at 300 cities, comparing them using 22 factors, such as cost of living, real estate taxes and the local crime rate.

"Buying a home for the first time is an exciting and important milestone for many Americans, but achieving that milestone is getting more difficult as prices and interest rates continue to rise," the report said. "Last year, first-time buyers made up just 32% of the market, compared to the historical average of 40%."

The study broadly looked at each city's affordability, the health of its real estate market and its quality of life, including the weather, the quality of its school system and energy costs.

"The best cities for first-time home buyers not only are affordable both in terms of buying a house and living there afterward, but they also have a lot of housing choices as well as low crime rates and good schools,” WalletHub analyst Cassandra Happe said in the report.

The following, in ascending order, are WalletHub's best cities for first-time home buyers:

10. Henderson, Nev.

The city had the 20th best real estate market and ranked 36th in affordability.