We propose feasible schemes for preparation of all five-atom graph states by cavity quantum electrodynamics (QED). Our schemes require only the atom–cavity interaction with a large detuning which is available in current experiment so that these schemes are within the reach of the current technology.