In this paper, as a generalization of a $BCK$-algebra, we introduce the notion of a $BE$-algebra, and using the notion of upper sets we give an equivalent condition of the filter in $BE$-algebras.