Archaeological findings from the 16th century BC have been found in the area of what is now Castel Gandolfo.
During the Napoleonic Wars, some 900 anti-French citizens of neighboring Velletri held out in Castel Gandolfo, resisting the siege by Joachim Murat.