Aims. The aim of this work is twofold: first, to assess whether the population of elliptical galaxies in cluster at z ∼ 1.3 differs from the population in the field and whether their intrinsic structure depends on the environment where they belong; second, to constrain their properties 9 Gyr back in time through the study of their scaling relations. Methods. We compared a sample of 56 cluster elliptical galaxies selected from three clusters at 1.2 < z < 1.4 with elliptical galaxies selected at comparable redshift in the GOODS-South field (∼ 30), in the COSMOS area (∼ 180), and in the CANDELS fields (∼ 220). To single out the environmental effects, we selected cluster and field elliptical galaxies according to their morphology. We compared physical and structural parameters of galaxies in the two environments and we derived the relationships between effective radius, surface brightness, stellar mass, and stellar mass density Σ Re within the effective radius and central mass density Σ 1kpc , within 1 kpc radius. Results. We find that the structure and the properties of cluster elliptical galaxies do not differ from those in the field: they are characterized by the same structural parameters at fixed mass and they follow the same scaling relations. On the other hand, the population of field elliptical galaxies at z ∼ 1.3 shows a significant lack of massive (M * > 2 × 10 11 M ⊙ ) and large (R e > 4 − 5 kpc) elliptical galaxies with respect to the cluster. Nonetheless, at M * < 2×10 11 M ⊙ , the two populations are similar. The size-mass relation of cluster and field ellipticals at z ∼ 1.3 clearly defines two different regimes, above and below a transition mass m t ≃ 2 − 3 × 10 10 M ⊙ : at lower masses the relation is nearly flat (R e ∝ M −0.1±0.2 * ), the mean radius is nearly constant at ∼ 1 kpc and, consequenly, Σ Re ≃ Σ 1kpc while, at larger masses, the relation is R e ∝ M 0.64±0.09 * . The transition mass marks the mass at which galaxies reach the maximum stellar mass density. Also the Σ 1kpc -mass relation follows two different regimes, above and below the transition mass (Σ 1kpc ∝ M * 0.64 >mt 1.07