Spain has pulled out some of its troops from Iraq due to security concerns, acting Deputy Prime Minister Carmen Calvo said on Wednesday.