Home / Understand Malaysia / Malaysia / Colonial era

📜 Narrative ✓ Published: 25 Jul 2026 7 min read

Federated and Unfederated Malay States: The Two Groupings Britain Governed Through Residents and Advisers

Before the Second World War the Malay states were not one bloc under Britain but two, governed by two different instruments. Four states — Perak, Selangor, Negeri Sembilan and Pahang — were bound together as the Federated Malay States under a Resident-General in Kuala Lumpur, each Sultan advised by a British Resident whose counsel the treaties required be followed. Five others — Johor, Kedah, Kelantan, Perlis and Terengganu — stayed outside as the Unfederated Malay States, each dealing with Britain individually through a British Adviser, keeping more of their own administration, with Johor insisting its officer be titled General Adviser rather than Resident.

30-second answer Reviewed 25 Jul 2026

The Federated Malay States (FMS) were Perak, Selangor, Negeri Sembilan and Pahang, joined into one federation in 1896 under a British Resident-General at Kuala Lumpur, after Britain's first Resident had been installed in Perak by the Pangkor Treaty of 1874. Each Sultan kept a British Resident whose advice, by treaty, had to be accepted on all matters except Islam and Malay custom. The Unfederated Malay States (UMS) were Johor, Kedah, Kelantan, Perlis and Terengganu — four of them transferred to British protection by the Anglo-Siamese Treaty ratified on 9 July 1909, and Johor from 1885 and 1910. Each dealt with Britain individually through a British Adviser, was not centrally administered from Kuala Lumpur, and retained more of its own administration. Both groupings were dissolved into the Malayan Union on 1 April 1946.

  • The Federated Malay States were four: Perak, Selangor, Negeri Sembilan and Pahang, federated in 1896 under a British Resident-General based in Kuala Lumpur
  • The Unfederated Malay States were five: Johor, Kedah, Kelantan, Perlis and Terengganu, each tied to Britain individually and never centrally administered together
  • The Residential system began with the Pangkor Treaty of 20 January 1874, which installed Britain's first Resident in Perak with authority over administration and revenue but not Islam or Malay custom
  • In the FMS the Resident's advice was binding by treaty and the four states shared one federal bureaucracy, a Resident-General, and from 1909 a Federal Council in Kuala Lumpur
  • In the UMS each state kept a British Adviser but retained far more of its own administration, with no shared federal centre
  • Johor accepted a British officer only in 1910 and insisted the post be titled General Adviser rather than Resident, a title distinct from every other state's
  • Kedah, Kelantan, Perlis and Terengganu passed from Siamese to British protection under the Anglo-Siamese Treaty ratified on 9 July 1909
  • In both groupings the Sultan remained the sovereign ruler; the British officer advised rather than replaced him
  • Both the FMS and the UMS were dissolved into the Malayan Union on 1 April 1946

Who this applies to: Readers who know the phrases Federated and Unfederated Malay States but want to know exactly which states were in each grouping and how the Resident system differed from the Adviser system that governed the states that stayed out.

On this page
Full explanation ≈7 min

Nine Malay states, one imperial power — and yet not one arrangement but two. That split is the thing most summaries of colonial Malaya skip past, and it is the whole point of this article.

Before the Second World War, the peninsula’s Malay states were governed by Britain in two distinct groupings, under two different instruments, from two different centres of gravity. Four states were bound tightly together and run almost as one. Five kept their distance and were dealt with one by one. The officer sitting beside the ruler had a different title, and a different reach, depending on which group the state was in.

Understanding which states were where — and how a Resident differed from an Adviser — is the clearest way to see how British Malaya was actually assembled.

The starting point: one treaty, one Resident

The whole structure traces back to a single agreement.

On 20 January 1874, the Pangkor Treaty (Perjanjian Pangkor) was signed at Pangkor Island between a Perak claimant to the throne and the Governor of the Straits Settlements. Its central clause installed a British Resident in Perak — the first in any Malay state — with authority over the collection of revenue and general administration, but with Islam and Malay custom reserved to the ruler.

That reservation is the pattern for everything that follows. In neither grouping did the British officer touch religion or Malay custom, and in neither grouping did he formally replace the Sultan. What varied, from state to state, was how binding his advice was and how much of the state’s machinery he sat atop.

Over the following years Selangor, Negeri Sembilan and Pahang each accepted a Resident on broadly the Perak model. Four states now shared the same kind of arrangement — and Britain’s next move was to weld them into one.

The Federated Malay States: four states, one centre

By the mid-1890s Britain wanted a single administration over the four Resident-run states rather than four separate ones. Sir Frank Swettenham proposed the federation in 1895, and in 1896 Perak, Selangor, Negeri Sembilan and Pahang were joined as the Federated Malay States (FMS).

The federation added a layer the individual treaties never had:

  • a Resident-General based in Kuala Lumpur, which became the federal capital;
  • a shared federal bureaucracy — railways, public works, a common civil service — spanning all four states;
  • from 1909, a Federal Council that concentrated decision-making at the federal level.

Each state kept its Sultan and its own British Resident. But the centre of gravity had moved to Kuala Lumpur. Decisions that had once been debated in each state’s own council increasingly flowed through the federal machinery instead — a shift that prompted some of the FMS rulers to press, in later decades, for authority to be returned to their states.

This is the defining feature of the FMS: not merely that each had a Resident, but that the four were administered together, as one connected unit, from one capital.

The Unfederated Malay States: five states, five separate ties

Five other Malay states never joined that federation. Collectively they became known as the Unfederated Malay States (UMS): Johor, Kedah, Kelantan, Perlis and Terengganu.

They arrived in Britain’s orbit later, and separately.

  • Kedah, Kelantan, Perlis and Terengganu had been under Siamese suzerainty. Under the Anglo-Siamese Treaty, ratified on 9 July 1909, Siam transferred its rights of suzerainty, protection and administration over these territories to Britain. Each state then received its own British Adviser.
  • Johor came in on its own track entirely. An 1885 treaty had already recognised Sultan Abu Bakar as the sovereign ruler of Johor. When Britain pressed for a British officer, Sultan Ibrahim accepted D.G. Campbell in 1910 — but had him appointed General Adviser, a title he insisted upon precisely because it was not the “Resident” that every other state’s officer was called.

What united these five was structural: each dealt with Britain individually, through its own Adviser, and none was folded into a shared federal government. There was no Resident-General over them, no Federal Council binding them, no Kuala Lumpur exercising authority across them. In practice the UMS rulers retained more of their own administration than their Federated counterparts.

Resident versus Adviser: the difference that mattered

The two titles are easy to blur. The distinction is best drawn on two axes: how binding the advice was, and how centralised the administration was.

Federated Malay StatesUnfederated Malay States
StatesPerak, Selangor, Negeri Sembilan, PahangJohor, Kedah, Kelantan, Perlis, Terengganu
British officerResident (one per state)Adviser (one per state); “General Adviser” in Johor
Central authorityResident-General, Kuala LumpurNone — each state tied to Britain separately
Shared federal councilYes, from 1909No
Common bureaucracyYes — federal civil service, railways, worksNo — each state ran its own
Degree of state autonomyLower; decisions pulled to the federal centreHigher; more administration retained by the state
Reserved to the rulerIslam and Malay customIslam and Malay custom
The SultanRemained sovereign rulerRemained sovereign ruler

The single most important row is the shared one at the bottom: in both systems, the Sultan remained the sovereign ruler of his state, and Islam and Malay custom were his. The colonial officer, whether Resident or Adviser, was formally there to advise. The real difference between the two groupings was not whether the Sultan reigned — he did in every case — but how much of his state’s day-to-day administration was drawn into a shared British-run centre.

Why Johor’s title was not a trivial detail

It is tempting to treat “Resident” and “General Adviser” as interchangeable words. They were not treated that way at the time.

By choosing “General Adviser,” Johor signalled that its arrangement with Britain was its own — later than the others, negotiated from the standing of a state whose sovereignty an earlier treaty had already affirmed, and deliberately worded to sit apart from the Resident system that governed the four Federated states. The title was a marker of degree: an adviser to be consulted, framed differently from an officer whose advice the Federated treaties bound the ruler to accept.

For a state that entered the arrangement last, the wording carried weight well beyond semantics.

One end for both

For all their differences, the two groupings met the same fate on the same day.

On 1 April 1946 the Malayan Union folded the Federated states, the Unfederated states and two of the three former Straits Settlements — Penang and Melaka — into a single centralised administration, stripping away the individual standing of the Malay Rulers. That flattening drew sustained objection and did not last: within a few years it was replaced by the Federation of Malaya, a framework that deliberately restored the position of the Rulers the 1946 plan had set aside.

The pre-war split into Federated and Unfederated states is exactly the layering the Malayan Union tried to erase in one stroke — which is why it reads more clearly once the two groupings, and the two kinds of officer, are set side by side.

Common mistakes

“All nine Malay states were Federated.” Only four were: Perak, Selangor, Negeri Sembilan and Pahang. The other five — Johor, Kedah, Kelantan, Perlis and Terengganu — were Unfederated.

“A Resident and an Adviser were the same thing under different names.” Both advised and neither touched Islam or Malay custom, but the Federated states shared a Resident-General, a federal bureaucracy and a Federal Council, while the Unfederated states each dealt with Britain alone and kept more of their own administration.

“The British officer replaced the Sultan.” In both groupings the Sultan remained the sovereign ruler of his state throughout; the officer’s role was advisory, with religion and Malay custom reserved to the ruler.

“Johor was governed exactly like Perak.” Johor entered latest, on the strength of an 1885 treaty affirming its sovereignty, and its officer was titled General Adviser specifically to distinguish it from the Resident posts elsewhere.

“The Unfederated states were never under any outside power before Britain.” Four of them — Kedah, Kelantan, Perlis and Terengganu — passed to British protection from Siamese suzerainty under the Anglo-Siamese Treaty ratified in 1909.

What’s next

Frequently asked 5
Which states were Federated and which were Unfederated?

The Federated Malay States were Perak, Selangor, Negeri Sembilan and Pahang. The Unfederated Malay States were Johor, Kedah, Kelantan, Perlis and Terengganu — the nine peninsular Malay states, split five to four.

What was the difference between a British Resident and a British Adviser?

A Resident, in the Federated Malay States, advised the Sultan under a treaty that required his advice be followed on all matters except Islam and Malay custom, and the four Federated states were run as one unit under a Resident-General in Kuala Lumpur. An Adviser, in the Unfederated states, also advised the ruler but the state kept far more of its own administration and was never merged into a shared federal government.

Why did Johor's officer have a different title?

When Sultan Ibrahim accepted a British officer in 1910, he had him appointed General Adviser rather than Resident — a title deliberately distinct from the Resident posts in every other state, reflecting Johor's later and lighter entry into the arrangement.

Did the British Resident or Adviser replace the Sultan?

No. In both groupings the Sultan remained the sovereign ruler of his state. The British officer's role was advisory; Islam and Malay custom were reserved to the ruler throughout.

What happened to the two groupings in the end?

Both the Federated and the Unfederated Malay States were dissolved into the Malayan Union on 1 April 1946, which was itself replaced within a few years by the Federation of Malaya.

Sources & history 4 sources

Sources

  1. Usul Pembentukan Negeri-Negeri Melayu Bersekutu — Arkib Negara Malaysia (Pustaka Ilmu)
  2. Perjanjian Pangkor — Perpustakaan Negara Malaysia
  3. History of the Johor Sultanate — Laman Web Rasmi Kemahkotaan DYMM Sultan Ibrahim, Sultan Johor
  4. Anglo-Siamese Treaty — Hansard, Parliament of the United Kingdom

Change history

Version Date Change By
01.00 24 Jul 2026 Approved and published.
More in Colonial era View all 7 →
Related knowledge
The Straits Settlements: How Penang, Melaka and Singapore Became Britain's Template for Ruling the Malay States Penang, Melaka and Singapore were never just three trading ports under one flag. Their administrative status changed four times in 41 years, and the machinery Britain built to run them — Governor, Resident Councillor, Legislative Council — became the template it then extended, layer by layer, into the Malay states themselves: first as Residents, then as a Federation, then as looser advisory ties the rulers who held out longest never let harden into the same thing. The Malayan Union and the Federation of Malaya: Two Constitutional Answers to Who Is Sovereign and Who Is a Citizen Between 1 April 1946 and 31 January 1948, Malaya was governed under a constitutional framework that centralised power in a British Governor and opened citizenship broadly. It was opposed, dissolved, and replaced by the Federation of Malaya — and its two core issues, the standing of the Malay Rulers and the terms of citizenship, remained constitutional questions carried through to Merdeka. Malaysia's Nine Royal States: The Reigning Rulers and Their Role in the Conference of Rulers Malaysia has nine states headed by a reigning Ruler — Johor, Kedah, Kelantan, Negeri Sembilan, Pahang, Perak, Perlis, Selangor and Terengganu. This article lists the nine states, the title of each head of state, their position as Head of State and Head of the religion of Islam, and their collective role in the Conference of Rulers. Sultan, Daulat and Chiefs: How the Malay Sultanate Was Ruled The traditional Malay system of government — the Sultan's position as the source of daulat, the bond of loyalty (waadat) between ruler and subject, the adat that governed society, and the layered system of chiefs who carried out the actual administration — and how this institution continues in the Constitution today.