Indonesian hanya and cuma both mean “only,” but an accurate sentence requires more than choosing a translation. “Only” excludes alternatives, and its position helps identify which alternatives are excluded: other people, other actions, other objects, or other purposes. Hanya is neutral across speech and writing; cuma is especially common in everyday conversation (informal).
This page focuses on restrictive scope and position. Aspect markers and discourse particles have separate systems and are left to their dedicated pages.
Subject scope: only Rina came
To say that Rina—and nobody else—came, place hanya before the subject and commonly use yang before the predicate:
Hanya Rina yang datang ke rapat pagi ini.
Only Rina came to this morning's meeting.
Hanya dua peserta yang menyelesaikan semua soal.
Only two participants completed all the questions.
Cuma Dedi yang tahu kata sandinya.
Only Dedi knows the password. (informal)
The excluded alternatives are other people or quantities. The yang construction makes that focus boundary explicit: of the relevant people, Rina is the one who came. Indonesian does not need a verb equivalent to English auxiliary did.
Compare the required contrast:
Hanya Rina yang datang.
Only Rina came.
Rina datang hanya untuk melihat.
Rina came only to look.
The first excludes other potential visitors. The second does not say whether anyone else came; it excludes other purposes for Rina’s visit. Moving hanya changes the set of alternatives under discussion.
Verb and action scope
Before a verb or verb phrase, hanya limits what the subject did. Context or an explicit contrast identifies the excluded actions.
Rina hanya melihat-lihat dan tidak membeli apa-apa.
Rina only looked around and didn't buy anything.
Saya hanya bertanya; saya tidak menyalahkan siapa pun.
I was only asking; I wasn't blaming anyone.
Petugas itu cuma memeriksa tiket kami lalu pergi.
The officer just checked our tickets and then left. (informal)
Write lexical reduplication with a hyphen: melihat-lihat. In casual speech cuma often corresponds to English “just,” especially when it downplays an action: Aku cuma tanya “I was just asking” (informal). A fuller conversational form is Saya cuma bertanya.
Position before a larger verb phrase may leave more than one possible focus. Saya hanya membeli roti can mean that buying bread was all I did or, in an appropriate context, that bread was the only thing I bought. An explicit contrast removes the uncertainty.
Saya hanya membeli roti, bukan membuatnya sendiri.
I only bought the bread; I didn't make it myself.
Saya membeli hanya roti, bukan susu atau telur.
I bought only bread, not milk or eggs.
The second puts hanya immediately before the object and therefore favors object scope. In everyday Indonesian, Saya cuma beli roti may rely heavily on context for either reading (informal).
Purpose and complement scope
Place the marker before untuk + verb to restrict purpose. This pattern is extremely useful because it distinguishes the reason for an action from the action itself.
Doni menelepon hanya untuk memastikan alamatnya.
Doni called only to confirm the address.
Kami mampir cuma untuk minum kopi sebentar.
We stopped by just to have a quick coffee. (informal)
Dia membuka aplikasi itu hanya untuk membaca pesan baru.
She opened the app only to read the new messages.
Compare Dia hanya membuka aplikasi itu “She only opened the app” with Dia membuka aplikasi itu hanya untuk membaca pesan “She opened it only to read messages.” The first limits her action; the second limits her purpose.
Other complements can be focused in the same way:
Toko itu buka hanya pada hari kerja.
That shop is open only on weekdays.
Diskon ini berlaku hanya untuk pelanggan baru.
This discount applies only to new customers.
Here the alternatives are other times and other customer groups.
Clause-level restriction
Sometimes hanya limits an entire proposition or presents it as a modest claim. Saya hanya ingin menjelaskan bahwa... means “I only want to explain that...” and narrows the speaker’s intended contribution. The following clause supplies the content.
Saya hanya ingin menjelaskan bahwa jadwalnya belum pasti.
I only want to explain that the schedule is not yet certain.
Kami cuma tahu bahwa pintu belakang masih terbuka.
We only know that the back door is still open. (informal)
This is wider scope than limiting a single noun. Intonation and discourse still help, so careful writing should add a contrast when misunderstanding matters.
Indonesian also has hanya saja meaning “only/however, the thing is...” as a clause connector. That fixed discourse use is not simply emphatic hanya, and it belongs with discourse connectors rather than the core focus patterns here.
Register: hanya versus cuma
Hanya is the safest form in reports, presentations, customer communication, and ordinary conversation (neutral/formal). Cuma is natural and frequent among friends, in messaging, and in relaxed interviews (informal). The scope logic is the same.
Dokumen ini hanya dapat diakses oleh staf yang berwenang.
This document can be accessed only by authorized staff. (formal)
Aku cuma punya waktu sepuluh menit.
I only have ten minutes. (informal)
Using cuma in an official regulation is not a grammatical failure, but it weakens the expected institutional register. Conversely, hanya is not too formal for conversation.
The particle saja can also focus an alternative, as in Rina saja yang datang “Rina alone came.” Combinations such as hanya...saja occur for emphasis, but piling up focus markers does not automatically improve clarity. The central task remains identifying scope.
Negation and paired focus
The correlative pattern tidak hanya X, tetapi juga Y means “not only X, but also Y.” The two focus markers define parallel additions.
Lokakarya itu tidak hanya membahas teori, tetapi juga memberi latihan praktis.
The workshop not only discusses theory but also provides practical exercises.
Bukan hanya Rina yang hadir, tetapi juga kedua orang tuanya.
Not only Rina attended, but both of her parents did too.
Use tidak hanya when X is verbal or adjectival and bukan hanya when the focused material is noun-like or when a category is being contrasted. The broader correlative system belongs to the correlative conjunctions page.
Orthography and punctuation
Write hanya and cuma as separate words. Preserve hyphens in lexical reduplications such as melihat-lihat, kadang-kadang, and pelan-pelan. Do not insert a comma solely because English might pause after an initial “only” phrase; Indonesian punctuation follows the clause structure.
Common Mistakes
Leaving subject scope unclear
❌ Rina hanya datang.
Wrong for the intended meaning 'Only Rina came' — this position limits Rina's action, not the participant set.
✅ Hanya Rina yang datang ke acara itu.
Only Rina came to that event.
Misplacing a purpose restriction
❌ Hanya Rina datang untuk melihat.
Wrong for the intended meaning 'Rina came only to look' — this position focuses Rina.
✅ Rina datang hanya untuk melihat-lihat pameran.
Rina came only to look around the exhibition.
Doubling two markers for the same restriction
❌ Aku cuma hanya punya waktu sepuluh menit.
Incorrect — cuma and hanya redundantly mark the same focus in this simple clause.
✅ Aku cuma punya waktu sepuluh menit sebelum keretaku berangkat.
I only have ten minutes before my train leaves. (informal)
Separating a lexical reduplication
❌ Kami cuma melihat lihat dari luar.
Incorrect spelling — the lexical reduplication requires a hyphen.
✅ Kami cuma melihat-lihat dari luar.
We were just looking around from outside. (informal)
Key Takeaways
- Hanya is neutral; cuma is conversational (informal).
- A focus marker excludes alternatives, and linear position helps identify which alternatives those are.
- Hanya Rina yang datang excludes other people; Rina datang hanya untuk melihat excludes other purposes.
- Put the marker beside the focused noun, verb phrase, time, or purpose whenever possible.
- Add an explicit contrast when a wider verb phrase allows more than one scope reading.
Now practice Indonesian
Reading grammar gets you part of the way. The exercises are where it sticks — free, no signup needed.
Start learning Indonesian →Related Topics
- juga, pula, and punA2 — Add participants, actions, and propositions with neutral juga, formal pula, and focus-sensitive pun.
- Ordering Multiple AdverbialsB2 — Arrange time, place, and manner by balancing broad framing, closeness to the verb, processing weight, and discourse focus.
- Adverb Scope and AmbiguityC1 — Interpret how negation, modality, focus words, quantifiers, word order, and intonation determine what an adverb affects.
- yang Clefts and Focus ConstructionsC1 — Use yang clefts and pseudo-clefts to organize a proposition around contrastive people, objects, causes, places, and predicates.
- Correlative ConjunctionsB2 — Use paired linkers to coordinate balanced constituents and control exactly which alternatives, additions, scales, or extremes receive focus.