G6PD deficiency is an inherited condition.It is when the body doesn't have enough of an enzyme called G6PD (glucose-6-phosphate dehydrogenase).