di versus ke versus dari in Malaysian Malay

Malay uses three small words to draw a path through space: di marks the place where something is or happens, ke marks the destination toward which something moves, and dari marks the source from which it comes. English in, at, to, and from overlap in untidy ways; Malay asks a cleaner question: are we looking at the setting, the endpoint, or the starting point?

These words are also an important spelling test. Locative di and ke are written separately from the following place, while the verbal prefix di- and derivational prefix ke- attach to a word. This page gives you the practical choice and the spelling contrast, without attempting a complete catalogue of every Malay relator.

The fuller inventory of spatial expressions is covered in spatial relators; here the goal is to make the basic directional decision automatic.

The path in one table

WordView of the pathCore questionExample
distatic setting or event locationwhere?di pejabat — at the office
kedestination or endpointwhere to?ke pejabat — to the office
darisource or starting pointwhere from?dari pejabat — from the office

Lina berada di pejabat sekarang.

Lina is at the office now.

Lina pergi ke pejabat pada pukul lapan.

Lina goes to the office at eight o'clock.

Lina baru pulang dari pejabat.

Lina has just returned from the office.

💡
Picture an arrow. Dari sits at its tail, ke points to its head, and di removes the arrow and shows the scene at one location.

di: the static setting

Use di when a person or thing is located somewhere, or when an action unfolds within that setting. The action itself may involve movement, but di says that the movement remains inside the named area.

Kunci kereta ada di atas meja makan.

The car keys are on the dining table.

Kanak-kanak itu bermain di taman selepas sekolah.

The child plays in the park after school.

Kami berjalan di tepi pantai sebelum sarapan.

We walked along the beach before breakfast.

In the last example, the walkers are moving, yet the beach is the setting, not the destination. This is why simply looking for a motion verb is not enough. Ask what role the following place plays.

With compound spatial expressions, di still precedes the location phrase: di dalam “inside,” di atas “on/above,” di bawah “under,” di hadapan “in front of,” and di sebelah “beside.” Each word remains separately written.

ke: the destination

Use ke when the named place is the endpoint of actual or projected movement. Common motion verbs include pergi “go,” datang “come,” pulang “return home,” berpindah “move,” masuk “enter/go in,” and naik “go up/board,” but the path—not the English translation of the verb—determines the choice.

Selepas makan tengah hari, saya perlu pergi ke bank.

After lunch, I need to go to the bank.

Mereka berpindah ke Johor Bahru bulan depan.

They're moving to Johor Bahru next month.

Sila masuk ke bilik mesyuarat.

Please go into the meeting room.

English often says in after a directional verb: “go in the room,” “put it in the bag.” Malay still uses a destination expression because the referent crosses toward an endpoint: masuk ke bilik, masukkan ke dalam beg. The English preposition is not the guide; the path is.

💡
A place after a motion verb can take either di or ke, but the meaning changes: berjalan di taman means walking within the park, while berjalan ke taman means walking to the park.

dari: the source

Use dari for the physical or temporal starting point of a path. It commonly appears with datang “come,” pulang “return,” keluar “come/go out,” turun “come/go down,” menerima “receive,” and nouns describing origin.

Bas itu datang dari Seremban.

That bus comes from Seremban.

Saya mengambil bungkusan ini dari kaunter hadapan.

I collected this parcel from the front counter.

Mereka bekerja dari pukul sembilan pagi hingga pukul lima petang.

They work from nine in the morning until five in the afternoon.

For people as the source of a transfer, contemporary standard usage often prefers daripada: Saya menerima mesej daripada Farah “I received a message from Farah.” The full dari–daripada distribution deserves its own treatment; for the physical path taught here, dari is the basic source marker.

Routes and ranges: dari ... ke ...

Pair dari with ke to name the start and endpoint of a journey, scale, or other bounded range.

Perjalanan dari Kuala Lumpur ke Ipoh mengambil masa kira-kira dua jam.

The journey from Kuala Lumpur to Ipoh takes about two hours.

Baca halaman sepuluh hingga halaman lima belas.

Read pages ten through fifteen.

For a spatial route, dari ... ke ... is straightforward. In time and numerical ranges, hingga or sampai “until/up to” is often clearer than ke, as in dari Isnin hingga Jumaat. Sampai is neutral in speech, while hingga is especially common in careful writing. Do not force one English word to into every kind of endpoint.

A map-based dialogue

Imagine a map with the railway station in the south, the market in the centre, and the library north of the market. A visitor asks for directions:

‘Sekarang kita di mana?’ ‘Kita di stesen kereta api.’

‘Where are we now?’ ‘We're at the railway station.’

‘Bagaimana saya hendak pergi ke perpustakaan?’ ‘Berjalan dari stesen ini ke pasar, kemudian belok kanan.’

‘How do I get to the library?’ ‘Walk from this station to the market, then turn right.’

‘Perpustakaan itu di sebelah mana?’ ‘Di sebelah utara pasar, berhadapan dengan klinik.’

‘Which side is the library on?’ ‘On the north side of the market, opposite the clinic.’

The dialogue moves the viewpoint deliberately. Di stesen fixes the current position. Ke perpustakaan and ke pasar point toward destinations. Dari stesen names the route’s source. The final di sebelah utara returns to a static map location.

Spelling: di rumah but dibaca

Locative di is a separate grammatical word, so write a space: di rumah, di sekolah, di Malaysia, di hadapan pintu. Passive di- is an attached prefix on a verb: dibaca “is read,” ditutup “is closed,” dihantar “is sent.”

Buku itu dibaca di perpustakaan.

The book is read in the library.

Here dibaca is one word because di- builds a passive verb; di perpustakaan is two words because di introduces a place. A useful test is whether the expression answers “what is done?” or “where?”

Locative ke is likewise separate: ke sekolah, ke utara, ke dalam bilik. Attached ke- appears inside derived words and fixed ordinal forms: kedua “second/both,” ketua “leader,” keadaan “condition.”

Kedua-dua pelajar itu berjalan ke sekolah.

Both students walked to school.

In kedua-dua, ke- belongs to the derived quantifier and attaches to dua; ke sekolah is a destination phrase. Genuine reduplication is hyphenated, hence kedua-dua.

Dari is always written separately from the word after it: dari rumah, dari utara, dari pukul lapan. The expanded source word daripada is itself one word, but it too is followed by a space before its complement.

Common Mistakes

1. Mapping English “in” to di after directional movement.

❌ Dia masuk di dalam bilik mesyuarat.

Wrong for ‘She went into the meeting room’ — di dalam presents the room as a setting rather than the destination of masuk.

✅ Dia masuk ke bilik mesyuarat.

She went into the meeting room.

2. Using ke for movement that stays inside a setting.

❌ Kami berjoging ke taman selama setengah jam.

Wrong if the entire jog took place within the park — this says we jogged to the park.

✅ Kami berjoging di taman selama setengah jam.

We jogged in the park for half an hour.

3. Joining a locative word to the place.

❌ Kereta itu didepan rumah.

Incorrect spelling — locative di is written separately.

✅ Kereta itu di hadapan rumah.

The car is in front of the house.

4. Separating the passive prefix.

❌ Surat itu di hantar dari pejabat semalam.

Incorrect spelling — di- is attached when it forms a passive verb.

✅ Surat itu dihantar dari pejabat semalam.

The letter was sent from the office yesterday.

Key Takeaways

  • Di shows the static setting; ke shows the destination; dari shows the source.
  • A motion verb does not automatically require ke: compare movement di a place with movement ke a place.
  • Routes commonly run dari X ke Y; time and numeric ranges often end with hingga or sampai.
  • Write locatives separately (di rumah, ke sekolah) but prefixes as part of the word (dibaca, kedua).

Now practice Malay

Reading grammar gets you part of the way. The exercises are where it sticks — free, no signup needed.

Start learning Malay

Related Topics