With the housing market showing signs of stabilizing, investors are turning back to real estateAnd an increasing number of affluent savers have been using their retirement accounts to purchase homes, rental apartments, and other properties. To buy real estate within a retirement account, you first need to set up a "self-directed" IRA with a custodian.