# Law 5651 Log Retention in Türkiye: What Businesses Offering Guest or Staff Wi-Fi Must Record and Keep

> Who must keep Law 5651 logs in Türkiye, what is an internal IP allocation log and how long is it kept? A 7-step, KVKK-compliant set-up plan and checklist.

Source: https://digitalbridge.com.tr/en/blog/turkey-law-5651-log-retention.html
Publisher: Digital Bridge Teknoloji (https://digitalbridge.com.tr)
Topic: Cyber Security & Compliance
Published: 2026-10-22 · Updated: 2026-10-22

Law 5651 log retention is the Turkish requirement for organisations that provide internet access to keep records answering one question: which internal IP address was assigned to which device, and when. They must also prove the records are unaltered. As of 2026, most hotels, hospitals, schools, cafés and offices offering guest or staff Wi-Fi in Türkiye fall within it.

## Key takeaways

- Article 7 of Law No. 5651 requires every public use provider, commercial or not, to take measures for keeping access records.
- The core record is the internal IP allocation log: the internal IP handed out, its start and end time, and the device's MAC address.
- The 2007 regulation requires commercial providers such as internet cafés to keep logs, with a daily integrity value, for one year.
- No single appliance delivers compliance; network separation, one time source, daily hashes, automatic deletion and a written request procedure are all needed.
- 5651 logs are usually personal data, so KVKK requires a privacy notice, role-based access and deletion when the period ends.

## Does guest Wi-Fi bring you under Law 5651?

A guest SSID in reception, staff phones on the corporate wireless network, an access point for contractors on the factory floor: nobody thinks of this as providing an internet service. Then a prosecutor asks who, at a given date and time, made a connection from your public IP address.

Often the firewall has already overwritten last week's records, or the records show only the public address and nothing about which internal device held which IP. The organisation cannot demonstrate compliance, and innocent staff or guests end up under suspicion.

This guide covers the legal and technical side of Law 5651 logging. Using logs to detect attacks is a different job, explained in our [SIEM and log management guide](https://digitalbridge.com.tr/en/blog/siem-log-management-basics.html). What follows is a practical framework, not legal advice.

## Law 5651 log retention: who keeps what, and for how long

[Law No. 5651](https://www.mevzuat.gov.tr/mevzuat?MevzuatNo=5651&MevzuatTur=1&MevzuatTertip=5), Türkiye's law regulating internet publications, sorts online actors by role. A "public use provider" (toplu kullanım sağlayıcı) is anyone who gives people internet access at a particular place for a particular period. The definition does not require a commercial purpose, so in practice it is applied well beyond cafés and hotels: corporate guest and staff networks, hospitals, schools, dormitories and residential complexes.

Article 7 states that all public use providers, commercial or not, must take the measures set by regulation for keeping access records. The law also defines traffic data: the parties' IP addresses, source and destination ports, start and end time of the service, type of service, volume of data transferred and, where available, subscriber identity.

According to the Regulation on Internet Public Use Providers [as published in the Official Gazette in 2007](https://www.resmigazete.gov.tr/eskiler/2007/11/20071101-4.htm), the core technical duty is to record "internal IP allocation logs" electronically. Such a log shows the IP address handed out on the internal network, when its use started and ended, and the MAC address of the device using it. The regulation defines a "commercial" public use provider narrowly: someone offering internet access for a fee in internet lounges and similar places open to the public, essentially internet cafés.

Commercial public use providers must also obtain a permit from the local governor and, using software supplied by the competent authority, record the logs every day together with a value confirming their accuracy, integrity and confidentiality, keeping this data for one year.

The authority named in the regulation (the Telecommunications Communication Presidency, TİB) was closed in 2016 and its duties passed to the Information and Communication Technologies Authority (BTK), so, as of 2026, follow BTK's current guidance on tools and method.

The table below summarises the roles under Law 5651 and the retention periods written in the law and the regulation. Regulations can be amended, so confirm your position against the current consolidated text and with local counsel.

| Role | Typical example | Records to keep | Period (legal text) |
|---|---|---|---|
| Commercial public use provider | Internet café, internet lounge or similar public place offering internet access for a fee | Internal IP allocation log plus daily integrity value; also a permit from the local governor | One year under the regulation |
| Public use provider (outside the commercial definition) | Corporate office, factory, hospital, school network; hotels, cafés and shopping centres offering guest Wi-Fi (get legal advice on classification) | Internal IP allocation log, stored electronically | No figure in the regulation; integrity-protected storage for a defined period is advisable |
| Access provider | Internet service providers | Traffic data | Law: not less than six months, not more than two years |
| Hosting provider | Hosting and server rental services | Traffic data for hosted services | Law: not less than one year, not more than two years |

## What is the penalty and cost of missing 5651 logs?

The first cost of missing 5651 logs is regulatory. Under Article 7 of [Law No. 5651](https://www.mevzuat.gov.tr/mevzuat?MevzuatNo=5651&MevzuatTur=1&MevzuatTertip=5), the local governor (mülki amir) may impose a warning, an administrative fine or a suspension of business for up to three days on commercial public use providers that breach their obligations. The fine written in the law is TRY 1,000–15,000; administrative fines are revalued every year under the Law on Misdemeanours, so check the current amount. For a business in this category, three days of closure can easily hurt more than the fine itself.

The second cost of poor logging is evidential. Without records, internal devices cannot be told apart and uninvolved people get drawn in; records whose integrity cannot be shown carry weak evidential value.

The third is security. [Verizon's 2026 Data Breach Investigations Report](https://www.verizon.com/business/resources/T1ae/reports/2026-dbir-data-breach-investigations-report.pdf) found that exploitation of vulnerabilities was the most common initial access vector in breaches, at 31%. With patchy network records, reconstructing which internal device an attacker moved through becomes largely guesswork.

> According to the [Turkish Data Protection Authority's 2025 Annual Report](https://www.kvkk.gov.tr/SharedFolderServer/CMSFiles/MTY5ZjMxYTVlZGY0Y2Y.pdf), 551 complaints filed in 2025 concerned organisations failing to erase, destroy or anonymise personal data.

That figure is the other side of the coin. Logs kept indefinitely "just in case" fix a 5651 problem by creating a data protection problem.

## Law 5651 meets KVKK: retention is processing too

[KVKK](https://digitalbridge.com.tr/en/glossary.html#kvkk) is Türkiye's Personal Data Protection Law (No. 6698), broadly comparable to the GDPR. An internal IP allocation log holds MAC (Media Access Control) addresses and timestamps, and if your captive portal also collects a phone or room number, each record links directly to a person. In most cases that makes 5651 logs personal data. The legal basis is the statutory obligation itself, but transparency, access control and retention rules still apply.

In practice, keeping 5651 logs KVKK-compliant takes three steps. Show a short privacy notice on the guest portal; the difference between a notice and consent is covered in our [privacy notice versus explicit consent](https://digitalbridge.com.tr/en/blog/kvkk-explicit-consent-vs-privacy-notice.html) article. Add the log category to your data inventory and your [retention and disposal policy](https://digitalbridge.com.tr/en/blog/data-retention-disposal-policy.html), and be able to show that expired records are deleted automatically, with the deletion itself logged.

Logging on staff networks needs more care. Keeping a 5651 record is not the same as monitoring which sites an employee visits, and the two should run under separate purposes and permissions; see our guide to [employee personal data under KVKK](https://digitalbridge.com.tr/en/blog/employee-personal-data-kvkk.html). Replacing a shared Wi-Fi password with individual corporate credentials also makes the device-to-person link reliable (say so in your privacy notice), and [single sign-on](https://digitalbridge.com.tr/en/blog/single-sign-on-sso-benefits.html) keeps those identities in one place.

## How to comply with Law 5651: seven steps to a logging set-up

These seven steps work for anything from a small office to a multi-building campus; the first three come before buying any hardware.

1. **Map your networks.** List every SSID (wireless network name) and who it serves: guests, staff, contractors, production, cameras, IoT. Put guest and corporate traffic on separate VLANs (virtual local area networks), and check whether production and camera networks reach the internet at all.
2. **Establish your role.** Commercial or not? Do you also host services for others? Your role determines requirements such as the permit, the retention period and the integrity record.
3. **Choose the log source.** Allocation logs usually come from the DHCP (Dynamic Host Configuration Protocol) server, the firewall or the hotspot (captive portal) system. Where there are several, collect them all centrally.
4. **Use one time source.** Every network device should sync to the same NTP (Network Time Protocol) server. A clock two minutes adrift gives the wrong answer to "who had this IP at 14:32?".
5. **Make integrity provable.** Generate a hash of each day's log file and store it separately; add a qualified electronic timestamp where stronger evidence is needed. Only the collection service should have write access to the log store.
6. **Automate retention and deletion.** When the defined period ends, records should be deleted automatically and the deletion recorded. Backups must follow the same period.
7. **Write the request procedure.** Decide who responds to an official request, which query they run and how the output is handed over, and log the query itself. Rehearse it once a year with a sample request.

The simplest way to test a Law 5651 logging set-up is this checklist. Each row matches a question an audit or official request will ask.

| Check | Good answer | Common gap |
|---|---|---|
| Which device held a given internal IP at a given time last month? | MAC and time range from DHCP or hotspot records within minutes | Records kept for only a few days |
| How do you prove the logs are unaltered? | Daily hash, stored separately with a signature or timestamp | Plain text files on a share anyone can write to |
| Are all device clocks consistent? | Single NTP source, drift monitored | Access points still on factory time |
| Are guest and corporate networks separate? | Separate VLANs and log sources | Guests on the corporate network |
| What happens to expired records? | Automatic deletion with a deletion record | Indefinite archive, old logs left in backups |
| Who can read the logs? | Role-based access, with access logged | Everyone in IT |

The 5651 checklist also supports the logging and monitoring controls in [ISO 27001 for SMEs](https://digitalbridge.com.tr/en/blog/iso-27001-guide-for-smes.html). If basic network hygiene is not yet in place, start with our [SME cyber security checklist](https://digitalbridge.com.tr/en/blog/sme-cyber-security-checklist.html).

## Common Law 5651 logging mistakes

The most common Law 5651 logging mistake is treating compliance as a hardware purchase. An appliance produces records, but without clock sync, network separation, a retention period and a request procedure those records are of little use. The second is keeping the public IP and skipping the internal mapping, when the internal device is exactly what official requests ask about.

The third is turning 5651 records into an employee monitoring tool: logs kept for a statutory duty and then used in a disciplinary case create a KVKK risk. The fourth is a guest network disconnected from front-desk registration; organisations that manage arrivals with [QR code visitor access](https://digitalbridge.com.tr/en/blog/qr-code-visitor-access.html) can limit guest Wi-Fi to the length of the visit.

## How Digital Bridge approaches Law 5651 logging

At Digital Bridge, we start Law 5651 projects with discovery, not hardware. Through our [cyber security consultancy](https://digitalbridge.com.tr/en/consultancy/cyber-security.html) we map your topology, SSIDs, DHCP and firewall configuration, existing log sources and retention periods. The output is a short report showing which network falls under which role and obligation.

We then pilot collection, clock sync, the daily integrity value and a sample query on one guest network, and test together whether you can answer "who had 10.0.20.57 last Tuesday at 14:32?" in minutes. Records from mixed-vendor network equipment, hotspot software or building systems are brought into one store through our [system integration services](https://digitalbridge.com.tr/en/technology-hardware/system-integrations.html).

If the archive is to live in the cloud, immutable storage and access logging go into the plan from day one as part of our [cloud migration and infrastructure consultancy](https://digitalbridge.com.tr/en/consultancy/cloud-migration-infrastructure-consultancy.html). Privacy notices, inventory entries and retention rules are handled with our [data protection compliance](https://digitalbridge.com.tr/en/consultancy/data-protection-compliance.html) team, following the same path as our [KVKK compliance roadmap](https://digitalbridge.com.tr/en/blog/kvkk-compliance-steps.html).

Where the logs should also feed incident detection, we connect the same pipeline to a [SIEM](https://digitalbridge.com.tr/en/glossary.html#siem) (security information and event management) system so you can build a timeline within the [72-hour breach notification window](https://digitalbridge.com.tr/en/blog/data-breach-72-hours-kvkk.html). More guides are collected on our [Cyber Security & Compliance hub](https://digitalbridge.com.tr/en/blog/topic/guvenlik-kvkk.html).

## Next step

To gauge your Law 5651 readiness, ask three questions this week. How many wireless networks do your premises run, and who is each one for? Could you find which device held an internal IP a month ago? Is the deletion date written down?

If any answer is unclear, [contact us](https://digitalbridge.com.tr/en/contact.html) and we will map your networks and log sources with you. Discovery ends with a prioritised list of gaps.

## Frequently Asked Questions

### Which businesses does Law 5651 log retention apply to?

The law treats anyone who gives people internet access at a particular place for a particular period as a public use provider, and it does not require a commercial purpose. In practice it is applied not only to cafés and hotels but also to companies offering guest or staff Wi-Fi, hospitals, schools and residential complexes. Base your own assessment on the current regulation and advice from Turkish counsel.

### What is an internal IP allocation log?

An internal IP allocation log is the record of which IP address your own network assigned to a device, when that assignment started and ended, and the device's MAC address. It is usually produced by the DHCP server, the firewall or the hotspot system. When an official request arrives with your public IP and a timestamp, this is the record that links it to a specific internal device.

### How long must 5651 logs be kept?

The published regulation sets one year for commercial public use providers. The law itself sets between six months and two years for access providers, and between one and two years for hosting providers. Define your period according to your role, write it down, delete records automatically when it ends and keep a record of each deletion.

### Do 5651 logs conflict with KVKK?

No, provided they are handled properly. Logs kept to meet a statutory duty have a legal basis under KVKK, but the usual rules still apply: give a privacy notice, list the logs in your data inventory and retention policy, restrict access by role and delete them when the period ends. Using the same logs for other purposes, such as employee monitoring, needs a separate assessment.

### How can we prove our logs have not been altered?

The standard method is to generate a hash of each day's log file and store it apart from the logs, so any later change becomes detectable. A qualified electronic timestamp adds stronger evidence where needed. Restricting write access to the collection service and syncing every device to the same time source are also part of proving integrity.

### What is the penalty for not keeping 5651 logs?

Under Article 7, the local governor may impose one of three sanctions on commercial public use providers that breach their obligations, depending on the seriousness of the breach: a warning, an administrative fine or a suspension of business for up to three days. The fine in the law is TRY 1,000–15,000, revalued every year. Beyond the sanction, the real risk is being unable to produce records for a criminal investigation.

### Do we need a dedicated 5651 logging appliance?

Not always. Internal IP allocation records can often be taken from your existing DHCP server, firewall or hotspot system. What matters is collecting them centrally, syncing every device to one time source, producing a daily integrity value and deleting records automatically when the retention period ends. A separate logging appliance or software is worth considering only when your current infrastructure cannot do these things.
