Charleston, SCCharleston, SC.Shutterstock

When you think of the most beautiful beaches in the United States, you probably think of Southern California, Hawaii, and Florida. However, there are tons of gorgeous beach towns all over the country — and not all of them are on the ocean.

WalletHub, a personal finance website, just released a ranking of the best beach towns to live in, and many of them are in locations you wouldn’t expect. The site gathered experts from a wide range of fields, including economics, urban planning, and environmental studies, to develop a methodology for the ranking. The experts came up with a system based on affordability, weather, safety, economy, education, health, and quality of life.

Several popular coastal cities appeared on the list, but many of the winners are nowhere near the ocean.  In fact, California only earned one spot on the list.

Keep scrolling to see where you should move to.

View As: One Page Slides