Longiano is a municipality of 7,126 inhabitants (as of 31 December 2015) in the province of Forlì-Cesena in the Italian region of Emilia-Romagna, about 90 km southeast of Bologna and about 30 km southeast of Forlì. The main town of the municipality is located on the first ridge of the Apennines south of the Po Valley and is dominated by the castle complex "Rocca Malatestiana" from the 13th and 14th centuries. Part of the municipality lies in the plain and touches the state road 9, where many industrial enterprises have settled. The municipality includes the districts Badia, Balignano, Budrio, Crocetta, Felloniche, Massa, Montilgallo and Ponte Ospedaletto. Adjacent municipalities are Borghi, Cesena, Gambettola, Gatteo, Montiano, Roncofreddo, Santarcangelo di Romagna and Savignano sul Rubicone.