Dakar is the capital and largest city of Senegal. The department of Dakar has a population of 1,278,469, and the population of the Dakar metropolitan area was at 4.0 million in 2023.