a b s t r a c tWe present a new exactly solvable (classical and quantum) model that can be interpreted as the generalization to the twodimensional sphere and to the hyperbolic space of the twodimensional anisotropic oscillator with any pair of frequencies ω x and ω y . The new curved Hamiltonian H κ depends on the curvature κ of the underlying space as a deformation/contraction parameter, and the Liouville integrability of H κ relies on its separability in terms of geodesic parallel coordinates, which generalize the Cartesian coordinates of the plane. Moreover, the system is shown to be superintegrable for commensurate frequencies ω x : ω y , thus mimicking the behaviour of the flat Euclidean case, which is always recovered in the κ → 0 limit. The additional constant of motion in the commensurate case is, as expected, of higher-order in the momenta and can be explicitly deduced by performing the classical factorization of the Hamiltonian. The known 1 : 1 and 2 : 1 anisotropic curved oscillators are recovered as particular cases of H κ , meanwhile all the remaining ω x : ω y curved oscillators define new superintegrable systems. Furthermore, the quantum HamiltonianĤ κ is fully constructed and studied by following a quantum factorization approach. In the case of commensurate frequencies, the HamiltonianĤ κ turns out to be quantum superintegrable and leads to a new exactly solvable quantum model. Its corresponding spectrum, that exhibits a maximal degeneracy, is explicitly given as * Corresponding author. Á. Ballesteros et al. / Annals of Physics 373 (2016) an analytical deformation of the Euclidean eigenvalues in terms of both the curvature κ and the Planck constanth. In fact, such spectrum is obtained as a composition of two one-dimensional (either trigonometric or hyperbolic) Pösch-Teller set of eigenvalues.