Somaglia est une commune italienne d'environ 3 200 habitants située dans la province de Lodi, en Lombardie, dans le nord de l'Italie.