
Data Localization in Pakistan: Where Your AI and Cloud Data Must Stay
December 2, 2026
5 min
Data localization in Pakistan is set by sector, not by one law: government data follows the Cloud First Policy, banks follow the State Bank's cloud outsourcing framework, telecom operators follow PTA's security regulations, and a national data governance policy and a personal data protection bill would widen the rules but were still drafts at the time of writing. For AI, the practical rule is simple: if the data is sensitive enough to stay in Pakistan, so are the prompts, files, logs and models that touch it.
Most guides stop at "data". AI creates more of it than people expect. A single chatbot request can produce a prompt, an uploaded file, an embedding in a vector index, a log line, a cached answer and, months later, a fine-tuned model that has learned from all of it. Each of those is a copy of your data, and each has a location.
This guide explains which rules apply to whom, what is in force and what is still draft, how each rule maps onto the data an AI system creates, and how to decide whether a given AI workload can leave the country. For the wider picture, see our pillar on sovereign AI in Pakistan.
Key points
- No single law yet. Pakistan has no enacted general data protection law; the Personal Data Protection Bill is still a draft.
- Sector rules already bite. Public bodies, banks and telecom operators each have rules that keep sensitive data in Pakistan or require approval to move it.
- AI data counts. Prompts, embeddings, logs and fine-tuned weights can all reveal the original data, so treat them as the same class as their source.
- Remote access may count as transfer. The draft data governance policy treats data as being where it is "made accessible", so support access from abroad needs a plan.
Is there a data protection law in Pakistan?
Not a general one. Pakistan has no enacted, comprehensive data protection law; the Personal Data Protection Bill has gone through several drafts but had not passed at the time of writing. (Chambers, DLA Piper)
Until it passes, three things fill the gap:
- The Constitution. Article 14 protects the privacy of the home, which courts read as a privacy right.
- Sector regulators. The State Bank, PTA and the IT ministry set location rules for the entities they supervise.
- Contracts and internal policy. Most private companies outside banking and telecom decide for themselves, through customer contracts and risk policy, where personal data may go.
The drafts of the bill matter because they show where the law is heading. Published versions would create a data protection commission and restrict cross-border transfers of personal data, with the most sensitive categories kept in Pakistan. Plan for that direction even before it becomes law.
Which rules decide where data must stay in Pakistan?
Five instruments matter, and only some are in force. The table shows who each one covers and its status at the time of writing.
| Rule | Who it covers | What it says about location | Status |
|---|---|---|---|
| Pakistan Cloud First Policy (MoITT) | Federal public sector | Restricted, confidential and secret data must stay in government or private clouds hosted in Pakistan | In force; provider accreditation under way |
| SBP Framework on Outsourcing to Cloud Service Providers (BPRD Circular 01) | Banks, DFIs, microfinance banks | Prefer onshore providers; only non-material workloads offshore without approval; material workloads offshore need SBP approval | In force |
| PTA Critical Telecom Data and Infrastructure Security Regulations | Telecom operators and ISPs | Critical data to be stored and processed in Pakistan unless PTA approves a transfer (reported) | Finalised (reported) |
| National Data Governance Policy (MoITT) | Government data, with wider effects on suppliers | Restricted, confidential and personal government data to be hosted, stored and processed in Pakistan; cross-border use subject to approval | Draft, being finalised |
| Personal Data Protection Bill | Anyone processing personal data | Would restrict cross-border transfers of personal data | Draft, not passed |
Cloud First Policy: government data
The Cloud First Policy sorts government data into classes and maps each class to a type of cloud. Open and public data can use accredited public clouds. Restricted, sensitive or confidential, and secret data must stay in government or private clouds hosted in Pakistan (MoITT). The government has also started accrediting cloud providers, with security vetting and audits (Profit); six providers had applied by early 2026 (ProPakistani).
For AI: a ministry chatbot that reads restricted files cannot send them to a model hosted abroad, even for a single request.
State Bank of Pakistan: banks and financial institutions
Under BPRD Circular No. 01, regulated entities "shall give preference to onshore" cloud providers. They may place only non-material workloads offshore, and need SBP approval to put material workloads offshore. Banks remain responsible for the data and for their providers.
For AI: an AI service that reads customer data or supports a core process is likely material. Using a foreign AI API for it means asking SBP first. Running it on infrastructure in Pakistan avoids that question. Our guide to AI inference in Pakistan covers the local options.
PTA: telecom operators
PTA's Critical Telecom Data and Infrastructure Security Regulations are reported to require that critical telecom data be stored and processed in Pakistan unless PTA approves a cross-border transfer, with cloud and backup infrastructure under Pakistani jurisdiction (ProPakistani). Check the final text on PTA's website before relying on the details.
For AI: call records, subscriber data and network data used for AI analytics or customer-service bots should be processed in Pakistan.
National Data Governance Policy: the draft that widens the net
The IT ministry's draft policy would require restricted, confidential and personal government data to be hosted, stored and processed in Pakistan, with cross-border processing only under approved conditions (MoITT draft, Arab News). Its definition of residency covers data that is made accessible, not only data that is stored. The software industry body P@SHA has warned that this could treat remote access by staff abroad as a cross-border transfer (ProPakistani).
For AI: if a vendor's engineers abroad can log in to your AI platform, read its logs or pull its model files, your data may be "accessible" outside Pakistan even though the servers are local. Ask who can access the system and from where.
Personal Data Protection Bill: the law still to come
The bill would give Pakistan its first general data protection law, with a regulator and limits on transferring personal data abroad. Its timing is uncertain. Design as though it will pass: keep personal data used for AI in Pakistan by default, and document every exception.
What counts as "data" in an AI system?
Everything the AI touches or creates from your data: prompts, uploaded files, embeddings, outputs, logs, fine-tuned models and the access paths around them. Each is a copy of the original in a different form, and each has a location.

| AI data | Example | Why it carries the original data |
|---|---|---|
| Prompts and chat history | "Summarise this customer's complaint" | Often contain names, account details and internal facts verbatim |
| Uploaded files and knowledge sources | Policies, contracts, case files used for answers | Full copies of the source documents |
| Embeddings and vector indexes | Numeric vectors of each document chunk | Research shows text can be largely reconstructed from embeddings |
| Model outputs and caches | Generated summaries, cached answers | Restate the source data in new words |
| Logs, traces and telemetry | Request logs, monitoring traces, vendor usage data | Frequently store full prompts and responses |
| Fine-tuned model weights | A model tuned on your support tickets | Models can memorise and repeat parts of their training data |
| Access paths | Vendor support logins, admin consoles, backups | Make the data reachable from wherever the user sits |
Two research findings explain why embeddings and fine-tuned models are not "anonymous":
- Embeddings can be reversed. Morris and colleagues showed a method that recovered 92% of 32-token text inputs exactly from their embeddings (arXiv). An index of embeddings is close to an index of the text itself.
- Models can memorise. Carlini and colleagues extracted hundreds of verbatim training sequences, including personal information, from a public language model (arXiv). A model fine-tuned on customer data should be treated as customer data.
The business consequence: if your source data must stay in Pakistan, keep its embeddings, logs and fine-tuned models in Pakistan too. Moving only the "derived" data abroad does not get around the rule. Our post on using the OpenAI API in Pakistan explains what typically leaves the country when you call a foreign API.
Can this AI workload leave Pakistan? A five-question check
Answer five questions per workload; one "yes" to the first three usually means the workload stays in Pakistan.
- Does it touch government data classed above "public"? If yes, the Cloud First Policy keeps it in Pakistan.
- Are you a bank, DFI or microfinance bank, and is the workload material? If yes, offshore use needs SBP approval; local hosting avoids it.
- Are you a telecom operator using critical telecom data? If yes, PTA's rules keep it in Pakistan unless PTA approves.
- Does it use personal data? If yes, plan for the data protection bill and your own customer contracts: keep it local by default and record any exception.
- Can anyone abroad reach the data, logs or models? If yes, including vendor support or monitoring, treat that as a transfer and either remove the access or approve and record it.
Only when every answer is "no", or an approval is on file, should a workload run abroad. Write the answer down per workload and review it when the rules change.
How to keep AI data in Pakistan in practice
Run the AI stack where the data lives, keep its side channels local, and keep proof.
- Host models in the country. Use open-weight or private models on GPUs in Pakistani data centres or on your own premises, instead of sending requests to foreign APIs.
- Keep the whole pipeline local. Vector databases, caches, logs, monitoring and backups must sit in the same boundary as the model.
- Switch off phone-home. Choose software that runs without telemetry or licence checks to servers abroad, and test it in an air-gapped setup.
- Control access. Limit admin and support access to named people in Pakistan, use single sign-on, and log every access.
- Keep an audit trail. Store who called which model, with which data, and when, in a tamper-evident log you can show a regulator.
- Set budgets and keys per team. Give each team its own API key with limits, so you know which data each application sends.
- Plan for hybrid. Non-sensitive workloads can still use international services. Make the split a written decision, not an accident.
Where Stixor AI Hub fits
Stixor AI Hub is a platform for running AI inside a chosen boundary. It provides three services on one platform, sharing the same tenancy, metering and billing: GPU as a Service, Models as a Service behind one OpenAI-compatible API, and a Platform as a Service for fine-tuning, training and notebooks.
For data localization, the relevant features are:
- Deployment where the data must stay: on-premise, fully air-gapped with no telemetry and no licence server calling home, in a sovereign cloud in Pakistan, or hybrid. Sky47 runs Stixor AI Hub at its Karakoram-01 data centre near Islamabad.
- Access control: single sign-on through your identity provider, two-factor login and a network allow-list for operators.
- Proof: a tamper-evident, hash-chained audit trail and per-key metering of every request.
- Spending control: per-key budgets and rate limits; a hard cap stops new requests with an HTTP 402 response before any tokens are generated.
- Hardware choice: nine accelerator families, including NVIDIA and AMD GPUs, Huawei Ascend NPUs and T-Head PPUs, so local capacity is not tied to one chip supplier.
For the architecture, see how Stixor AI Hub works.
The Bottom Line
Pakistan's data localization rules are sector by sector and still growing. For AI, the safe reading is that sensitive data, and everything an AI system makes from it, should stay in Pakistan. Map your AI workloads, run the five-question check, and host the sensitive ones on a platform that keeps models, logs and access inside the country.
Frequently Asked Questions
FAQs
Not a general one. The Personal Data Protection Bill is still a draft. Privacy rests on Article 14 of the Constitution, sector rules from the State Bank, PTA and the IT ministry, and contracts.
For some data, yes. Government data above "public" must stay in Pakistan under the Cloud First Policy, banks must prefer onshore cloud providers and get SBP approval for material workloads offshore, and PTA's rules are reported to keep critical telecom data in Pakistan.
It is the federal government's policy for moving public-sector IT to the cloud. It classifies government data and keeps restricted, confidential and secret data in government or private clouds hosted in Pakistan.
Only for non-material workloads without approval. Under the SBP cloud outsourcing framework, banks must prefer onshore providers and need SBP approval to place material workloads offshore.
It was a draft being finalised at the time of writing. Check its final status before relying on it. As drafted, it would keep restricted, confidential and personal government data in Pakistan.
Yes. Prompts often contain the original data word for word, and research shows embeddings can be turned back into much of the original text. Treat them, and fine-tuned models, as the same class as their source data.
Under the draft data governance policy, data made accessible abroad may count. Limit admin and support access to people in Pakistan, or approve and record any foreign access.
Discuss Your Enterprise Use Case
From small to large scale enterprises, we deliver next-gen AI, data engineering, and actionable insights.