Basic Education Minister Angie Motshekga says she is confident that her department will eradicate the remaining 3 898 pit latrines in the country's schools "within the next three years".