Data localization

Also known as: data localisation law

On this page 7

Data localization is a legal or regulatory requirement that certain categories of data be stored, processed or both within the territory of a specific country, often combined with limits on transferring that data abroad. In data regulation, it sits at the intersection of privacy, national security, law enforcement access and trade policy, and it is one of the most contested measures in tech regulation because it directly shapes where cloud infrastructure must be built.

Localization rules range from a duty to keep a local copy of records to an outright prohibition on cross-border transfer. Governments justify them with arguments about sovereignty, security and supervisory access, while critics see them as digital trade barriers that raise costs and fragment the internet.

How data localization requirements work

A data localization rule works by attaching a territorial condition to a defined data category. The law specifies which data is covered, who must comply, which activities must take place locally and under what conditions, if any, data may leave the country.

The scope is usually drawn by data category (personal data of citizens, health records, payment data, government data, so-called important data) or by entity type (banks, telecommunications operators, operators of critical information infrastructure). The strictness of a regime depends far more on these definitions than on the headline rule.

TypeWhat the law requiresPractical effect
Local storage mirrorA copy must be held domesticallyTransfers allowed, but duplicate infrastructure needed
Local processingProcessing must occur on domestic serversForeign cloud regions cannot be used
Conditional transferExport only after assessment or approvalDelays and documentation for every transfer flow
Transfer prohibitionData may not leave the countryFull in-country architecture required
Sectoral localizationRules limited to finance, health or public dataTargeted impact on regulated industries
Main types of data localization measures

Data localization, data residency and data sovereignty

Three related terms are often confused. Data localization is a legal obligation imposed by a state. Data residency is the location where an organization chooses to keep its data, usually for contractual, performance or compliance reasons. Data sovereignty is the broader principle that data is subject to the laws of the jurisdiction where it is located or to which it relates.

The distinction matters because residency does not guarantee immunity from foreign law. A provider headquartered in one country may be compelled to disclose data it stores in another, which is the core tension created by the US CLOUD Act. This is why some localization regimes also require local ownership or control of the operator, not only local servers.

ConceptSourceTypical question it answers
Data localizationStatute or regulationMust this data stay in the country
Data residencyBusiness or contractual choiceWhere does the organization keep its data
Data sovereigntyLegal principleWhose laws govern access to this data
Transfer restrictionPrivacy or security lawUnder what safeguards can data leave
Comparison of related concepts

Approaches to data localization around the world

National approaches differ widely in rationale and strictness. Several jurisdictions with large digital markets apply broad localization for personal or strategic data, while others rely on transfer safeguards instead of mandatory local storage.

JurisdictionMain instrumentCore rule
RussiaFederal Law No. 242-FZ (in force 2015)Personal data of citizens must first be recorded in domestic databases
ChinaCybersecurity Law, Data Security Law, PIPLCritical operators store personal and important data locally; exports need assessment or certification
IndiaReserve Bank of India payment data directive (2018)Payment system data stored only in India
VietnamCybersecurity Law and implementing decreeCertain data stored locally on authority request
European UnionFree Flow of Non-Personal Data RegulationMember state localization rules generally prohibited
United StatesNo general law; sectoral contract rulesLocalization mainly in federal procurement and defense
Representative national and regional approaches

The European Union takes a distinctive position. The GDPR does not require personal data to stay in the EU, but it permits transfers only on a legal basis such as an adequacy decision or standard contractual clauses. For non-personal data, Regulation (EU) 2018/1807 bans national localization requirements unless justified on grounds of public security in compliance with proportionality. In practice, strict transfer rules and cloud sovereignty initiatives can produce de facto localization even without an explicit mandate.

Why governments adopt localization rules

Governments cite several overlapping objectives. Supervisory access lets regulators and police obtain records without mutual legal assistance procedures, which can take months. National security concerns focus on foreign surveillance and on keeping strategic datasets out of reach of other states. Privacy protection is invoked where the destination country is considered to offer weaker safeguards.

Economic arguments also play a role. Some states expect localization to attract data center investment and build domestic cloud capacity. Evidence for this effect is mixed and disputed: investment does follow some mandates, but studies of trade costs generally find that broad localization raises prices for domestic users and reduces productivity in data-intensive sectors.

Costs, risks and compliance practice

For multinational organizations, localization turns a single global architecture into multiple national deployments. The main costs are duplicated infrastructure, higher latency for global analytics, restricted access to centralized security monitoring and complex data mapping obligations.

Security outcomes are not automatically better. Concentrating data in a smaller domestic market can mean fewer redundancy options and weaker disaster recovery, because geographically distant backups may be unlawful. Localization also complicates global incident response and fraud detection, which depend on correlating data across regions.

ProblemCauseCommon response
Unclear data scopeVague categories such as important dataData inventory and legal classification by category
Remote access counted as transferViewing data from abroad treated as exportLocal support teams or tightly controlled access
Backups held abroadGlobal disaster recovery designIn-country secondary region or local backup site
Conflicting foreign disclosure ordersProvider subject to two legal systemsLocal entity, encryption with locally held keys
Typical compliance problems and responses

Trade law is a further constraint. Agreements such as the CPTPP and USMCA include commitments that limit localization requirements, while digital economy agreements increasingly contain similar clauses. These commitments usually include public policy exceptions, so their practical bite depends on how disputes are resolved.

The short version

Data localization means a country says: this kind of data must stay here. A company may have to keep customer records, payment details or health files on servers located inside that country, and sometimes it may not send them abroad at all.

Governments do this to keep control, help their police and regulators get information quickly and protect against foreign spying. The downside is that companies must build or rent separate systems in many countries, which costs more and can make services slower. It is a trade-off between national control and the efficiency of a global internet.

Where it makes a difference

A European payments startup plans to expand into India, where the central bank requires payment system data to be stored only in India. Its existing platform runs in two EU cloud regions and processes about 2 million transactions per day.

To comply, the engineering team deploys a separate production stack in an Indian cloud region, routes all Indian transactions there and limits processing abroad to short-term handling, with data deleted from foreign systems and returned to India within the period the rules allow. Fraud models are retrained locally, because full transaction histories can no longer be pooled with European data.

The launch is delayed by about four months and infrastructure costs for the Indian business rise by roughly 30 percent compared with serving it from Europe. In return, the startup passes its regulatory audit and obtains the authorization it needs, which would have been impossible without local storage.