The story dates back to Fifth Fabio Massimo (3rd century BC) who had built a camp in this part of the country during the war against Hannibal (Annibale) - enabling the name "camp Maximi" (camp of Massimo) to be pronounced - which in time turned into the namesake of Casamaxima.
However, a more accurate recording of its namesake happened in the year 1195 when the town was granted to the Massimi or Massimo family by the emperor Enrico VI - on one condition, that the family was expected to change their surname to "Casamassima".