Loppi () is a municipality in Kanta-Häme, Finland. As of 31 December 2020, the municipality had a population of 7,855. The municipalities next to it are Hyvinkää, Hämeenlinna, Janakkala, Karkkila, Riihimäki, Tammela and Vihti.