Coín is a town and municipality in the Province of Málaga, Spain, c. 33 km west of the provincial capital, Málaga, and about 30 km north of Marbella. The town has an official population of 22,000 inhabitants.