Three-dimensional Lorentzian manifolds with commuting curvature operators are studied. A complete description is given at the algebraic level. Consequences are obtained at the differentiable setting for manifolds which additionally are assumed to be locally symmetric or homogeneous.