Around 1400, a displaced Malay nobleman named Parameswara settled at a small fishing village on the southwest coast of the Malay Peninsula. Within a remarkably short time, the settlement he founded had grown into one of the leading trading ports in Southeast Asia.

That speed is the striking part. Melaka did not grow rich because it had gold, spice groves, or exceptionally productive farmland. It grew rich because of where it sat, and because of what its rulers chose to do with that position.

What strikes us is how modern the logic feels. Melaka worked almost like a toll booth with a warehouse attached. It beat its rivals not by owning the cargo, but by making trade through its port safer, easier, and more predictable than the alternatives.

The geography that made the town

The Strait of Malacca is a funnel. It widens to roughly 370 kilometres in the north and narrows to about 2.8 kilometres at the Phillips Channel near Singapore, its tightest navigable point. Much of the maritime traffic moving between the Indian Ocean and the South China Sea is drawn through this narrow corridor.

The winds mattered as much as the shape. In the age of sail, the monsoon reversed with the seasons. Merchants could not simply sail east or west whenever they pleased and expect the winds to cooperate on the return journey. Voyages had to be timed around the alternating monsoons, which often meant stopping somewhere in between and waiting for the winds to change.

That created a natural role for trading ports along the strait. Goods arriving from the west could be sold, stored, and transferred to ships heading east, and cargo coming the other way could do the same. Merchants did not always have to carry their goods from one end of Asia to the other themselves. A good entrepôt let the cargo change hands while ships, crews, and captains worked around the seasonal calendar.

A well-placed harbor near the middle of that network had a built-in reason to exist. That did not guarantee success. Plenty of well-placed harbors never became major commercial centers. Something like Melaka was likely to emerge somewhere along this coast. The open question was who would run it, and how well.

The business model, stated plainly

Melaka’s answer was to make itself useful to passing trade. It taxed the ships that stopped, stored their cargo, matched buyers with sellers, and took a cut. The town became a marketplace where foreigners traded with foreigners, and its wealth depended far more on handling other people’s goods than on producing valuable exports of its own.

That is a fragile business if merchants have a choice, and they did. Ships could call at rival ports elsewhere in the region, and traders could redirect their business if a harbor became too expensive, dangerous, or inconvenient. So the whole model rested on one thing: giving merchants a reason to choose Melaka on purpose, year after year.

The founding was reportedly not always gentle, and accounts of the early years suggest Parameswara sometimes pressured passing ships into his harbor. But whatever got a ship through the door the first time, what kept merchants coming back was that the place actually worked. Melaka offered relatively reliable trading rules, storage, administration, and security in a stretch of water where those things mattered enormously.

Why merchants kept coming back

Trust, in a trading port, comes down to specifics. The first was predictable taxation. The ruler imposed shipping duties that were regular enough for merchants to work into the cost of a voyage. Guesswork is expensive; a known toll is simply a cost of doing business.

The second was an administration built for a mixed crowd. Melaka appointed a harbormaster, or shahbandar, for each of four groups of traders. Gujaratis, Chinese, and merchants from elsewhere in the region could therefore deal with an official familiar with their community and its commercial practices.

The Laws of Melaka called the shahbandar the “father and mother of the foreign merchants,” which captures the job. The office oversaw matters such as weights and measures, fees, commercial order, and disputes between traders who often did not share a language, legal tradition, or homeland.

The third was diplomatic cover, which lowered the risk of doing business there. Melaka cultivated a close relationship with Ming China through the tributary system, gaining recognition from one of the strongest powers in the region and strengthening its position against larger neighbors.

The Chinese treasure fleets began reaching the region around 1405, and in 1411 the admiral Zheng He brought Parameswara and 540 officials to the Ming court to pay their respects to the Yongle Emperor. That relationship gave Melaka prestige and political backing at a time when recognition by Ming China carried real weight.

Islamic connections also became increasingly important as Melaka developed. The ruling court’s ties to Islam linked the port more closely with Muslim trading communities across the Indian Ocean, helping merchants operate within networks of shared religious, commercial, and legal customs.

None of this produced a single sack of pepper. All of it made merchants more willing to stop.

The narrowness cuts both ways

A choke point that makes you rich also makes you a target. If controlling trade through a narrow maritime corridor is valuable, eventually someone powerful enough will try to take control of it.

In 1511, Portugal’s Afonso de Albuquerque captured Melaka largely for that reason. The Portuguese wanted a commanding position over Asian maritime commerce, particularly the routes carrying spices and other valuable goods between the Indian Ocean and East Asia. Melaka was one of the most important places from which to interfere with, tax, and redirect that trade.

The conquest did not destroy the commercial function of the region, which is the part we find most interesting. Merchants are loyal to convenience more than flags. When conditions in Portuguese Melaka became less attractive to some trading communities, commerce shifted toward competing ports.

The role moved rather than vanished. The geography was still there, still funneling ships through the same narrow maritime world. What changed was which ports governed that traffic most effectively, and that has kept changing ever since. In the modern era, Singapore, a short distance farther down the strait, became the dominant commercial answer.

What the modern pinch still shows

The strait is busier now than Parameswara could have pictured. Roughly 94,000 vessels pass through it each year, carrying something like 30 percent of the world’s maritime trade. A 2025 estimate from UNCTAD, the UN’s trade agency, puts the value of cargo moving through it at around US$3.4 trillion a year.

The narrowest part of the route today sits at the Phillips Channel near Singapore, not at Melaka itself, but the underlying economic logic is much the same. Geography concentrates traffic. Once it does, the winners are the ports and governments that make moving through that geography cheaper, safer, and more predictable.

That is what Melaka understood unusually well six centuries ago. The pinch point does not necessarily reward whoever owns the cargo. It rewards whoever can make trade around it work, with rules a stranger can count on and a harbor merchants choose even when they have alternatives.

Melaka built a city around that idea. The strait has been proving the point ever since.