The U.S. military said in a statement that some 16 detainees had stormed the armory and seized a number of weapons.
At least four Iraqi prison guards and four prisoners were killed in the shoot-out that followed.
The military said the incident was an attempted breakout, but that none of the prisoners escaped.
Earlier reports suggested the death toll could be as high as 20.
RFE/RL Iraq Report
SUBSCRIBE For weekly news and analysis on Iraq by e-mail, subscribe to "RFE/RL Iraq Report."