The present invention discloses a method for synchronized ventilation using an external diaphragm pacemaker and a ventilator, which includes the following steps: (1) filtrating captured EAdi signal to reduce the noises, (2) assessing the absolute peak value a of the EAdi signal and : if a <;0.5µV, adjust the external diaphragm pacemaker to issue a stimulus current at a frequency of 10-12 beats per minute, and at the same time trigger the ventilator to perform ventilation in an assisted ventilation mode; if 0.5 ≤ a ≤ 1.0µV, adjust the external diaphragm, pacemaker to issue a stimulus current at a frequency of 5-8 beats per minute, and at the same time trigger the ventilator to perform ventilation in an assisted ventilation mode; if 1.0 <; a ≤2.0µV, adjust the external diaphragm pacemaker to issue a stimulus current at a frequency of 3-4 beats per minute and at the same time trigger the ventilator to perform ventilation in an assisted ventilation mode. The present invention also discloses a device which couples an external diaphragm pacemaker to ventilator. The present invention brings the external diaphragm pacemaker into the application of mechanical ventilation in the emergency room and intensive care unit.