Heredia is a district in the Heredia canton of Heredia province, Costa Rica. As the seat of the municipality of Heredia canton, it is awarded the status of city, and by virtue of being the city of the first canton, it is the Province Capital of Heredia province as well. It is 10 kilometers to the north of the country's capital, San José.