Minimizing the electron-beam emittance of photoinjectors is an important task for maximizing the brightness of the next-generation x-ray facilities, such as free-electron lasers and energy recovery linacs. Optimally shaped laser pulses can significantly reduce emittance. A reliable diagnostic for the laser pulse intensity is required for this purpose. We demonstrate measurement of three-dimensional spatiotemporal intensity profiles, with spatial resolution of 20 m and temporal resolution of 130 fs. The capability is illustrated by measurements of stacked soliton pulses and pulses from a dissipative-soliton laser. DOI: 10.1103/PhysRevSTAB.14.112802 PACS numbers: 42.60.Jf, 42.15.Eq, 42.25.Hz, 29.25.Bx Next-generation x-ray facilities, such as free-electron lasers and energy recovery linacs (ERLs), produce high brightness x-ray beams from diffraction-limited electron beams. The initial electron-beam properties determine the performance of the entire facility, which makes the development of low-emittance electron sources a priority [1]. The beam emittance is a result of the interplay of several phenomena, and depends on a number of factors such as the pulse shape of the photoinjector drive laser [2], the three-dimensional (3D) nature of space-charge forces inside the bunch, the boundary conditions near the photocathode [3], the fields in the radio-frequency (rf) linac cavities, and the aberrations of the electron optics in the gun and downstream. Achieving an ideal 3D electronbeam shape is a matter of active research in the accelerator community: a uniform ellipsoidal beam is the optimal shape when considering linear space-charge forces in free space [4], while a cylindrical shape is known to produce small emittances and is a practical solution pursued in several laboratories [5,6]. However, the optimum intensity profile in a real system generally requires more complicated shapes to achieve the lowest emittance [7]. To experimentally study the effects of the laser shape on beam performance in photoinjectors, a reliable 3D laser pulse intensity diagnostic is required.Most existing pulse/beam diagnostics measure the field in the space and time domains separately. Second-order autocorrelation is one of the more traditional techniques in the laser field; being simple in its implementation, it, however, can only provide limited temporal and phase information [8]. Frequency-resolved optical gating (FROG) and its successors give both the temporal intensity and phase information, through the spectrogram of the sum frequency generated by the original laser pulse [9]. FROG employs an iterative phase-retrieval algorithm, which works well for most applications. The spectral phase interferometry for direct electric-field reconstruction (SPIDER) technique can also measure the optical field (both the amplitude and phase) by use of a spectral shearing interferometer [10]. Both of these are established techniques for characterization of the full electric field of a light pulse. Typically, a charge-coupled device (CCD) camera is ...