In a method and apparatus for generating a three-dimensional multi-slice data set of a heart, a first image sequence with a number of two-dimensional images is acquired in a first slice of the heart during a duration of at least one heartbeat interval, and a second image sequence with a number of two-dimensional images is acquired in a second slice of the heart during the duration of a number of heartbeat intervals. The second image sequence is excised by selecting the two-dimensional images thereof that lie in a heartbeat interval closest to the duration of the heartbeat interval in the first slice. The three-dimensional multi-slice data set is generated by combining the first image sequence and the excised second image sequence.