El Kef (Arabic: الكاف il-kāf), also known as Le Kef, is a city in northwestern Tunisia. It serves as the capital of the Kef Governorate.
El Kef is situated 175 kilometres (109 mi) to the west of Tunis and some 40 kilometres (25 mi) east of the border between Algeria and Tunisia. It has a population of 45,191 (2004 census). The old town is built on the cliff face of the table-top Jebel Dyr mountain. El Kef was the provisional capital of Tunisia during World War II. It was the command centre of the Front de Libération Nationale during the Algerian War of Independence against the French in the 1950s.
The Sidi Bou Makhlouf Mausoleum entombs the patron saint of the city.