Ciudad Quesada, San Carlos, Costa Rica · Barrio San Martín (Gamonales), across from the EBAIS (public health clinic) Phone +506 2460-7226 [email protected]

Access to Public InformationConstitutional

What Information Can the Government Keep Secret? What State Secrecy Means

The Constitution preserves state secrets. What areas they cover, what the regulation requires to deny information, and what to do if you are denied it.

Translated from the Spanish original. If there is any discrepancy between the two versions, the Spanish text prevails. Read the original in Spanish.

In this article8 sections
  1. What does the Constitution say?
  2. What information can be a state secret?
  3. Can the Government declare anything it wants secret?
  4. Is there a state secrets law?
  5. Is everything that is withheld a state secret?
  6. What must the response say if you are denied information on grounds of state secrecy?
  7. Practical recommendations
  8. Need help?

A journalist asks the Foreign Ministry (Cancillería) how much the Foreign Minister’s official trips cost over the past year. A neighbor asks the school board (junta de educación) of the local school for a breakdown of its income and expenses for the last four years. A legislator requests the political reports that Costa Rica’s ambassador to another country sent about the crisis that country is going through. Any of the three could be told “that is a state secret.” Only the third truly touches that limit, and perhaps not all of it. State secrecy is a narrow exception: the rule is that public information must be provided.

How to file a request and the deadline for responding are explained in this other publication on how to request information from a public institution. The rules that apply to any refusal are in the article on when you can be denied public information. Here we deal with one particular limit: state secrecy.

What does the Constitution say?

The Constitution (Constitución Política) guarantees free access to public offices to obtain information on matters of public interest, and adds a single sentence as a limit: “State secrets are preserved.”

In a 2003 ruling, the Constitutional Chamber (Sala Constitucional) said that public institutions must be “glass houses,” and that withholding information is justified only in qualified circumstances, to protect values the Constitution itself considers important. In that case, a school board did not give a neighbor its reports on income and expenses, and asked him to explain what he wanted them for. The Chamber ordered them handed over immediately: they concerned public funds, no exception covered them, and the neighbor did not have to give any explanation.

What information can be a state secret?

The Chamber has repeatedly held that state secrecy covers three areas:

  • national security, internal or external;
  • national defense against aggression against the country’s sovereignty and independence;
  • foreign relations, with other countries and with international organizations.

What counts is what the information is about, not which institution holds it. The Foreign Ministry handles foreign relations, but the cost of the Foreign Minister’s trips is not secret: the law requires every institution to publish on its website its officials’ travel costs, entertainment expenses, and per diems. The political content negotiated on a trip would be different, if disclosing it would compromise relations with another country.

An example of what it does cover: in 2016, a legislator requested the reports that Costa Rica’s ambassador to Brazil had sent on the political situation in that country. The Foreign Ministry gave him some and withheld those that, it explained, contained the ambassador’s assessments that could affect relations between the two countries. The Chamber sided with the Foreign Ministry, because that secrecy comes directly from the Constitution. It added that, in foreign policy, it is for the Executive Branch to assess what could compromise relations with another country, and that the Chamber does not review that assessment. One justice agreed with the outcome for other reasons and warned that political acts are not beyond constitutional review when they violate a fundamental right.

Can the Government declare anything it wants secret?

No. The Chamber set two rules:

  • Reserved to statute (reserva de ley). Certain matters can be regulated only by statute. According to the Chamber, in those three areas secrecy comes directly from the Constitution, and that is how it applied it in the 2016 case. The same ruling said that specifying it or extending it to other areas requires a law passed by the Legislative Assembly, and that a specific declaration of state secrecy can hardly be made through any other kind of rule. A decree can implement a statute, as the regulation of the access law does, but it cannot create secret areas or expand existing ones; nor can a directive or a circular.
  • Narrow interpretation. Because it is an exception to transparency, it is applied in the narrowest possible sense.

The Framework Law on Access to Public Information (Ley Marco de Acceso a la Información Pública) incorporates those two rules. Its regulation (reglamento) expressly names state secrets among the limits on access and requires them to be applied narrowly, reasonably, proportionately, and with stated reasons. It also sets general criteria that guide state secrecy:

  • The competent authority’s formal decisions to withhold information may apply to a specific case a ground for withholding that is already in the Constitution or in a statute, but they cannot create new categories of restricted information.
  • Withholding must be limited to what is strictly necessary, and it must be shown that disclosing the information would cause real, current, and substantial harm to the protected public interest. This requirement is recent, and we know of no Chamber decisions yet applying it to state secrecy.
  • The regulation calls for respecting time limits “where applicable”: certain information is withheld only while the grounds that justify it remain. Neither the law nor the regulation says whether this applies to state secrecy, or how long it may last.
  • Using these grounds to hide information of public interest, limit accountability, or cover up irregularities is strictly prohibited.

Is there a state secrets law?

There is no general law. In 2003, the Chamber noted that, more than fifty years after the Constitution was adopted, a state secrets law had still not been passed, and that this gap had led the Executive Branch to declare matters secret by decree, case by case and as circumstances dictated, a practice it described as contrary to law. In 2016 it repeated that warning.

What exists are scattered provisions. Two examples:

  • The General Police Law (Ley General de Policía) provides that the internal reports and documents of the Directorate of Intelligence and National Security (Dirección de Inteligencia y Seguridad Nacional), known as the DIS, are confidential, and that they may be declared a state secret by resolution of the President of the Republic. In 2025, the Chamber decided an action of unconstitutionality (acción de inconstitucionalidad) against that and other provisions on the DIS, and struck down none of them. As to the secrecy declaration, it said the action was not properly substantiated. Elsewhere it had remarked that it did not consider that provision contrary to the Constitution, because the declaration is not beyond review: it must be set out in a reasoned resolution, and the courts can examine whether it is valid.
  • The Criminal Code (Código Penal) punishes with one to six years in prison anyone who discloses formally declared state secrets concerning internal or external security, the defense of sovereignty, or foreign relations, and imposes the same penalty on anyone who improperly tries to obtain them or obtains them; if done by computer means, the penalty increases. Requesting information through the channel the law provides is not disclosing a secret or trying to obtain it improperly: it is exercising a right.

Is everything that is withheld a state secret?

No. State secrecy is one of several limits, each with its own basis. The regulation also mentions, among others, personal and sensitive data and professional, commercial, banking, and tax secrecy. We explain personal data in the article on your personal data held by the State, and the secrets of companies and taxpayers in the article on commercial, banking, and tax secrecy.

The difference matters: if the institution invokes state secrecy, the information has to relate to national security, defense, or foreign relations, unless a statute extends it to another area. If it is something else, such as an official’s medical data or the trade secrets a company included in its bid, the limit will be a different one, and the refusal must say which.

What must the response say if you are denied information on grounds of state secrecy?

A refusal, whether total or partial, must be communicated to you in writing, in a reasoned resolution, within the time allowed for responding to the request. That resolution must state:

  • the rule it relies on;
  • which part of the information is restricted;
  • what remedies you have to challenge it, before whom, and within what time.

A response that just says “it is a state secret,” with no rule or explanation, does not meet those requirements. And if only part of what you asked for is protected, the institution must give you the rest, with the protected parts blacked out.

If you disagree, you may challenge the refusal before the institution itself, which the regulation calls an objection (impugnación). The regulation gives ten business days, but the General Law of Public Administration (Ley General de la Administración Pública), which governs those appeals, gives three business days to appeal the resolution that ends the proceeding; it is prudent to file within three business days of notice, even if the refusal indicates a longer period. You may also file an amparo petition (recurso de amparo) directly with the Constitutional Chamber: the law says this right can always be defended that way, and you need not challenge the refusal before the institution first. If you do challenge it first, the time limit for the amparo is suspended until the institution rules expressly. The law leaves other avenues open, such as a lawsuit before the Contentious-Administrative Court (Tribunal Contencioso Administrativo). How the amparo works is explained in the publication on the amparo and habeas corpus petitions.

Practical recommendations

  1. You do not have to explain why you want the information. Demanding a reason is contrary to the law and the regulation.
  2. Expressly ask for partial delivery. State in your request that, if any part is withheld, they should give you the rest with the protected parts blacked out. The institution must do so anyway, but asking avoids disputes.
  3. Check whether the subject falls within one of the three areas. Information held by the Foreign Ministry or a ministry is not thereby a state secret; under the regulation, the institution must show the harm that disclosing it would cause.
  4. Act in time. If the refusal has no basis, challenge it before the institution within three business days of notice, or go directly to the Constitutional Chamber. If they do not answer within the time allowed for responding to the request, you may file an amparo petition.

Need help?

At Murillo y Guzmán we can review the institution’s response and, where appropriate, file the challenge or the amparo petition. On a current case, see also the news item on attorney Dowglas Murillo’s challenge to a state secrecy decree, which the Constitutional Chamber has not yet decided. Book a consultation.

This article is for informational purposes only and does not constitute legal advice for any specific case. To discuss your situation, book a consultation.

All insights Share

Related insights

Comments

Loading comments…