We prove Casselman's comparison conjecture for parabolic subgroups of real linear reductive groups. Let Q=LU be a standard parabolic subgroup of a real linear reductive group G, with Levi subgroup L and unipotent radical U. For every Casselman--Wallach representation π of G and every i≥0, the natural inclusion πK↪π induces a topological L-equivariant isomorphism \[ H_i(\mathfrak u,\pi_K)^\infty\xrightarrow{\ \sim\ } H_i(\mathfrak u,\pi). \] Put U=U(u) and Fk=U/Iuk, where Iu is the augmentation ideal. For every k≥1 and i≥0, we establish natural topological L-isomorphisms \[ \begin{aligned} \operatorname{Tor}_i^{\mathscr U}(F_k,\pi_K)^\infty \simeq \operatorname{Tor}_i^{\mathscr U}(F_k,\pi),\ \operatorname{Ext}^i_{\mathscr U}(F_k,\pi_K)^\infty \simeq \operatorname{Ext}^i_{\mathscr U}(F_k,\pi). \end{aligned} \] We also obtain closedness of ukM for the (co)chain spaces M=Cj(u,π),Cj(u,π), and for M=Ja,Ja−1/Ja, where (Ja) is the smooth Bruhat filtration of a principal series representation.