KABUL, Afghanistan—A Turkish military helicopter crashed into a residential neighborhood in the Afghan capital Friday, killing all 12 Turkish soldiers aboard and two young Afghan girls in their bedroom, according to officials and witnesses.

Friday's crash marks the deadliest day in Afghanistan for Turkey, a Muslim member of the North Atlantic Treaty Organization that oversees the coalition's regional command in charge of Kabul city.

The...