An advanced degree won’t open the door to your new home in these cities.

There’s a big upside to a bachelor’s or professional degree that’s rarely talked about: The fact that people with higher levels of education are more likely to buy and own homes, according to a study released Wednesday by real estate firm Trulia.

Indeed, 67.3% of people with a bachelor’s degree own a home, as compared to just 56.4% of those with just a high school degree. Furthermore, 75% people with a professional degree — such as an MBA, JD or MD — own a home.

These high rates of homeownership may be good news to those worried about how student debt will impact homeownership rates. As Trulia notes, “although debt plays a factor in higher education, early career college degree holders consistently have higher homeownership rates than those without a degree, suggesting that despite this debt more education still pays.”

Of course, much of this is a function of income. Those with at least a bachelor’s degree have median incomes ($82,202) that are nearly twice those that do not ($48,842). And those with a professional degree make $134,680.

But even a professional degree and a high income isn’t enough to help you buy a home in some cities, the Trulia report revealed.

3 cities where more than 30% of professionals don’t own a home

Household income of area professionals Percent of professionals who are homeowners
New York $151,000 58%
San Francisco $174,000 58.2%
Philadelphia $129,000 62.8%
Los Angeles $139,000 66.3%
Boston $150,000 67.2%
San Jose $175,000 68.3%

The problem in these markets is typically sky high housing prices, which create a homeownership barrier even for the affluent. In just the past year, home values in New York have risen more than 16%; the median home in the city is priced at $825,000. In San Francisco, they’re up more than 7% this year with a home costing more than $1.2 million.

Of course, there are still markets where people with who don’t have a college degree own homes. Long Island N.Y tops the list with a homeownership rate of those without degrees at 74.5%. That’s followed by Troy, Mich. at 69.2% and Gary, Ind. at 68.1%.