The United Nations said Monday it was moving dozens of employees out of Baghdad as a precaution due to the deteriorating security situation in Iraq.