Provided herein is technology relating to isolating nucleic acids. In particular, the technology relates to methods and kits for extracting nucleic acids from problematic samples such as stool.