In situ synchrotron x-ray imaging and diffraction are used to investigate deformation dynamics in two kinds of additively manufactured AlSi10Mg with different pore configurations. The pre-existing pore configurations are characterized with synchrotron x-ray computed tomography. The specimens are subjected to tensile loading along the build direction and the longitudinal direction. Bulk stress–strain curves (macroscale), strain fields (mesoscale) and x-ray diffraction patterns (microscale) are obtained simultaneously. Scanning electron microscopy characterization is performed as a complement. For the small-pored AlSi10Mg, preferred orientations of pores lead to anisotropic ductility, and only ductile dimples are observed. For the large-pored AlSi10Mg, ductility loss is significant due to its higher porosity, and no remarkable anisotropy is found; both ductile and brittle fracture features are identified. For both types of AlSi10Mg, strain localization occurs around the pores. At the lattice scale, the Al matrix deforms plastically but the Si phase is still strained elastically, and thus, significant stress concentration occurs in the Si phase for the small-pored AlSi10Mg, while stress is more evenly partitioned between the Al matrix and the Si phase for the large-pored AlSi10Mg.