In this work, it is shown that for the classical Cartan domain $$\mathcal {R}_{II}$$
R
II
consisting of symmetric $$2\times 2$$
2
×
2
matrices, every algebraic subset of $$\mathcal {R}_{II}$$
R
II
, which admits the polynomial extension property, is a holomorphic retract.