Villa Castelli has medieval origins, it was built as a farm by the Imperials, who had established their own fiefdom in the neighboring Francavilla Fontana. The village was called " Li Castelli", from the Latin word castellum which means township- village. The area on which stands the present town boasted a human presence in prehistoric times, particularly in the Neolithic period. According to a local legend, Villa Castelli would have been used by the Romans after the defeat of the Messapians, as a colony for veterans. Between the sixteenth and the seventeenth century the village was one of the great estates of the territory, here the Imperials placed a horse farm. As the last of the Imperial died without heirs, the territories of Villa Castelli were sold and purchased by the Duke of Monteiasi, Gioacchino Ungaro, who aimed to transform the village into a real town: so was built a church and divided the territory between the inhabitants of Ceglie and Grottaglie interested in the land. It was only in the nineteenth century that " Li- Castelli", changed its name to Villa Castelli, where " Villa " comes from the French “villas”, which means precisely town. The campaign of Villa Castelli is particularly flat and is suitable for the cultivation of intensive type. The olive trees alternate with vineyards and fruit growing.