Two militants were killed in predawn encounter with security forces in Alamdar Colony, Danmar area of Srinagar district on Friday, police said.