Costarainera () is a comune (municipality) in the Province of Imperia in the Italian region Liguria, located about  southwest of Genoa and about  southwest of Imperia.
Costarainera is a town located in the province of Imperia, in the Ligurian region of Italy. It's positioned roughly southwest of Genoa and southwest of Imperia.