With the quantum Zeno dynamics, we propose a scheme for implementing the remote three-qubit controlled-Z gate with three -type atoms trapped in three spatially separated cavities coupled by optical fibers. It can be implemented by one step and doesn't require strong cavity-fiber coupling. Moreover, the influences of various decoherence processes, such as spontaneous emission and photon leakage of cavities and fibers, on the fidelity are also investigated by numerical calculation. The result shows that our scheme is robust against the decoherence and promising for the realization with current experimental technology.