This paper proposes a nonparametric estimator for the cumulative residual entropy. This estimator is based on the estimator introduced by Fakoor in 2015 for the mean residual life time under the length-biased data. The strong consistent for this estimator is established under suitable regularity conditions.