Hammamet was originally the site of a Roman settlement named Pupput.    Pirates also once inhabited the area until the Spaniards arrived and took control of the city.   Over the years, with a great coastal location, Hammamet developed into a quiet, little fishing village.
Famous artists and writers such as Gustave and Oscar Wilde later discovered the scenic splendor of the area, which in turn attracted more visitors.   Wealthy British, French and Americans discovered Hammamet and built fancy homes and villas.   Eventually, in the late 1960s, tourism expanded making Hammamet a major seaside resort in Tunisia.  

The most historic site in the city is the Kasbah (fort) that was built in the late 1400s to protect the city against enemies.