Sphingomonadaceae has a large number of strains that can biodegrade hepatotoxins or environmental pollutants. The latest research reported that certain strains can also produce lutein. Based on the third-generation sequencing technology, we analyzed the whole genome sequence and compared related functional genes of two strains of Sphingomonadaceae isolated from different habitats. The genome of Sphingopyxis USTB-05 was 4,679,489 bp and contained 4312 protein coding genes. The 4,239,716 bp nuclear genome of Sphingomonas morindae NBD5, harboring 3882 protein coding genes, has two sets of chromosomes. Both strains had lutein synthesis metabolism pathway sharing identical synthetic genes of crtB, crtE, crtI, crtQ, crtL, crtR, atoB, dxs, dxr, ispD, ispE, ispDF, gcpE, ispG, ispH, ispA, ispB and ispU. Sphingopyxis USTB-05 had hepatotoxins microcystins and nodularin metabolic pathways related to 16 genes (ald, ansA, gdhA, crnA, phy, ocd, hypdh, spuC, nspC, speE, murI, murD, murC, hmgL, bioAand glsA), while these genes were not found in Sphingomonas morindae NBD5. The unique protein sequences of strain NBD5 and strain USTB-05 were 155 and 199, respectively. The analysis of whole genome of the two Sphingomonadaceae strains provides insights into prokaryote evolution, the new pathway for lutein production and the new genes for environmental pollutant biodegradation.