In the present paper, we study bi-f-harmonic maps which generalize not only f-harmonic maps, but also biharmonic maps. We derive bi-f-harmonic equations for curves in the Euclidean space, unit sphere, hyperbolic space, and for hypersurfaces of Riemannian manifolds.