An anisotropic line-broadening correction allowing for the presence of structural defects in crystals is developed for powder diffraction full-pro®le structure analysis. The approach is based on the statistical consideration of diffraction from a crystal composed of two types of unit cells differing in atomic arrangement and/or content, but not in shape and size. The correction is incorporated into a computer program for powder diffraction structural analysis. The application of this correction in crystal structure investigations of trans-and -trans-[Pd(NH 3 ) 2 X 2 ] (X = Cl, Br, I) overcame the problem of selective anisotropic peak broadening and allowed precise and self-consistent information about the structure and the microstructure of these compounds to be obtained.