Every year, the palace sends her gifts.
Fine cloth — jarik, kemben, poleng — arranged on woven bamboo trays and carried in procession down to Parangkusumo Beach on the southern coast of Java. Flowers. Food. Sometimes clippings of the Sultan’s own hair and nails. At the water’s edge, the offerings are set adrift into the Indian Ocean, cast to the Queen who lives beneath it.
This is the Labuhan ceremony. It has been performed by the royal courts of Java — first Mataram, then Surakarta, then Yogyakarta — for over four centuries. And it is not a relic. Sultan Hamengkubuwono X of Yogyakarta performed it as recently as 2012. It continues today.
The Queen the palace has been sending gifts to since the 16th century is Nyi Roro Kidul: the Goddess of the Southern Sea, the Phantom Queen, the Woman in the Waves. She is, depending on who you ask, a spirit, a goddess, a queen of the invisible world, a metaphor, or a warning. She is also — and this is the part that gets less attention — the source of legitimacy for one of Java’s most powerful royal dynasties.
This is not just folklore. It is the architecture of power, dressed in myth.
Who She Is
The origin story varies by region and by century. In the most widely told Sundanese version, she begins as Dewi Kadita, a princess of the ancient Galuh kingdom in West Java — beautiful, favored by her father, and therefore despised by her stepmother. The stepmother engineers her exile through sorcery: a curse that covers her body in sores. Driven out of the palace and away from everyone she knew, Dewi Kadita wanders until she reaches the edge of the southern ocean. She jumps in.
She does not drown. She is healed. And she does not come back.
In the water she becomes something else — ageless, unstoppable, more powerful than the king who exiled her. She rules the kingdoms beneath the sea, commanding armies of spirits. And she watches the southern coast of Java with the possessive attention of someone who was wronged once and never forgot it.
The warning that follows her everywhere is simple: do not wear green near her coast. Sea-green (gadhung m’lathi) is her color, and wearing it near the water is an invitation — or a provocation. Those who wear it risk being taken, claimed as soldiers for her invisible army.
The taboo is still observed today. At Parangtritis, Pelabuhan Ratu, Parangkusumo — anywhere along Java’s southern coast — you will not see green bathing suits or green towels on the beach. The local vendors know not to sell them. Tourists who ignore this do so at their own risk, and the risks are not entirely metaphorical: the Indian Ocean’s southern coast of Java has strong, unpredictable rip currents that kill people every year.
Whether Nyi Roro Kidul takes them, or the sea does, depends entirely on which story you live inside.
The Deal That Built a Dynasty
The Keraton Yogyakarta — the royal palace at the heart of Yogyakarta city — is one of the last functioning royal courts in Indonesia. It is oriented along a precise north-south axis: the Merapi volcano to the north, the southern ocean to the south. The palace sits between these two forces. This is not accidental.
According to the founding legend of the Mataram Sultanate, the dynasty that eventually gave rise to the Yogyakarta sultanate, the pact between the royal line and Nyi Roro Kidul began with Panembahan Senopati — the first king of Mataram — in the late 16th century. The story goes that Senopati performed intense meditation at the southern coast at Parangkusumo. His devotion was so powerful it disturbed the sea, and Nyi Roro Kidul came to see what was happening.
What passed between them was part negotiation, part surrender, part love story. She agreed to support his rule and to protect the Mataram dynasty — its soldiers, its harvests, its political survival — in exchange for a spiritual bond that would pass through every successor king. Each ruler of the Mataram line would be, in some sense, her consort. Not a metaphor: a consort.
Later rulers elaborated the myth. Sultan Agung, the greatest of the Mataram kings, was said to have had his own encounters with her. The sacred Bedhaya Ketawang dance, performed at the Surakarta palace, is said to have been composed by the Queen herself and taught to Sultan Agung. The dance is still performed. It is one of the most restricted ritual performances in Javanese court culture — only performed once a year, only by trained court dancers, not open to the general public.
The message embedded in all of this is not subtle: the Sultan rules because she allows it. His legitimacy flows not just from lineage or military power or Islamic authority, but from a supernatural pact with the most powerful spirit in the Javanese cosmos. Challenging the Sultan means challenging the arrangement she is party to.
This is how mythology functions as political infrastructure.
Room 308
At the Samudra Beach Hotel in Pelabuhan Ratu (Palabuhanratu), Sukabumi, West Java, Room 308 has been kept permanently reserved since the hotel opened.
The room is furnished in green — her color. A painting of Nyi Roro Kidul by the celebrated Indonesian artist Basuki Abdullah hangs inside it. The room is not for guests. It is for her.
The hotel was conceived and partially designed under the influence of Indonesia’s first president, Sukarno, who was himself deeply connected to Javanese mystical traditions. A Ketapang tree outside the hotel marks the spot where Sukarno reportedly came to receive spiritual inspiration from the Queen.
Room 308 has become a pilgrimage destination in its own right. People come to sit in it, to leave offerings, to ask for things. Hotel staff have described strange occurrences in and near the room over the decades. Whether those accounts are believed or managed, they serve the same purpose: the room stays reserved, the myth stays alive, and the hotel stays famous.
The “Democratization” of the Myth
For centuries, the marital relationship between the Sultan and Nyi Roro Kidul was the exclusive domain of the palace. Ordinary Javanese could revere her, fear her, and leave her offerings — but the spiritual-consort relationship belonged to royalty.
Something shifted in the 20th century. Ethnographers like Judith Schlehe, who studied the Parangkusumo pilgrimage site extensively, have documented what she calls a “democratization” of the myth. As the descendants of the Mataram line increasingly distanced themselves from the explicitly marital framing — recharacterizing the bond as spiritual, familial, or asexual rather than conjugal — the space opened up for ordinary pilgrims to claim their own relationship with her.
By the late 20th and early 21st century, Parangkusumo had become a site of mass pilgrimage, particularly on Jumat Kliwon and Selasa Kliwon — auspicious dates in the Javanese calendar. As many as 4,000 pilgrims would arrive in a single cycle. Sex workers established themselves near the sacred site at Puri Cepuri. Gottowik, a scholar who studied the site, links this explicitly to the pilgrims’ enactment of the old marital mythology in their own way — reclaiming a tradition the palace had quietly stepped back from.
Local officials looked the other way. Bans on prostitution in Bantul district were formally on the books; enforcement near the sacred site was tacit tolerance at best. Scholars interpreted this as the economic and spiritual interests of local officials aligning against enforcement: the pilgrims brought money, and the myth underwrote the whole arrangement.
This is the structure in miniature: belief, power, and money flowing together in a system where Nyi Roro Kidul is simultaneously the center and the cover.
What She Explains
The southern coast of Java is genuinely dangerous. The Indian Ocean off Parangtritis and Pelabuhan Ratu produces powerful, irregular rip currents that kill visitors regularly. The beach at Parangtritis has warning signs. Lifeguards operate there. People drown there anyway, usually tourists who underestimate the surf.
When someone drowns or disappears at Parangtritis, Pelabuhan Ratu, or anywhere along the southern coast, two explanations exist simultaneously. One is hydrological: rip current, undertow, inexperience. The other is cosmological: she took them. They wore green. They were disrespectful. They were beautiful, and she wanted them.
The cosmological explanation is not always wrong in its function. It carries the grief of a community that loses people to the sea every year. It assigns meaning to meaningless loss. It warns the living to be careful. The taboo on green is, in practice, a taboo on making yourself stand out near dangerous water — which is also not bad survival advice.
But the explanation also does something else. It makes the deaths part of a story that the palace is at the center of. Every life the sea takes along the southern coast becomes, in some sense, evidence of her power — which is evidence of the Sultan’s unique access to that power. The deaths and the dynasty are tied together in the same myth.
That is the part the Labuhan ceremony makes visible every time the palace’s offerings enter the water. The gifts go one direction. The arrangement holds. The Sultan rules.
What We’re Left With
Nyi Roro Kidul is not going anywhere. She is embedded too deeply in Javanese culture, in the architecture of Yogyakarta, in the annual cycle of court ritual, in the fear that runs through every tourist who considers wearing green to Parangtritis and then thinks better of it.
What is worth sitting with is the question of what the myth does, and for whom.
For the families of fishermen and swimmers lost to the southern sea, it provides a framework for grief — a name to attach to an incomprehensible loss. For the palace, it provides a claim on supernatural authority that has outlasted colonial rule, the Indonesian revolution, and five centuries of change. For pilgrims at Parangkusumo, it provides access to something the palace once kept for itself. For tourism boards and hotel owners, it provides a marketing asset that runs itself.
For Nyi Roro Kidul herself — if she exists, if she watches the coast from wherever she is, dressed in the green that no one on shore dares to wear — she provides nothing to anyone. She was a girl who was cursed, exiled, and thrown into the sea. Then she was made into something useful.
That is the oldest story in the world.
Sources
- Wikipedia — Nyai Roro Kidul: https://en.wikipedia.org/wiki/Nyai_Roro_Kidul
- Balairung Press — Labuhan Ageng coverage: https://www.balairungpress.com/?p=11861
- Facts and Details — Sex Festivals and Pilgrimage Sites in Indonesia (Gottowik, Schlehe): https://factsanddetails.com/indonesia/People_and_Life/sub6_2h/entry-10148.html
- Sonobudoyo Museum Yogyakarta — Labuhan ceremony documentation: https://sonobudoyo.jogjaprov.go.id/en/tulisan/read/labuhan-upacara-membuang-sifat-buruk–merawat-jejak-para-raja
- What’s New Indonesia — Parangtritis Sacred Secrets: https://whatsnewindonesia.com/yogyakarta/feature/parangtritis-sacred-secrets-yogyakartas-south-coast
Priscilla Puspita is an Indonesian writer based in the Netherlands retelling Indonesian true crime and mystery cases in English. Every case has a name. Every name has a family. The forgotten aren’t gone — they’re waiting to be heard.
