A healthcare provider can generally diagnose scabies with a medical history and physical examination. In some cases, the provider may do a simple test to check for the mites or their eggs. A drop of mineral oil is placed on the skin lesion, and the surface of the lesion is scraped with a scalpel. The scraping is checked under a microscope to see if mites or eggs are present.