The theoretical background currently used in line profile analysis is reviewed. It covers the size and structure imperfection effects at the origin of diffraction line broadening. The propagation of errors, i.e. old errors and new errors related to profile fitting techniques, is commented. The experimental conditions for minimising errors are described. Representative examples of microstructure characterisation of nanopowders are presented.