se habían

had …

→ se
phrase Uncommon #18,205
had … Used before a past participle to form the past perfect. “Se” is part of the verb construction; depending on the verb, it can mark a reflexive or pronominal action, or form a passive construction, and it is not always translated into English.
SP: Cuando llegamos, ya se habían ido.
EN: When we arrived, they had already left.

Ahora ya se habían acordado de ellas—.

By then, they had already remembered them.

Muchos se habían muerto.

Many had died.

¿No se habían dado cuenta?

Hadn't they noticed?

— Diarios de motocicleta (2004)

Sí, ¿Y que ellos no se habían hablado por tres años?

Yes, and that they hadn’t spoken to each other for three years?

— Hero (2002)

Quizá se habían construido una balsa y se habían marchado.

Maybe they’d built a raft and left.

Y se habían perdido de vista.

And they had lost sight of each other.

— Quemado por el sol (1994)

Fue al hotel con su marido porque se habían citado con Laura.

She went to the hotel with her husband because they had arranged to meet Laura.

— Contratiempo (2017)

Yo he leído que, después de Sabor, discutieron, que no se habían vuelto a ver.

I read that, after Sabor, they argued that they hadn’t seen each other again.

— Dolor y gloria (2019)

Mis buenos amigos no se habían dado cuenta de lo ambiciosa que soy.

My good friends hadn’t realized how ambitious I am.

Tom no parecía sorprendido cuando oyó que Mary y John se habían casado.

Tom didn’t seem surprised when he heard that Mary and John had gotten married.

Las sábanas nunca se habían usado.

The sheets had never been used.

— Titanic (1997)

No sabía que se habían separado.

I didn't know they had separated.

— Sin conexión (2025)

Cuando llegué ya se habían marchado.

When I arrived they had already left.

— Cuentos de Tokio (1953)

Tom recogió las monedas que se habían caído detrás del sofá.

Tom picked up the coins that had fallen behind the sofa.

Tom pareció bastante sorprendido cuando oyó que Mary y John se habían casado.

Tom seemed quite surprised when he heard that Mary and John had gotten married.

Parecía que sus pies se habían clavado en el pavimento.

It seemed as though his feet were rooted to the pavement.

Su familiaridad era extraña, ya que se habían encontrado hacía solo tres días.

Their familiarity was strange, since they had only met three days earlier.

Casi se habían muerto quemados mientras esperaban.

They had almost burned to death while waiting.

Los archivos se habían quemado.

The files had burned.

Cuando él regresó a casa, los chicos ya se habían dormido.

When he returned home, the boys had already fallen asleep.

Ella estalló cuando se dio cuenta que se habían llevado a Fumaca.

She exploded when she realized that Fumaca had been taken away.

— Pixote, la ley del más débil (1980)

Nunca se habían visto antes.

They had never seen each other before.

— La historia oficial (1985)