Si ha notizia della presenza di un castello, in Casaleggio, già nel lontano 1075 come dimora di Ermengarda, vedova di Unfredo "de Vico Sancto Petro", proprietaria con i fratelli anche del castello di Mortara. Unica testimonianza rimasta dell'antico castello medievale è l'alta torre, forse di avvistamento, che svetta sopra l'abitato, costruita in ciottoli disposti ordinatamente e mattoni pieni, inserita ora nella tenuta agricola castello e forse risalente al XIII secolo. Una curiosità ci viene tramandata dall'antico cronista novarese Pietro Azario. Si narra che nel Trecento una giovane nobile francese fosse in viaggio con il marito verso Roma: durante una sosta, in questa località, si innamorò di un giovane dei "Da Casaleggio" e si finse ammalata per non proseguire il cammino con il consorte. Il marito, adirato dopo aver scoperto il tradimento, radunò un esercito in Francia, tornò, assediò il castello, rase al suolo le case del paese e, dopo aver catturato i due amanti, ordinò di ucciderli.
We know of the existence of a castle in Casaleggio from as far back as 1075 when it was the dwelling place of Ermengarda, the window of Unfredo “de Vico Sancto Petro”, who with her brothers was also the owner of the castle of Mortara. All that remains of the ancient medieval castle is the high tower, probably a watch tower, overlooking the village; built with neatly arranged stones and solid bricks, it is now enclosed in the castle estate and probably dates from the 13th century. The chronicler Pietro Azario from Novara tells of a young noble woman from France who in the 14th century travelled to Rome with her husband and during a stop in this town fell in love with a young “Da Casaleggio” and pretended to be ill in order not to have to leave with her husband. The husband, angry after having discovered the infidelity, came back with an army from France and besieged the castle, destroyed the town and after having captured the two lovers, had them killed.