We describe an efficient method to separate single-stranded DNA, double-stranded DNA and RNA molecules from environmental viral communities. Nucleic acids are fractionated using hydroxyapatite chromatography with increasing concentrations of phosphate-containing buffers. This method permits the isolation of all viral nucleic acid types from environmental samples.