We propose a scheme to prepare the Bell states for atomic qubits trapped in separate optical cavities via atom-cavity-laser interaction. The quantum information of each qubit is encoded on the degenerate ground states of the atom, so the entanglement