Abstract The compound N,N′-1,4-phenylene-bis(3-oxobutanamide) is an industrial intermediate used in the synthesis of azo pigments. Crystallisation experiments only led to the dihydrate form; drying the dihydrate at 120 °C leads to an anhydrous form, but suitable single crystals of the anhydrous form could not be grown. Therefore, its crystal structure was determined from laboratory powder diffraction data. The structure was solved by real-space methods using the program DASH and refined by the Rietveld method using the program TOPAS. The anhydrous form crystallises in P21/c, Z = 2 with lattice parameters a = 16.9749(5) Å, b = 4.8648(1) Å, c = 8.5372(2) Å, β = 93.396(2)°. The crystal structure of the dihydrate was determined by single-crystal structure analysis. The dihydrate crystallises in P – 1, Z = 1 with a = 5.0116(1) Å, b = 5.2199(2) Å, c = 14.7803(5) Å, α = 88.396(1)°, β = 80.250(1)°, γ = 81.439(1)°. In both crystal structures the molecule, which has a centre of symmetry, is situated on an inversion centre. For the anhydrous form dispersion-corrected DFT calculations were used to confirm the structure.