These are the best U.S. states to raise a family if you make over $70,000 a year

Rocket Mortgage's November report found the best states based on several factors, including overall affordability and social and economic elements.

These are the best U.S. states to raise a family if you make over $70,000 a year

A new report from Rocket Mortgage used data from U.S. News and WalletHub to rank states according to several criteria:

family funhealth and safety concernseducation and childcare possibilitiesoverall affordabilitysocial and economic factors

Overall, the report found that the best states in the U.S. to raise a family are home to major cities that are continuing to grow in population size and emerging industries.

And the average price of a home across all five places on the list is under $750,000. The average household income is $71,075.

No. 1 best state to raise a family if you make over $70,000 a year: Massachusetts

Total score: 65.21

Massachusetts is a state that offers everything from the Berkshire Mountains to the beaches of Cape Cod and a major city like Boston.

Although Massachusetts ranks no. 2, behind Connecticut, as the nation's least affordable state, it makes up for the high cost of living by offering a great public school network and a world-class healthcare system, according to Rocket Mortgage.

According to U.S. News, Massachusetts ranks no. 2 for healthcare. Boston is home to two of the best hospitals in the country: Massachusetts General (rank: 5) and Brigham and Women's (rank: 14).

The state also consistently gets high scores for its public education for grades pre-K to 12, coming in second to New Jersey.

5 best U.S. states to raise a family if you make over $70,000/year

MassachusettsNew YorkVermontMinnesotaNebraska

The second state on the list is New York. It ranked 36th for affordability.

According to Rocket Mortgage, outside of New York City, the state is nowhere near as expensive, which tilted the scale of affordability statewide.

Like Boston, New York is home to world-class hospitals, which is why the state ranks seventh for healthcare.

The third state on the list is Vermont. Although the state doesn't have significant metropolitans like the previous two states, Vermont makes up for it in ski trails and a large tourist industry.

Vermont has some of the strongest zoning laws to protect the environment. It also has some of the highest state income taxes, topping out at 9.4% at the highest income levels.

It's important to note that although the state income taxes are high, the average salary is $61,581, and the average income is $76,398, according to the U.S. Census Bureau.

Sign up now: Get smarter about your money and career with our weekly newsletter

Want to earn more and work less? Register for the free CNBC Make It: Your Money virtual event on Dec. 13 at 12 p.m. ET to learn from money masters such as Kevin O'Leary how you can increase your earning power.