The present invention relates to a method for acquiring data for acquiring an arteriogram and a venogram of magnetic resonance imaging, the method: using one or more echo; and simultaneously acquiring, through one-time photography, an arteriogram and a venogram, which are optimized according to the number of slabs or improving connectivity of a slab boundary part of the arteriogram.