Capriate San Gervasio is a town and comune in the province of Bergamo, in Lombardy, northern Italy. As of 2019, its population was 8,216. The municipality is located about 17 km from Milan.