The plus-que-parfait is a compound tense: the auxiliary avoir or être in the imparfait + the past participle: j'avais fini, elle était partie. It is built like the passé composé, only the auxiliary is in the imparfait and not in the présent: j'ai fini → j'avais fini, elle est partie → elle était partie. In English it usually corresponds to the past perfect, “had” with a participle: j'avais fini — “I had finished”.
Everything the auxiliary decides in the passé composé is decided the same way in the plus-que-parfait:
- avoir or être — the same one the verb takes in the passé composé: j'ai mangé → j'avais mangé, il est venu → il était venu, je me suis levé → je m'étais levé. Which verbs are conjugated with être is explained in the topic passé composé;
- past participle agreement — the same: with être the participle agrees with the subject, elle était partie, ils étaient arrivés; with avoir it does not, elle avait mangé. Agreement with a direct object that comes before avoir is the topic past participle agreement with a preceding direct object after avoir.
What it expresses
- An action before another past action: Quand je suis arrivé, il était déjà parti — “When I arrived, he had already left”. First he left, then I arrived. It often comes with the words déjà “already”, avant “before”, la veille “the day before”, jamais “never (until then)”.
- An explanation in a narrative — what happened before an event and led to it: J'étais fatigué : j'avais mal dormi — “I was tired: I had slept badly”. The events of a narrative are told in the passé composé and imparfait, and what came before them in the plus-que-parfait.
- The past in reported speech after a reporting verb in a past tense: Il a dit qu'il avait fini — “He said he had finished”. See sequence of tenses in reported speech.
After si the plus-que-parfait tells of a condition in the past that did not come true: Si j'avais su, je serais venu — “If I had known, I would have come”. This is the B2 topic si + plus-que-parfait.