Castel San Pietro Terme is a comune in the Metropolitan City of Bologna, in the Italian region of Emilia-Romagna, with about 21,000 inhabitants. It is located along the Roman Via Emilia, at the foot of the Tuscan-Emilian Apennines.