Twelve terrorists were killed on Thursday in an encounter with security forces in Kupwara district of Jammu and Kashmir, defence sources said.They were killed when they tried to cross over in Nowgam sector, the sources said.