Background-In patients with long standing ulcerative colitis at risk of developing malignancy, mutations of the p53 and Ki-ras gene were investigated in lavage solution obtained at surveillance colonoscopy. Methods-DNA was isolated from 31 consecutive patients with total or subtotal ulcerative colitis and a disease duration of between seven and 26 years. Twenty seven control patients showed no macroscopic or microscopic inflammation on colonoscopy. Exons 5-8 of the p53 gene and exon 1 of the Ki-ras gene were amplified by polymerase chain reaction. Mutations of the p53 gene were detected by single strand conformation polymorphism analysis. Point mutations of the Ki-ras gene were hybridised on dot blots with oligonucleotides marked with digoxigenin. Results-In all cases of ulcerative colitis and in all of the 27 control patients, wild type p53 and wild type Ki-ras could be detected. In four patients with ulcerative colitis, a mutation in exon 5 to 7 of the p53 gene was found, and two patients had a mutation of the Ki-ras gene (Gly to Asp-12, Gly to Val-12). None of these patients had dysplasia in serial biopsy specimens, and all but one had had the disease for more than 10 years. One control patient had a mutation. Conclusions-Mutations were more frequent in patients with long standing ulcerative colitis (19%) than in control patients (3%, p = 0.07). The technique may be useful for screening for early malignancy in ulcerative colitis. (Gut 1999;44:822-825)