Article 331 of the Turkish Penal Code (Law No. 5237, "TPC"), titled "Uluslararası casusluk" (Transnational and International Espionage) under Book Two, Part Four, Chapter Seven ("Crimes Against State Secrets and Espionage"), criminalizes obtaining information that by its nature must remain secret for the security or internal or external political interests of a foreign state, with the intent of political or military espionage in favor of another foreign state. Carrying a prison sentence of one to four years, Article 331 does not protect the domestic state secrets of the Republic of Türkiye—which are governed by Articles 326 through 330—but rather prevents Turkish territory and Turkish nationals from turning into an intelligence battleground between third states, safeguarding Türkiye's diplomatic neutrality and international security posture.
Unlike standard espionage offenses in Chapter Seven, Article 331 establishes a triangular legal structure involving at least two foreign states: the victim state whose secret information is targeted, and the beneficiary foreign state on whose behalf the intelligence is gathered. To establish liability under Article 331, the prosecution must prove four cumulative elements:
In practice, the sharpest litigation dispute in espionage indictments arises at the boundary between Article 331 TPC (1 to 4 years' imprisonment) and Article 328 TPC ("Political or military espionage," punishable by 15 to 20 years' imprisonment). Article 328 applies when the secret information relates to the security or internal or external political interests of the Republic of Türkiye. Where foreign intelligence operatives target foreign nationals residing in Türkiye, dissidents, or diplomatic missions located on Turkish soil, courts scrutinize whether the intelligence gathered also implicates Türkiye's own internal security, public order, or bilateral diplomatic interests—if so, the conduct shifts from Article 331 to the far harsher regime of Article 328.
Similarly, Article 331 must be separated from Article 335 TPC (obtaining prohibited—rather than intrinsically secret—information for espionage purposes) and Article 330 TPC (disclosing state secrets for espionage). Because Article 331 penalizes only obtaining and contains no separate verb for disclosing foreign secrets, an actor who receives already-publicized foreign leaks without actively procuring them cannot be convicted under Article 331 by analogy (Article 2 TPC). Likewise, legislative drafts discussed in 2024 under the label of "influence agentry" (proposed Article 339/A TPC) targeting activities aligned with foreign strategic interests were withdrawn from parliamentary bills and have not entered into force, leaving Article 331's strict secret-and-espionage-intent threshold intact.
Under Article 12 and the final paragraph of Article 15 of Law No. 5235 (as added by Law No. 6723), offenses codified in Book Two, Part Four, Chapter Seven of the TPC—with the sole exception of Article 332—fall within the exclusive subject-matter and territorial jurisdiction of the Heavy Criminal Court established in the provincial center (il adıyla anılan ağır ceza mahkemesi) where the offense occurred.
Procedurally, Article 331 is expressly enumerated in the Criminal Procedure Code's statutory catalogs permitting intrusive investigative measures when supported by concrete evidence establishing strong suspicion and no alternative means of obtaining evidence (ultima ratio): interception of telecommunications (CPC Article 135/8-a-14), undercover investigators (CPC Article 139/7), and technical surveillance (CPC Article 140/1-a-17). Crucially, however, because Article 331 carries a maximum sentence of four years' imprisonment and is not listed in the exceptional appeal catalog of CPC Article 286/3, an appellate judgment upheld by the Regional Court of Appeal (Bölge Adliye Mahkemesi) is final (non-appealable to the Court of Cassation) under CPC Article 286/2-a. As demonstrated by recent Court of Cassation jurisprudence, this creates an asymmetric procedural dynamic where defense appeals against an Article 331 conviction may be dismissed as inadmissible, while prosecutorial objections seeking reclassification under Article 328 remain subject to Cassation review or extraordinary objection under CPC Article 308/A.
"In the offense of obtaining confidential information relating to state security, internal or external political interests, and national defense with the intent of political and military espionage, criteria such as the perpetrators' personal characteristics, the time and place of obtaining the information—specifically whether secret information was obtained during periods when bilateral relations between the country for which the defendant was found to operate and Türkiye were tense or during intense terrorist incidents—and the method of obtaining the information must be examined; whereas it was understood that the defendant, targeting foreign nationals of Middle Eastern and Gulf origin living in our country against the State of ..., obtained information suitable for black propaganda/psychological operations against our country that by its nature had to remain secret in terms of our country's internal and external political interests with the intent of political and military espionage, and although the defendant was sentenced pursuant to Article 331 of Law No. 5237, the acts reflected in the case file as a whole constituted the offense of 'political and military espionage' regulated under Article 328 of the TPC, and in this scope, failing to ensure that the Regional Court of Appeal Chief Public Prosecutor's Office lodged an objection pursuant to Article 308/A of the CPC against the conviction under Article 331—which is legally non-appealable before the Court of Cassation—so that the defendant's legal status could be assessed accordingly..."
Defending against an investigation or indictment under Article 331 TPC requires targeting three decisive fault lines early in the proceedings. First, defense counsel should challenge the "secret" classification of the alleged materials through technical forensic review and diplomatic/administrative verification under CPC Article 47, demonstrating where data stems from open sources, journalism, or ordinary commercial reporting rather than intrinsic foreign state secrets. Second, the prosecution must establish specific espionage intent on behalf of a second foreign state rather than mere curiosity, academic research, or private investigation. Third, for foreign defendants, any allegation resting on acts committed outside Türkiye fails the express territoriality condition embedded in Article 331/1; simultaneously, counsel must guard against prosecutorial attempts to escalate the charge to Article 328 TPC and scrutinize the necessity and proportionality of wiretapping or technical surveillance warrants issued under CPC Articles 135 and 140.