Diagnosis typically involves a stool sample to identify hookworm eggs under a microscope. Blood tests may reveal anemia or eosinophilia, which are common in parasitic infections. In some cases, imaging studies might be required to evaluate the extent of the infection.