Diagnosis of galactokinase deficiency involves measuring the activity of galactokinase in red blood cells or identifying mutations in the GALK1 gene through genetic testing. Newborn screening programs often include tests for galactosemia, allowing for early detection of the disorder. Elevated levels of galactose in the blood or urine may indicate a problem with galactose metabolism, prompting further investigation.