With the American housing market nearly fully recovered from the collapse, buyers and, indeed, investors are flocking to various markets. And Originators in these cities are set to benefit.

Real estate is often a good investment and that is no truer than in a number of American markets. HomeUnion, a real estate investment management firm, crunched the numbers and determined the top 10 American markets to invest in real estate based on cap rate (rents minus expenses in relation to property value).

“Other asset classes underperformed in 2015, while single-family rental investors saw healthy returns in terms of income and appreciation in markets across the country,” Steve Hovland, manager of research services at HomeUnion, said. “Favorable supply and demand fundamentals and shifting views about renting among millennials and seniors, created increased occupancy rates, which resulted in higher rent prices.”

On the flipside of that, are the bottom 10 markets to invest. But, as you’ll see, even these provide returns for investors.

San Francisco and San Jose are the least attractive markets to invest (with cap rates of 2.7%), followed by; Orange County, CA (3%), Los Angeles (3.2%), New York (3.5%), Seattle (3.5%), Oakland (3.5%), San Diego (3.6%), Sacramento (3.6%), and Portland (3.9%).

“With continued turmoil in the securities markets, individual investors are increasingly looking to an alternative to low-yield bonds and risky stocks,” Don Ganguly, CEO of HomeUnion, said. “The SFR market is not correlated to the securities market, and with the right research, investors can find high-yield investments in markets anchored by solid, diverse economies and favorable demographics.”