Teknaf sits on a narrow peninsula between the Bay of Bengal and the Naf river, which forms the border with Myanmar. For centuries it was a frontier between Bengal and the Arakan kingdom, with Rakhine, Bengali and other communities living along the coast.
The town is known for the story of Mathiner Kup (Mathin's Well): in the British period a police officer, Dhiraj Bhattacharya, fell in love with Mathin, a Rakhine girl who drew water from the well — a tale of love and loss still told by every guide.
Since 2017 large numbers of Rohingya refugees from Myanmar have lived in camps in Teknaf and neighbouring Ukhiya. The Marine Drive, a coastal road from Cox's Bazar, has made the beaches between Cox's Bazar and Teknaf easy to reach.