Sidi M'Hamed Ben Lahcen is a town in Taounate Province, Taza-Al Hoceima-Taounate, Morocco. According to the 2004 census it has a population of 18,990.