It is known that Cardassian universe is successful in describing the accelerated expasnsion of the universe but its dynamical equations is hard to get from the action principle. In this paper, we establish the connection between Cardassian universe and f (T, T ) gravity where T is the torsion scalar and T is the trace of the matter energy-momentum tensor. For dust matter, we find the modified Friedmann equations from f (T, T ) gravity can correspond to those of Cardassian models and thus a possible origin of Cardassian universe is given. We obtain the original Cardassian model, the modified polytropic Cardassian model and the exponential Cardassian model from the Lagrangians of f (T, T ) theory. Furthermore, we give generalized Cardassian models from f (T, T ) theory by adding an additional term to the Lagrangians of f (T, T ) theory that give the three Cardassian models. Using the observation data of type Ia supernovae, cosmic microwave background radiation and baryon acoustic oscillations, we get the fitting results of the cosmological parameters and give constraints of model parameters for all these models.