Using ir in the imperfect tense in Spanish to express was/were going to [do something]

The Spanish verb "ir" in El Pretérito Imperfecto in Spanish 

In Spanish, to express "was/were going to [do something]" in order to talk about:

  • actions that were going to happen
  • actions that were about to happen
  • planned actions or events

we use:

Verb ir in El Pretérito Imperfecto + a + infinitive

Have a look at some examples:

Yo iba a coger el autobús pero he decidido ir andando.I was going to take the bus but I decided to go on foot.

Mi hermano iba a estudiar medicina pero a última hora cambió de opinión.My brother was going to study medicine but he had a last minute change of heart.

-¿Vienes al cine conmigo? -Bueno, yo iba a tomar café con Marta.-Do you want to come to the cinema with me? -Well, I was planning on having coffee with Marta.

Tengo que quedarme hasta las tres. ¡Qué pena! Iba a llamar a Carmen para ir a tapear.I have to stay until three. What a pity! I was about to call Carmen to have some tapas.

As you can see, sometimes this structure is used to simply say what you were going to do, what you were about to do, or what you had planned to do. 

Notice in this example that despite using El Pretérito Imperfecto which is a past tense we are referring to a "future" event.

-¿Vienes al cine conmigo? -Bueno, yo iba a tomar café con Marta.-Do you want to come to the cinema with me? -Well, I was planning on having coffee with Marta.

Despite literally saying "I was going to" it means it "is going to happen".

A common mistake is to use the literal translation of "was going to" with:

estaba yendo a /era yendo a

instead of "iba a"

See also:

Want to make sure your Spanish sounds confident? We’ll map your knowledge and give you free lessons to focus on your gaps and mistakes. Start your Brainmap today »

Learn more about these related Spanish grammar topics

Examples and resources

Yo iba a coger el autobús pero he decidido ir andando.I was going to take the bus but I decided to go on foot.
Mi hermano iba a estudiar medicina pero a última hora cambió de opinión.My brother was going to study medicine but he had a last minute change of heart.
Tengo que quedarme hasta las tres. ¡Qué pena! Iba a llamar a Carmen para ir a tapear.I have to stay until three. What a pity! I was about to call Carmen to have some tapas.
-¿Vienes al cine conmigo? -Bueno, yo iba a tomar café con Marta.-Do you want to come to the cinema with me? -Well, I was planning on having coffee with Marta.
Thinking...