Article 339 of the Turkish Penal Code No. 5237 (TPC), titled "Unlawful Retention of Documents Relating to State Security" (Devlet güvenliği ile ilgili belgeleri elinde bulundurma), penalizes with one to five years of imprisonment anyone apprehended in possession of documents or analogous items capable of obtaining information that must remain secret for state security or domestic/foreign political interests, or whose disclosure is prohibited by competent authorities, where no acceptable reason for possession can be demonstrated. Codified under Book Two, Part Four, Chapter Seven ("Offenses Against State Secrets and Espionage"), Article 339 functions as a preventive endangerment provision covering preparatory conduct prior to unauthorized disclosure or espionage.
Under Article 339(1) TPC, criminal liability attaches only if the seized item qualifies under one of two statutory categories of protected secrecy:
In Turkish administrative practice, public institutions and defense contractors categorize records under security classifications such as "Çok Gizli" (Top Secret), "Gizli" (Secret), "Özel" (Confidential), "Hizmete Özel" (Restricted / For Official Use Only), and "Tasnif Dışı" (Unclassified). Crucially, as established by the 3rd Criminal Chamber of the Court of Cassation, an administrative designation of "Hizmete Özel" does not automatically satisfy the statutory threshold of a "secret document" under Article 339(1) TPC. Courts must obtain official confirmation from the competent authority (such as the Ministry of National Defense or relevant presidency/directorate) regarding the exact classification level and, where digital systems or defense projects are involved, commission a tripartite expert panel report examining whether the content genuinely affects state security or political interests.
Furthermore, the statutory phrase "documents or anything of this nature" (belgelerle veya bu nitelikteki herhangi bir şeyle) is technology-neutral: USB flash drives, external hard disks, encrypted cloud backups, technical blueprints, source code, and photographic records fall within the scope of Article 339 provided they are capable of yielding protected information.
Unlike offenses that require active destruction, theft, fraudulent acquisition, or transmission, Article 339(1) requires that the perpetrator be apprehended (yakalanan) with the protected document or item in their possession or custody. Turkish criminal doctrine largely treats apprehension in possession either as an objective condition of punishability or as an integral element of the prohibited conduct, requiring actual physical or constructive dominion at the moment of seizure.
Equally decisive is the negative statutory element: the inability to demonstrate an "acceptable reason" (kabul edilebilir bir neden) for holding the document. When a defendant holds classified defense or state security files by reason of official assignment—such as an authorized project officer, executive committee member, or designated defense engineer working within established institutional workflows—possession is legally justified and fails to satisfy the statutory definition of the offense (warranting acquittal under Article 223(2)(a) of the Code of Criminal Procedure No. 5271, CCP). Conversely, copying restricted defense project data onto personal USB drives upon resignation or retaining classified files outside authorized workplace channels after termination of duty can negate an acceptable reason, triggering inquiry into Article 339 alongside Articles 326, 327, and 334 TPC.
Article 339 TPC operates as a subsidiary (residual) offense relative to graver provisions in the same chapter:
Under Article 339(2) TPC, if the offense is committed during wartime, the sentencing bracket escalates to three to eight years of imprisonment. Procedurally, jurisdiction vests in the Heavy Penal Court (Ağır Ceza Mahkemesi) under Article 12 of Law No. 5235, and digital seizures must strictly comply with CCP Article 134 hashing, imaging, and chain-of-custody safeguards.
"...Considering the content of the letter dated 18.11.2021 attached to the correspondence of the Ministry of National Defense Air Force Command Legal Services Directorate dated 24.11.2021; it was reported that the document concerning the HETS project bore the 'restricted for official use' (hizmete özel) security classification and therefore did not constitute a secret document regulated under Article 339/1 of the TPC; that the document concerning the Hava SOJ project contained partly restricted, partly secret, and partly unclassified information; and that according to the information provided by the Air Force Command Defense, Planning and Project Management Directorate, the defendant was the assigned and authorized project officer, executive group member, and responsible coordinator of said projects and, by the nature of the work, produced and held the information and documents in these projects, thereby having an acceptable reason for holding documents relating to state security; consequently, the charged act was not defined as an offense in the law..."
Effective defense against charges under Article 339 TPC hinges on dismantling both objective elements before trial proceeds to conviction. Counsel should first demand official institutional verification of each document's administrative classification and substantive secrecy status, challenging any prosecution attempt to equate "hizmete özel" or routine commercial records with state secrets. Second, appointment orders, job descriptions, institutional data-handling norms, and witness testimony must be assembled to establish an "acceptable reason" for custody. Finally, forensic review under CCP Article 134 should scrutinize digital seizure logs and expert methodology to prevent unlawful inferences of intent.