We report an approach in diagnostic imaging based on nanoscale-resolution scanning of surfaces of cells collected from body fluids using a recent modality of atomic force microscopy (AFM), subresonance tapping, and machine-leaning analysis. The surface parameters, which are typically used in engineering to describe surfaces, are used to classify cells. The method is applied to the detection of bladder cancer, which is one of the most common human malignancies and the most expensive cancer to treat. The frequent visual examinations of bladder (cytoscopy) required for follow-up are not only uncomfortable for the patient but a serious cost for the health care system. Our method addresses an unmet need in noninvasive and accurate detection of bladder cancer, which may eliminate unnecessary and expensive cystoscopies. The method, which evaluates cells collected from urine, shows 94% diagnostic accuracy when examining five cells per patient’s urine sample. It is a statistically significant improvement (P < 0.05) in diagnostic accuracy compared with the currently used clinical standard, cystoscopy, as verified on 43 control and 25 bladder cancer patients.