They are considered safe, and they offer yield. No wonder the stocks of real estate investment trusts ran in the opposite direction of the Brexit-bashed U.S. stock market Friday.

Last fall, interest in REITs had begun to wane, as expectations of higher interest rates outweighed solid fundamentals in the real estate market. Now REITs, and the real estate underlying them, are the power play for the anxious investor.