A scheme is proposed for implementing entanglement purification with trapped atoms through adiabatic passage and detecting the photon decays from the cavities. The scheme is robust against certain noise such as atomic spontaneous emission and the detector inefficiency.