The aim of this study was to estimate heritability and predict breeding values for longevity among cows in herds of Nellore breed, considering the trait cow's age at last calving (ALC), by means of survival analysis methodology. The records of 11,791 animals from 22 farms were used. The variable ALC has been used by a criterion that made it possible to include cows not only at their first calving but also at their ninth calving. The criterion used was the difference between the date of each cow's last calving and the date of the last calving on each farm. If this difference was greater than 36 months, the cow was considered to have failed and uncensored. If not, this cow was censored, thus indicating that future calving remained possible for this cow. The survival model used for the analyses was the proportional hazards model, and the base risk was given by a Weibull distribution. The heritability estimate obtained was equal to 0.25. It was found that the ALC variable had the capacity to respond to selection for the purpose of increasing the longevity of the cows in the herds.