A colonial breakfast, remade
Kopi is what happened when Hainanese cooks, trained in British kitchens, opened coffee shops of their own. They kept the coffee, the toast and the eggs, and changed almost every ingredient.
Coffee came to Singapore with the British, who drank it at home and in hotels, made from imported arabica. The people who cooked for them and served it were very often Hainanese. The Hainanese were late arrivals among Singapore’s Chinese, and found the trades already divided among the Hokkien, Teochew and Cantonese. Many went into domestic service, as cooks and houseboys in European households, and into hotel kitchens and ships’ galleys.
There they learned to make the things their employers wanted: coffee, toast, boiled eggs, chops and stews. When they set up for themselves, in small coffee shops, that is what they sold, adjusted for customers who could not afford arabica or fresh milk.

Making do
Three substitutions made kopi. Robusta, grown nearby in Java and Sumatra, replaced arabica: cheaper, stronger and harsher. To tame it, roasters cooked the beans with sugar and margarine, which caramelised into a dark, sweet coat. And tinned condensed milk replaced fresh, because it kept without a refrigerator in a tropical shop.
The brewing was the method already used across the region: grounds steeped in a pot and strained through a muslin bag.
Who gets the credit
Accounts of kopi usually name the Hainanese, and they did build the coffee shop trade. But the cup draws on more than one community.
They opened the shops, set the menu of kopi, toast and eggs, and trained generations of coffee makers. By the 1950s Hainanese and Foochow owners ran most of Singapore’s coffee shops.
Roasting coffee with sugar is an old practice, known in Spain as torrefacto, and Malay and Chinese roasters in the region did it over charcoal in woks and drums. The Nanyang roast, with margarine and sometimes salt, is their work.
The taste for coffee with milk and sugar, and for toast and eggs in the morning, came from colonial breakfast tables. Kopi is that breakfast, remade with local ingredients.

Where it spread
Kopi at every coffee shop and hawker centre, and in chains that have taken it abroad.
The same kopitiam tradition, with Ipoh’s paler white coffee as its best-known variant.
Kopi tubruk, unfiltered, and the old Chinese-run coffee shops of Sumatra and Java.
Singaporean and Malaysian cafes sell kopi and kaya toast wherever their communities have settled.