Evaluation of pleural fluids for metastatic cells is a key component of diagnostic cytopathology. However, a large background of smaller leukocytes and/or erythrocytes can make accurate diagnosis difficult and reduce specificity in identification of mutations of interest for targeted anti-cancer therapies. Here, we describe an automated microfluidic system (Centrifuge Chip) which employs microscale vortices for the size-based isolation and concentration of cancer cells and mesothelial cells from a background of blood cells. We are able to process non-diluted pleural fluids at 6 mL/min and enrich target cells significantly over the background; we achieved improved purity in all patient samples analyzed. The resulting isolated and viable cells are readily available for immunostaining, cytological analysis, and detection of gene mutations. To demonstrate the utility towards aiding companion diagnostics, we also show improved detection accuracy of KRAS gene mutations in lung cancer cells processed using the Centrifuge Chip, leading to an increase in the area under the curve (AUC) of the receiver operating characteristic from 0.90 to 0.99. The Centrifuge Chip allows for rapid concentration and processing of large volumes of bodily fluid samples for improved cytological diagnosis and purification of cells of interest for genetic testing, which will be helpful for enhancing diagnostic accuracy.