The Ministry of Justice and Peace of Costa Rica is the ministerial body in charge of administering the country's prisons, assisting the rehabilitation and social reintegration of the prison population, and representing the interests of the State through the General Procurator's Office in Costa Rica.
In 1847, the Constitution established the first precedent of the Ministry of Interior, Foreign Affairs, Governance, Justice and Ecclesiastical Affairs. It would not be until June 29, 1870 that the Ministry of Justice was created by decree by Bruno Carranza and Lorenzo Montúfar. The ministry would undergo several changes by decrees over the century to follow. On April 28, 1982, the Organic Law of the Ministry of Justice dictated that the minister would be assigned the following responsibilities: 