Il congiuntivo passato
The congiuntivo passato is the subjunctive's compound past. It's formed exactly like the passato prossimo of the indicative — auxiliary + past participle — except the auxiliary is in the congiuntivo presente: abbia / abbia / abbia / abbiamo / abbiate / abbiano (for avere-verbs) or sia / sia / sia / siamo / siate / siano (for essere-verbs). It signals an action that is ANTERIOR (already completed) relative to a main verb in the present or future. Compare: Penso che lui parta domani (congiuntivo presente — leaving is future or simultaneous) vs. Penso che lui sia partito ieri (congiuntivo passato — leaving already happened). The trigger that makes you choose subjunctive (opinion, doubt, emotion) is identical; what changes is WHEN the embedded action takes place.
Formation: avere or essere in congiuntivo + participle
Take the auxiliary in the congiuntivo presente and add the past participle. With avere (transitive verbs): che io abbia parlato, che tu abbia parlato, che lui/lei abbia parlato, che noi abbiamo parlato, che voi abbiate parlato, che loro abbiano parlato. With essere (motion verbs, reflexives, intransitives of state): che io sia andato/a, che tu sia andato/a, che lui sia andato / lei sia andata, che noi siamo andati/e, che voi siate andati/e, che loro siano andati/e. The participle agrees with the subject when the auxiliary is essere, exactly as in the passato prossimo of the indicative: Spero che Maria sia arrivata. = I hope Maria has arrived. Spero che i ragazzi siano arrivati. = I hope the kids have arrived.
When to use it: anteriority with a present-tense trigger
The rule of thumb: if the main verb is in the PRESENT (or future / imperative) and the embedded action HAPPENED BEFORE it, use congiuntivo passato. Triggers are the usual subjunctive ones — opinion, doubt, emotion, expectation: credere, pensare, sperare, dubitare, temere, essere contento/felice/triste, sembrare, può darsi. Sono contento che tu sia venuto. = I'm happy you came. (Coming is past; happiness is now.) Penso che abbiano già mangiato. = I think they've already eaten. Dubito che lei abbia capito. = I doubt she understood. È strano che non sia arrivato. = It's strange he hasn't arrived. Mi sembra che siano partiti presto. = It seems to me they left early.
Congiuntivo presente vs. congiuntivo passato
Same trigger, different time relation: Penso che Marco STUDI molto. (presente — he studies in general / right now) vs. Penso che Marco ABBIA STUDIATO molto. (passato — he studied / has studied a lot). Spero che VENGA. = I hope he comes (now or later). Spero che SIA VENUTO. = I hope he came (already). Non credo che PIOVA. = I don't think it's raining / will rain. Non credo che ABBIA PIOVUTO. = I don't think it has rained. The difference is purely temporal — both are the subjunctive of the same trigger. English often uses 'has/have + participle' for the second, but not always; context wins.
With reflexives and pronominal verbs
Reflexive verbs always take essere, so the congiuntivo passato uses essere in the subjunctive plus the agreed participle: Penso che si sia svegliato presto. = I think he woke up early. Spero che ti sia divertita. = I hope you (fem.) had fun. Sono contento che vi siate sposati. = I'm happy you got married. With combined object pronouns the order is: trigger + che + (subject pronoun, often dropped) + reflexive/clitic + auxiliary + participle: Credo che Marco se lo sia mangiato. = I think Marco ate it (himself). Spero che gliel'abbiano detto. = I hope they told him.
Common traps
(1) Don't pick the auxiliary by the meaning of 'be / have' in English — pick by the Italian verb. andare takes essere: Credo che sia andato a casa, NOT che abbia andato. (2) Agreement matters with essere: Penso che le ragazze siano uscite (feminine plural participle). (3) Don't slip into the indicative after a strong subjunctive trigger: NOT Penso che ha mangiato (common spoken slip), but Penso che abbia mangiato. (4) After secondo me / a parer mio you typically use the INDICATIVE — those phrases assert opinion, they don't trigger subjunctive: Secondo me, ha mangiato troppo. (5) sapere in the affirmative takes indicative (so che è arrivato); only its negation triggers subjunctive (non so se sia arrivato).
