In the 13th century it became a fief of the Torriani family and, after the former's defeat, of the Visconti. Both families' control of the area is still reflected in the names of many farmhouses, like Cascina Torriana or Cascina Visconta. In the 15th century the area became a feud of the Sforza which ordered, during the latter half of the century, the construction of the Naviglio Martesana, whose completion increased Cernusco's economic importance. Cernusco was then given to the Visconti Marliani family and, in 1499, to the Trivulzio family.
