Learn Spanish GrammarSpanish grammar explained, A1 to C2

C2 Chapter 59: Punctuation and spelling at expert level · Lesson 3 of 9 · 2 min read

Spanish Dialogue Punctuation: How to Use the Raya (—)

Spanish dialogue punctuation uses the raya (—), a long dash, instead of quotation marks: one raya opens each speaker's line, and another introduces the narrator's comment. The tricky parts are spacing, lowercase verbs of saying after ? or !, and where the period goes when speech continues. This lesson walks through each rule with fresh examples you can copy as models.

59.3 The raya and dialogue

Spanish fiction marks dialogue with the raya (—), a long dash. It is not the same as the guion (-), which joins words.

RuleExample
A raya opens each speaker's turn, attached to the first word.—¿Vienes?
The narrator's comment is introduced by a raya; a verb of saying starts in lowercase.—¿Vienes? —preguntó.
If speech continues after the comment, close the comment with another raya.—Ya voy —dijo Ana—, espérame.
Punctuation that belongs to the sentence goes after the closing raya.—Ya voy —dijo Ana—. Dame un minuto.
No closing raya at the end of a paragraph.—No lo sé —respondió.
If the comment has no verb of saying, the speech ends with a period and the comment starts with a capital.—Me voy. —Se levantó y salió.

Notice the spacing: a space before an opening raya, no space after it. The question mark or exclamation mark closes the speech, and the narrator's comment continues in lowercase: —¡Basta! —gritó.

More examples

  • —¿Has cenado? —le preguntó su madre. — “Have you had dinner?” his mother asked him.
  • —No tengo hambre —contestó Lucas—. Comí mucho al mediodía. — “I'm not hungry,” Lucas answered. “I ate a lot at lunch.”
  • —Mañana te llamo —prometió—, pero no a primera hora. — “I'll call you tomorrow,” she promised, “but not first thing.”
  • —Adiós. —Cerró la puerta sin mirar atrás. — “Goodbye.” He closed the door without looking back. (no verb of saying, so a period and a capital)
  • —¡Qué sorpresa! —exclamó al vernos. — “What a surprise!” she exclaimed when she saw us. (lowercase after !)

Quick check

  1. Punctuate: No puedo dijo Elena lo siento

    Show answer

    —No puedo —dijo Elena—. Lo siento. (or —No puedo —dijo Elena—, lo siento.) The comment closes with a raya because speech continues.

  2. Find the error: —¿Dónde estás? —Preguntó Luis.

    Show answer

    —¿Dónde estás? —preguntó Luis. A verb of saying after the speech starts in lowercase, even after a question mark.

  3. Find the error at the end of a paragraph: —Ya llego —dijo—.

    Show answer

    —Ya llego —dijo. No closing raya when the paragraph ends.

Want more? Practise the whole chapter or read the common mistakes.

Frequently asked questions

How do you write dialogue in Spanish?

Start each speaker's turn on a new line with a raya attached to the first word: —Hola. Introduce the narrator's comment with another raya, preceded by a space: —Hola —dijo. If the character keeps speaking, close the comment with a raya before the punctuation: —Hola —dijo—. ¿Qué tal?

What is the difference between raya and guion in Spanish?

The raya (—) is a long dash used for dialogue and for inserted comments, like parentheses. The guion (-) is short: it joins words (franco-alemán, sub-21) and splits words at the end of a line. Using a hyphen for dialogue is a common typing shortcut, but in edited texts it is incorrect.

Can you use quotation marks for dialogue in Spanish?

Quotation marks are used to quote someone's words inside a sentence: Me dijo: «Ven». In novels and stories, though, the standard way to present a conversation is the raya. Some translated books keep quotation marks, but a Spanish reader expects rayas in fiction.